From 1853dabb140cea9f693bd0bf1c17c2109094c927 Mon Sep 17 00:00:00 2001
From: awstools Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API. The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service. For more information, see Operations in the AppSync User Guide. The state of the rule. Valid values include:
- *
- *
- * 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.
- *
*/
State?: RuleState;
@@ -4072,6 +4060,12 @@ export interface Target {
* for the dead-letter queue.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.
Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.
+ */ + AppSyncParameters?: AppSyncParameters; } /** @@ -4568,32 +4562,7 @@ export interface PutRuleRequest { /** * @public - *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.
- *Indicates whether the rule is enabled or disabled.
*/ State?: RuleState; @@ -5405,6 +5374,14 @@ export interface UpdateEndpointResponse { State?: EndpointState; } +/** + * @internal + */ +export const AppSyncParametersFilterSensitiveLog = (obj: AppSyncParameters): any => ({ + ...obj, + ...(obj.GraphQLOperation && { GraphQLOperation: SENSITIVE_STRING }), +}); + /** * @internal */ @@ -5571,6 +5548,7 @@ export const TargetFilterSensitiveLog = (obj: Target): any => ({ ...(obj.RedshiftDataParameters && { RedshiftDataParameters: RedshiftDataParametersFilterSensitiveLog(obj.RedshiftDataParameters), }), + ...(obj.AppSyncParameters && { AppSyncParameters: AppSyncParametersFilterSensitiveLog(obj.AppSyncParameters) }), }); /** diff --git a/clients/client-eventbridge/src/protocols/Aws_json1_1.ts b/clients/client-eventbridge/src/protocols/Aws_json1_1.ts index 6fd90c7c161b..f95351a5fb9b 100644 --- a/clients/client-eventbridge/src/protocols/Aws_json1_1.ts +++ b/clients/client-eventbridge/src/protocols/Aws_json1_1.ts @@ -128,6 +128,7 @@ import { EventBridgeServiceException as __BaseException } from "../models/EventB import { ActivateEventSourceRequest, ApiDestination, + AppSyncParameters, Archive, AwsVpcConfiguration, BatchArrayProperties, @@ -4079,6 +4080,8 @@ const de_ResourceNotFoundExceptionRes = async ( // se_ActivateEventSourceRequest omitted. +// se_AppSyncParameters omitted. + // se_AwsVpcConfiguration omitted. // se_BatchArrayProperties omitted. @@ -4427,6 +4430,8 @@ const de_ApiDestinationResponseList = (output: any, context: __SerdeContext): Ap return retVal; }; +// de_AppSyncParameters omitted. + /** * deserializeAws_json1_1Archive */ diff --git a/codegen/sdk-codegen/aws-models/eventbridge.json b/codegen/sdk-codegen/aws-models/eventbridge.json index 9608edd68ec4..99950203adb8 100644 --- a/codegen/sdk-codegen/aws-models/eventbridge.json +++ b/codegen/sdk-codegen/aws-models/eventbridge.json @@ -1817,6 +1817,20 @@ } } }, + "com.amazonaws.eventbridge#AppSyncParameters": { + "type": "structure", + "members": { + "GraphQLOperation": { + "target": "com.amazonaws.eventbridge#GraphQLOperation", + "traits": { + "smithy.api#documentation": "The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service.
\nFor more information, see Operations in the AppSync User Guide.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.
" + } + }, "com.amazonaws.eventbridge#Archive": { "type": "structure", "members": { @@ -5431,6 +5445,16 @@ "smithy.api#documentation": "The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.
" } }, + "com.amazonaws.eventbridge#GraphQLOperation": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1048576 + }, + "smithy.api#sensitive": {} + } + }, "com.amazonaws.eventbridge#HeaderKey": { "type": "string", "traits": { @@ -7381,7 +7405,7 @@ "State": { "target": "com.amazonaws.eventbridge#RuleState", "traits": { - "smithy.api#documentation": "The state of the rule.
\nValid values include:
\n\n DISABLED
: The rule is disabled. EventBridge does not match any events against the rule.
\n ENABLED
: The rule is enabled. \n EventBridge matches events against the rule, except for Amazon Web Services management events delivered through CloudTrail.
\n ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
: The rule is enabled for all\n events, including Amazon Web Services management events delivered through CloudTrail.
Management events provide visibility into management operations that are performed on\n resources in your Amazon Web Services account. These are also known as control plane\n operations. For more information, see Logging management events in the CloudTrail User\n Guide, and Filtering management events from Amazon Web Services services in the\n Amazon EventBridge User Guide.
\nThis value is only valid for rules on the default event bus \n or custom event buses. \n It does not apply to partner event buses.
\nIndicates whether the rule is enabled or disabled.
" } }, "Description": { @@ -8142,7 +8166,7 @@ "State": { "target": "com.amazonaws.eventbridge#RuleState", "traits": { - "smithy.api#documentation": "The state of the rule.
\nValid values include:
\n\n DISABLED
: The rule is disabled. EventBridge does not match any events against the rule.
\n ENABLED
: The rule is enabled. \n EventBridge matches events against the rule, except for Amazon Web Services management events delivered through CloudTrail.
\n ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
: The rule is enabled for all\n events, including Amazon Web Services management events delivered through CloudTrail.
Management events provide visibility into management operations that are performed on\n resources in your Amazon Web Services account. These are also known as control plane\n operations. For more information, see Logging management events in the CloudTrail User\n Guide, and Filtering management events from Amazon Web Services services in the\n Amazon EventBridge User Guide.
\nThis value is only valid for rules on the default event bus \n or custom event buses. \n It does not apply to partner event buses.
\nThe state of the rule.
" } }, "Description": { @@ -8815,6 +8839,12 @@ "traits": { "smithy.api#documentation": "The RetryPolicy
object that contains the retry policy configuration to use\n for the dead-letter queue.
Contains the GraphQL operation to be parsed and executed, if the event target is an AppSync API.
" + } } }, "traits": {