Skip to content

Commit b77a1c8

Browse files
author
AWS
committed
Amazon EventBridge Update: Adding AppSync as an EventBridge Target
1 parent c5802a5 commit b77a1c8

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon EventBridge",
4+
"contributor": "",
5+
"description": "Adding AppSync as an EventBridge Target"
6+
}

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

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,16 @@
960960
"INACTIVE"
961961
]
962962
},
963+
"AppSyncParameters":{
964+
"type":"structure",
965+
"members":{
966+
"GraphQLOperation":{
967+
"shape":"GraphQLOperation",
968+
"documentation":"<p>The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/appsync/latest/devguide/graphql-architecture.html#graphql-operations\">Operations</a> in the <i>AppSync User Guide</i>.</p>"
969+
}
970+
},
971+
"documentation":"<p>Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.</p>"
972+
},
963973
"Archive":{
964974
"type":"structure",
965975
"members":{
@@ -2847,6 +2857,12 @@
28472857
},
28482858
"documentation":"<p>The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.</p>"
28492859
},
2860+
"GraphQLOperation":{
2861+
"type":"string",
2862+
"max":1048576,
2863+
"min":1,
2864+
"sensitive":true
2865+
},
28502866
"HeaderKey":{
28512867
"type":"string",
28522868
"max":512,
@@ -3847,7 +3863,7 @@
38473863
},
38483864
"State":{
38493865
"shape":"RuleState",
3850-
"documentation":"<p>The state of the rule.</p> <p>Valid values include:</p> <ul> <li> <p> <code>DISABLED</code>: The rule is disabled. EventBridge does not match any events against the rule.</p> </li> <li> <p> <code>ENABLED</code>: The rule is enabled. EventBridge matches events against the rule, <i>except</i> for Amazon Web Services management events delivered through CloudTrail.</p> </li> <li> <p> <code>ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS</code>: The rule is enabled for all events, including Amazon Web Services management events delivered through CloudTrail.</p> <p>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 <a href=\"https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events\">Logging management events</a> in the <i>CloudTrail User Guide</i>, and <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail\">Filtering management events from Amazon Web Services services</a> in the <i>Amazon EventBridge User Guide</i>.</p> <p>This value is only valid for rules on the <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses\">default</a> event bus or <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html\">custom event buses</a>. It does not apply to <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html\">partner event buses</a>.</p> </li> </ul>"
3866+
"documentation":"<p>Indicates whether the rule is enabled or disabled.</p>"
38513867
},
38523868
"Description":{
38533869
"shape":"RuleDescription",
@@ -4267,7 +4283,7 @@
42674283
},
42684284
"State":{
42694285
"shape":"RuleState",
4270-
"documentation":"<p>The state of the rule.</p> <p>Valid values include:</p> <ul> <li> <p> <code>DISABLED</code>: The rule is disabled. EventBridge does not match any events against the rule.</p> </li> <li> <p> <code>ENABLED</code>: The rule is enabled. EventBridge matches events against the rule, <i>except</i> for Amazon Web Services management events delivered through CloudTrail.</p> </li> <li> <p> <code>ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS</code>: The rule is enabled for all events, including Amazon Web Services management events delivered through CloudTrail.</p> <p>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 <a href=\"https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events\">Logging management events</a> in the <i>CloudTrail User Guide</i>, and <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-service-event.html#eb-service-event-cloudtrail\">Filtering management events from Amazon Web Services services</a> in the <i>Amazon EventBridge User Guide</i>.</p> <p>This value is only valid for rules on the <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is-how-it-works-concepts.html#eb-bus-concepts-buses\">default</a> event bus or <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-event-bus.html\">custom event buses</a>. It does not apply to <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html\">partner event buses</a>.</p> </li> </ul>"
4286+
"documentation":"<p>The state of the rule.</p>"
42714287
},
42724288
"Description":{
42734289
"shape":"RuleDescription",
@@ -4671,6 +4687,10 @@
46714687
"RetryPolicy":{
46724688
"shape":"RetryPolicy",
46734689
"documentation":"<p>The <code>RetryPolicy</code> object that contains the retry policy configuration to use for the dead-letter queue.</p>"
4690+
},
4691+
"AppSyncParameters":{
4692+
"shape":"AppSyncParameters",
4693+
"documentation":"<p>Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.</p>"
46744694
}
46754695
},
46764696
"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 href=\"https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutTargets.html\">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 Amazon Web Services Accounts</a> in the <i>Amazon EventBridge User Guide</i>.</p>"

0 commit comments

Comments
 (0)