diff --git a/clients/client-cloudwatch-events/src/commands/CancelReplayCommand.ts b/clients/client-cloudwatch-events/src/commands/CancelReplayCommand.ts index c47c5f6ffd11..cd8455de37eb 100644 --- a/clients/client-cloudwatch-events/src/commands/CancelReplayCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/CancelReplayCommand.ts @@ -50,7 +50,7 @@ export interface CancelReplayCommandOutput extends CancelReplayResponse, __Metad * const response = await client.send(command); * // { // CancelReplayResponse * // ReplayArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED", * // StateReason: "STRING_VALUE", * // }; * diff --git a/clients/client-cloudwatch-events/src/commands/CreateApiDestinationCommand.ts b/clients/client-cloudwatch-events/src/commands/CreateApiDestinationCommand.ts index 196c3d2b37c0..e126a3b3606f 100644 --- a/clients/client-cloudwatch-events/src/commands/CreateApiDestinationCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/CreateApiDestinationCommand.ts @@ -49,14 +49,14 @@ export interface CreateApiDestinationCommandOutput extends CreateApiDestinationR * Description: "STRING_VALUE", * ConnectionArn: "STRING_VALUE", // required * InvocationEndpoint: "STRING_VALUE", // required - * HttpMethod: "STRING_VALUE", // required + * HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE", // required * InvocationRateLimitPerSecond: Number("int"), * }; * const command = new CreateApiDestinationCommand(input); * const response = await client.send(command); * // { // CreateApiDestinationResponse * // ApiDestinationArn: "STRING_VALUE", - * // ApiDestinationState: "STRING_VALUE", + * // ApiDestinationState: "ACTIVE" || "INACTIVE", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // }; diff --git a/clients/client-cloudwatch-events/src/commands/CreateArchiveCommand.ts b/clients/client-cloudwatch-events/src/commands/CreateArchiveCommand.ts index 8d1fc58dae58..0a0b80765e69 100644 --- a/clients/client-cloudwatch-events/src/commands/CreateArchiveCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/CreateArchiveCommand.ts @@ -58,7 +58,7 @@ export interface CreateArchiveCommandOutput extends CreateArchiveResponse, __Met * const response = await client.send(command); * // { // CreateArchiveResponse * // ArchiveArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", * // StateReason: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // }; diff --git a/clients/client-cloudwatch-events/src/commands/CreateConnectionCommand.ts b/clients/client-cloudwatch-events/src/commands/CreateConnectionCommand.ts index 35302bf73ce2..e5d75e57e96d 100644 --- a/clients/client-cloudwatch-events/src/commands/CreateConnectionCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/CreateConnectionCommand.ts @@ -47,7 +47,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse, * const input = { // CreateConnectionRequest * Name: "STRING_VALUE", // required * Description: "STRING_VALUE", - * AuthorizationType: "STRING_VALUE", // required + * AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY", // required * AuthParameters: { // CreateConnectionAuthRequestParameters * BasicAuthParameters: { // CreateConnectionBasicAuthRequestParameters * Username: "STRING_VALUE", // required @@ -59,7 +59,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse, * ClientSecret: "STRING_VALUE", // required * }, * AuthorizationEndpoint: "STRING_VALUE", // required - * HttpMethod: "STRING_VALUE", // required + * HttpMethod: "GET" || "POST" || "PUT", // required * OAuthHttpParameters: { // ConnectionHttpParameters * HeaderParameters: [ // ConnectionHeaderParametersList * { // ConnectionHeaderParameter @@ -117,7 +117,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse, * const response = await client.send(command); * // { // CreateConnectionResponse * // ConnectionArn: "STRING_VALUE", - * // ConnectionState: "STRING_VALUE", + * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // }; diff --git a/clients/client-cloudwatch-events/src/commands/DeauthorizeConnectionCommand.ts b/clients/client-cloudwatch-events/src/commands/DeauthorizeConnectionCommand.ts index 921157149c8b..02c0ce40c812 100644 --- a/clients/client-cloudwatch-events/src/commands/DeauthorizeConnectionCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DeauthorizeConnectionCommand.ts @@ -51,7 +51,7 @@ export interface DeauthorizeConnectionCommandOutput extends DeauthorizeConnectio * const response = await client.send(command); * // { // DeauthorizeConnectionResponse * // ConnectionArn: "STRING_VALUE", - * // ConnectionState: "STRING_VALUE", + * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // LastAuthorizedTime: new Date("TIMESTAMP"), diff --git a/clients/client-cloudwatch-events/src/commands/DeleteConnectionCommand.ts b/clients/client-cloudwatch-events/src/commands/DeleteConnectionCommand.ts index c0497c213727..7af04253e699 100644 --- a/clients/client-cloudwatch-events/src/commands/DeleteConnectionCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DeleteConnectionCommand.ts @@ -50,7 +50,7 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionResponse, * const response = await client.send(command); * // { // DeleteConnectionResponse * // ConnectionArn: "STRING_VALUE", - * // ConnectionState: "STRING_VALUE", + * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // LastAuthorizedTime: new Date("TIMESTAMP"), diff --git a/clients/client-cloudwatch-events/src/commands/DeleteRuleCommand.ts b/clients/client-cloudwatch-events/src/commands/DeleteRuleCommand.ts index 17d7cfa41d15..cac60cd44a18 100644 --- a/clients/client-cloudwatch-events/src/commands/DeleteRuleCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DeleteRuleCommand.ts @@ -38,14 +38,11 @@ export interface DeleteRuleCommandOutput extends __MetadataBearer {} * @public *

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 diff --git a/clients/client-cloudwatch-events/src/commands/DescribeApiDestinationCommand.ts b/clients/client-cloudwatch-events/src/commands/DescribeApiDestinationCommand.ts index 11a3ea93c36d..ced5e91f37c7 100644 --- a/clients/client-cloudwatch-events/src/commands/DescribeApiDestinationCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DescribeApiDestinationCommand.ts @@ -52,10 +52,10 @@ export interface DescribeApiDestinationCommandOutput extends DescribeApiDestinat * // ApiDestinationArn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", - * // ApiDestinationState: "STRING_VALUE", + * // ApiDestinationState: "ACTIVE" || "INACTIVE", * // ConnectionArn: "STRING_VALUE", * // InvocationEndpoint: "STRING_VALUE", - * // HttpMethod: "STRING_VALUE", + * // HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE", * // InvocationRateLimitPerSecond: Number("int"), * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), diff --git a/clients/client-cloudwatch-events/src/commands/DescribeArchiveCommand.ts b/clients/client-cloudwatch-events/src/commands/DescribeArchiveCommand.ts index 449bb4d00584..27593c56016f 100644 --- a/clients/client-cloudwatch-events/src/commands/DescribeArchiveCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DescribeArchiveCommand.ts @@ -54,7 +54,7 @@ export interface DescribeArchiveCommandOutput extends DescribeArchiveResponse, _ * // EventSourceArn: "STRING_VALUE", * // Description: "STRING_VALUE", * // EventPattern: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", * // StateReason: "STRING_VALUE", * // RetentionDays: Number("int"), * // SizeBytes: Number("long"), diff --git a/clients/client-cloudwatch-events/src/commands/DescribeConnectionCommand.ts b/clients/client-cloudwatch-events/src/commands/DescribeConnectionCommand.ts index 8bf802b68f41..ea99503ad1ab 100644 --- a/clients/client-cloudwatch-events/src/commands/DescribeConnectionCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DescribeConnectionCommand.ts @@ -52,9 +52,9 @@ export interface DescribeConnectionCommandOutput extends DescribeConnectionRespo * // ConnectionArn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", - * // ConnectionState: "STRING_VALUE", + * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING", * // StateReason: "STRING_VALUE", - * // AuthorizationType: "STRING_VALUE", + * // AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY", * // SecretArn: "STRING_VALUE", * // AuthParameters: { // ConnectionAuthResponseParameters * // BasicAuthParameters: { // ConnectionBasicAuthResponseParameters @@ -65,7 +65,7 @@ export interface DescribeConnectionCommandOutput extends DescribeConnectionRespo * // ClientID: "STRING_VALUE", * // }, * // AuthorizationEndpoint: "STRING_VALUE", - * // HttpMethod: "STRING_VALUE", + * // HttpMethod: "GET" || "POST" || "PUT", * // OAuthHttpParameters: { // ConnectionHttpParameters * // HeaderParameters: [ // ConnectionHeaderParametersList * // { // ConnectionHeaderParameter diff --git a/clients/client-cloudwatch-events/src/commands/DescribeEventSourceCommand.ts b/clients/client-cloudwatch-events/src/commands/DescribeEventSourceCommand.ts index 3b0d1bfa4091..a0f14fc14f53 100644 --- a/clients/client-cloudwatch-events/src/commands/DescribeEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DescribeEventSourceCommand.ts @@ -55,7 +55,7 @@ export interface DescribeEventSourceCommandOutput extends DescribeEventSourceRes * // CreationTime: new Date("TIMESTAMP"), * // ExpirationTime: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "PENDING" || "ACTIVE" || "DELETED", * // }; * * ``` diff --git a/clients/client-cloudwatch-events/src/commands/DescribeReplayCommand.ts b/clients/client-cloudwatch-events/src/commands/DescribeReplayCommand.ts index 9eaa7dbe72a6..032c888c5d0a 100644 --- a/clients/client-cloudwatch-events/src/commands/DescribeReplayCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DescribeReplayCommand.ts @@ -60,7 +60,7 @@ export interface DescribeReplayCommandOutput extends DescribeReplayResponse, __M * // ReplayName: "STRING_VALUE", * // ReplayArn: "STRING_VALUE", * // Description: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED", * // StateReason: "STRING_VALUE", * // EventSourceArn: "STRING_VALUE", * // Destination: { // ReplayDestination diff --git a/clients/client-cloudwatch-events/src/commands/DescribeRuleCommand.ts b/clients/client-cloudwatch-events/src/commands/DescribeRuleCommand.ts index 3bd82dd04148..cf3abe0a35c1 100644 --- a/clients/client-cloudwatch-events/src/commands/DescribeRuleCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DescribeRuleCommand.ts @@ -56,7 +56,7 @@ export interface DescribeRuleCommandOutput extends DescribeRuleResponse, __Metad * // Arn: "STRING_VALUE", * // EventPattern: "STRING_VALUE", * // ScheduleExpression: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "ENABLED" || "DISABLED", * // Description: "STRING_VALUE", * // RoleArn: "STRING_VALUE", * // ManagedBy: "STRING_VALUE", diff --git a/clients/client-cloudwatch-events/src/commands/DisableRuleCommand.ts b/clients/client-cloudwatch-events/src/commands/DisableRuleCommand.ts index f674d82e353f..29bb56e5bafc 100644 --- a/clients/client-cloudwatch-events/src/commands/DisableRuleCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/DisableRuleCommand.ts @@ -38,7 +38,6 @@ export interface DisableRuleCommandOutput extends __MetadataBearer {} * @public *

Disables the specified rule. A disabled rule won't match any events, and won't * self-trigger if it has a schedule expression.

- * *

When you disable a rule, incoming events might continue to match to the disabled rule. * Allow a short period of time for changes to take effect.

* @example diff --git a/clients/client-cloudwatch-events/src/commands/EnableRuleCommand.ts b/clients/client-cloudwatch-events/src/commands/EnableRuleCommand.ts index 69a1de229770..fdd1cb99201f 100644 --- a/clients/client-cloudwatch-events/src/commands/EnableRuleCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/EnableRuleCommand.ts @@ -37,7 +37,6 @@ export interface EnableRuleCommandOutput extends __MetadataBearer {} /** * @public *

Enables the specified rule. If the rule does not exist, the operation fails.

- * *

When you enable a rule, incoming events might not immediately start matching to a newly * enabled rule. Allow a short period of time for changes to take effect.

* @example diff --git a/clients/client-cloudwatch-events/src/commands/ListApiDestinationsCommand.ts b/clients/client-cloudwatch-events/src/commands/ListApiDestinationsCommand.ts index c8d59059ae6f..ffdbd6194bb0 100644 --- a/clients/client-cloudwatch-events/src/commands/ListApiDestinationsCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/ListApiDestinationsCommand.ts @@ -56,10 +56,10 @@ export interface ListApiDestinationsCommandOutput extends ListApiDestinationsRes * // { // ApiDestination * // ApiDestinationArn: "STRING_VALUE", * // Name: "STRING_VALUE", - * // ApiDestinationState: "STRING_VALUE", + * // ApiDestinationState: "ACTIVE" || "INACTIVE", * // ConnectionArn: "STRING_VALUE", * // InvocationEndpoint: "STRING_VALUE", - * // HttpMethod: "STRING_VALUE", + * // HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE", * // InvocationRateLimitPerSecond: Number("int"), * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), diff --git a/clients/client-cloudwatch-events/src/commands/ListArchivesCommand.ts b/clients/client-cloudwatch-events/src/commands/ListArchivesCommand.ts index 0b1c56347a5a..ac453e19f9a4 100644 --- a/clients/client-cloudwatch-events/src/commands/ListArchivesCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/ListArchivesCommand.ts @@ -47,7 +47,7 @@ export interface ListArchivesCommandOutput extends ListArchivesResponse, __Metad * const input = { // ListArchivesRequest * NamePrefix: "STRING_VALUE", * EventSourceArn: "STRING_VALUE", - * State: "STRING_VALUE", + * State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", * NextToken: "STRING_VALUE", * Limit: Number("int"), * }; @@ -58,7 +58,7 @@ export interface ListArchivesCommandOutput extends ListArchivesResponse, __Metad * // { // Archive * // ArchiveName: "STRING_VALUE", * // EventSourceArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", * // StateReason: "STRING_VALUE", * // RetentionDays: Number("int"), * // SizeBytes: Number("long"), diff --git a/clients/client-cloudwatch-events/src/commands/ListConnectionsCommand.ts b/clients/client-cloudwatch-events/src/commands/ListConnectionsCommand.ts index b544e9b52438..36e92e14eed6 100644 --- a/clients/client-cloudwatch-events/src/commands/ListConnectionsCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/ListConnectionsCommand.ts @@ -45,7 +45,7 @@ export interface ListConnectionsCommandOutput extends ListConnectionsResponse, _ * const client = new CloudWatchEventsClient(config); * const input = { // ListConnectionsRequest * NamePrefix: "STRING_VALUE", - * ConnectionState: "STRING_VALUE", + * ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING", * NextToken: "STRING_VALUE", * Limit: Number("int"), * }; @@ -56,9 +56,9 @@ export interface ListConnectionsCommandOutput extends ListConnectionsResponse, _ * // { // Connection * // ConnectionArn: "STRING_VALUE", * // Name: "STRING_VALUE", - * // ConnectionState: "STRING_VALUE", + * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING", * // StateReason: "STRING_VALUE", - * // AuthorizationType: "STRING_VALUE", + * // AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // LastAuthorizedTime: new Date("TIMESTAMP"), diff --git a/clients/client-cloudwatch-events/src/commands/ListEventSourcesCommand.ts b/clients/client-cloudwatch-events/src/commands/ListEventSourcesCommand.ts index c2b1d98a3adc..7ac787a73710 100644 --- a/clients/client-cloudwatch-events/src/commands/ListEventSourcesCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/ListEventSourcesCommand.ts @@ -59,7 +59,7 @@ export interface ListEventSourcesCommandOutput extends ListEventSourcesResponse, * // CreationTime: new Date("TIMESTAMP"), * // ExpirationTime: new Date("TIMESTAMP"), * // Name: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "PENDING" || "ACTIVE" || "DELETED", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-cloudwatch-events/src/commands/ListPartnerEventSourceAccountsCommand.ts b/clients/client-cloudwatch-events/src/commands/ListPartnerEventSourceAccountsCommand.ts index 8753a72f9770..12b9949d50e9 100644 --- a/clients/client-cloudwatch-events/src/commands/ListPartnerEventSourceAccountsCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/ListPartnerEventSourceAccountsCommand.ts @@ -63,7 +63,7 @@ export interface ListPartnerEventSourceAccountsCommandOutput * // Account: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // ExpirationTime: new Date("TIMESTAMP"), - * // State: "STRING_VALUE", + * // State: "PENDING" || "ACTIVE" || "DELETED", * // }, * // ], * // NextToken: "STRING_VALUE", diff --git a/clients/client-cloudwatch-events/src/commands/ListReplaysCommand.ts b/clients/client-cloudwatch-events/src/commands/ListReplaysCommand.ts index 2775037fb1d6..a4973768eb17 100644 --- a/clients/client-cloudwatch-events/src/commands/ListReplaysCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/ListReplaysCommand.ts @@ -46,7 +46,7 @@ export interface ListReplaysCommandOutput extends ListReplaysResponse, __Metadat * const client = new CloudWatchEventsClient(config); * const input = { // ListReplaysRequest * NamePrefix: "STRING_VALUE", - * State: "STRING_VALUE", + * State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED", * EventSourceArn: "STRING_VALUE", * NextToken: "STRING_VALUE", * Limit: Number("int"), @@ -58,7 +58,7 @@ export interface ListReplaysCommandOutput extends ListReplaysResponse, __Metadat * // { // Replay * // ReplayName: "STRING_VALUE", * // EventSourceArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED", * // StateReason: "STRING_VALUE", * // EventStartTime: new Date("TIMESTAMP"), * // EventEndTime: new Date("TIMESTAMP"), diff --git a/clients/client-cloudwatch-events/src/commands/ListRulesCommand.ts b/clients/client-cloudwatch-events/src/commands/ListRulesCommand.ts index 2c7f5d128fc2..31521f6ccb34 100644 --- a/clients/client-cloudwatch-events/src/commands/ListRulesCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/ListRulesCommand.ts @@ -38,7 +38,6 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea * @public *

Lists your Amazon EventBridge rules. You can either list all the rules or you can provide * a prefix to match to the rule names.

- * *

ListRules does not list the targets of a rule. To see the targets associated with a rule, * use ListTargetsByRule.

* @example @@ -61,7 +60,7 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea * // Name: "STRING_VALUE", * // Arn: "STRING_VALUE", * // EventPattern: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "ENABLED" || "DISABLED", * // Description: "STRING_VALUE", * // ScheduleExpression: "STRING_VALUE", * // RoleArn: "STRING_VALUE", diff --git a/clients/client-cloudwatch-events/src/commands/ListTargetsByRuleCommand.ts b/clients/client-cloudwatch-events/src/commands/ListTargetsByRuleCommand.ts index 3aadd9db8df6..95545dbeb9f9 100644 --- a/clients/client-cloudwatch-events/src/commands/ListTargetsByRuleCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/ListTargetsByRuleCommand.ts @@ -81,7 +81,7 @@ export interface ListTargetsByRuleCommandOutput extends ListTargetsByRuleRespons * // EcsParameters: { // EcsParameters * // TaskDefinitionArn: "STRING_VALUE", // required * // TaskCount: Number("int"), - * // LaunchType: "STRING_VALUE", + * // LaunchType: "EC2" || "FARGATE" || "EXTERNAL", * // NetworkConfiguration: { // NetworkConfiguration * // awsvpcConfiguration: { // AwsVpcConfiguration * // Subnets: [ // StringList // required @@ -90,7 +90,7 @@ export interface ListTargetsByRuleCommandOutput extends ListTargetsByRuleRespons * // SecurityGroups: [ * // "STRING_VALUE", * // ], - * // AssignPublicIp: "STRING_VALUE", + * // AssignPublicIp: "ENABLED" || "DISABLED", * // }, * // }, * // PlatformVersion: "STRING_VALUE", @@ -106,17 +106,17 @@ export interface ListTargetsByRuleCommandOutput extends ListTargetsByRuleRespons * // EnableExecuteCommand: true || false, * // PlacementConstraints: [ // PlacementConstraints * // { // PlacementConstraint - * // type: "STRING_VALUE", + * // type: "distinctInstance" || "memberOf", * // expression: "STRING_VALUE", * // }, * // ], * // PlacementStrategy: [ // PlacementStrategies * // { // PlacementStrategy - * // type: "STRING_VALUE", + * // type: "random" || "spread" || "binpack", * // field: "STRING_VALUE", * // }, * // ], - * // PropagateTags: "STRING_VALUE", + * // PropagateTags: "TASK_DEFINITION", * // ReferenceId: "STRING_VALUE", * // Tags: [ // TagList * // { // Tag diff --git a/clients/client-cloudwatch-events/src/commands/PutPermissionCommand.ts b/clients/client-cloudwatch-events/src/commands/PutPermissionCommand.ts index d93e91a97e62..72e6fa4d9c8e 100644 --- a/clients/client-cloudwatch-events/src/commands/PutPermissionCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/PutPermissionCommand.ts @@ -42,19 +42,16 @@ export interface PutPermissionCommandOutput extends __MetadataBearer {} * 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.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-cloudwatch-events/src/commands/PutRuleCommand.ts b/clients/client-cloudwatch-events/src/commands/PutRuleCommand.ts index 04e32659176a..07aafdf72d0a 100644 --- a/clients/client-cloudwatch-events/src/commands/PutRuleCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/PutRuleCommand.ts @@ -38,26 +38,21 @@ export interface PutRuleCommandOutput extends PutRuleResponse, __MetadataBearer * @public *

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 @@ -65,12 +60,10 @@ export interface PutRuleCommandOutput extends PutRuleResponse, __MetadataBearer * 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 @@ -93,7 +86,7 @@ export interface PutRuleCommandOutput extends PutRuleResponse, __MetadataBearer * Name: "STRING_VALUE", // required * ScheduleExpression: "STRING_VALUE", * EventPattern: "STRING_VALUE", - * State: "STRING_VALUE", + * State: "ENABLED" || "DISABLED", * Description: "STRING_VALUE", * RoleArn: "STRING_VALUE", * Tags: [ // TagList diff --git a/clients/client-cloudwatch-events/src/commands/PutTargetsCommand.ts b/clients/client-cloudwatch-events/src/commands/PutTargetsCommand.ts index c45760272480..c78452fce527 100644 --- a/clients/client-cloudwatch-events/src/commands/PutTargetsCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/PutTargetsCommand.ts @@ -40,7 +40,6 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB * already associated with the rule.

*

Targets are the resources that are invoked when a rule is triggered.

*

You can configure the following as targets for Events:

- * * - * - *

Creating rules with built-in targets is supported only in the Management Console. The + *

Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The * built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API * call, EC2 StopInstances API call, and 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, @@ -138,7 +134,6 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB * 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, @@ -147,28 +142,23 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB * 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.

- * *

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:

- * * - * *

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.

@@ -240,7 +227,7 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB * EcsParameters: { // EcsParameters * TaskDefinitionArn: "STRING_VALUE", // required * TaskCount: Number("int"), - * LaunchType: "STRING_VALUE", + * LaunchType: "EC2" || "FARGATE" || "EXTERNAL", * NetworkConfiguration: { // NetworkConfiguration * awsvpcConfiguration: { // AwsVpcConfiguration * Subnets: [ // StringList // required @@ -249,7 +236,7 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB * SecurityGroups: [ * "STRING_VALUE", * ], - * AssignPublicIp: "STRING_VALUE", + * AssignPublicIp: "ENABLED" || "DISABLED", * }, * }, * PlatformVersion: "STRING_VALUE", @@ -265,17 +252,17 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB * EnableExecuteCommand: true || false, * PlacementConstraints: [ // PlacementConstraints * { // PlacementConstraint - * type: "STRING_VALUE", + * type: "distinctInstance" || "memberOf", * expression: "STRING_VALUE", * }, * ], * PlacementStrategy: [ // PlacementStrategies * { // PlacementStrategy - * type: "STRING_VALUE", + * type: "random" || "spread" || "binpack", * field: "STRING_VALUE", * }, * ], - * PropagateTags: "STRING_VALUE", + * PropagateTags: "TASK_DEFINITION", * ReferenceId: "STRING_VALUE", * Tags: [ // TagList * { // Tag diff --git a/clients/client-cloudwatch-events/src/commands/RemoveTargetsCommand.ts b/clients/client-cloudwatch-events/src/commands/RemoveTargetsCommand.ts index 9a87788a0aaf..3acdcefde384 100644 --- a/clients/client-cloudwatch-events/src/commands/RemoveTargetsCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/RemoveTargetsCommand.ts @@ -38,10 +38,8 @@ export interface RemoveTargetsCommandOutput extends RemoveTargetsResponse, __Met * @public *

Removes the specified targets from the specified rule. When the rule is triggered, those * targets are no longer be invoked.

- * *

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.

diff --git a/clients/client-cloudwatch-events/src/commands/StartReplayCommand.ts b/clients/client-cloudwatch-events/src/commands/StartReplayCommand.ts index 4ec9348ebbc4..41ca3f2519d8 100644 --- a/clients/client-cloudwatch-events/src/commands/StartReplayCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/StartReplayCommand.ts @@ -68,7 +68,7 @@ export interface StartReplayCommandOutput extends StartReplayResponse, __Metadat * const response = await client.send(command); * // { // StartReplayResponse * // ReplayArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED", * // StateReason: "STRING_VALUE", * // ReplayStartTime: new Date("TIMESTAMP"), * // }; diff --git a/clients/client-cloudwatch-events/src/commands/UpdateApiDestinationCommand.ts b/clients/client-cloudwatch-events/src/commands/UpdateApiDestinationCommand.ts index 5b43b171cd77..53ded2f3062f 100644 --- a/clients/client-cloudwatch-events/src/commands/UpdateApiDestinationCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/UpdateApiDestinationCommand.ts @@ -48,14 +48,14 @@ export interface UpdateApiDestinationCommandOutput extends UpdateApiDestinationR * Description: "STRING_VALUE", * ConnectionArn: "STRING_VALUE", * InvocationEndpoint: "STRING_VALUE", - * HttpMethod: "STRING_VALUE", + * HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE", * InvocationRateLimitPerSecond: Number("int"), * }; * const command = new UpdateApiDestinationCommand(input); * const response = await client.send(command); * // { // UpdateApiDestinationResponse * // ApiDestinationArn: "STRING_VALUE", - * // ApiDestinationState: "STRING_VALUE", + * // ApiDestinationState: "ACTIVE" || "INACTIVE", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // }; diff --git a/clients/client-cloudwatch-events/src/commands/UpdateArchiveCommand.ts b/clients/client-cloudwatch-events/src/commands/UpdateArchiveCommand.ts index 05e552890abc..2eb78fb484d3 100644 --- a/clients/client-cloudwatch-events/src/commands/UpdateArchiveCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/UpdateArchiveCommand.ts @@ -53,7 +53,7 @@ export interface UpdateArchiveCommandOutput extends UpdateArchiveResponse, __Met * const response = await client.send(command); * // { // UpdateArchiveResponse * // ArchiveArn: "STRING_VALUE", - * // State: "STRING_VALUE", + * // State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED", * // StateReason: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // }; diff --git a/clients/client-cloudwatch-events/src/commands/UpdateConnectionCommand.ts b/clients/client-cloudwatch-events/src/commands/UpdateConnectionCommand.ts index 543d2fad5f69..871f58dcdc6b 100644 --- a/clients/client-cloudwatch-events/src/commands/UpdateConnectionCommand.ts +++ b/clients/client-cloudwatch-events/src/commands/UpdateConnectionCommand.ts @@ -46,7 +46,7 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse, * const input = { // UpdateConnectionRequest * Name: "STRING_VALUE", // required * Description: "STRING_VALUE", - * AuthorizationType: "STRING_VALUE", + * AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY", * AuthParameters: { // UpdateConnectionAuthRequestParameters * BasicAuthParameters: { // UpdateConnectionBasicAuthRequestParameters * Username: "STRING_VALUE", @@ -58,7 +58,7 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse, * ClientSecret: "STRING_VALUE", * }, * AuthorizationEndpoint: "STRING_VALUE", - * HttpMethod: "STRING_VALUE", + * HttpMethod: "GET" || "POST" || "PUT", * OAuthHttpParameters: { // ConnectionHttpParameters * HeaderParameters: [ // ConnectionHeaderParametersList * { // ConnectionHeaderParameter @@ -116,7 +116,7 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse, * const response = await client.send(command); * // { // UpdateConnectionResponse * // ConnectionArn: "STRING_VALUE", - * // ConnectionState: "STRING_VALUE", + * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // LastAuthorizedTime: new Date("TIMESTAMP"), diff --git a/clients/client-cloudwatch-events/src/endpoint/ruleset.ts b/clients/client-cloudwatch-events/src/endpoint/ruleset.ts index b8520b997e49..2b6364dde4da 100644 --- a/clients/client-cloudwatch-events/src/endpoint/ruleset.ts +++ b/clients/client-cloudwatch-events/src/endpoint/ruleset.ts @@ -6,26 +6,27 @@ import { RuleSetObject } from "@smithy/types"; or see "smithy.rules#endpointRuleSet" in codegen/sdk-codegen/aws-models/cloudwatch-events.json */ -const r="required", -s="fn", -t="argv", -u="ref"; -const a="PartitionResult", +const s="required", +t="fn", +u="argv", +v="ref"; +const a="isSet", b="tree", c="error", d="endpoint", -e="stringEquals", -f={[r]:false,"type":"String"}, -g={[r]:true,"default":false,"type":"Boolean"}, -h={[u]:"Region"}, -i={[u]:"Endpoint"}, -j={[s]:"booleanEquals",[t]:[{[u]:"UseFIPS"},true]}, -k={[s]:"booleanEquals",[t]:[{[u]:"UseDualStack"},true]}, +e="PartitionResult", +f="stringEquals", +g={[s]:false,"type":"String"}, +h={[s]:true,"default":false,"type":"Boolean"}, +i={[v]:"Endpoint"}, +j={[t]:"booleanEquals",[u]:[{[v]:"UseFIPS"},true]}, +k={[t]:"booleanEquals",[u]:[{[v]:"UseDualStack"},true]}, l={}, -m={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:a},"supportsFIPS"]}]}, -n={[s]:"booleanEquals",[t]:[true,{[s]:"getAttr",[t]:[{[u]:a},"supportsDualStack"]}]}, -o=[i], +m={[v]:"Region"}, +n={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:e},"supportsFIPS"]}]}, +o={[t]:"booleanEquals",[u]:[true,{[t]:"getAttr",[u]:[{[v]:e},"supportsDualStack"]}]}, p=[j], -q=[k]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[s]:"aws.partition",[t]:[h],assign:a}],type:b,rules:[{conditions:[{[s]:"isSet",[t]:o},{[s]:"parseURL",[t]:o,assign:"url"}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{conditions:[j,k],type:b,rules:[{conditions:[m,n],type:b,rules:[{endpoint:{url:"https://events-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[s]:e,[t]:[h,"us-gov-west-1"]}],endpoint:{url:"https://events.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[s]:e,[t]:[h,"us-gov-east-1"]}],endpoint:{url:"https://events.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://events-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[n],type:b,rules:[{endpoint:{url:"https://events.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://events.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}; +q=[k], +r=[m]; +const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[n,o],type:b,rules:[{endpoint:{url:"https://events-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[n],type:b,rules:[{conditions:[{[t]:f,[u]:[m,"us-gov-east-1"]}],endpoint:{url:"https://events.us-gov-east-1.amazonaws.com",properties:l,headers:l},type:d},{conditions:[{[t]:f,[u]:[m,"us-gov-west-1"]}],endpoint:{url:"https://events.us-gov-west-1.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://events-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://events.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://events.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-cloudwatch-events/src/models/models_0.ts b/clients/client-cloudwatch-events/src/models/models_0.ts index c7612d403d72..71a3342454cd 100644 --- a/clients/client-cloudwatch-events/src/models/models_0.ts +++ b/clients/client-cloudwatch-events/src/models/models_0.ts @@ -3207,7 +3207,6 @@ export interface InputTransformer { * keys from InputPathsMap to customize the data sent to the target. Enclose each * InputPathsMaps value in brackets: <value> The * InputTemplate must be valid JSON.

- * *

If InputTemplate is a JSON object (surrounded by curly braces), the following * restrictions apply:

*