diff --git a/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.api.json b/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.api.json
index 22bbd77b6333..c192c8b7febd 100644
--- a/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.api.json
+++ b/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.api.json
@@ -5,6 +5,7 @@
"endpointPrefix":"events",
"jsonVersion":"1.1",
"protocol":"json",
+ "protocols":["json"],
"serviceFullName":"Amazon EventBridge",
"serviceId":"EventBridge",
"signatureVersion":"v4",
@@ -793,6 +794,21 @@
{"shape":"ConcurrentModificationException"},
{"shape":"InternalException"}
]
+ },
+ "UpdateEventBus":{
+ "name":"UpdateEventBus",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateEventBusRequest"},
+ "output":{"shape":"UpdateEventBusResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InternalException"},
+ {"shape":"ConcurrentModificationException"},
+ {"shape":"OperationDisabledException"}
+ ]
}
},
"shapes":{
@@ -1367,13 +1383,19 @@
"members":{
"Name":{"shape":"EventBusName"},
"EventSourceName":{"shape":"EventSourceName"},
+ "Description":{"shape":"EventBusDescription"},
+ "KmsKeyIdentifier":{"shape":"KmsKeyIdentifier"},
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"},
"Tags":{"shape":"TagList"}
}
},
"CreateEventBusResponse":{
"type":"structure",
"members":{
- "EventBusArn":{"shape":"String"}
+ "EventBusArn":{"shape":"String"},
+ "Description":{"shape":"EventBusDescription"},
+ "KmsKeyIdentifier":{"shape":"KmsKeyIdentifier"},
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"}
}
},
"CreatePartnerEventSourceRequest":{
@@ -1623,7 +1645,12 @@
"members":{
"Name":{"shape":"String"},
"Arn":{"shape":"String"},
- "Policy":{"shape":"String"}
+ "Description":{"shape":"EventBusDescription"},
+ "KmsKeyIdentifier":{"shape":"KmsKeyIdentifier"},
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"},
+ "Policy":{"shape":"String"},
+ "CreationTime":{"shape":"Timestamp"},
+ "LastModifiedTime":{"shape":"Timestamp"}
}
},
"DescribeEventSourceRequest":{
@@ -1830,9 +1857,16 @@
"members":{
"Name":{"shape":"String"},
"Arn":{"shape":"String"},
- "Policy":{"shape":"String"}
+ "Description":{"shape":"EventBusDescription"},
+ "Policy":{"shape":"String"},
+ "CreationTime":{"shape":"Timestamp"},
+ "LastModifiedTime":{"shape":"Timestamp"}
}
},
+ "EventBusDescription":{
+ "type":"string",
+ "max":512
+ },
"EventBusList":{
"type":"list",
"member":{"shape":"EventBus"}
@@ -2018,6 +2052,10 @@
"PartitionKeyPath":{"shape":"TargetPartitionKeyPath"}
}
},
+ "KmsKeyIdentifier":{
+ "type":"string",
+ "max":2048
+ },
"LaunchType":{
"type":"string",
"enum":[
@@ -3257,6 +3295,25 @@
"EndpointUrl":{"shape":"EndpointUrl"},
"State":{"shape":"EndpointState"}
}
+ },
+ "UpdateEventBusRequest":{
+ "type":"structure",
+ "members":{
+ "Name":{"shape":"EventBusName"},
+ "KmsKeyIdentifier":{"shape":"KmsKeyIdentifier"},
+ "Description":{"shape":"EventBusDescription"},
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"}
+ }
+ },
+ "UpdateEventBusResponse":{
+ "type":"structure",
+ "members":{
+ "Arn":{"shape":"String"},
+ "Name":{"shape":"EventBusName"},
+ "KmsKeyIdentifier":{"shape":"KmsKeyIdentifier"},
+ "Description":{"shape":"EventBusDescription"},
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"}
+ }
}
}
}
diff --git a/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.docs.json b/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.docs.json
index 6cfc10fea380..a7b458588168 100644
--- a/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.docs.json
+++ b/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.docs.json
@@ -5,7 +5,7 @@
"ActivateEventSource": "
Activates a partner event source that has been deactivated. Once activated, your matching event bus will start receiving events from the event source.
",
"CancelReplay": "Cancels the specified replay.
",
"CreateApiDestination": "Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.
API destinations do not support private destinations, such as interface VPC endpoints.
For more information, see API destinations in the EventBridge User Guide.
",
- "CreateArchive": "Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.
",
+ "CreateArchive": "Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.
Archives and schema discovery are not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
-
You call CreateArchive
on an event bus set to use a customer managed key for encryption.
-
You call CreateDiscoverer
on an event bus set to use a customer managed key for encryption.
-
You call UpdatedEventBus
to set a customer managed key on an event bus with an archives or schema discovery enabled.
To enable archives or schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
",
"CreateConnection": "Creates a connection. A connection defines the authorization type and credentials to use for authorization with an API destination HTTP endpoint.
",
"CreateEndpoint": "Creates a global endpoint. Global endpoints improve your application's availability by making it regional-fault tolerant. To do this, you define a primary and secondary Region with event buses in each Region. You also create a Amazon RouteĀ 53 health check that will tell EventBridge to route events to the secondary Region when an \"unhealthy\" state is encountered and events will be routed back to the primary Region when the health check reports a \"healthy\" state.
",
"CreateEventBus": "Creates a new event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.
",
@@ -15,14 +15,14 @@
"DeleteApiDestination": "Deletes the specified API destination.
",
"DeleteArchive": "Deletes the specified archive.
",
"DeleteConnection": "Deletes a connection.
",
- "DeleteEndpoint": "Delete an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
",
+ "DeleteEndpoint": "Delete an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
",
"DeleteEventBus": "Deletes the specified custom event bus or partner event bus. All rules associated with this event bus need to be deleted. You can't delete your account's default event bus.
",
"DeletePartnerEventSource": "This operation is used by SaaS partners to delete a partner event source. This operation is not used by Amazon Web Services customers.
When you delete an event source, the status of the corresponding partner event bus in the Amazon Web Services customer account becomes DELETED.
",
"DeleteRule": "Deletes the specified rule.
Before you can delete the rule, you must remove all targets, using RemoveTargets.
When you delete a rule, incoming events might continue to match to the deleted rule. Allow a short period of time for changes to take effect.
If you call delete rule multiple times for the same rule, all calls will succeed. When you call delete rule for a non-existent custom eventbus, ResourceNotFoundException
is returned.
Managed rules are rules created and managed by another Amazon Web Services service on your behalf. These rules are created by those other Amazon Web Services services to support functionality in those services. You can delete these rules using the Force
option, but you should do so only if you are sure the other service is not still using that rule.
",
"DescribeApiDestination": "Retrieves details about an API destination.
",
"DescribeArchive": "Retrieves details about an archive.
",
"DescribeConnection": "Retrieves details about a connection.
",
- "DescribeEndpoint": "Get the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
",
+ "DescribeEndpoint": "Get the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
",
"DescribeEventBus": "Displays details about an event bus in your account. This can include the external Amazon Web Services accounts that are permitted to write events to your default event bus, and the associated policy. For custom event buses and partner event buses, it displays the name, ARN, policy, state, and creation time.
To enable your account to receive events from other accounts on its default event bus, use PutPermission.
For more information about partner event buses, see CreateEventBus.
",
"DescribeEventSource": "This operation lists details about a partner event source that is shared with your account.
",
"DescribePartnerEventSource": "An SaaS partner can use this operation to list details about a partner event source that they have created. Amazon Web Services customers do not use this operation. Instead, Amazon Web Services customers can use DescribeEventSource to see details about a partner event source that is shared with them.
",
@@ -33,7 +33,7 @@
"ListApiDestinations": "Retrieves a list of API destination in the account in the current Region.
",
"ListArchives": "Lists your archives. You can either list all the archives or you can provide a prefix to match to the archive names. Filter parameters are exclusive.
",
"ListConnections": "Retrieves a list of connections from the account.
",
- "ListEndpoints": "List the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
",
+ "ListEndpoints": "List the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
",
"ListEventBuses": "Lists all the event buses in your account, including the default event bus, custom event buses, and partner event buses.
",
"ListEventSources": "You can use this to see all the partner event sources that have been shared with your Amazon Web Services account. For more information about partner event sources, see CreateEventBus.
",
"ListPartnerEventSourceAccounts": "An SaaS partner can use this operation to display the Amazon Web Services account ID that a particular partner event source name is associated with. This operation is not used by Amazon Web Services customers.
",
@@ -43,11 +43,11 @@
"ListRules": "Lists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names.
The maximum number of results per page for requests is 100.
ListRules does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule.
",
"ListTagsForResource": "Displays the tags associated with an EventBridge resource. In EventBridge, rules and event buses can be tagged.
",
"ListTargetsByRule": "Lists the targets assigned to the specified rule.
The maximum number of results per page for requests is 100.
",
- "PutEvents": "Sends custom events to Amazon EventBridge so that they can be matched to rules.
The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including the event and any necessary characters and keys of the JSON representation of the event. To learn more, see Calculating PutEvents event entry size in the Amazon EventBridge User Guide
PutEvents accepts the data in JSON format. For the JSON number (integer) data type, the constraints are: a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807.
PutEvents will only process nested JSON up to 1100 levels deep.
",
+ "PutEvents": "Sends custom events to Amazon EventBridge so that they can be matched to rules.
The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including the event and any necessary characters and keys of the JSON representation of the event. To learn more, see Calculating PutEvents event entry size in the Amazon EventBridge User Guide
PutEvents accepts the data in JSON format. For the JSON number (integer) data type, the constraints are: a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807.
PutEvents will only process nested JSON up to 1100 levels deep.
",
"PutPartnerEvents": "This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation.
For information on calculating event batch size, see Calculating EventBridge PutEvents event entry size in the EventBridge User Guide.
",
"PutPermission": "Running PutPermission
permits the specified Amazon Web Services account or Amazon Web Services organization to put events to the specified event bus. Amazon EventBridge (CloudWatch Events) rules in your account are triggered by these events arriving to an event bus in your account.
For another account to send events to your account, that external account must have an EventBridge rule with your account's event bus as a target.
To enable multiple Amazon Web Services accounts to put events to your event bus, run PutPermission
once for each of these accounts. Or, if all the accounts are members of the same Amazon Web Services organization, you can run PutPermission
once specifying Principal
as \"*\" and specifying the Amazon Web Services organization ID in Condition
, to grant permissions to all accounts in that organization.
If you grant permissions using an organization, then accounts in that organization must specify a RoleArn
with proper permissions when they use PutTarget
to add your account's event bus as a target. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide.
The permission policy on the event bus cannot exceed 10 KB in size.
",
"PutRule": "Creates or updates the specified rule. Rules are enabled by default, or based on value of the state. You can disable a rule using DisableRule.
A single rule watches for events from a single event bus. Events generated by Amazon Web Services services go to your account's default event bus. Events generated by SaaS partner services or applications go to the matching partner event bus. If you have custom applications or services, you can specify whether their events go to your default event bus or a custom event bus that you have created. For more information, see CreateEventBus.
If you are updating an existing rule, the rule is replaced with what you specify in this PutRule
command. If you omit arguments in PutRule
, the old values for those arguments are not kept. Instead, they are replaced with null values.
When you create or update a rule, incoming events might not immediately start matching to new or updated rules. Allow a short period of time for changes to take effect.
A rule must contain at least an EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions self-trigger based on the given schedule. A rule can have both an EventPattern and a ScheduleExpression, in which case the rule triggers on matching events as well as on a schedule.
When you initially create a rule, you can optionally assign one or more tags to the rule. Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only rules with certain tag values. To use the PutRule
operation and assign tags, you must have both the events:PutRule
and events:TagResource
permissions.
If you are updating an existing rule, any tags you specify in the PutRule
operation are ignored. To update the tags of an existing rule, use TagResource and UntagResource.
Most services in Amazon Web Services treat : or / as the same character in Amazon Resource Names (ARNs). However, EventBridge uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.
In EventBridge, it is possible to create rules that lead to infinite loops, where a rule is fired repeatedly. For example, a rule might detect that ACLs have changed on an S3 bucket, and trigger software to change them to the desired state. If the rule is not written carefully, the subsequent change to the ACLs fires the rule again, creating an infinite loop.
To prevent this, write the rules so that the triggered actions do not re-fire the same rule. For example, your rule could fire only if ACLs are found to be in a bad state, instead of after any change.
An infinite loop can quickly cause higher than expected charges. We recommend that you use budgeting, which alerts you when charges exceed your specified limit. For more information, see Managing Your Costs with Budgets.
",
- "PutTargets": "Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule.
Targets are the resources that are invoked when a rule is triggered.
The maximum number of entries per request is 10.
Each rule can have up to five (5) targets associated with it at one time.
For a list of services you can configure as targets for events, see EventBridge targets in the Amazon EventBridge User Guide.
Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are:
-
Amazon EBS CreateSnapshot API call
-
Amazon EC2 RebootInstances API call
-
Amazon EC2 StopInstances API call
-
Amazon EC2 TerminateInstances API call
For some target types, PutTargets
provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters
argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters
field.
To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions:
-
For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies.
-
For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway APIs, EventBridge relies on IAM roles that you specify in the RoleARN
argument in PutTargets
.
For more information, see Authentication and Access Control in the Amazon EventBridge User Guide.
If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission
), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn
value when you run PutTargets
. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing.
Input
, InputPath
, and InputTransformer
are not available with PutTarget
if the target is an event bus of a different Amazon Web Services account.
If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn
with proper permissions in the Target
structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide.
If you have an IAM role on a cross-account event bus target, a PutTargets
call without a role on the same target (same Id
and Arn
) will not remove the role.
For more information about enabling cross-account events, see PutPermission.
Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event:
-
If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target).
-
If Input is specified in the form of valid JSON, then the matched event is overridden with this constant.
-
If InputPath is specified in the form of JSONPath (for example, $.detail
), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed).
-
If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target.
When you specify InputPath
or InputTransformer
, you must use JSON dot notation, not bracket notation.
When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect.
This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount
is non-zero in the response and each entry in FailedEntries
provides the ID of the failed target and the error code.
",
+ "PutTargets": "Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule.
Targets are the resources that are invoked when a rule is triggered.
The maximum number of entries per request is 10.
Each rule can have up to five (5) targets associated with it at one time.
For a list of services you can configure as targets for events, see EventBridge targets in the Amazon EventBridge User Guide .
Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are:
-
Amazon EBS CreateSnapshot API call
-
Amazon EC2 RebootInstances API call
-
Amazon EC2 StopInstances API call
-
Amazon EC2 TerminateInstances API call
For some target types, PutTargets
provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters
argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters
field.
To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions:
-
For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies.
-
For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway APIs, EventBridge relies on IAM roles that you specify in the RoleARN
argument in PutTargets
.
For more information, see Authentication and Access Control in the Amazon EventBridge User Guide .
If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission
), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn
value when you run PutTargets
. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing.
Input
, InputPath
, and InputTransformer
are not available with PutTarget
if the target is an event bus of a different Amazon Web Services account.
If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn
with proper permissions in the Target
structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide.
If you have an IAM role on a cross-account event bus target, a PutTargets
call without a role on the same target (same Id
and Arn
) will not remove the role.
For more information about enabling cross-account events, see PutPermission.
Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event:
-
If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target).
-
If Input is specified in the form of valid JSON, then the matched event is overridden with this constant.
-
If InputPath is specified in the form of JSONPath (for example, $.detail
), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed).
-
If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target.
When you specify InputPath
or InputTransformer
, you must use JSON dot notation, not bracket notation.
When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect.
This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount
is non-zero in the response and each entry in FailedEntries
provides the ID of the failed target and the error code.
",
"RemovePermission": "Revokes the permission of another Amazon Web Services account to be able to put events to the specified event bus. Specify the account to revoke by the StatementId
value that you associated with the account when you granted it permission with PutPermission
. You can find the StatementId
by using DescribeEventBus.
",
"RemoveTargets": "Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked.
A successful execution of RemoveTargets
doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed.
When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Allow a short period of time for changes to take effect.
This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount
is non-zero in the response and each entry in FailedEntries
provides the ID of the failed target and the error code.
The maximum number of entries per request is 10.
",
"StartReplay": "Starts the specified replay. Events are not necessarily replayed in the exact same order that they were added to the archive. A replay processes events to replay based on the time in the event, and replays them using 1 minute intervals. If you specify an EventStartTime
and an EventEndTime
that covers a 20 minute time range, the events are replayed from the first minute of that 20 minute range first. Then the events from the second minute are replayed. You can use DescribeReplay
to determine the progress of a replay. The value returned for EventLastReplayedTime
indicates the time within the specified time range associated with the last event replayed.
",
@@ -57,7 +57,8 @@
"UpdateApiDestination": "Updates an API destination.
",
"UpdateArchive": "Updates the specified archive.
",
"UpdateConnection": "Updates settings for a connection.
",
- "UpdateEndpoint": "Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
"
+ "UpdateEndpoint": "Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
",
+ "UpdateEventBus": "Updates the specified event bus.
"
},
"shapes": {
"AccountId": {
@@ -628,9 +629,14 @@
}
},
"DeadLetterConfig": {
- "base": "A DeadLetterConfig
object that contains information about a dead-letter queue configuration.
",
+ "base": "Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ).
For more information, see Event retry policy and using dead-letter queues in the EventBridge User Guide.
",
"refs": {
- "Target$DeadLetterConfig": "The DeadLetterConfig
that defines the target queue to send dead-letter queue events to.
"
+ "CreateEventBusRequest$DeadLetterConfig": null,
+ "CreateEventBusResponse$DeadLetterConfig": null,
+ "DescribeEventBusResponse$DeadLetterConfig": null,
+ "Target$DeadLetterConfig": "The DeadLetterConfig
that defines the target queue to send dead-letter queue events to.
",
+ "UpdateEventBusRequest$DeadLetterConfig": null,
+ "UpdateEventBusResponse$DeadLetterConfig": null
}
},
"DeauthorizeConnectionRequest": {
@@ -805,7 +811,7 @@
}
},
"Endpoint": {
- "base": "A global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
",
+ "base": "A global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
",
"refs": {
"EndpointList$member": null
}
@@ -922,6 +928,17 @@
"EventBusList$member": null
}
},
+ "EventBusDescription": {
+ "base": null,
+ "refs": {
+ "CreateEventBusRequest$Description": "The event bus description.
",
+ "CreateEventBusResponse$Description": "The event bus description.
",
+ "DescribeEventBusResponse$Description": "The event bus description.
",
+ "EventBus$Description": "The event bus description.
",
+ "UpdateEventBusRequest$Description": "The event bus description.
",
+ "UpdateEventBusResponse$Description": "The event bus description.
"
+ }
+ },
"EventBusList": {
"base": null,
"refs": {
@@ -935,7 +952,9 @@
"DeleteEventBusRequest$Name": "The name of the event bus to delete.
",
"DescribeRuleResponse$EventBusName": "The name of the event bus associated with the rule.
",
"ListEventBusesRequest$NamePrefix": "Specifying this limits the results to only those event buses with names that start with the specified prefix.
",
- "Rule$EventBusName": "The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
"
+ "Rule$EventBusName": "The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
",
+ "UpdateEventBusRequest$Name": "The name of the event bus.
",
+ "UpdateEventBusResponse$Name": "The event bus name.
"
}
},
"EventBusNameOrArn": {
@@ -966,10 +985,10 @@
"refs": {
"CreateArchiveRequest$EventPattern": "An event pattern to use to filter events sent to the archive.
",
"DescribeArchiveResponse$EventPattern": "The event pattern used to filter events sent to the archive.
",
- "DescribeRuleResponse$EventPattern": "The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
",
- "PutRuleRequest$EventPattern": "The event pattern. For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide.
",
- "Rule$EventPattern": "The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
",
- "TestEventPatternRequest$EventPattern": "The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
",
+ "DescribeRuleResponse$EventPattern": "The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
",
+ "PutRuleRequest$EventPattern": "The event pattern. For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide .
",
+ "Rule$EventPattern": "The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
",
+ "TestEventPatternRequest$EventPattern": "The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
",
"UpdateArchiveRequest$EventPattern": "The event pattern to use to filter events sent to the archive.
"
}
},
@@ -1161,6 +1180,16 @@
"Target$KinesisParameters": "The custom parameter you can use to control the shard assignment, when the target is a Kinesis data stream. If you do not include this parameter, the default is to use the eventId
as the partition key.
"
}
},
+ "KmsKeyIdentifier": {
+ "base": null,
+ "refs": {
+ "CreateEventBusRequest$KmsKeyIdentifier": "The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.
For more information, see Managing keys in the Key Management Service Developer Guide.
Archives and schema discovery are not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
-
You call CreateArchive
on an event bus set to use a customer managed key for encryption.
-
You call CreateDiscoverer
on an event bus set to use a customer managed key for encryption.
-
You call UpdatedEventBus
to set a customer managed key on an event bus with an archives or schema discovery enabled.
To enable archives or schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
",
+ "CreateEventBusResponse$KmsKeyIdentifier": "The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.
For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
",
+ "DescribeEventBusResponse$KmsKeyIdentifier": "The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.
For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
",
+ "UpdateEventBusRequest$KmsKeyIdentifier": "The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.
For more information, see Managing keys in the Key Management Service Developer Guide.
Archives and schema discovery are not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
-
You call CreateArchive
on an event bus set to use a customer managed key for encryption.
-
You call CreateDiscoverer
on an event bus set to use a customer managed key for encryption.
-
You call UpdatedEventBus
to set a customer managed key on an event bus with an archives or schema discovery enabled.
To enable archives or schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
",
+ "UpdateEventBusResponse$KmsKeyIdentifier": "The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.
For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
"
+ }
+ },
"LaunchType": {
"base": null,
"refs": {
@@ -1910,8 +1939,8 @@
"base": null,
"refs": {
"DescribeRuleResponse$State": "Specifies whether the rule is enabled or disabled.
",
- "PutRuleRequest$State": "Indicates whether the rule is enabled or disabled.
",
- "Rule$State": "The state of the rule.
"
+ "PutRuleRequest$State": "The state of the rule.
Valid values include:
-
DISABLED
: The rule is disabled. EventBridge does not match any events against the rule.
-
ENABLED
: The rule is enabled. EventBridge matches events against the rule, except for Amazon Web Services management events delivered through CloudTrail.
-
ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
: The rule is enabled for all events, including Amazon Web Services management events delivered through CloudTrail.
Management events provide visibility into management operations that are performed on resources in your Amazon Web Services account. These are also known as control plane operations. For more information, see Logging management events in the CloudTrail User Guide, and Filtering management events from Amazon Web Services services in the Amazon EventBridge User Guide .
This value is only valid for rules on the default event bus or custom event buses. It does not apply to partner event buses.
",
+ "Rule$State": "The state of the rule.
Valid values include:
-
DISABLED
: The rule is disabled. EventBridge does not match any events against the rule.
-
ENABLED
: The rule is enabled. EventBridge matches events against the rule, except for Amazon Web Services management events delivered through CloudTrail.
-
ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
: The rule is enabled for all events, including Amazon Web Services management events delivered through CloudTrail.
Management events provide visibility into management operations that are performed on resources in your Amazon Web Services account. These are also known as control plane operations. For more information, see Logging management events in the CloudTrail User Guide, and Filtering management events from Amazon Web Services services in the Amazon EventBridge User Guide .
This value is only valid for rules on the default event bus or custom event buses. It does not apply to partner event buses.
"
}
},
"RunCommandParameters": {
@@ -2084,7 +2113,8 @@
"PutPartnerEventsRequestEntry$Detail": "A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects.
Detail
, DetailType
, and Source
are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.
",
"PutPermissionRequest$Policy": "A JSON string that describes the permission policy statement. You can include a Policy
parameter in the request instead of using the StatementId
, Action
, Principal
, or Condition
parameters.
",
"StringList$member": null,
- "TestEventPatternRequest$Event": "The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in Amazon Web Services Events, and the following fields are mandatory:
-
id
-
account
-
source
-
time
-
region
-
resources
-
detail-type
"
+ "TestEventPatternRequest$Event": "The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in Amazon Web Services Events, and the following fields are mandatory:
-
id
-
account
-
source
-
time
-
region
-
resources
-
detail-type
",
+ "UpdateEventBusResponse$Arn": "The event bus Amazon Resource Name (ARN).
"
}
},
"StringList": {
@@ -2231,6 +2261,8 @@
"DescribeConnectionResponse$LastAuthorizedTime": "A time stamp for the time that the connection was last authorized.
",
"DescribeEndpointResponse$CreationTime": "The time the endpoint you asked for information about was created.
",
"DescribeEndpointResponse$LastModifiedTime": "The last time the endpoint you asked for information about was modified.
",
+ "DescribeEventBusResponse$CreationTime": "The time the event bus was created.
",
+ "DescribeEventBusResponse$LastModifiedTime": "The time the event bus was last modified.
",
"DescribeEventSourceResponse$CreationTime": "The date and time that the event source was created.
",
"DescribeEventSourceResponse$ExpirationTime": "The date and time that the event source will expire if you do not create a matching event bus.
",
"DescribeReplayResponse$EventStartTime": "The time stamp of the first event that was last replayed from the archive.
",
@@ -2240,6 +2272,8 @@
"DescribeReplayResponse$ReplayEndTime": "A time stamp for the time that the replay stopped.
",
"Endpoint$CreationTime": "The time the endpoint was created.
",
"Endpoint$LastModifiedTime": "The last time the endpoint was modified.
",
+ "EventBus$CreationTime": "The time the event bus was created.
",
+ "EventBus$LastModifiedTime": "The time the event bus was last modified.
",
"EventSource$CreationTime": "The date and time the event source was created.
",
"EventSource$ExpirationTime": "The date and time that the event source will expire, if the Amazon Web Services account doesn't create a matching event bus for it.
",
"PartnerEventSourceAccount$CreationTime": "The date and time the event source was created.
",
@@ -2357,6 +2391,16 @@
"base": null,
"refs": {
}
+ },
+ "UpdateEventBusRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateEventBusResponse": {
+ "base": null,
+ "refs": {
+ }
}
}
}
diff --git a/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.normal.json b/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.normal.json
index d990c2b0c5d7..cb49d30e397b 100644
--- a/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.normal.json
+++ b/generator/ServiceModels/eventbridge/eventbridge-2015-10-07.normal.json
@@ -5,6 +5,7 @@
"endpointPrefix":"events",
"jsonVersion":"1.1",
"protocol":"json",
+ "protocols":["json"],
"serviceFullName":"Amazon EventBridge",
"serviceId":"EventBridge",
"signatureVersion":"v4",
@@ -76,7 +77,7 @@
{"shape":"LimitExceededException"},
{"shape":"InvalidEventPatternException"}
],
- "documentation":"Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.
"
+ "documentation":"Creates an archive of events with the specified settings. When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.
Archives and schema discovery are not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
-
You call CreateArchive
on an event bus set to use a customer managed key for encryption.
-
You call CreateDiscoverer
on an event bus set to use a customer managed key for encryption.
-
You call UpdatedEventBus
to set a customer managed key on an event bus with an archives or schema discovery enabled.
To enable archives or schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
"
},
"CreateConnection":{
"name":"CreateConnection",
@@ -233,7 +234,7 @@
{"shape":"ResourceNotFoundException"},
{"shape":"InternalException"}
],
- "documentation":"Delete an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
"
+ "documentation":"Delete an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
"
},
"DeleteEventBus":{
"name":"DeleteEventBus",
@@ -332,7 +333,7 @@
{"shape":"ResourceNotFoundException"},
{"shape":"InternalException"}
],
- "documentation":"Get the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
"
+ "documentation":"Get the information about an existing global endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
"
},
"DescribeEventBus":{
"name":"DescribeEventBus",
@@ -487,7 +488,7 @@
"errors":[
{"shape":"InternalException"}
],
- "documentation":"List the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
"
+ "documentation":"List the global endpoints associated with this account. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
"
},
"ListEventBuses":{
"name":"ListEventBuses",
@@ -625,7 +626,7 @@
"errors":[
{"shape":"InternalException"}
],
- "documentation":"Sends custom events to Amazon EventBridge so that they can be matched to rules.
The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including the event and any necessary characters and keys of the JSON representation of the event. To learn more, see Calculating PutEvents event entry size in the Amazon EventBridge User Guide
PutEvents accepts the data in JSON format. For the JSON number (integer) data type, the constraints are: a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807.
PutEvents will only process nested JSON up to 1100 levels deep.
"
+ "documentation":"Sends custom events to Amazon EventBridge so that they can be matched to rules.
The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including the event and any necessary characters and keys of the JSON representation of the event. To learn more, see Calculating PutEvents event entry size in the Amazon EventBridge User Guide
PutEvents accepts the data in JSON format. For the JSON number (integer) data type, the constraints are: a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807.
PutEvents will only process nested JSON up to 1100 levels deep.
"
},
"PutPartnerEvents":{
"name":"PutPartnerEvents",
@@ -690,7 +691,7 @@
{"shape":"ManagedRuleException"},
{"shape":"InternalException"}
],
- "documentation":"Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule.
Targets are the resources that are invoked when a rule is triggered.
The maximum number of entries per request is 10.
Each rule can have up to five (5) targets associated with it at one time.
For a list of services you can configure as targets for events, see EventBridge targets in the Amazon EventBridge User Guide.
Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are:
-
Amazon EBS CreateSnapshot API call
-
Amazon EC2 RebootInstances API call
-
Amazon EC2 StopInstances API call
-
Amazon EC2 TerminateInstances API call
For some target types, PutTargets
provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters
argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters
field.
To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions:
-
For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies.
-
For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway APIs, EventBridge relies on IAM roles that you specify in the RoleARN
argument in PutTargets
.
For more information, see Authentication and Access Control in the Amazon EventBridge User Guide.
If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission
), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn
value when you run PutTargets
. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing.
Input
, InputPath
, and InputTransformer
are not available with PutTarget
if the target is an event bus of a different Amazon Web Services account.
If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn
with proper permissions in the Target
structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide.
If you have an IAM role on a cross-account event bus target, a PutTargets
call without a role on the same target (same Id
and Arn
) will not remove the role.
For more information about enabling cross-account events, see PutPermission.
Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event:
-
If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target).
-
If Input is specified in the form of valid JSON, then the matched event is overridden with this constant.
-
If InputPath is specified in the form of JSONPath (for example, $.detail
), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed).
-
If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target.
When you specify InputPath
or InputTransformer
, you must use JSON dot notation, not bracket notation.
When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect.
This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount
is non-zero in the response and each entry in FailedEntries
provides the ID of the failed target and the error code.
"
+ "documentation":"Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule.
Targets are the resources that are invoked when a rule is triggered.
The maximum number of entries per request is 10.
Each rule can have up to five (5) targets associated with it at one time.
For a list of services you can configure as targets for events, see EventBridge targets in the Amazon EventBridge User Guide .
Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are:
-
Amazon EBS CreateSnapshot API call
-
Amazon EC2 RebootInstances API call
-
Amazon EC2 StopInstances API call
-
Amazon EC2 TerminateInstances API call
For some target types, PutTargets
provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters
argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters
field.
To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions:
-
For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies.
-
For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway APIs, EventBridge relies on IAM roles that you specify in the RoleARN
argument in PutTargets
.
For more information, see Authentication and Access Control in the Amazon EventBridge User Guide .
If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission
), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn
value when you run PutTargets
. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing.
Input
, InputPath
, and InputTransformer
are not available with PutTarget
if the target is an event bus of a different Amazon Web Services account.
If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn
with proper permissions in the Target
structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide.
If you have an IAM role on a cross-account event bus target, a PutTargets
call without a role on the same target (same Id
and Arn
) will not remove the role.
For more information about enabling cross-account events, see PutPermission.
Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event:
-
If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target).
-
If Input is specified in the form of valid JSON, then the matched event is overridden with this constant.
-
If InputPath is specified in the form of JSONPath (for example, $.detail
), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed).
-
If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target.
When you specify InputPath
or InputTransformer
, you must use JSON dot notation, not bracket notation.
When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect.
This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount
is non-zero in the response and each entry in FailedEntries
provides the ID of the failed target and the error code.
"
},
"RemovePermission":{
"name":"RemovePermission",
@@ -848,7 +849,23 @@
{"shape":"ConcurrentModificationException"},
{"shape":"InternalException"}
],
- "documentation":"Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
"
+ "documentation":"Update an existing endpoint. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
"
+ },
+ "UpdateEventBus":{
+ "name":"UpdateEventBus",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateEventBusRequest"},
+ "output":{"shape":"UpdateEventBusResponse"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InternalException"},
+ {"shape":"ConcurrentModificationException"},
+ {"shape":"OperationDisabledException"}
+ ],
+ "documentation":"Updates the specified event bus.
"
}
},
"shapes":{
@@ -1823,6 +1840,15 @@
"shape":"EventSourceName",
"documentation":"If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
"
},
+ "Description":{
+ "shape":"EventBusDescription",
+ "documentation":"The event bus description.
"
+ },
+ "KmsKeyIdentifier":{
+ "shape":"KmsKeyIdentifier",
+ "documentation":"The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.
For more information, see Managing keys in the Key Management Service Developer Guide.
Archives and schema discovery are not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
-
You call CreateArchive
on an event bus set to use a customer managed key for encryption.
-
You call CreateDiscoverer
on an event bus set to use a customer managed key for encryption.
-
You call UpdatedEventBus
to set a customer managed key on an event bus with an archives or schema discovery enabled.
To enable archives or schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
"
+ },
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"},
"Tags":{
"shape":"TagList",
"documentation":"Tags to associate with the event bus.
"
@@ -1835,7 +1861,16 @@
"EventBusArn":{
"shape":"String",
"documentation":"The ARN of the new event bus.
"
- }
+ },
+ "Description":{
+ "shape":"EventBusDescription",
+ "documentation":"The event bus description.
"
+ },
+ "KmsKeyIdentifier":{
+ "shape":"KmsKeyIdentifier",
+ "documentation":"The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.
For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
"
+ },
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"}
}
},
"CreatePartnerEventSourceRequest":{
@@ -1899,7 +1934,7 @@
"documentation":"The ARN of the SQS queue specified as the target for the dead-letter queue.
"
}
},
- "documentation":"A DeadLetterConfig
object that contains information about a dead-letter queue configuration.
"
+ "documentation":"Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ).
For more information, see Event retry policy and using dead-letter queues in the EventBridge User Guide.
"
},
"DeauthorizeConnectionRequest":{
"type":"structure",
@@ -2325,9 +2360,26 @@
"shape":"String",
"documentation":"The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
"
},
+ "Description":{
+ "shape":"EventBusDescription",
+ "documentation":"The event bus description.
"
+ },
+ "KmsKeyIdentifier":{
+ "shape":"KmsKeyIdentifier",
+ "documentation":"The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.
For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
"
+ },
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"},
"Policy":{
"shape":"String",
"documentation":"The policy that enables the external account to send events to your account.
"
+ },
+ "CreationTime":{
+ "shape":"Timestamp",
+ "documentation":"The time the event bus was created.
"
+ },
+ "LastModifiedTime":{
+ "shape":"Timestamp",
+ "documentation":"The time the event bus was last modified.
"
}
}
},
@@ -2483,7 +2535,7 @@
},
"EventPattern":{
"shape":"EventPattern",
- "documentation":"The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
"
+ "documentation":"The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
"
},
"ScheduleExpression":{
"shape":"ScheduleExpression",
@@ -2662,7 +2714,7 @@
"documentation":"The last time the endpoint was modified.
"
}
},
- "documentation":"A global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide.
"
+ "documentation":"A global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide .
"
},
"EndpointArn":{
"type":"string",
@@ -2745,13 +2797,29 @@
"shape":"String",
"documentation":"The ARN of the event bus.
"
},
+ "Description":{
+ "shape":"EventBusDescription",
+ "documentation":"The event bus description.
"
+ },
"Policy":{
"shape":"String",
"documentation":"The permissions policy of the event bus, describing which other Amazon Web Services accounts can write events to this event bus.
"
+ },
+ "CreationTime":{
+ "shape":"Timestamp",
+ "documentation":"The time the event bus was created.
"
+ },
+ "LastModifiedTime":{
+ "shape":"Timestamp",
+ "documentation":"The time the event bus was last modified.
"
}
},
"documentation":"An event bus receives events from a source, uses rules to evaluate them, applies any configured input transformation, and routes them to the appropriate target(s). Your account's default event bus receives events from Amazon Web Services services. A custom event bus can receive events from your custom applications and services. A partner event bus receives events from an event source created by an SaaS partner. These events come from the partners services or applications.
"
},
+ "EventBusDescription":{
+ "type":"string",
+ "max":512
+ },
"EventBusList":{
"type":"list",
"member":{"shape":"EventBus"}
@@ -2988,6 +3056,10 @@
},
"documentation":"This object enables you to specify a JSON path to extract from the event and use as the partition key for the Amazon Kinesis data stream, so that you can control the shard to which the event goes. If you do not include this parameter, the default is to use the eventId
as the partition key.
"
},
+ "KmsKeyIdentifier":{
+ "type":"string",
+ "max":2048
+ },
"LaunchType":{
"type":"string",
"enum":[
@@ -3859,11 +3931,11 @@
},
"EventPattern":{
"shape":"EventPattern",
- "documentation":"The event pattern. For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide.
"
+ "documentation":"The event pattern. For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide .
"
},
"State":{
"shape":"RuleState",
- "documentation":"Indicates whether the rule is enabled or disabled.
"
+ "documentation":"The state of the rule.
Valid values include:
-
DISABLED
: The rule is disabled. EventBridge does not match any events against the rule.
-
ENABLED
: The rule is enabled. EventBridge matches events against the rule, except for Amazon Web Services management events delivered through CloudTrail.
-
ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
: The rule is enabled for all events, including Amazon Web Services management events delivered through CloudTrail.
Management events provide visibility into management operations that are performed on resources in your Amazon Web Services account. These are also known as control plane operations. For more information, see Logging management events in the CloudTrail User Guide, and Filtering management events from Amazon Web Services services in the Amazon EventBridge User Guide .
This value is only valid for rules on the default event bus or custom event buses. It does not apply to partner event buses.
"
},
"Description":{
"shape":"RuleDescription",
@@ -4279,11 +4351,11 @@
},
"EventPattern":{
"shape":"EventPattern",
- "documentation":"The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
"
+ "documentation":"The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
"
},
"State":{
"shape":"RuleState",
- "documentation":"The state of the rule.
"
+ "documentation":"The state of the rule.
Valid values include:
-
DISABLED
: The rule is disabled. EventBridge does not match any events against the rule.
-
ENABLED
: The rule is enabled. EventBridge matches events against the rule, except for Amazon Web Services management events delivered through CloudTrail.
-
ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
: The rule is enabled for all events, including Amazon Web Services management events delivered through CloudTrail.
Management events provide visibility into management operations that are performed on resources in your Amazon Web Services account. These are also known as control plane operations. For more information, see Logging management events in the CloudTrail User Guide, and Filtering management events from Amazon Web Services services in the Amazon EventBridge User Guide .
This value is only valid for rules on the default event bus or custom event buses. It does not apply to partner event buses.
"
},
"Description":{
"shape":"RuleDescription",
@@ -4739,7 +4811,7 @@
"members":{
"EventPattern":{
"shape":"EventPattern",
- "documentation":"The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
"
+ "documentation":"The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
"
},
"Event":{
"shape":"String",
@@ -5092,6 +5164,46 @@
"documentation":"The state of the endpoint you updated in this request.
"
}
}
+ },
+ "UpdateEventBusRequest":{
+ "type":"structure",
+ "members":{
+ "Name":{
+ "shape":"EventBusName",
+ "documentation":"The name of the event bus.
"
+ },
+ "KmsKeyIdentifier":{
+ "shape":"KmsKeyIdentifier",
+ "documentation":"The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.
For more information, see Managing keys in the Key Management Service Developer Guide.
Archives and schema discovery are not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
-
You call CreateArchive
on an event bus set to use a customer managed key for encryption.
-
You call CreateDiscoverer
on an event bus set to use a customer managed key for encryption.
-
You call UpdatedEventBus
to set a customer managed key on an event bus with an archives or schema discovery enabled.
To enable archives or schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
"
+ },
+ "Description":{
+ "shape":"EventBusDescription",
+ "documentation":"The event bus description.
"
+ },
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"}
+ }
+ },
+ "UpdateEventBusResponse":{
+ "type":"structure",
+ "members":{
+ "Arn":{
+ "shape":"String",
+ "documentation":"The event bus Amazon Resource Name (ARN).
"
+ },
+ "Name":{
+ "shape":"EventBusName",
+ "documentation":"The event bus name.
"
+ },
+ "KmsKeyIdentifier":{
+ "shape":"KmsKeyIdentifier",
+ "documentation":"The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.
For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
"
+ },
+ "Description":{
+ "shape":"EventBusDescription",
+ "documentation":"The event bus description.
"
+ },
+ "DeadLetterConfig":{"shape":"DeadLetterConfig"}
+ }
}
},
"documentation":"Amazon EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your resources change state, they automatically send events to an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a predetermined schedule. For example, you can configure rules to:
-
Automatically invoke an Lambda function to update DNS entries when an event notifies you that Amazon EC2 instance enters the running state.
-
Direct specific API records from CloudTrail to an Amazon Kinesis data stream for detailed analysis of potential security or availability risks.
-
Periodically invoke a built-in target to create a snapshot of an Amazon EBS volume.
For more information about the features of Amazon EventBridge, see the Amazon EventBridge User Guide.
"
diff --git a/sdk/code-analysis/ServiceAnalysis/EventBridge/Generated/PropertyValueRules.xml b/sdk/code-analysis/ServiceAnalysis/EventBridge/Generated/PropertyValueRules.xml
index 85b75431d134..b622da46b7c7 100644
--- a/sdk/code-analysis/ServiceAnalysis/EventBridge/Generated/PropertyValueRules.xml
+++ b/sdk/code-analysis/ServiceAnalysis/EventBridge/Generated/PropertyValueRules.xml
@@ -143,18 +143,34 @@
256
^arn:aws[a-z-]*:iam::\d{12}:role\/[\w+=,.@/-]+$
+
+ Amazon.EventBridge.Model.CreateEventBusRequest.Description
+ 512
+
Amazon.EventBridge.Model.CreateEventBusRequest.EventSourceName
1
256
aws\.partner(/[\.\-_A-Za-z0-9]+){2,}
+
+ Amazon.EventBridge.Model.CreateEventBusRequest.KmsKeyIdentifier
+ 2048
+
Amazon.EventBridge.Model.CreateEventBusRequest.Name
1
256
[/\.\-_A-Za-z0-9]+
+
+ Amazon.EventBridge.Model.CreateEventBusResponse.Description
+ 512
+
+
+ Amazon.EventBridge.Model.CreateEventBusResponse.KmsKeyIdentifier
+ 2048
+
Amazon.EventBridge.Model.CreatePartnerEventSourceRequest.Account
12
@@ -418,6 +434,14 @@
1600
(arn:aws[\w-]*:events:[a-z]{2}-[a-z]+-[\w-]+:[0-9]{12}:event-bus\/)?[/\.\-_A-Za-z0-9]+
+
+ Amazon.EventBridge.Model.DescribeEventBusResponse.Description
+ 512
+
+
+ Amazon.EventBridge.Model.DescribeEventBusResponse.KmsKeyIdentifier
+ 2048
+
Amazon.EventBridge.Model.DescribeEventSourceRequest.Name
1
@@ -1107,6 +1131,34 @@
256
^arn:aws[a-z-]*:iam::\d{12}:role\/[\w+=,.@/-]+$
+
+ Amazon.EventBridge.Model.UpdateEventBusRequest.Description
+ 512
+
+
+ Amazon.EventBridge.Model.UpdateEventBusRequest.KmsKeyIdentifier
+ 2048
+
+
+ Amazon.EventBridge.Model.UpdateEventBusRequest.Name
+ 1
+ 256
+ [/\.\-_A-Za-z0-9]+
+
+
+ Amazon.EventBridge.Model.UpdateEventBusResponse.Description
+ 512
+
+
+ Amazon.EventBridge.Model.UpdateEventBusResponse.KmsKeyIdentifier
+ 2048
+
+
+ Amazon.EventBridge.Model.UpdateEventBusResponse.Name
+ 1
+ 256
+ [/\.\-_A-Za-z0-9]+
+
Amazon.EventBridge.Model.ApiDestination.ApiDestinationArn
1
@@ -1343,6 +1395,10 @@
512
^arn:aws[a-z-]*:events:[a-z]{2}-[a-z-]+-\d+:\d{12}:event-bus/[\w.-]+$
+
+ Amazon.EventBridge.Model.EventBus.Description
+ 512
+
Amazon.EventBridge.Model.InputTransformer.InputTemplate
1
diff --git a/sdk/src/Services/EventBridge/Generated/Model/CreateArchiveRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/CreateArchiveRequest.cs
index 818c4f32dd72..c458b88b5b36 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/CreateArchiveRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/CreateArchiveRequest.cs
@@ -36,6 +36,35 @@ namespace Amazon.EventBridge.Model
/// period of time for changes to take effect. If you do not specify a pattern to filter
/// events sent to the archive, all events are sent to the archive except replayed events.
/// Replayed events are not sent to an archive.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
///
public partial class CreateArchiveRequest : AmazonEventBridgeRequest
{
diff --git a/sdk/src/Services/EventBridge/Generated/Model/CreateEventBusRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/CreateEventBusRequest.cs
index 2a77760d56c0..7d657ed224b0 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/CreateEventBusRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/CreateEventBusRequest.cs
@@ -37,10 +37,47 @@ namespace Amazon.EventBridge.Model
///
public partial class CreateEventBusRequest : AmazonEventBridgeRequest
{
+ private DeadLetterConfig _deadLetterConfig;
+ private string _description;
private string _eventSourceName;
+ private string _kmsKeyIdentifier;
private string _name;
private List _tags = AWSConfigs.InitializeCollections ? new List() : null;
+ ///
+ /// Gets and sets the property DeadLetterConfig.
+ ///
+ public DeadLetterConfig DeadLetterConfig
+ {
+ get { return this._deadLetterConfig; }
+ set { this._deadLetterConfig = value; }
+ }
+
+ // Check to see if DeadLetterConfig property is set
+ internal bool IsSetDeadLetterConfig()
+ {
+ return this._deadLetterConfig != null;
+ }
+
+ ///
+ /// Gets and sets the property Description.
+ ///
+ /// The event bus description.
+ ///
+ ///
+ [AWSProperty(Max=512)]
+ public string Description
+ {
+ get { return this._description; }
+ set { this._description = value; }
+ }
+
+ // Check to see if Description property is set
+ internal bool IsSetDescription()
+ {
+ return this._description != null;
+ }
+
///
/// Gets and sets the property EventSourceName.
///
@@ -61,6 +98,65 @@ internal bool IsSetEventSourceName()
return this._eventSourceName != null;
}
+ ///
+ /// Gets and sets the property KmsKeyIdentifier.
+ ///
+ /// The identifier of the KMS customer managed key for EventBridge to use, if you choose
+ /// to use a customer managed key to encrypt events on this event bus. The identifier
+ /// can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
+ ///
+ ///
+ ///
+ /// If you do not specify a customer managed key identifier, EventBridge uses an Amazon
+ /// Web Services owned key to encrypt events on the event bus.
+ ///
+ ///
+ ///
+ /// For more information, see Managing
+ /// keys in the Key Management Service Developer Guide.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
+ ///
+ [AWSProperty(Max=2048)]
+ public string KmsKeyIdentifier
+ {
+ get { return this._kmsKeyIdentifier; }
+ set { this._kmsKeyIdentifier = value; }
+ }
+
+ // Check to see if KmsKeyIdentifier property is set
+ internal bool IsSetKmsKeyIdentifier()
+ {
+ return this._kmsKeyIdentifier != null;
+ }
+
///
/// Gets and sets the property Name.
///
diff --git a/sdk/src/Services/EventBridge/Generated/Model/CreateEventBusResponse.cs b/sdk/src/Services/EventBridge/Generated/Model/CreateEventBusResponse.cs
index e994e1578070..32305ab24f23 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/CreateEventBusResponse.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/CreateEventBusResponse.cs
@@ -34,7 +34,44 @@ namespace Amazon.EventBridge.Model
///
public partial class CreateEventBusResponse : AmazonWebServiceResponse
{
+ private DeadLetterConfig _deadLetterConfig;
+ private string _description;
private string _eventBusArn;
+ private string _kmsKeyIdentifier;
+
+ ///
+ /// Gets and sets the property DeadLetterConfig.
+ ///
+ public DeadLetterConfig DeadLetterConfig
+ {
+ get { return this._deadLetterConfig; }
+ set { this._deadLetterConfig = value; }
+ }
+
+ // Check to see if DeadLetterConfig property is set
+ internal bool IsSetDeadLetterConfig()
+ {
+ return this._deadLetterConfig != null;
+ }
+
+ ///
+ /// Gets and sets the property Description.
+ ///
+ /// The event bus description.
+ ///
+ ///
+ [AWSProperty(Max=512)]
+ public string Description
+ {
+ get { return this._description; }
+ set { this._description = value; }
+ }
+
+ // Check to see if Description property is set
+ internal bool IsSetDescription()
+ {
+ return this._description != null;
+ }
///
/// Gets and sets the property EventBusArn.
@@ -54,5 +91,30 @@ internal bool IsSetEventBusArn()
return this._eventBusArn != null;
}
+ ///
+ /// Gets and sets the property KmsKeyIdentifier.
+ ///
+ /// The identifier of the KMS customer managed key for EventBridge to use to encrypt events
+ /// on this event bus, if one has been specified.
+ ///
+ ///
+ ///
+ /// For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
+ [AWSProperty(Max=2048)]
+ public string KmsKeyIdentifier
+ {
+ get { return this._kmsKeyIdentifier; }
+ set { this._kmsKeyIdentifier = value; }
+ }
+
+ // Check to see if KmsKeyIdentifier property is set
+ internal bool IsSetKmsKeyIdentifier()
+ {
+ return this._kmsKeyIdentifier != null;
+ }
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/EventBridge/Generated/Model/DeadLetterConfig.cs b/sdk/src/Services/EventBridge/Generated/Model/DeadLetterConfig.cs
index d2872db4307f..dc1542af1f8f 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/DeadLetterConfig.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/DeadLetterConfig.cs
@@ -30,8 +30,14 @@
namespace Amazon.EventBridge.Model
{
///
- /// A DeadLetterConfig object that contains information about a dead-letter queue
- /// configuration.
+ /// Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter
+ /// queue (DLQ).
+ ///
+ ///
+ ///
+ /// For more information, see Event
+ /// retry policy and using dead-letter queues in the EventBridge User Guide.
+ ///
///
public partial class DeadLetterConfig
{
diff --git a/sdk/src/Services/EventBridge/Generated/Model/DeleteEndpointRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/DeleteEndpointRequest.cs
index 13fa80f7bdee..b611576e2708 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/DeleteEndpointRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/DeleteEndpointRequest.cs
@@ -34,7 +34,7 @@ namespace Amazon.EventBridge.Model
/// Delete an existing global endpoint. For more information about global endpoints, see
/// Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
public partial class DeleteEndpointRequest : AmazonEventBridgeRequest
{
diff --git a/sdk/src/Services/EventBridge/Generated/Model/DescribeEndpointRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/DescribeEndpointRequest.cs
index 242120473fec..28f2ba8e21c2 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/DescribeEndpointRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/DescribeEndpointRequest.cs
@@ -34,7 +34,7 @@ namespace Amazon.EventBridge.Model
/// Get the information about an existing global endpoint. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
public partial class DescribeEndpointRequest : AmazonEventBridgeRequest
{
diff --git a/sdk/src/Services/EventBridge/Generated/Model/DescribeEventBusResponse.cs b/sdk/src/Services/EventBridge/Generated/Model/DescribeEventBusResponse.cs
index 9f4c956d1750..6068b13effe4 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/DescribeEventBusResponse.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/DescribeEventBusResponse.cs
@@ -35,6 +35,11 @@ namespace Amazon.EventBridge.Model
public partial class DescribeEventBusResponse : AmazonWebServiceResponse
{
private string _arn;
+ private DateTime? _creationTime;
+ private DeadLetterConfig _deadLetterConfig;
+ private string _description;
+ private string _kmsKeyIdentifier;
+ private DateTime? _lastModifiedTime;
private string _name;
private string _policy;
@@ -57,6 +62,101 @@ internal bool IsSetArn()
return this._arn != null;
}
+ ///
+ /// Gets and sets the property CreationTime.
+ ///
+ /// The time the event bus was created.
+ ///
+ ///
+ public DateTime CreationTime
+ {
+ get { return this._creationTime.GetValueOrDefault(); }
+ set { this._creationTime = value; }
+ }
+
+ // Check to see if CreationTime property is set
+ internal bool IsSetCreationTime()
+ {
+ return this._creationTime.HasValue;
+ }
+
+ ///
+ /// Gets and sets the property DeadLetterConfig.
+ ///
+ public DeadLetterConfig DeadLetterConfig
+ {
+ get { return this._deadLetterConfig; }
+ set { this._deadLetterConfig = value; }
+ }
+
+ // Check to see if DeadLetterConfig property is set
+ internal bool IsSetDeadLetterConfig()
+ {
+ return this._deadLetterConfig != null;
+ }
+
+ ///
+ /// Gets and sets the property Description.
+ ///
+ /// The event bus description.
+ ///
+ ///
+ [AWSProperty(Max=512)]
+ public string Description
+ {
+ get { return this._description; }
+ set { this._description = value; }
+ }
+
+ // Check to see if Description property is set
+ internal bool IsSetDescription()
+ {
+ return this._description != null;
+ }
+
+ ///
+ /// Gets and sets the property KmsKeyIdentifier.
+ ///
+ /// The identifier of the KMS customer managed key for EventBridge to use to encrypt events
+ /// on this event bus, if one has been specified.
+ ///
+ ///
+ ///
+ /// For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
+ [AWSProperty(Max=2048)]
+ public string KmsKeyIdentifier
+ {
+ get { return this._kmsKeyIdentifier; }
+ set { this._kmsKeyIdentifier = value; }
+ }
+
+ // Check to see if KmsKeyIdentifier property is set
+ internal bool IsSetKmsKeyIdentifier()
+ {
+ return this._kmsKeyIdentifier != null;
+ }
+
+ ///
+ /// Gets and sets the property LastModifiedTime.
+ ///
+ /// The time the event bus was last modified.
+ ///
+ ///
+ public DateTime LastModifiedTime
+ {
+ get { return this._lastModifiedTime.GetValueOrDefault(); }
+ set { this._lastModifiedTime = value; }
+ }
+
+ // Check to see if LastModifiedTime property is set
+ internal bool IsSetLastModifiedTime()
+ {
+ return this._lastModifiedTime.HasValue;
+ }
+
///
/// Gets and sets the property Name.
///
diff --git a/sdk/src/Services/EventBridge/Generated/Model/DescribeRuleResponse.cs b/sdk/src/Services/EventBridge/Generated/Model/DescribeRuleResponse.cs
index a047e1e0132f..dd91116bca3d 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/DescribeRuleResponse.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/DescribeRuleResponse.cs
@@ -129,7 +129,7 @@ internal bool IsSetEventBusName()
/// Gets and sets the property EventPattern.
///
/// The event pattern. For more information, see Events
- /// and Event Patterns in the Amazon EventBridge User Guide.
+ /// and Event Patterns in the Amazon EventBridge User Guide .
///
///
[AWSProperty(Max=4096)]
diff --git a/sdk/src/Services/EventBridge/Generated/Model/Endpoint.cs b/sdk/src/Services/EventBridge/Generated/Model/Endpoint.cs
index 2115b78d91cc..7ce5ef125a0f 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/Endpoint.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/Endpoint.cs
@@ -33,7 +33,7 @@ namespace Amazon.EventBridge.Model
/// A global endpoint used to improve your application's availability by making it regional-fault
/// tolerant. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
public partial class Endpoint
{
diff --git a/sdk/src/Services/EventBridge/Generated/Model/EventBus.cs b/sdk/src/Services/EventBridge/Generated/Model/EventBus.cs
index b89cb7bd665e..c4a526898e89 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/EventBus.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/EventBus.cs
@@ -40,6 +40,9 @@ namespace Amazon.EventBridge.Model
public partial class EventBus
{
private string _arn;
+ private DateTime? _creationTime;
+ private string _description;
+ private DateTime? _lastModifiedTime;
private string _name;
private string _policy;
@@ -61,6 +64,61 @@ internal bool IsSetArn()
return this._arn != null;
}
+ ///
+ /// Gets and sets the property CreationTime.
+ ///
+ /// The time the event bus was created.
+ ///
+ ///
+ public DateTime CreationTime
+ {
+ get { return this._creationTime.GetValueOrDefault(); }
+ set { this._creationTime = value; }
+ }
+
+ // Check to see if CreationTime property is set
+ internal bool IsSetCreationTime()
+ {
+ return this._creationTime.HasValue;
+ }
+
+ ///
+ /// Gets and sets the property Description.
+ ///
+ /// The event bus description.
+ ///
+ ///
+ [AWSProperty(Max=512)]
+ public string Description
+ {
+ get { return this._description; }
+ set { this._description = value; }
+ }
+
+ // Check to see if Description property is set
+ internal bool IsSetDescription()
+ {
+ return this._description != null;
+ }
+
+ ///
+ /// Gets and sets the property LastModifiedTime.
+ ///
+ /// The time the event bus was last modified.
+ ///
+ ///
+ public DateTime LastModifiedTime
+ {
+ get { return this._lastModifiedTime.GetValueOrDefault(); }
+ set { this._lastModifiedTime = value; }
+ }
+
+ // Check to see if LastModifiedTime property is set
+ internal bool IsSetLastModifiedTime()
+ {
+ return this._lastModifiedTime.HasValue;
+ }
+
///
/// Gets and sets the property Name.
///
diff --git a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/CreateEventBusRequestMarshaller.cs b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/CreateEventBusRequestMarshaller.cs
index 02ebcc3a17fa..5d1041e87496 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/CreateEventBusRequestMarshaller.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/CreateEventBusRequestMarshaller.cs
@@ -69,12 +69,35 @@ public IRequest Marshall(CreateEventBusRequest publicRequest)
writer.Validate = false;
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
+ if(publicRequest.IsSetDeadLetterConfig())
+ {
+ context.Writer.WritePropertyName("DeadLetterConfig");
+ context.Writer.WriteObjectStart();
+
+ var marshaller = DeadLetterConfigMarshaller.Instance;
+ marshaller.Marshall(publicRequest.DeadLetterConfig, context);
+
+ context.Writer.WriteObjectEnd();
+ }
+
+ if(publicRequest.IsSetDescription())
+ {
+ context.Writer.WritePropertyName("Description");
+ context.Writer.Write(publicRequest.Description);
+ }
+
if(publicRequest.IsSetEventSourceName())
{
context.Writer.WritePropertyName("EventSourceName");
context.Writer.Write(publicRequest.EventSourceName);
}
+ if(publicRequest.IsSetKmsKeyIdentifier())
+ {
+ context.Writer.WritePropertyName("KmsKeyIdentifier");
+ context.Writer.Write(publicRequest.KmsKeyIdentifier);
+ }
+
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("Name");
diff --git a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/CreateEventBusResponseUnmarshaller.cs b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/CreateEventBusResponseUnmarshaller.cs
index 35239ff38b03..a7efc4dc3c5e 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/CreateEventBusResponseUnmarshaller.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/CreateEventBusResponseUnmarshaller.cs
@@ -52,12 +52,30 @@ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext cont
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
+ if (context.TestExpression("DeadLetterConfig", targetDepth))
+ {
+ var unmarshaller = DeadLetterConfigUnmarshaller.Instance;
+ response.DeadLetterConfig = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Description", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.Description = unmarshaller.Unmarshall(context);
+ continue;
+ }
if (context.TestExpression("EventBusArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.EventBusArn = unmarshaller.Unmarshall(context);
continue;
}
+ if (context.TestExpression("KmsKeyIdentifier", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.KmsKeyIdentifier = unmarshaller.Unmarshall(context);
+ continue;
+ }
}
return response;
diff --git a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/DescribeEventBusResponseUnmarshaller.cs b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/DescribeEventBusResponseUnmarshaller.cs
index 800bd9616a08..ac9005eefb1b 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/DescribeEventBusResponseUnmarshaller.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/DescribeEventBusResponseUnmarshaller.cs
@@ -58,6 +58,36 @@ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext cont
response.Arn = unmarshaller.Unmarshall(context);
continue;
}
+ if (context.TestExpression("CreationTime", targetDepth))
+ {
+ var unmarshaller = DateTimeUnmarshaller.Instance;
+ response.CreationTime = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("DeadLetterConfig", targetDepth))
+ {
+ var unmarshaller = DeadLetterConfigUnmarshaller.Instance;
+ response.DeadLetterConfig = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Description", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.Description = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("KmsKeyIdentifier", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.KmsKeyIdentifier = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("LastModifiedTime", targetDepth))
+ {
+ var unmarshaller = DateTimeUnmarshaller.Instance;
+ response.LastModifiedTime = unmarshaller.Unmarshall(context);
+ continue;
+ }
if (context.TestExpression("Name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
diff --git a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/EventBusUnmarshaller.cs b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/EventBusUnmarshaller.cs
index c96b1db1c090..94fc7c8dad22 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/EventBusUnmarshaller.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/EventBusUnmarshaller.cs
@@ -70,6 +70,24 @@ public EventBus Unmarshall(JsonUnmarshallerContext context)
unmarshalledObject.Arn = unmarshaller.Unmarshall(context);
continue;
}
+ if (context.TestExpression("CreationTime", targetDepth))
+ {
+ var unmarshaller = DateTimeUnmarshaller.Instance;
+ unmarshalledObject.CreationTime = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Description", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.Description = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("LastModifiedTime", targetDepth))
+ {
+ var unmarshaller = DateTimeUnmarshaller.Instance;
+ unmarshalledObject.LastModifiedTime = unmarshaller.Unmarshall(context);
+ continue;
+ }
if (context.TestExpression("Name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
diff --git a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/UpdateEventBusRequestMarshaller.cs b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/UpdateEventBusRequestMarshaller.cs
new file mode 100644
index 000000000000..243b1ba6f603
--- /dev/null
+++ b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/UpdateEventBusRequestMarshaller.cs
@@ -0,0 +1,128 @@
+/*
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the eventbridge-2015-10-07.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.EventBridge.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+#pragma warning disable CS0612,CS0618
+namespace Amazon.EventBridge.Model.Internal.MarshallTransformations
+{
+ ///
+ /// UpdateEventBus Request Marshaller
+ ///
+ public class UpdateEventBusRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((UpdateEventBusRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(UpdateEventBusRequest publicRequest)
+ {
+ IRequest request = new DefaultRequest(publicRequest, "Amazon.EventBridge");
+ string target = "AWSEvents.UpdateEventBus";
+ request.Headers["X-Amz-Target"] = target;
+ request.Headers["Content-Type"] = "application/x-amz-json-1.1";
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-10-07";
+ request.HttpMethod = "POST";
+
+ request.ResourcePath = "/";
+ using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
+ {
+ JsonWriter writer = new JsonWriter(stringWriter);
+ writer.Validate = false;
+ writer.WriteObjectStart();
+ var context = new JsonMarshallerContext(request, writer);
+ if(publicRequest.IsSetDeadLetterConfig())
+ {
+ context.Writer.WritePropertyName("DeadLetterConfig");
+ context.Writer.WriteObjectStart();
+
+ var marshaller = DeadLetterConfigMarshaller.Instance;
+ marshaller.Marshall(publicRequest.DeadLetterConfig, context);
+
+ context.Writer.WriteObjectEnd();
+ }
+
+ if(publicRequest.IsSetDescription())
+ {
+ context.Writer.WritePropertyName("Description");
+ context.Writer.Write(publicRequest.Description);
+ }
+
+ if(publicRequest.IsSetKmsKeyIdentifier())
+ {
+ context.Writer.WritePropertyName("KmsKeyIdentifier");
+ context.Writer.Write(publicRequest.KmsKeyIdentifier);
+ }
+
+ if(publicRequest.IsSetName())
+ {
+ context.Writer.WritePropertyName("Name");
+ context.Writer.Write(publicRequest.Name);
+ }
+
+ writer.WriteObjectEnd();
+ string snippet = stringWriter.ToString();
+ request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
+ }
+
+
+ return request;
+ }
+ private static UpdateEventBusRequestMarshaller _instance = new UpdateEventBusRequestMarshaller();
+
+ internal static UpdateEventBusRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static UpdateEventBusRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/UpdateEventBusResponseUnmarshaller.cs b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/UpdateEventBusResponseUnmarshaller.cs
new file mode 100644
index 000000000000..8e99465f62ea
--- /dev/null
+++ b/sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/UpdateEventBusResponseUnmarshaller.cs
@@ -0,0 +1,147 @@
+/*
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the eventbridge-2015-10-07.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+using System.Text;
+using System.Xml.Serialization;
+
+using Amazon.EventBridge.Model;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using Amazon.Runtime.Internal.Transform;
+using Amazon.Runtime.Internal.Util;
+using ThirdParty.Json.LitJson;
+
+#pragma warning disable CS0612,CS0618
+namespace Amazon.EventBridge.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for UpdateEventBus operation
+ ///
+ public class UpdateEventBusResponseUnmarshaller : JsonResponseUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
+ {
+ UpdateEventBusResponse response = new UpdateEventBusResponse();
+
+ context.Read();
+ int targetDepth = context.CurrentDepth;
+ while (context.ReadAtDepth(targetDepth))
+ {
+ if (context.TestExpression("Arn", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.Arn = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("DeadLetterConfig", targetDepth))
+ {
+ var unmarshaller = DeadLetterConfigUnmarshaller.Instance;
+ response.DeadLetterConfig = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Description", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.Description = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("KmsKeyIdentifier", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.KmsKeyIdentifier = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Name", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.Name = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+
+ return response;
+ }
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
+ {
+ if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException"))
+ {
+ return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("InternalException"))
+ {
+ return InternalExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("OperationDisabledException"))
+ {
+ return OperationDisabledExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
+ {
+ return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
+ }
+ }
+ return new AmazonEventBridgeException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+ }
+
+ private static UpdateEventBusResponseUnmarshaller _instance = new UpdateEventBusResponseUnmarshaller();
+
+ internal static UpdateEventBusResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static UpdateEventBusResponseUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/EventBridge/Generated/Model/ListEndpointsRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/ListEndpointsRequest.cs
index 9ee05678bbfb..c9e349d3f488 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/ListEndpointsRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/ListEndpointsRequest.cs
@@ -34,7 +34,7 @@ namespace Amazon.EventBridge.Model
/// List the global endpoints associated with this account. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
public partial class ListEndpointsRequest : AmazonEventBridgeRequest
{
diff --git a/sdk/src/Services/EventBridge/Generated/Model/PutEventsRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/PutEventsRequest.cs
index 9b7ff9f41cc9..7f10329a6cb6 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/PutEventsRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/PutEventsRequest.cs
@@ -38,7 +38,8 @@ namespace Amazon.EventBridge.Model
/// The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including
/// the event and any necessary characters and keys of the JSON representation of the
/// event. To learn more, see Calculating
- /// PutEvents event entry size in the Amazon EventBridge User Guide
+ /// PutEvents event entry size in the Amazon EventBridge User Guide
+ ///
///
///
///
diff --git a/sdk/src/Services/EventBridge/Generated/Model/PutRuleRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/PutRuleRequest.cs
index 26aa37aaa288..d75c303f1d34 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/PutRuleRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/PutRuleRequest.cs
@@ -158,7 +158,7 @@ internal bool IsSetEventBusName()
/// Gets and sets the property EventPattern.
///
/// The event pattern. For more information, see Amazon
- /// EventBridge event patterns in the Amazon EventBridge User Guide.
+ /// EventBridge event patterns in the Amazon EventBridge User Guide .
///
///
[AWSProperty(Max=4096)]
@@ -241,8 +241,44 @@ internal bool IsSetScheduleExpression()
///
/// Gets and sets the property State.
///
- /// Indicates whether the rule is enabled or disabled.
+ /// The state of the rule.
///
+ ///
+ ///
+ /// Valid values include:
+ ///
+ /// -
+ ///
+ /// DISABLED: The rule is disabled. EventBridge does not match any events against
+ /// the rule.
+ ///
+ ///
-
+ ///
+ /// ENABLED: The rule is enabled. EventBridge matches events against the rule,
+ /// except for Amazon Web Services management events delivered through CloudTrail.
+ ///
+ ///
-
+ ///
+ /// ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS: The rule is enabled for all
+ /// events, including Amazon Web Services management events delivered through CloudTrail.
+ ///
+ ///
+ ///
+ /// Management events provide visibility into management operations that are performed
+ /// on resources in your Amazon Web Services account. These are also known as control
+ /// plane operations. For more information, see Logging
+ /// management events in the CloudTrail User Guide, and Filtering
+ /// management events from Amazon Web Services services in the Amazon EventBridge
+ /// User Guide .
+ ///
+ ///
+ ///
+ /// This value is only valid for rules on the default
+ /// event bus or custom
+ /// event buses. It does not apply to partner
+ /// event buses.
+ ///
+ ///
///
public RuleState State
{
diff --git a/sdk/src/Services/EventBridge/Generated/Model/PutTargetsRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/PutTargetsRequest.cs
index f897f27f89af..047600c1cbb9 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/PutTargetsRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/PutTargetsRequest.cs
@@ -49,7 +49,7 @@ namespace Amazon.EventBridge.Model
///
///
/// For a list of services you can configure as targets for events, see EventBridge
- /// targets in the Amazon EventBridge User Guide.
+ /// targets in the Amazon EventBridge User Guide .
///
///
///
@@ -97,7 +97,7 @@ namespace Amazon.EventBridge.Model
///
///
/// For more information, see Authentication
- /// and Access Control in the Amazon EventBridge User Guide.
+ /// and Access Control in the Amazon EventBridge User Guide .
///
///
///
diff --git a/sdk/src/Services/EventBridge/Generated/Model/Rule.cs b/sdk/src/Services/EventBridge/Generated/Model/Rule.cs
index 902fac6b82a6..eb0c444d1360 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/Rule.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/Rule.cs
@@ -106,7 +106,7 @@ internal bool IsSetEventBusName()
/// Gets and sets the property EventPattern.
///
/// The event pattern of the rule. For more information, see Events
- /// and Event Patterns in the Amazon EventBridge User Guide.
+ /// and Event Patterns in the Amazon EventBridge User Guide .
///
///
[AWSProperty(Max=4096)]
@@ -213,6 +213,42 @@ internal bool IsSetScheduleExpression()
///
/// The state of the rule.
///
+ ///
+ ///
+ /// Valid values include:
+ ///
+ /// -
+ ///
+ /// DISABLED: The rule is disabled. EventBridge does not match any events against
+ /// the rule.
+ ///
+ ///
-
+ ///
+ /// ENABLED: The rule is enabled. EventBridge matches events against the rule,
+ /// except for Amazon Web Services management events delivered through CloudTrail.
+ ///
+ ///
-
+ ///
+ /// ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS: The rule is enabled for all
+ /// events, including Amazon Web Services management events delivered through CloudTrail.
+ ///
+ ///
+ ///
+ /// Management events provide visibility into management operations that are performed
+ /// on resources in your Amazon Web Services account. These are also known as control
+ /// plane operations. For more information, see Logging
+ /// management events in the CloudTrail User Guide, and Filtering
+ /// management events from Amazon Web Services services in the Amazon EventBridge
+ /// User Guide .
+ ///
+ ///
+ ///
+ /// This value is only valid for rules on the default
+ /// event bus or custom
+ /// event buses. It does not apply to partner
+ /// event buses.
+ ///
+ ///
///
public RuleState State
{
diff --git a/sdk/src/Services/EventBridge/Generated/Model/TestEventPatternRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/TestEventPatternRequest.cs
index ceb22c22c5df..4ae66e680c06 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/TestEventPatternRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/TestEventPatternRequest.cs
@@ -100,7 +100,7 @@ internal bool IsSetEvent()
/// Gets and sets the property EventPattern.
///
/// The event pattern. For more information, see Events
- /// and Event Patterns in the Amazon EventBridge User Guide.
+ /// and Event Patterns in the Amazon EventBridge User Guide .
///
///
[AWSProperty(Required=true, Max=4096)]
diff --git a/sdk/src/Services/EventBridge/Generated/Model/UpdateEndpointRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/UpdateEndpointRequest.cs
index 8c36858756cf..0f31c5a47926 100644
--- a/sdk/src/Services/EventBridge/Generated/Model/UpdateEndpointRequest.cs
+++ b/sdk/src/Services/EventBridge/Generated/Model/UpdateEndpointRequest.cs
@@ -33,7 +33,7 @@ namespace Amazon.EventBridge.Model
/// Container for the parameters to the UpdateEndpoint operation.
/// Update an existing endpoint. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
public partial class UpdateEndpointRequest : AmazonEventBridgeRequest
{
diff --git a/sdk/src/Services/EventBridge/Generated/Model/UpdateEventBusRequest.cs b/sdk/src/Services/EventBridge/Generated/Model/UpdateEventBusRequest.cs
new file mode 100644
index 000000000000..00a7a12189dd
--- /dev/null
+++ b/sdk/src/Services/EventBridge/Generated/Model/UpdateEventBusRequest.cs
@@ -0,0 +1,156 @@
+/*
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the eventbridge-2015-10-07.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+#pragma warning disable CS0612,CS0618,CS1570
+namespace Amazon.EventBridge.Model
+{
+ ///
+ /// Container for the parameters to the UpdateEventBus operation.
+ /// Updates the specified event bus.
+ ///
+ public partial class UpdateEventBusRequest : AmazonEventBridgeRequest
+ {
+ private DeadLetterConfig _deadLetterConfig;
+ private string _description;
+ private string _kmsKeyIdentifier;
+ private string _name;
+
+ ///
+ /// Gets and sets the property DeadLetterConfig.
+ ///
+ public DeadLetterConfig DeadLetterConfig
+ {
+ get { return this._deadLetterConfig; }
+ set { this._deadLetterConfig = value; }
+ }
+
+ // Check to see if DeadLetterConfig property is set
+ internal bool IsSetDeadLetterConfig()
+ {
+ return this._deadLetterConfig != null;
+ }
+
+ ///
+ /// Gets and sets the property Description.
+ ///
+ /// The event bus description.
+ ///
+ ///
+ [AWSProperty(Max=512)]
+ public string Description
+ {
+ get { return this._description; }
+ set { this._description = value; }
+ }
+
+ // Check to see if Description property is set
+ internal bool IsSetDescription()
+ {
+ return this._description != null;
+ }
+
+ ///
+ /// Gets and sets the property KmsKeyIdentifier.
+ ///
+ /// The identifier of the KMS customer managed key for EventBridge to use, if you choose
+ /// to use a customer managed key to encrypt events on this event bus. The identifier
+ /// can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
+ ///
+ ///
+ ///
+ /// If you do not specify a customer managed key identifier, EventBridge uses an Amazon
+ /// Web Services owned key to encrypt events on the event bus.
+ ///
+ ///
+ ///
+ /// For more information, see Managing
+ /// keys in the Key Management Service Developer Guide.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
+ ///
+ [AWSProperty(Max=2048)]
+ public string KmsKeyIdentifier
+ {
+ get { return this._kmsKeyIdentifier; }
+ set { this._kmsKeyIdentifier = value; }
+ }
+
+ // Check to see if KmsKeyIdentifier property is set
+ internal bool IsSetKmsKeyIdentifier()
+ {
+ return this._kmsKeyIdentifier != null;
+ }
+
+ ///
+ /// Gets and sets the property Name.
+ ///
+ /// The name of the event bus.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=256)]
+ public string Name
+ {
+ get { return this._name; }
+ set { this._name = value; }
+ }
+
+ // Check to see if Name property is set
+ internal bool IsSetName()
+ {
+ return this._name != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/EventBridge/Generated/Model/UpdateEventBusResponse.cs b/sdk/src/Services/EventBridge/Generated/Model/UpdateEventBusResponse.cs
new file mode 100644
index 000000000000..e28f2a34847b
--- /dev/null
+++ b/sdk/src/Services/EventBridge/Generated/Model/UpdateEventBusResponse.cs
@@ -0,0 +1,140 @@
+/*
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+/*
+ * Do not modify this file. This file is generated from the eventbridge-2015-10-07.normal.json service model.
+ */
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+#pragma warning disable CS0612,CS0618,CS1570
+namespace Amazon.EventBridge.Model
+{
+ ///
+ /// This is the response object from the UpdateEventBus operation.
+ ///
+ public partial class UpdateEventBusResponse : AmazonWebServiceResponse
+ {
+ private string _arn;
+ private DeadLetterConfig _deadLetterConfig;
+ private string _description;
+ private string _kmsKeyIdentifier;
+ private string _name;
+
+ ///
+ /// Gets and sets the property Arn.
+ ///
+ /// The event bus Amazon Resource Name (ARN).
+ ///
+ ///
+ public string Arn
+ {
+ get { return this._arn; }
+ set { this._arn = value; }
+ }
+
+ // Check to see if Arn property is set
+ internal bool IsSetArn()
+ {
+ return this._arn != null;
+ }
+
+ ///
+ /// Gets and sets the property DeadLetterConfig.
+ ///
+ public DeadLetterConfig DeadLetterConfig
+ {
+ get { return this._deadLetterConfig; }
+ set { this._deadLetterConfig = value; }
+ }
+
+ // Check to see if DeadLetterConfig property is set
+ internal bool IsSetDeadLetterConfig()
+ {
+ return this._deadLetterConfig != null;
+ }
+
+ ///
+ /// Gets and sets the property Description.
+ ///
+ /// The event bus description.
+ ///
+ ///
+ [AWSProperty(Max=512)]
+ public string Description
+ {
+ get { return this._description; }
+ set { this._description = value; }
+ }
+
+ // Check to see if Description property is set
+ internal bool IsSetDescription()
+ {
+ return this._description != null;
+ }
+
+ ///
+ /// Gets and sets the property KmsKeyIdentifier.
+ ///
+ /// The identifier of the KMS customer managed key for EventBridge to use to encrypt events
+ /// on this event bus, if one has been specified.
+ ///
+ ///
+ ///
+ /// For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
+ [AWSProperty(Max=2048)]
+ public string KmsKeyIdentifier
+ {
+ get { return this._kmsKeyIdentifier; }
+ set { this._kmsKeyIdentifier = value; }
+ }
+
+ // Check to see if KmsKeyIdentifier property is set
+ internal bool IsSetKmsKeyIdentifier()
+ {
+ return this._kmsKeyIdentifier != null;
+ }
+
+ ///
+ /// Gets and sets the property Name.
+ ///
+ /// The event bus name.
+ ///
+ ///
+ [AWSProperty(Min=1, Max=256)]
+ public string Name
+ {
+ get { return this._name; }
+ set { this._name = value; }
+ }
+
+ // Check to see if Name property is set
+ internal bool IsSetName()
+ {
+ return this._name != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/EventBridge/Generated/_bcl35/AmazonEventBridgeClient.cs b/sdk/src/Services/EventBridge/Generated/_bcl35/AmazonEventBridgeClient.cs
index 36c195730c5f..ead41b90d17a 100644
--- a/sdk/src/Services/EventBridge/Generated/_bcl35/AmazonEventBridgeClient.cs
+++ b/sdk/src/Services/EventBridge/Generated/_bcl35/AmazonEventBridgeClient.cs
@@ -493,6 +493,35 @@ public virtual CreateApiDestinationResponse EndCreateApiDestination(IAsyncResult
/// period of time for changes to take effect. If you do not specify a pattern to filter
/// events sent to the archive, all events are sent to the archive except replayed events.
/// Replayed events are not sent to an archive.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the CreateArchive service method.
///
@@ -1237,7 +1266,7 @@ public virtual DeleteConnectionResponse EndDeleteConnection(IAsyncResult asyncRe
/// Delete an existing global endpoint. For more information about global endpoints, see
/// Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
@@ -1713,7 +1742,7 @@ public virtual DescribeConnectionResponse EndDescribeConnection(IAsyncResult asy
/// Get the information about an existing global endpoint. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DescribeEndpoint service method.
///
@@ -2443,7 +2472,7 @@ public virtual ListConnectionsResponse EndListConnections(IAsyncResult asyncResu
/// List the global endpoints associated with this account. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the ListEndpoints service method.
///
@@ -3074,7 +3103,8 @@ public virtual ListTargetsByRuleResponse EndListTargetsByRule(IAsyncResult async
/// The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including
/// the event and any necessary characters and keys of the JSON representation of the
/// event. To learn more, see Calculating
- /// PutEvents event entry size in the Amazon EventBridge User Guide
+ /// PutEvents event entry size in the Amazon EventBridge User Guide
+ ///
///
///
///
@@ -3475,7 +3505,7 @@ public virtual PutRuleResponse EndPutRule(IAsyncResult asyncResult)
///
///
/// For a list of services you can configure as targets for events, see EventBridge
- /// targets in the Amazon EventBridge User Guide.
+ /// targets in the Amazon EventBridge User Guide .
///
///
///
@@ -3523,7 +3553,7 @@ public virtual PutRuleResponse EndPutRule(IAsyncResult asyncResult)
///
///
/// For more information, see Authentication
- /// and Access Control in the Amazon EventBridge User Guide.
+ /// and Access Control in the Amazon EventBridge User Guide .
///
///
///
@@ -4357,7 +4387,7 @@ public virtual UpdateConnectionResponse EndUpdateConnection(IAsyncResult asyncRe
///
/// Update an existing endpoint. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the UpdateEndpoint service method.
///
@@ -4417,6 +4447,72 @@ public virtual UpdateEndpointResponse EndUpdateEndpoint(IAsyncResult asyncResult
#endregion
+ #region UpdateEventBus
+
+ ///
+ /// Updates the specified event bus.
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus service method.
+ ///
+ /// The response from the UpdateEventBus service method, as returned by EventBridge.
+ ///
+ /// There is concurrent modification on a rule, target, archive, or replay.
+ ///
+ ///
+ /// This exception occurs due to unexpected causes.
+ ///
+ ///
+ /// The operation you are attempting is not available in this region.
+ ///
+ ///
+ /// An entity that you specified does not exist.
+ ///
+ /// REST API Reference for UpdateEventBus Operation
+ public virtual UpdateEventBusResponse UpdateEventBus(UpdateEventBusRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateEventBusRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateEventBusResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+ ///
+ /// Initiates the asynchronous execution of the UpdateEventBus operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus operation on AmazonEventBridgeClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEventBus
+ /// operation.
+ /// REST API Reference for UpdateEventBus Operation
+ public virtual IAsyncResult BeginUpdateEventBus(UpdateEventBusRequest request, AsyncCallback callback, object state)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateEventBusRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateEventBusResponseUnmarshaller.Instance;
+
+ return BeginInvoke(request, options, callback, state);
+ }
+
+ ///
+ /// Finishes the asynchronous execution of the UpdateEventBus operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginUpdateEventBus.
+ ///
+ /// Returns a UpdateEventBusResult from EventBridge.
+ /// REST API Reference for UpdateEventBus Operation
+ public virtual UpdateEventBusResponse EndUpdateEventBus(IAsyncResult asyncResult)
+ {
+ return EndInvoke(asyncResult);
+ }
+
+ #endregion
+
#region DetermineServiceOperationEndpoint
///
diff --git a/sdk/src/Services/EventBridge/Generated/_bcl35/IAmazonEventBridge.cs b/sdk/src/Services/EventBridge/Generated/_bcl35/IAmazonEventBridge.cs
index bc9cd1bba992..3ba38772012c 100644
--- a/sdk/src/Services/EventBridge/Generated/_bcl35/IAmazonEventBridge.cs
+++ b/sdk/src/Services/EventBridge/Generated/_bcl35/IAmazonEventBridge.cs
@@ -245,6 +245,35 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// period of time for changes to take effect. If you do not specify a pattern to filter
/// events sent to the archive, all events are sent to the archive except replayed events.
/// Replayed events are not sent to an archive.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the CreateArchive service method.
///
@@ -849,7 +878,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// Delete an existing global endpoint. For more information about global endpoints, see
/// Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
@@ -1227,7 +1256,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// Get the information about an existing global endpoint. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DescribeEndpoint service method.
///
@@ -1803,7 +1832,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// List the global endpoints associated with this account. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the ListEndpoints service method.
///
@@ -2294,7 +2323,8 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including
/// the event and any necessary characters and keys of the JSON representation of the
/// event. To learn more, see Calculating
- /// PutEvents event entry size in the Amazon EventBridge User Guide
+ /// PutEvents event entry size in the Amazon EventBridge User Guide
+ ///
///
///
///
@@ -2639,7 +2669,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
///
/// For a list of services you can configure as targets for events, see EventBridge
- /// targets in the Amazon EventBridge User Guide.
+ /// targets in the Amazon EventBridge User Guide .
///
///
///
@@ -2687,7 +2717,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
///
/// For more information, see Authentication
- /// and Access Control in the Amazon EventBridge User Guide.
+ /// and Access Control in the Amazon EventBridge User Guide .
///
///
///
@@ -3381,7 +3411,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
/// Update an existing endpoint. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the UpdateEndpoint service method.
///
@@ -3424,6 +3454,58 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// REST API Reference for UpdateEndpoint Operation
UpdateEndpointResponse EndUpdateEndpoint(IAsyncResult asyncResult);
+ #endregion
+
+ #region UpdateEventBus
+
+
+ ///
+ /// Updates the specified event bus.
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus service method.
+ ///
+ /// The response from the UpdateEventBus service method, as returned by EventBridge.
+ ///
+ /// There is concurrent modification on a rule, target, archive, or replay.
+ ///
+ ///
+ /// This exception occurs due to unexpected causes.
+ ///
+ ///
+ /// The operation you are attempting is not available in this region.
+ ///
+ ///
+ /// An entity that you specified does not exist.
+ ///
+ /// REST API Reference for UpdateEventBus Operation
+ UpdateEventBusResponse UpdateEventBus(UpdateEventBusRequest request);
+
+ ///
+ /// Initiates the asynchronous execution of the UpdateEventBus operation.
+ ///
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus operation on AmazonEventBridgeClient.
+ /// An AsyncCallback delegate that is invoked when the operation completes.
+ /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
+ /// procedure using the AsyncState property.
+ ///
+ /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEventBus
+ /// operation.
+ /// REST API Reference for UpdateEventBus Operation
+ IAsyncResult BeginUpdateEventBus(UpdateEventBusRequest request, AsyncCallback callback, object state);
+
+
+
+ ///
+ /// Finishes the asynchronous execution of the UpdateEventBus operation.
+ ///
+ ///
+ /// The IAsyncResult returned by the call to BeginUpdateEventBus.
+ ///
+ /// Returns a UpdateEventBusResult from EventBridge.
+ /// REST API Reference for UpdateEventBus Operation
+ UpdateEventBusResponse EndUpdateEventBus(IAsyncResult asyncResult);
+
#endregion
#region DetermineServiceOperationEndpoint
diff --git a/sdk/src/Services/EventBridge/Generated/_bcl45/AmazonEventBridgeClient.cs b/sdk/src/Services/EventBridge/Generated/_bcl45/AmazonEventBridgeClient.cs
index 2568eb53ef2f..d42748fbfccb 100644
--- a/sdk/src/Services/EventBridge/Generated/_bcl45/AmazonEventBridgeClient.cs
+++ b/sdk/src/Services/EventBridge/Generated/_bcl45/AmazonEventBridgeClient.cs
@@ -510,6 +510,35 @@ public virtual CreateApiDestinationResponse CreateApiDestination(CreateApiDestin
/// period of time for changes to take effect. If you do not specify a pattern to filter
/// events sent to the archive, all events are sent to the archive except replayed events.
/// Replayed events are not sent to an archive.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the CreateArchive service method.
///
@@ -550,6 +579,35 @@ public virtual CreateArchiveResponse CreateArchive(CreateArchiveRequest request)
/// period of time for changes to take effect. If you do not specify a pattern to filter
/// events sent to the archive, all events are sent to the archive except replayed events.
/// Replayed events are not sent to an archive.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the CreateArchive service method.
///
@@ -1330,7 +1388,7 @@ public virtual DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest
/// Delete an existing global endpoint. For more information about global endpoints, see
/// Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
@@ -1359,7 +1417,7 @@ public virtual DeleteEndpointResponse DeleteEndpoint(DeleteEndpointRequest reque
/// Delete an existing global endpoint. For more information about global endpoints, see
/// Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
@@ -1813,7 +1871,7 @@ public virtual DescribeConnectionResponse DescribeConnection(DescribeConnectionR
/// Get the information about an existing global endpoint. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DescribeEndpoint service method.
///
@@ -1839,7 +1897,7 @@ public virtual DescribeEndpointResponse DescribeEndpoint(DescribeEndpointRequest
/// Get the information about an existing global endpoint. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DescribeEndpoint service method.
///
@@ -2536,7 +2594,7 @@ public virtual ListConnectionsResponse ListConnections(ListConnectionsRequest re
/// List the global endpoints associated with this account. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the ListEndpoints service method.
///
@@ -2559,7 +2617,7 @@ public virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest request)
/// List the global endpoints associated with this account. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the ListEndpoints service method.
///
@@ -3124,7 +3182,8 @@ public virtual ListTargetsByRuleResponse ListTargetsByRule(ListTargetsByRuleRequ
/// The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including
/// the event and any necessary characters and keys of the JSON representation of the
/// event. To learn more, see Calculating
- /// PutEvents event entry size in the Amazon EventBridge User Guide
+ /// PutEvents event entry size in the Amazon EventBridge User Guide
+ ///
///
///
///
@@ -3163,7 +3222,8 @@ public virtual PutEventsResponse PutEvents(PutEventsRequest request)
/// The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including
/// the event and any necessary characters and keys of the JSON representation of the
/// event. To learn more, see Calculating
- /// PutEvents event entry size in the Amazon EventBridge User Guide
+ /// PutEvents event entry size in the Amazon EventBridge User Guide
+ ///
///
///
///
@@ -3647,7 +3707,7 @@ public virtual PutRuleResponse PutRule(PutRuleRequest request)
///
///
/// For a list of services you can configure as targets for events, see EventBridge
- /// targets in the Amazon EventBridge User Guide.
+ /// targets in the Amazon EventBridge User Guide .
///
///
///
@@ -3695,7 +3755,7 @@ public virtual PutRuleResponse PutRule(PutRuleRequest request)
///
///
/// For more information, see Authentication
- /// and Access Control in the Amazon EventBridge User Guide.
+ /// and Access Control in the Amazon EventBridge User Guide .
///
///
///
@@ -3833,7 +3893,7 @@ public virtual PutTargetsResponse PutTargets(PutTargetsRequest request)
///
///
/// For a list of services you can configure as targets for events, see EventBridge
- /// targets in the Amazon EventBridge User Guide.
+ /// targets in the Amazon EventBridge User Guide .
///
///
///
@@ -3881,7 +3941,7 @@ public virtual PutTargetsResponse PutTargets(PutTargetsRequest request)
///
///
/// For more information, see Authentication
- /// and Access Control in the Amazon EventBridge User Guide.
+ /// and Access Control in the Amazon EventBridge User Guide .
///
///
///
@@ -4757,7 +4817,7 @@ public virtual UpdateConnectionResponse UpdateConnection(UpdateConnectionRequest
///
/// Update an existing endpoint. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the UpdateEndpoint service method.
///
@@ -4785,7 +4845,7 @@ public virtual UpdateEndpointResponse UpdateEndpoint(UpdateEndpointRequest reque
///
/// Update an existing endpoint. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the UpdateEndpoint service method.
///
@@ -4814,6 +4874,71 @@ public virtual UpdateEndpointResponse UpdateEndpoint(UpdateEndpointRequest reque
#endregion
+ #region UpdateEventBus
+
+
+ ///
+ /// Updates the specified event bus.
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus service method.
+ ///
+ /// The response from the UpdateEventBus service method, as returned by EventBridge.
+ ///
+ /// There is concurrent modification on a rule, target, archive, or replay.
+ ///
+ ///
+ /// This exception occurs due to unexpected causes.
+ ///
+ ///
+ /// The operation you are attempting is not available in this region.
+ ///
+ ///
+ /// An entity that you specified does not exist.
+ ///
+ /// REST API Reference for UpdateEventBus Operation
+ public virtual UpdateEventBusResponse UpdateEventBus(UpdateEventBusRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateEventBusRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateEventBusResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+ ///
+ /// Updates the specified event bus.
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the UpdateEventBus service method, as returned by EventBridge.
+ ///
+ /// There is concurrent modification on a rule, target, archive, or replay.
+ ///
+ ///
+ /// This exception occurs due to unexpected causes.
+ ///
+ ///
+ /// The operation you are attempting is not available in this region.
+ ///
+ ///
+ /// An entity that you specified does not exist.
+ ///
+ /// REST API Reference for UpdateEventBus Operation
+ public virtual Task UpdateEventBusAsync(UpdateEventBusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateEventBusRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateEventBusResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region DetermineServiceOperationEndpoint
///
diff --git a/sdk/src/Services/EventBridge/Generated/_bcl45/IAmazonEventBridge.cs b/sdk/src/Services/EventBridge/Generated/_bcl45/IAmazonEventBridge.cs
index 6524052a6c63..1e16fd349bbc 100644
--- a/sdk/src/Services/EventBridge/Generated/_bcl45/IAmazonEventBridge.cs
+++ b/sdk/src/Services/EventBridge/Generated/_bcl45/IAmazonEventBridge.cs
@@ -262,6 +262,35 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// period of time for changes to take effect. If you do not specify a pattern to filter
/// events sent to the archive, all events are sent to the archive except replayed events.
/// Replayed events are not sent to an archive.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the CreateArchive service method.
///
@@ -296,6 +325,35 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// period of time for changes to take effect. If you do not specify a pattern to filter
/// events sent to the archive, all events are sent to the archive except replayed events.
/// Replayed events are not sent to an archive.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the CreateArchive service method.
///
@@ -952,7 +1010,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// Delete an existing global endpoint. For more information about global endpoints, see
/// Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
@@ -975,7 +1033,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// Delete an existing global endpoint. For more information about global endpoints, see
/// Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
@@ -1344,7 +1402,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// Get the information about an existing global endpoint. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DescribeEndpoint service method.
///
@@ -1364,7 +1422,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// Get the information about an existing global endpoint. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DescribeEndpoint service method.
///
@@ -1924,7 +1982,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// List the global endpoints associated with this account. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the ListEndpoints service method.
///
@@ -1941,7 +1999,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// List the global endpoints associated with this account. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the ListEndpoints service method.
///
@@ -2382,7 +2440,8 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including
/// the event and any necessary characters and keys of the JSON representation of the
/// event. To learn more, see Calculating
- /// PutEvents event entry size in the Amazon EventBridge User Guide
+ /// PutEvents event entry size in the Amazon EventBridge User Guide
+ ///
///
///
///
@@ -2415,7 +2474,8 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including
/// the event and any necessary characters and keys of the JSON representation of the
/// event. To learn more, see Calculating
- /// PutEvents event entry size in the Amazon EventBridge User Guide
+ /// PutEvents event entry size in the Amazon EventBridge User Guide
+ ///
///
///
///
@@ -2853,7 +2913,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
///
/// For a list of services you can configure as targets for events, see EventBridge
- /// targets in the Amazon EventBridge User Guide.
+ /// targets in the Amazon EventBridge User Guide .
///
///
///
@@ -2901,7 +2961,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
///
/// For more information, see Authentication
- /// and Access Control in the Amazon EventBridge User Guide.
+ /// and Access Control in the Amazon EventBridge User Guide .
///
///
///
@@ -3033,7 +3093,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
///
/// For a list of services you can configure as targets for events, see EventBridge
- /// targets in the Amazon EventBridge User Guide.
+ /// targets in the Amazon EventBridge User Guide .
///
///
///
@@ -3081,7 +3141,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
///
/// For more information, see Authentication
- /// and Access Control in the Amazon EventBridge User Guide.
+ /// and Access Control in the Amazon EventBridge User Guide .
///
///
///
@@ -3833,7 +3893,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
/// Update an existing endpoint. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the UpdateEndpoint service method.
///
@@ -3855,7 +3915,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
/// Update an existing endpoint. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the UpdateEndpoint service method.
///
@@ -3875,6 +3935,58 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// REST API Reference for UpdateEndpoint Operation
Task UpdateEndpointAsync(UpdateEndpointRequest request, CancellationToken cancellationToken = default(CancellationToken));
+ #endregion
+
+ #region UpdateEventBus
+
+
+ ///
+ /// Updates the specified event bus.
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus service method.
+ ///
+ /// The response from the UpdateEventBus service method, as returned by EventBridge.
+ ///
+ /// There is concurrent modification on a rule, target, archive, or replay.
+ ///
+ ///
+ /// This exception occurs due to unexpected causes.
+ ///
+ ///
+ /// The operation you are attempting is not available in this region.
+ ///
+ ///
+ /// An entity that you specified does not exist.
+ ///
+ /// REST API Reference for UpdateEventBus Operation
+ UpdateEventBusResponse UpdateEventBus(UpdateEventBusRequest request);
+
+
+
+ ///
+ /// Updates the specified event bus.
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the UpdateEventBus service method, as returned by EventBridge.
+ ///
+ /// There is concurrent modification on a rule, target, archive, or replay.
+ ///
+ ///
+ /// This exception occurs due to unexpected causes.
+ ///
+ ///
+ /// The operation you are attempting is not available in this region.
+ ///
+ ///
+ /// An entity that you specified does not exist.
+ ///
+ /// REST API Reference for UpdateEventBus Operation
+ Task UpdateEventBusAsync(UpdateEventBusRequest request, CancellationToken cancellationToken = default(CancellationToken));
+
#endregion
#region DetermineServiceOperationEndpoint
diff --git a/sdk/src/Services/EventBridge/Generated/_netstandard/AmazonEventBridgeClient.cs b/sdk/src/Services/EventBridge/Generated/_netstandard/AmazonEventBridgeClient.cs
index 5339c5ffeb0d..7da8a1353506 100644
--- a/sdk/src/Services/EventBridge/Generated/_netstandard/AmazonEventBridgeClient.cs
+++ b/sdk/src/Services/EventBridge/Generated/_netstandard/AmazonEventBridgeClient.cs
@@ -448,6 +448,35 @@ internal virtual CreateArchiveResponse CreateArchive(CreateArchiveRequest reques
/// period of time for changes to take effect. If you do not specify a pattern to filter
/// events sent to the archive, all events are sent to the archive except replayed events.
/// Replayed events are not sent to an archive.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the CreateArchive service method.
///
@@ -992,7 +1021,7 @@ internal virtual DeleteEndpointResponse DeleteEndpoint(DeleteEndpointRequest req
/// Delete an existing global endpoint. For more information about global endpoints, see
/// Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
@@ -1328,7 +1357,7 @@ internal virtual DescribeEndpointResponse DescribeEndpoint(DescribeEndpointReque
/// Get the information about an existing global endpoint. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DescribeEndpoint service method.
///
@@ -1838,7 +1867,7 @@ internal virtual ListEndpointsResponse ListEndpoints(ListEndpointsRequest reques
/// List the global endpoints associated with this account. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the ListEndpoints service method.
///
@@ -2269,7 +2298,8 @@ internal virtual PutEventsResponse PutEvents(PutEventsRequest request)
/// The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including
/// the event and any necessary characters and keys of the JSON representation of the
/// event. To learn more, see Calculating
- /// PutEvents event entry size in the Amazon EventBridge User Guide
+ /// PutEvents event entry size in the Amazon EventBridge User Guide
+ ///
///
///
///
@@ -2590,7 +2620,7 @@ internal virtual PutTargetsResponse PutTargets(PutTargetsRequest request)
///
///
/// For a list of services you can configure as targets for events, see EventBridge
- /// targets in the Amazon EventBridge User Guide.
+ /// targets in the Amazon EventBridge User Guide .
///
///
///
@@ -2638,7 +2668,7 @@ internal virtual PutTargetsResponse PutTargets(PutTargetsRequest request)
///
///
/// For more information, see Authentication
- /// and Access Control in the Amazon EventBridge User Guide.
+ /// and Access Control in the Amazon EventBridge User Guide .
///
///
///
@@ -3272,7 +3302,7 @@ internal virtual UpdateEndpointResponse UpdateEndpoint(UpdateEndpointRequest req
///
/// Update an existing endpoint. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the UpdateEndpoint service method.
///
@@ -3301,6 +3331,52 @@ internal virtual UpdateEndpointResponse UpdateEndpoint(UpdateEndpointRequest req
#endregion
+ #region UpdateEventBus
+
+ internal virtual UpdateEventBusResponse UpdateEventBus(UpdateEventBusRequest request)
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateEventBusRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateEventBusResponseUnmarshaller.Instance;
+
+ return Invoke(request, options);
+ }
+
+
+
+ ///
+ /// Updates the specified event bus.
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the UpdateEventBus service method, as returned by EventBridge.
+ ///
+ /// There is concurrent modification on a rule, target, archive, or replay.
+ ///
+ ///
+ /// This exception occurs due to unexpected causes.
+ ///
+ ///
+ /// The operation you are attempting is not available in this region.
+ ///
+ ///
+ /// An entity that you specified does not exist.
+ ///
+ /// REST API Reference for UpdateEventBus Operation
+ public virtual Task UpdateEventBusAsync(UpdateEventBusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
+ {
+ var options = new InvokeOptions();
+ options.RequestMarshaller = UpdateEventBusRequestMarshaller.Instance;
+ options.ResponseUnmarshaller = UpdateEventBusResponseUnmarshaller.Instance;
+
+ return InvokeAsync(request, options, cancellationToken);
+ }
+
+ #endregion
+
#region DetermineServiceOperationEndpoint
///
diff --git a/sdk/src/Services/EventBridge/Generated/_netstandard/IAmazonEventBridge.cs b/sdk/src/Services/EventBridge/Generated/_netstandard/IAmazonEventBridge.cs
index 879f5c24c74f..ff3086fae7d0 100644
--- a/sdk/src/Services/EventBridge/Generated/_netstandard/IAmazonEventBridge.cs
+++ b/sdk/src/Services/EventBridge/Generated/_netstandard/IAmazonEventBridge.cs
@@ -178,6 +178,35 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// period of time for changes to take effect. If you do not specify a pattern to filter
/// events sent to the archive, all events are sent to the archive except replayed events.
/// Replayed events are not sent to an archive.
+ ///
+ ///
+ ///
+ /// Archives and schema discovery are not supported for event buses encrypted using a
+ /// customer managed key. EventBridge returns an error if:
+ ///
+ /// -
+ ///
+ /// You call CreateArchive
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call CreateDiscoverer
+ /// on an event bus set to use a customer managed key for encryption.
+ ///
+ ///
-
+ ///
+ /// You call UpdatedEventBus
+ /// to set a customer managed key on an event bus with an archives or schema discovery
+ /// enabled.
+ ///
+ ///
+ ///
+ /// To enable archives or schema discovery on an event bus, choose to use an Amazon Web
+ /// Services owned key. For more information, see Data
+ /// encryption in EventBridge in the Amazon EventBridge User Guide.
+ ///
+ ///
///
/// Container for the necessary parameters to execute the CreateArchive service method.
///
@@ -562,7 +591,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// Delete an existing global endpoint. For more information about global endpoints, see
/// Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
@@ -786,7 +815,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// Get the information about an existing global endpoint. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the DescribeEndpoint service method.
///
@@ -1120,7 +1149,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// List the global endpoints associated with this account. For more information about
/// global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the ListEndpoints service method.
///
@@ -1391,7 +1420,8 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
/// The maximum size for a PutEvents event entry is 256 KB. Entry size is calculated including
/// the event and any necessary characters and keys of the JSON representation of the
/// event. To learn more, see Calculating
- /// PutEvents event entry size in the Amazon EventBridge User Guide
+ /// PutEvents event entry size in the Amazon EventBridge User Guide
+ ///
///
///
///
@@ -1648,7 +1678,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
///
/// For a list of services you can configure as targets for events, see EventBridge
- /// targets in the Amazon EventBridge User Guide.
+ /// targets in the Amazon EventBridge User Guide .
///
///
///
@@ -1696,7 +1726,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
///
/// For more information, see Authentication
- /// and Access Control in the Amazon EventBridge User Guide.
+ /// and Access Control in the Amazon EventBridge User Guide .
///
///
///
@@ -2170,7 +2200,7 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
///
/// Update an existing endpoint. For more information about global endpoints, see Making
/// applications Regional-fault tolerant with global endpoints and event replication
- /// in the Amazon EventBridge User Guide.
+ /// in the Amazon EventBridge User Guide .
///
/// Container for the necessary parameters to execute the UpdateEndpoint service method.
///
@@ -2192,6 +2222,36 @@ public partial interface IAmazonEventBridge : IAmazonService, IDisposable
#endregion
+ #region UpdateEventBus
+
+
+
+ ///
+ /// Updates the specified event bus.
+ ///
+ /// Container for the necessary parameters to execute the UpdateEventBus service method.
+ ///
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ ///
+ /// The response from the UpdateEventBus service method, as returned by EventBridge.
+ ///
+ /// There is concurrent modification on a rule, target, archive, or replay.
+ ///
+ ///
+ /// This exception occurs due to unexpected causes.
+ ///
+ ///
+ /// The operation you are attempting is not available in this region.
+ ///
+ ///
+ /// An entity that you specified does not exist.
+ ///
+ /// REST API Reference for UpdateEventBus Operation
+ Task UpdateEventBusAsync(UpdateEventBusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
+
+ #endregion
+
#region DetermineServiceOperationEndpoint
///