Skip to content

Commit 45e2334

Browse files
author
AWS
committed
Amazon EventBridge Update: Amazon EventBridge adds support for target Dead Letter Queues (DLQs) and custom retry policies.
1 parent 31108a7 commit 45e2334

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon EventBridge",
4+
"description": "Amazon EventBridge adds support for target Dead Letter Queues (DLQs) and custom retry policies."
5+
}

services/eventbridge/src/main/resources/codegen-resources/service-2.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,16 @@
682682
}
683683
}
684684
},
685+
"DeadLetterConfig":{
686+
"type":"structure",
687+
"members":{
688+
"Arn":{
689+
"shape":"ResourceArn",
690+
"documentation":"<p>The ARN of the SQS queue specified as the target for the dead-letter queue.</p>"
691+
}
692+
},
693+
"documentation":"<p>A <code>DeadLetterConfig</code> object that contains information about a dead-letter queue configuration.</p>"
694+
},
685695
"DeleteEventBusRequest":{
686696
"type":"structure",
687697
"required":["Name"],
@@ -1389,6 +1399,16 @@
13891399
"documentation":"<p>This rule was created by an AWS service on behalf of your account. It is managed by that service. If you see this error in response to <code>DeleteRule</code> or <code>RemoveTargets</code>, you can use the <code>Force</code> parameter in those calls to delete the rule or remove targets from the rule. You cannot modify these managed rules by using <code>DisableRule</code>, <code>EnableRule</code>, <code>PutTargets</code>, <code>PutRule</code>, <code>TagResource</code>, or <code>UntagResource</code>. </p>",
13901400
"exception":true
13911401
},
1402+
"MaximumEventAgeInSeconds":{
1403+
"type":"integer",
1404+
"max":86400,
1405+
"min":60
1406+
},
1407+
"MaximumRetryAttempts":{
1408+
"type":"integer",
1409+
"max":185,
1410+
"min":0
1411+
},
13921412
"MessageGroupId":{"type":"string"},
13931413
"NetworkConfiguration":{
13941414
"type":"structure",
@@ -1916,13 +1936,32 @@
19161936
"documentation":"<p>The resource you are trying to create already exists.</p>",
19171937
"exception":true
19181938
},
1939+
"ResourceArn":{
1940+
"type":"string",
1941+
"max":1600,
1942+
"min":1
1943+
},
19191944
"ResourceNotFoundException":{
19201945
"type":"structure",
19211946
"members":{
19221947
},
19231948
"documentation":"<p>An entity that you specified does not exist.</p>",
19241949
"exception":true
19251950
},
1951+
"RetryPolicy":{
1952+
"type":"structure",
1953+
"members":{
1954+
"MaximumRetryAttempts":{
1955+
"shape":"MaximumRetryAttempts",
1956+
"documentation":"<p>The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the <code>MaximumEventAgeInSeconds</code> is met.</p>"
1957+
},
1958+
"MaximumEventAgeInSeconds":{
1959+
"shape":"MaximumEventAgeInSeconds",
1960+
"documentation":"<p>The maximum amount of time, in seconds, to continue to make retry attempts.</p>"
1961+
}
1962+
},
1963+
"documentation":"<p>A <code>RetryPolicy</code> object that includes information about the retry policy settings.</p>"
1964+
},
19261965
"RoleArn":{
19271966
"type":"string",
19281967
"max":1600,
@@ -2203,6 +2242,14 @@
22032242
"RedshiftDataParameters":{
22042243
"shape":"RedshiftDataParameters",
22052244
"documentation":"<p>Contains the Redshift Data API parameters to use when the target is a Redshift cluster.</p> <p>If you specify a Redshift Cluster as a Target, you can use this to specify parameters to invoke the Redshift Data API ExecuteStatement based on EventBridge events.</p>"
2245+
},
2246+
"DeadLetterConfig":{
2247+
"shape":"DeadLetterConfig",
2248+
"documentation":"<p>The <code>DeadLetterConfig</code> that defines the target queue to send dead-letter queue events to.</p>"
2249+
},
2250+
"RetryPolicy":{
2251+
"shape":"RetryPolicy",
2252+
"documentation":"<p>The <code>RetryPolicy</code> object that contains the retry policy configuration to use for the dead-letter queue.</p>"
22062253
}
22072254
},
22082255
"documentation":"<p>Targets are the resources to be invoked when a rule is triggered. For a complete list of services and resources that can be set as a target, see <a>PutTargets</a>.</p> <p>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 <code>RoleArn</code> with proper permissions in the <code>Target</code> structure. For more information, see <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html\">Sending and Receiving Events Between AWS Accounts</a> in the <i>Amazon EventBridge User Guide</i>.</p>"

0 commit comments

Comments
 (0)