@aws-sdk/client-cloudwatch-events 3.398.0 → 3.404.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-es/endpoint/ruleset.js +3 -3
  3. package/dist-types/commands/CancelReplayCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateApiDestinationCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateArchiveCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateConnectionCommand.d.ts +3 -3
  7. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteRuleCommand.d.ts +0 -3
  10. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +2 -2
  11. package/dist-types/commands/DescribeArchiveCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeConnectionCommand.d.ts +3 -3
  13. package/dist-types/commands/DescribeEventSourceCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeReplayCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeRuleCommand.d.ts +1 -1
  16. package/dist-types/commands/DisableRuleCommand.d.ts +0 -1
  17. package/dist-types/commands/EnableRuleCommand.d.ts +0 -1
  18. package/dist-types/commands/ListApiDestinationsCommand.d.ts +2 -2
  19. package/dist-types/commands/ListArchivesCommand.d.ts +2 -2
  20. package/dist-types/commands/ListConnectionsCommand.d.ts +3 -3
  21. package/dist-types/commands/ListEventSourcesCommand.d.ts +1 -1
  22. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListReplaysCommand.d.ts +2 -2
  24. package/dist-types/commands/ListRulesCommand.d.ts +1 -2
  25. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +5 -5
  26. package/dist-types/commands/PutPermissionCommand.d.ts +0 -3
  27. package/dist-types/commands/PutRuleCommand.d.ts +1 -8
  28. package/dist-types/commands/PutTargetsCommand.d.ts +6 -19
  29. package/dist-types/commands/RemoveTargetsCommand.d.ts +0 -2
  30. package/dist-types/commands/StartReplayCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +2 -2
  32. package/dist-types/commands/UpdateArchiveCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateConnectionCommand.d.ts +3 -3
  34. package/dist-types/models/models_0.d.ts +0 -4
  35. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const r = "required", s = "fn", t = "argv", u = "ref";
5
- const a = "PartitionResult", 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] }, 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], p = [j], q = [k];
6
- 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 }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", 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 = { [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], r = [m];
6
+ 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 }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const r = "required", s = "fn", t = "argv", u = "ref";
2
- const a = "PartitionResult", 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] }, 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], p = [j], q = [k];
3
- 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 }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", 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 = { [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], r = [m];
3
+ 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 }] };
4
4
  export const ruleSet = _data;
@@ -37,7 +37,7 @@ export interface CancelReplayCommandOutput extends CancelReplayResponse, __Metad
37
37
  * const response = await client.send(command);
38
38
  * // { // CancelReplayResponse
39
39
  * // ReplayArn: "STRING_VALUE",
40
- * // State: "STRING_VALUE",
40
+ * // State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED",
41
41
  * // StateReason: "STRING_VALUE",
42
42
  * // };
43
43
  *
@@ -36,14 +36,14 @@ export interface CreateApiDestinationCommandOutput extends CreateApiDestinationR
36
36
  * Description: "STRING_VALUE",
37
37
  * ConnectionArn: "STRING_VALUE", // required
38
38
  * InvocationEndpoint: "STRING_VALUE", // required
39
- * HttpMethod: "STRING_VALUE", // required
39
+ * HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE", // required
40
40
  * InvocationRateLimitPerSecond: Number("int"),
41
41
  * };
42
42
  * const command = new CreateApiDestinationCommand(input);
43
43
  * const response = await client.send(command);
44
44
  * // { // CreateApiDestinationResponse
45
45
  * // ApiDestinationArn: "STRING_VALUE",
46
- * // ApiDestinationState: "STRING_VALUE",
46
+ * // ApiDestinationState: "ACTIVE" || "INACTIVE",
47
47
  * // CreationTime: new Date("TIMESTAMP"),
48
48
  * // LastModifiedTime: new Date("TIMESTAMP"),
49
49
  * // };
@@ -45,7 +45,7 @@ export interface CreateArchiveCommandOutput extends CreateArchiveResponse, __Met
45
45
  * const response = await client.send(command);
46
46
  * // { // CreateArchiveResponse
47
47
  * // ArchiveArn: "STRING_VALUE",
48
- * // State: "STRING_VALUE",
48
+ * // State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED",
49
49
  * // StateReason: "STRING_VALUE",
50
50
  * // CreationTime: new Date("TIMESTAMP"),
51
51
  * // };
@@ -34,7 +34,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
34
34
  * const input = { // CreateConnectionRequest
35
35
  * Name: "STRING_VALUE", // required
36
36
  * Description: "STRING_VALUE",
37
- * AuthorizationType: "STRING_VALUE", // required
37
+ * AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY", // required
38
38
  * AuthParameters: { // CreateConnectionAuthRequestParameters
39
39
  * BasicAuthParameters: { // CreateConnectionBasicAuthRequestParameters
40
40
  * Username: "STRING_VALUE", // required
@@ -46,7 +46,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
46
46
  * ClientSecret: "STRING_VALUE", // required
47
47
  * },
48
48
  * AuthorizationEndpoint: "STRING_VALUE", // required
49
- * HttpMethod: "STRING_VALUE", // required
49
+ * HttpMethod: "GET" || "POST" || "PUT", // required
50
50
  * OAuthHttpParameters: { // ConnectionHttpParameters
51
51
  * HeaderParameters: [ // ConnectionHeaderParametersList
52
52
  * { // ConnectionHeaderParameter
@@ -104,7 +104,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
104
104
  * const response = await client.send(command);
105
105
  * // { // CreateConnectionResponse
106
106
  * // ConnectionArn: "STRING_VALUE",
107
- * // ConnectionState: "STRING_VALUE",
107
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
108
108
  * // CreationTime: new Date("TIMESTAMP"),
109
109
  * // LastModifiedTime: new Date("TIMESTAMP"),
110
110
  * // };
@@ -38,7 +38,7 @@ export interface DeauthorizeConnectionCommandOutput extends DeauthorizeConnectio
38
38
  * const response = await client.send(command);
39
39
  * // { // DeauthorizeConnectionResponse
40
40
  * // ConnectionArn: "STRING_VALUE",
41
- * // ConnectionState: "STRING_VALUE",
41
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
42
42
  * // CreationTime: new Date("TIMESTAMP"),
43
43
  * // LastModifiedTime: new Date("TIMESTAMP"),
44
44
  * // LastAuthorizedTime: new Date("TIMESTAMP"),
@@ -37,7 +37,7 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionResponse,
37
37
  * const response = await client.send(command);
38
38
  * // { // DeleteConnectionResponse
39
39
  * // ConnectionArn: "STRING_VALUE",
40
- * // ConnectionState: "STRING_VALUE",
40
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
41
41
  * // CreationTime: new Date("TIMESTAMP"),
42
42
  * // LastModifiedTime: new Date("TIMESTAMP"),
43
43
  * // LastAuthorizedTime: new Date("TIMESTAMP"),
@@ -25,14 +25,11 @@ export interface DeleteRuleCommandOutput extends __MetadataBearer {
25
25
  * @public
26
26
  * <p>Deletes the specified rule.</p>
27
27
  * <p>Before you can delete the rule, you must remove all targets, using <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemoveTargets.html">RemoveTargets</a>.</p>
28
- *
29
28
  * <p>When you delete a rule, incoming events might continue to match to the deleted rule. Allow
30
29
  * a short period of time for changes to take effect.</p>
31
- *
32
30
  * <p>If you call delete rule multiple times for the same rule, all calls will succeed. When you
33
31
  * call delete rule for a non-existent custom eventbus, <code>ResourceNotFoundException</code> is
34
32
  * returned.</p>
35
- *
36
33
  * <p>Managed rules are rules created and managed by another Amazon Web Services service on your behalf. These
37
34
  * rules are created by those other Amazon Web Services services to support functionality in those services. You
38
35
  * can delete these rules using the <code>Force</code> option, but you should do so only if you
@@ -39,10 +39,10 @@ export interface DescribeApiDestinationCommandOutput extends DescribeApiDestinat
39
39
  * // ApiDestinationArn: "STRING_VALUE",
40
40
  * // Name: "STRING_VALUE",
41
41
  * // Description: "STRING_VALUE",
42
- * // ApiDestinationState: "STRING_VALUE",
42
+ * // ApiDestinationState: "ACTIVE" || "INACTIVE",
43
43
  * // ConnectionArn: "STRING_VALUE",
44
44
  * // InvocationEndpoint: "STRING_VALUE",
45
- * // HttpMethod: "STRING_VALUE",
45
+ * // HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE",
46
46
  * // InvocationRateLimitPerSecond: Number("int"),
47
47
  * // CreationTime: new Date("TIMESTAMP"),
48
48
  * // LastModifiedTime: new Date("TIMESTAMP"),
@@ -41,7 +41,7 @@ export interface DescribeArchiveCommandOutput extends DescribeArchiveResponse, _
41
41
  * // EventSourceArn: "STRING_VALUE",
42
42
  * // Description: "STRING_VALUE",
43
43
  * // EventPattern: "STRING_VALUE",
44
- * // State: "STRING_VALUE",
44
+ * // State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED",
45
45
  * // StateReason: "STRING_VALUE",
46
46
  * // RetentionDays: Number("int"),
47
47
  * // SizeBytes: Number("long"),
@@ -39,9 +39,9 @@ export interface DescribeConnectionCommandOutput extends DescribeConnectionRespo
39
39
  * // ConnectionArn: "STRING_VALUE",
40
40
  * // Name: "STRING_VALUE",
41
41
  * // Description: "STRING_VALUE",
42
- * // ConnectionState: "STRING_VALUE",
42
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
43
43
  * // StateReason: "STRING_VALUE",
44
- * // AuthorizationType: "STRING_VALUE",
44
+ * // AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY",
45
45
  * // SecretArn: "STRING_VALUE",
46
46
  * // AuthParameters: { // ConnectionAuthResponseParameters
47
47
  * // BasicAuthParameters: { // ConnectionBasicAuthResponseParameters
@@ -52,7 +52,7 @@ export interface DescribeConnectionCommandOutput extends DescribeConnectionRespo
52
52
  * // ClientID: "STRING_VALUE",
53
53
  * // },
54
54
  * // AuthorizationEndpoint: "STRING_VALUE",
55
- * // HttpMethod: "STRING_VALUE",
55
+ * // HttpMethod: "GET" || "POST" || "PUT",
56
56
  * // OAuthHttpParameters: { // ConnectionHttpParameters
57
57
  * // HeaderParameters: [ // ConnectionHeaderParametersList
58
58
  * // { // ConnectionHeaderParameter
@@ -42,7 +42,7 @@ export interface DescribeEventSourceCommandOutput extends DescribeEventSourceRes
42
42
  * // CreationTime: new Date("TIMESTAMP"),
43
43
  * // ExpirationTime: new Date("TIMESTAMP"),
44
44
  * // Name: "STRING_VALUE",
45
- * // State: "STRING_VALUE",
45
+ * // State: "PENDING" || "ACTIVE" || "DELETED",
46
46
  * // };
47
47
  *
48
48
  * ```
@@ -47,7 +47,7 @@ export interface DescribeReplayCommandOutput extends DescribeReplayResponse, __M
47
47
  * // ReplayName: "STRING_VALUE",
48
48
  * // ReplayArn: "STRING_VALUE",
49
49
  * // Description: "STRING_VALUE",
50
- * // State: "STRING_VALUE",
50
+ * // State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED",
51
51
  * // StateReason: "STRING_VALUE",
52
52
  * // EventSourceArn: "STRING_VALUE",
53
53
  * // Destination: { // ReplayDestination
@@ -43,7 +43,7 @@ export interface DescribeRuleCommandOutput extends DescribeRuleResponse, __Metad
43
43
  * // Arn: "STRING_VALUE",
44
44
  * // EventPattern: "STRING_VALUE",
45
45
  * // ScheduleExpression: "STRING_VALUE",
46
- * // State: "STRING_VALUE",
46
+ * // State: "ENABLED" || "DISABLED",
47
47
  * // Description: "STRING_VALUE",
48
48
  * // RoleArn: "STRING_VALUE",
49
49
  * // ManagedBy: "STRING_VALUE",
@@ -25,7 +25,6 @@ export interface DisableRuleCommandOutput extends __MetadataBearer {
25
25
  * @public
26
26
  * <p>Disables the specified rule. A disabled rule won't match any events, and won't
27
27
  * self-trigger if it has a schedule expression.</p>
28
- *
29
28
  * <p>When you disable a rule, incoming events might continue to match to the disabled rule.
30
29
  * Allow a short period of time for changes to take effect.</p>
31
30
  * @example
@@ -24,7 +24,6 @@ export interface EnableRuleCommandOutput extends __MetadataBearer {
24
24
  /**
25
25
  * @public
26
26
  * <p>Enables the specified rule. If the rule does not exist, the operation fails.</p>
27
- *
28
27
  * <p>When you enable a rule, incoming events might not immediately start matching to a newly
29
28
  * enabled rule. Allow a short period of time for changes to take effect.</p>
30
29
  * @example
@@ -43,10 +43,10 @@ export interface ListApiDestinationsCommandOutput extends ListApiDestinationsRes
43
43
  * // { // ApiDestination
44
44
  * // ApiDestinationArn: "STRING_VALUE",
45
45
  * // Name: "STRING_VALUE",
46
- * // ApiDestinationState: "STRING_VALUE",
46
+ * // ApiDestinationState: "ACTIVE" || "INACTIVE",
47
47
  * // ConnectionArn: "STRING_VALUE",
48
48
  * // InvocationEndpoint: "STRING_VALUE",
49
- * // HttpMethod: "STRING_VALUE",
49
+ * // HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE",
50
50
  * // InvocationRateLimitPerSecond: Number("int"),
51
51
  * // CreationTime: new Date("TIMESTAMP"),
52
52
  * // LastModifiedTime: new Date("TIMESTAMP"),
@@ -34,7 +34,7 @@ export interface ListArchivesCommandOutput extends ListArchivesResponse, __Metad
34
34
  * const input = { // ListArchivesRequest
35
35
  * NamePrefix: "STRING_VALUE",
36
36
  * EventSourceArn: "STRING_VALUE",
37
- * State: "STRING_VALUE",
37
+ * State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED",
38
38
  * NextToken: "STRING_VALUE",
39
39
  * Limit: Number("int"),
40
40
  * };
@@ -45,7 +45,7 @@ export interface ListArchivesCommandOutput extends ListArchivesResponse, __Metad
45
45
  * // { // Archive
46
46
  * // ArchiveName: "STRING_VALUE",
47
47
  * // EventSourceArn: "STRING_VALUE",
48
- * // State: "STRING_VALUE",
48
+ * // State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED",
49
49
  * // StateReason: "STRING_VALUE",
50
50
  * // RetentionDays: Number("int"),
51
51
  * // SizeBytes: Number("long"),
@@ -32,7 +32,7 @@ export interface ListConnectionsCommandOutput extends ListConnectionsResponse, _
32
32
  * const client = new CloudWatchEventsClient(config);
33
33
  * const input = { // ListConnectionsRequest
34
34
  * NamePrefix: "STRING_VALUE",
35
- * ConnectionState: "STRING_VALUE",
35
+ * ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
36
36
  * NextToken: "STRING_VALUE",
37
37
  * Limit: Number("int"),
38
38
  * };
@@ -43,9 +43,9 @@ export interface ListConnectionsCommandOutput extends ListConnectionsResponse, _
43
43
  * // { // Connection
44
44
  * // ConnectionArn: "STRING_VALUE",
45
45
  * // Name: "STRING_VALUE",
46
- * // ConnectionState: "STRING_VALUE",
46
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
47
47
  * // StateReason: "STRING_VALUE",
48
- * // AuthorizationType: "STRING_VALUE",
48
+ * // AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY",
49
49
  * // CreationTime: new Date("TIMESTAMP"),
50
50
  * // LastModifiedTime: new Date("TIMESTAMP"),
51
51
  * // LastAuthorizedTime: new Date("TIMESTAMP"),
@@ -46,7 +46,7 @@ export interface ListEventSourcesCommandOutput extends ListEventSourcesResponse,
46
46
  * // CreationTime: new Date("TIMESTAMP"),
47
47
  * // ExpirationTime: new Date("TIMESTAMP"),
48
48
  * // Name: "STRING_VALUE",
49
- * // State: "STRING_VALUE",
49
+ * // State: "PENDING" || "ACTIVE" || "DELETED",
50
50
  * // },
51
51
  * // ],
52
52
  * // NextToken: "STRING_VALUE",
@@ -45,7 +45,7 @@ export interface ListPartnerEventSourceAccountsCommandOutput extends ListPartner
45
45
  * // Account: "STRING_VALUE",
46
46
  * // CreationTime: new Date("TIMESTAMP"),
47
47
  * // ExpirationTime: new Date("TIMESTAMP"),
48
- * // State: "STRING_VALUE",
48
+ * // State: "PENDING" || "ACTIVE" || "DELETED",
49
49
  * // },
50
50
  * // ],
51
51
  * // NextToken: "STRING_VALUE",
@@ -33,7 +33,7 @@ export interface ListReplaysCommandOutput extends ListReplaysResponse, __Metadat
33
33
  * const client = new CloudWatchEventsClient(config);
34
34
  * const input = { // ListReplaysRequest
35
35
  * NamePrefix: "STRING_VALUE",
36
- * State: "STRING_VALUE",
36
+ * State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED",
37
37
  * EventSourceArn: "STRING_VALUE",
38
38
  * NextToken: "STRING_VALUE",
39
39
  * Limit: Number("int"),
@@ -45,7 +45,7 @@ export interface ListReplaysCommandOutput extends ListReplaysResponse, __Metadat
45
45
  * // { // Replay
46
46
  * // ReplayName: "STRING_VALUE",
47
47
  * // EventSourceArn: "STRING_VALUE",
48
- * // State: "STRING_VALUE",
48
+ * // State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED",
49
49
  * // StateReason: "STRING_VALUE",
50
50
  * // EventStartTime: new Date("TIMESTAMP"),
51
51
  * // EventEndTime: new Date("TIMESTAMP"),
@@ -25,7 +25,6 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
25
25
  * @public
26
26
  * <p>Lists your Amazon EventBridge rules. You can either list all the rules or you can provide
27
27
  * a prefix to match to the rule names.</p>
28
- *
29
28
  * <p>ListRules does not list the targets of a rule. To see the targets associated with a rule,
30
29
  * use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_ListTargetsByRule.html">ListTargetsByRule</a>.</p>
31
30
  * @example
@@ -48,7 +47,7 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
48
47
  * // Name: "STRING_VALUE",
49
48
  * // Arn: "STRING_VALUE",
50
49
  * // EventPattern: "STRING_VALUE",
51
- * // State: "STRING_VALUE",
50
+ * // State: "ENABLED" || "DISABLED",
52
51
  * // Description: "STRING_VALUE",
53
52
  * // ScheduleExpression: "STRING_VALUE",
54
53
  * // RoleArn: "STRING_VALUE",
@@ -68,7 +68,7 @@ export interface ListTargetsByRuleCommandOutput extends ListTargetsByRuleRespons
68
68
  * // EcsParameters: { // EcsParameters
69
69
  * // TaskDefinitionArn: "STRING_VALUE", // required
70
70
  * // TaskCount: Number("int"),
71
- * // LaunchType: "STRING_VALUE",
71
+ * // LaunchType: "EC2" || "FARGATE" || "EXTERNAL",
72
72
  * // NetworkConfiguration: { // NetworkConfiguration
73
73
  * // awsvpcConfiguration: { // AwsVpcConfiguration
74
74
  * // Subnets: [ // StringList // required
@@ -77,7 +77,7 @@ export interface ListTargetsByRuleCommandOutput extends ListTargetsByRuleRespons
77
77
  * // SecurityGroups: [
78
78
  * // "STRING_VALUE",
79
79
  * // ],
80
- * // AssignPublicIp: "STRING_VALUE",
80
+ * // AssignPublicIp: "ENABLED" || "DISABLED",
81
81
  * // },
82
82
  * // },
83
83
  * // PlatformVersion: "STRING_VALUE",
@@ -93,17 +93,17 @@ export interface ListTargetsByRuleCommandOutput extends ListTargetsByRuleRespons
93
93
  * // EnableExecuteCommand: true || false,
94
94
  * // PlacementConstraints: [ // PlacementConstraints
95
95
  * // { // PlacementConstraint
96
- * // type: "STRING_VALUE",
96
+ * // type: "distinctInstance" || "memberOf",
97
97
  * // expression: "STRING_VALUE",
98
98
  * // },
99
99
  * // ],
100
100
  * // PlacementStrategy: [ // PlacementStrategies
101
101
  * // { // PlacementStrategy
102
- * // type: "STRING_VALUE",
102
+ * // type: "random" || "spread" || "binpack",
103
103
  * // field: "STRING_VALUE",
104
104
  * // },
105
105
  * // ],
106
- * // PropagateTags: "STRING_VALUE",
106
+ * // PropagateTags: "TASK_DEFINITION",
107
107
  * // ReferenceId: "STRING_VALUE",
108
108
  * // Tags: [ // TagList
109
109
  * // { // Tag
@@ -29,19 +29,16 @@ export interface PutPermissionCommandOutput extends __MetadataBearer {
29
29
  * account. </p>
30
30
  * <p>For another account to send events to your account, that external account must have an
31
31
  * EventBridge rule with your account's event bus as a target.</p>
32
- *
33
32
  * <p>To enable multiple Amazon Web Services accounts to put events to your event bus, run
34
33
  * <code>PutPermission</code> once for each of these accounts. Or, if all the accounts are
35
34
  * members of the same Amazon Web Services organization, you can run <code>PutPermission</code> once specifying
36
35
  * <code>Principal</code> as "*" and specifying the Amazon Web Services organization ID in
37
36
  * <code>Condition</code>, to grant permissions to all accounts in that organization.</p>
38
- *
39
37
  * <p>If you grant permissions using an organization, then accounts in that organization must
40
38
  * specify a <code>RoleArn</code> with proper permissions when they use <code>PutTarget</code> to
41
39
  * add your account's event bus as a target. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-cross-account-event-delivery.html">Sending and
42
40
  * Receiving Events Between Amazon Web Services Accounts</a> in the <i>Amazon EventBridge User
43
41
  * Guide</i>.</p>
44
- *
45
42
  * <p>The permission policy on the event bus cannot exceed 10 KB in size.</p>
46
43
  * @example
47
44
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,26 +25,21 @@ export interface PutRuleCommandOutput extends PutRuleResponse, __MetadataBearer
25
25
  * @public
26
26
  * <p>Creates or updates the specified rule. Rules are enabled by default, or based on value of
27
27
  * the state. You can disable a rule using <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DisableRule.html">DisableRule</a>.</p>
28
- *
29
28
  * <p>A single rule watches for events from a single event bus. Events generated by Amazon Web Services services
30
29
  * go to your account's default event bus. Events generated by SaaS partner services or
31
30
  * applications go to the matching partner event bus. If you have custom applications or
32
31
  * services, you can specify whether their events go to your default event bus or a custom event
33
32
  * bus that you have created. For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateEventBus.html">CreateEventBus</a>.</p>
34
- *
35
33
  * <p>If you are updating an existing rule, the rule is replaced with what you specify in this
36
34
  * <code>PutRule</code> command. If you omit arguments in <code>PutRule</code>, the old values
37
35
  * for those arguments are not kept. Instead, they are replaced with null values.</p>
38
- *
39
36
  * <p>When you create or update a rule, incoming events might not immediately start matching to
40
37
  * new or updated rules. Allow a short period of time for changes to take effect.</p>
41
- *
42
38
  * <p>A rule must contain at least an EventPattern or ScheduleExpression. Rules with
43
39
  * EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions
44
40
  * self-trigger based on the given schedule. A rule can have both an EventPattern and a
45
41
  * ScheduleExpression, in which case the rule triggers on matching events as well as on a
46
42
  * schedule.</p>
47
- *
48
43
  * <p>When you initially create a rule, you can optionally assign one or more tags to the rule.
49
44
  * Tags can help you organize and categorize your resources. You can also use them to scope user
50
45
  * permissions, by granting a user permission to access or change only rules with certain tag
@@ -52,12 +47,10 @@ export interface PutRuleCommandOutput extends PutRuleResponse, __MetadataBearer
52
47
  * <code>events:PutRule</code> and <code>events:TagResource</code> permissions.</p>
53
48
  * <p>If you are updating an existing rule, any tags you specify in the <code>PutRule</code>
54
49
  * operation are ignored. To update the tags of an existing rule, use <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_TagResource.html">TagResource</a> and <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UntagResource.html">UntagResource</a>.</p>
55
- *
56
50
  * <p>Most services in Amazon Web Services treat : or / as the same character in Amazon Resource Names (ARNs).
57
51
  * However, EventBridge uses an exact match in event patterns and rules. Be sure to use the
58
52
  * correct ARN characters when creating event patterns so that they match the ARN syntax in the
59
53
  * event you want to match.</p>
60
- *
61
54
  * <p>In EventBridge, it is possible to create rules that lead to infinite loops, where a rule
62
55
  * is fired repeatedly. For example, a rule might detect that ACLs have changed on an S3 bucket,
63
56
  * and trigger software to change them to the desired state. If the rule is not written
@@ -80,7 +73,7 @@ export interface PutRuleCommandOutput extends PutRuleResponse, __MetadataBearer
80
73
  * Name: "STRING_VALUE", // required
81
74
  * ScheduleExpression: "STRING_VALUE",
82
75
  * EventPattern: "STRING_VALUE",
83
- * State: "STRING_VALUE",
76
+ * State: "ENABLED" || "DISABLED",
84
77
  * Description: "STRING_VALUE",
85
78
  * RoleArn: "STRING_VALUE",
86
79
  * Tags: [ // TagList
@@ -27,7 +27,6 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
27
27
  * already associated with the rule.</p>
28
28
  * <p>Targets are the resources that are invoked when a rule is triggered.</p>
29
29
  * <p>You can configure the following as targets for Events:</p>
30
- *
31
30
  * <ul>
32
31
  * <li>
33
32
  * <p>
@@ -107,17 +106,14 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
107
106
  * <p>Step Functions state machines</p>
108
107
  * </li>
109
108
  * </ul>
110
- *
111
- * <p>Creating rules with built-in targets is supported only in the Management Console. The
109
+ * <p>Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The
112
110
  * built-in targets are <code>EC2 CreateSnapshot API call</code>, <code>EC2 RebootInstances API
113
111
  * call</code>, <code>EC2 StopInstances API call</code>, and <code>EC2 TerminateInstances API
114
112
  * call</code>. </p>
115
- *
116
113
  * <p>For some target types, <code>PutTargets</code> provides target-specific parameters. If the
117
114
  * target is a Kinesis data stream, you can optionally specify which shard the event goes to by
118
115
  * using the <code>KinesisParameters</code> argument. To invoke a command on multiple EC2
119
116
  * instances with one rule, you can use the <code>RunCommandParameters</code> field.</p>
120
- *
121
117
  * <p>To be able to make API calls against the resources that you own, Amazon EventBridge
122
118
  * needs the appropriate permissions. For Lambda and Amazon SNS
123
119
  * resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams,
@@ -125,7 +121,6 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
125
121
  * IAM roles that you specify in the <code>RoleARN</code> argument in <code>PutTargets</code>.
126
122
  * For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/auth-and-access-control-eventbridge.html">Authentication
127
123
  * and Access Control</a> in the <i>Amazon EventBridge User Guide</i>.</p>
128
- *
129
124
  * <p>If another Amazon Web Services account is in the same region and has granted you permission (using
130
125
  * <code>PutPermission</code>), you can send events to that account. Set that account's event
131
126
  * bus as a target of the rules in your account. To send the matched events to the other account,
@@ -134,28 +129,23 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
134
129
  * charged for each sent event. Each event sent to another account is charged as a custom event.
135
130
  * The account receiving the event is not charged. For more information, see <a href="http://aws.amazon.com/eventbridge/pricing/">Amazon EventBridge
136
131
  * Pricing</a>.</p>
137
- *
138
132
  * <note>
139
133
  * <p>
140
134
  * <code>Input</code>, <code>InputPath</code>, and <code>InputTransformer</code> are not
141
135
  * available with <code>PutTarget</code> if the target is an event bus of a different Amazon Web Services
142
136
  * account.</p>
143
137
  * </note>
144
- *
145
138
  * <p>If you are setting the event bus of another account as the target, and that account
146
139
  * granted permission to your account through an organization instead of directly by the account
147
140
  * ID, then you must specify a <code>RoleArn</code> with proper permissions in the
148
141
  * <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
149
142
  * Receiving Events Between Amazon Web Services Accounts</a> in the <i>Amazon EventBridge User
150
143
  * Guide</i>.</p>
151
- *
152
144
  * <p>For more information about enabling cross-account events, see <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutPermission.html">PutPermission</a>.</p>
153
- *
154
145
  * <p>
155
146
  * <b>Input</b>, <b>InputPath</b>, and
156
147
  * <b>InputTransformer</b> are mutually exclusive and optional
157
148
  * parameters of a target. When a rule is triggered due to a matched event:</p>
158
- *
159
149
  * <ul>
160
150
  * <li>
161
151
  * <p>If none of the following arguments are specified for a target, then the entire event
@@ -178,14 +168,11 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
178
168
  * specify as the input to the target.</p>
179
169
  * </li>
180
170
  * </ul>
181
- *
182
171
  * <p>When you specify <code>InputPath</code> or <code>InputTransformer</code>, you must use
183
172
  * JSON dot notation, not bracket notation.</p>
184
- *
185
173
  * <p>When you add targets to a rule and the associated rule triggers soon after, new or updated
186
174
  * targets might not be immediately invoked. Allow a short period of time for changes to take
187
175
  * effect.</p>
188
- *
189
176
  * <p>This action can partially fail if too many requests are made at the same time. If that
190
177
  * happens, <code>FailedEntryCount</code> is non-zero in the response and each entry in
191
178
  * <code>FailedEntries</code> provides the ID of the failed target and the error code.</p>
@@ -227,7 +214,7 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
227
214
  * EcsParameters: { // EcsParameters
228
215
  * TaskDefinitionArn: "STRING_VALUE", // required
229
216
  * TaskCount: Number("int"),
230
- * LaunchType: "STRING_VALUE",
217
+ * LaunchType: "EC2" || "FARGATE" || "EXTERNAL",
231
218
  * NetworkConfiguration: { // NetworkConfiguration
232
219
  * awsvpcConfiguration: { // AwsVpcConfiguration
233
220
  * Subnets: [ // StringList // required
@@ -236,7 +223,7 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
236
223
  * SecurityGroups: [
237
224
  * "STRING_VALUE",
238
225
  * ],
239
- * AssignPublicIp: "STRING_VALUE",
226
+ * AssignPublicIp: "ENABLED" || "DISABLED",
240
227
  * },
241
228
  * },
242
229
  * PlatformVersion: "STRING_VALUE",
@@ -252,17 +239,17 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
252
239
  * EnableExecuteCommand: true || false,
253
240
  * PlacementConstraints: [ // PlacementConstraints
254
241
  * { // PlacementConstraint
255
- * type: "STRING_VALUE",
242
+ * type: "distinctInstance" || "memberOf",
256
243
  * expression: "STRING_VALUE",
257
244
  * },
258
245
  * ],
259
246
  * PlacementStrategy: [ // PlacementStrategies
260
247
  * { // PlacementStrategy
261
- * type: "STRING_VALUE",
248
+ * type: "random" || "spread" || "binpack",
262
249
  * field: "STRING_VALUE",
263
250
  * },
264
251
  * ],
265
- * PropagateTags: "STRING_VALUE",
252
+ * PropagateTags: "TASK_DEFINITION",
266
253
  * ReferenceId: "STRING_VALUE",
267
254
  * Tags: [ // TagList
268
255
  * { // Tag
@@ -25,10 +25,8 @@ export interface RemoveTargetsCommandOutput extends RemoveTargetsResponse, __Met
25
25
  * @public
26
26
  * <p>Removes the specified targets from the specified rule. When the rule is triggered, those
27
27
  * targets are no longer be invoked.</p>
28
- *
29
28
  * <p>When you remove a target, when the associated rule triggers, removed targets might
30
29
  * continue to be invoked. Allow a short period of time for changes to take effect.</p>
31
- *
32
30
  * <p>This action can partially fail if too many requests are made at the same time. If that
33
31
  * happens, <code>FailedEntryCount</code> is non-zero in the response and each entry in
34
32
  * <code>FailedEntries</code> provides the ID of the failed target and the error code.</p>
@@ -55,7 +55,7 @@ export interface StartReplayCommandOutput extends StartReplayResponse, __Metadat
55
55
  * const response = await client.send(command);
56
56
  * // { // StartReplayResponse
57
57
  * // ReplayArn: "STRING_VALUE",
58
- * // State: "STRING_VALUE",
58
+ * // State: "STARTING" || "RUNNING" || "CANCELLING" || "COMPLETED" || "CANCELLED" || "FAILED",
59
59
  * // StateReason: "STRING_VALUE",
60
60
  * // ReplayStartTime: new Date("TIMESTAMP"),
61
61
  * // };
@@ -35,14 +35,14 @@ export interface UpdateApiDestinationCommandOutput extends UpdateApiDestinationR
35
35
  * Description: "STRING_VALUE",
36
36
  * ConnectionArn: "STRING_VALUE",
37
37
  * InvocationEndpoint: "STRING_VALUE",
38
- * HttpMethod: "STRING_VALUE",
38
+ * HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE",
39
39
  * InvocationRateLimitPerSecond: Number("int"),
40
40
  * };
41
41
  * const command = new UpdateApiDestinationCommand(input);
42
42
  * const response = await client.send(command);
43
43
  * // { // UpdateApiDestinationResponse
44
44
  * // ApiDestinationArn: "STRING_VALUE",
45
- * // ApiDestinationState: "STRING_VALUE",
45
+ * // ApiDestinationState: "ACTIVE" || "INACTIVE",
46
46
  * // CreationTime: new Date("TIMESTAMP"),
47
47
  * // LastModifiedTime: new Date("TIMESTAMP"),
48
48
  * // };
@@ -40,7 +40,7 @@ export interface UpdateArchiveCommandOutput extends UpdateArchiveResponse, __Met
40
40
  * const response = await client.send(command);
41
41
  * // { // UpdateArchiveResponse
42
42
  * // ArchiveArn: "STRING_VALUE",
43
- * // State: "STRING_VALUE",
43
+ * // State: "ENABLED" || "DISABLED" || "CREATING" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED",
44
44
  * // StateReason: "STRING_VALUE",
45
45
  * // CreationTime: new Date("TIMESTAMP"),
46
46
  * // };
@@ -33,7 +33,7 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
33
33
  * const input = { // UpdateConnectionRequest
34
34
  * Name: "STRING_VALUE", // required
35
35
  * Description: "STRING_VALUE",
36
- * AuthorizationType: "STRING_VALUE",
36
+ * AuthorizationType: "BASIC" || "OAUTH_CLIENT_CREDENTIALS" || "API_KEY",
37
37
  * AuthParameters: { // UpdateConnectionAuthRequestParameters
38
38
  * BasicAuthParameters: { // UpdateConnectionBasicAuthRequestParameters
39
39
  * Username: "STRING_VALUE",
@@ -45,7 +45,7 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
45
45
  * ClientSecret: "STRING_VALUE",
46
46
  * },
47
47
  * AuthorizationEndpoint: "STRING_VALUE",
48
- * HttpMethod: "STRING_VALUE",
48
+ * HttpMethod: "GET" || "POST" || "PUT",
49
49
  * OAuthHttpParameters: { // ConnectionHttpParameters
50
50
  * HeaderParameters: [ // ConnectionHeaderParametersList
51
51
  * { // ConnectionHeaderParameter
@@ -103,7 +103,7 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
103
103
  * const response = await client.send(command);
104
104
  * // { // UpdateConnectionResponse
105
105
  * // ConnectionArn: "STRING_VALUE",
106
- * // ConnectionState: "STRING_VALUE",
106
+ * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING",
107
107
  * // CreationTime: new Date("TIMESTAMP"),
108
108
  * // LastModifiedTime: new Date("TIMESTAMP"),
109
109
  * // LastAuthorizedTime: new Date("TIMESTAMP"),
@@ -2758,7 +2758,6 @@ export interface InputTransformer {
2758
2758
  * keys from <code>InputPathsMap</code> to customize the data sent to the target. Enclose each
2759
2759
  * <code>InputPathsMaps</code> value in brackets: <<i>value</i>> The
2760
2760
  * InputTemplate must be valid JSON.</p>
2761
- *
2762
2761
  * <p>If <code>InputTemplate</code> is a JSON object (surrounded by curly braces), the following
2763
2762
  * restrictions apply:</p>
2764
2763
  * <ul>
@@ -2980,7 +2979,6 @@ export interface SqsParameters {
2980
2979
  * @public
2981
2980
  * <p>Targets are the resources to be invoked when a rule is triggered. For a complete list of
2982
2981
  * 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>
2983
- *
2984
2982
  * <p>If you are setting the event bus of another account as the target, and that account
2985
2983
  * granted permission to your account through an organization instead of directly by the account
2986
2984
  * ID, then you must specify a <code>RoleArn</code> with proper permissions in the
@@ -3358,7 +3356,6 @@ export interface PutPermissionRequest {
3358
3356
  * @public
3359
3357
  * <p>The 12-digit Amazon Web Services account ID that you are permitting to put events to your default event
3360
3358
  * bus. Specify "*" to permit any account to put events to your default event bus.</p>
3361
- *
3362
3359
  * <p>If you specify "*" without specifying <code>Condition</code>, avoid creating rules that
3363
3360
  * may match undesirable events. To create more secure rules, make sure that the event pattern
3364
3361
  * for each rule contains an <code>account</code> field with a specific account ID from which to
@@ -3382,7 +3379,6 @@ export interface PutPermissionRequest {
3382
3379
  * <p>If you specify <code>Condition</code> with an Amazon Web Services organization ID, and specify "*" as the
3383
3380
  * value for <code>Principal</code>, you grant permission to all the accounts in the named
3384
3381
  * organization.</p>
3385
- *
3386
3382
  * <p>The <code>Condition</code> is a JSON string which must contain <code>Type</code>,
3387
3383
  * <code>Key</code>, and <code>Value</code> fields.</p>
3388
3384
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-events",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Events Client for Node.js, Browser and React Native",
4
- "version": "3.398.0",
4
+ "version": "3.404.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",