@aws-sdk/client-cloudwatch-events 3.299.0 → 3.301.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 (52) hide show
  1. package/dist-types/commands/ActivateEventSourceCommand.d.ts +3 -0
  2. package/dist-types/commands/CancelReplayCommand.d.ts +3 -0
  3. package/dist-types/commands/CreateApiDestinationCommand.d.ts +8 -0
  4. package/dist-types/commands/CreateArchiveCommand.d.ts +7 -0
  5. package/dist-types/commands/CreateConnectionCommand.d.ts +69 -0
  6. package/dist-types/commands/CreateEventBusCommand.d.ts +10 -0
  7. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +4 -0
  8. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +3 -0
  9. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +3 -0
  10. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +3 -0
  11. package/dist-types/commands/DeleteArchiveCommand.d.ts +3 -0
  12. package/dist-types/commands/DeleteConnectionCommand.d.ts +3 -0
  13. package/dist-types/commands/DeleteEventBusCommand.d.ts +3 -0
  14. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteRuleCommand.d.ts +5 -0
  16. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +3 -0
  17. package/dist-types/commands/DescribeArchiveCommand.d.ts +3 -0
  18. package/dist-types/commands/DescribeConnectionCommand.d.ts +3 -0
  19. package/dist-types/commands/DescribeEventBusCommand.d.ts +3 -0
  20. package/dist-types/commands/DescribeEventSourceCommand.d.ts +3 -0
  21. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +3 -0
  22. package/dist-types/commands/DescribeReplayCommand.d.ts +3 -0
  23. package/dist-types/commands/DescribeRuleCommand.d.ts +4 -0
  24. package/dist-types/commands/DisableRuleCommand.d.ts +4 -0
  25. package/dist-types/commands/EnableRuleCommand.d.ts +4 -0
  26. package/dist-types/commands/ListApiDestinationsCommand.d.ts +6 -0
  27. package/dist-types/commands/ListArchivesCommand.d.ts +7 -0
  28. package/dist-types/commands/ListConnectionsCommand.d.ts +6 -0
  29. package/dist-types/commands/ListEventBusesCommand.d.ts +5 -0
  30. package/dist-types/commands/ListEventSourcesCommand.d.ts +5 -0
  31. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +5 -0
  32. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +5 -0
  33. package/dist-types/commands/ListReplaysCommand.d.ts +7 -0
  34. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +6 -0
  35. package/dist-types/commands/ListRulesCommand.d.ts +6 -0
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  37. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +6 -0
  38. package/dist-types/commands/PutEventsCommand.d.ts +15 -0
  39. package/dist-types/commands/PutPartnerEventsCommand.d.ts +13 -0
  40. package/dist-types/commands/PutPermissionCommand.d.ts +12 -0
  41. package/dist-types/commands/PutRuleCommand.d.ts +15 -0
  42. package/dist-types/commands/PutTargetsCommand.d.ts +126 -0
  43. package/dist-types/commands/RemovePermissionCommand.d.ts +5 -0
  44. package/dist-types/commands/RemoveTargetsCommand.d.ts +8 -0
  45. package/dist-types/commands/StartReplayCommand.d.ts +13 -0
  46. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  47. package/dist-types/commands/TestEventPatternCommand.d.ts +4 -0
  48. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  49. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +8 -0
  50. package/dist-types/commands/UpdateArchiveCommand.d.ts +6 -0
  51. package/dist-types/commands/UpdateConnectionCommand.d.ts +69 -0
  52. package/package.json +8 -8
@@ -27,6 +27,9 @@ export interface ActivateEventSourceCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchEventsClient, ActivateEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, ActivateEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // ActivateEventSourceRequest
31
+ * Name: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new ActivateEventSourceCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface CancelReplayCommandOutput extends CancelReplayResponse, __Metad
26
26
  * import { CloudWatchEventsClient, CancelReplayCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, CancelReplayCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // CancelReplayRequest
30
+ * ReplayName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new CancelReplayCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,14 @@ export interface CreateApiDestinationCommandOutput extends CreateApiDestinationR
27
27
  * import { CloudWatchEventsClient, CreateApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, CreateApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // CreateApiDestinationRequest
31
+ * Name: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * ConnectionArn: "STRING_VALUE", // required
34
+ * InvocationEndpoint: "STRING_VALUE", // required
35
+ * HttpMethod: "STRING_VALUE", // required
36
+ * InvocationRateLimitPerSecond: Number("int"),
37
+ * };
30
38
  * const command = new CreateApiDestinationCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -30,6 +30,13 @@ export interface CreateArchiveCommandOutput extends CreateArchiveResponse, __Met
30
30
  * import { CloudWatchEventsClient, CreateArchiveCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
31
31
  * // const { CloudWatchEventsClient, CreateArchiveCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
32
32
  * const client = new CloudWatchEventsClient(config);
33
+ * const input = { // CreateArchiveRequest
34
+ * ArchiveName: "STRING_VALUE", // required
35
+ * EventSourceArn: "STRING_VALUE", // required
36
+ * Description: "STRING_VALUE",
37
+ * EventPattern: "STRING_VALUE",
38
+ * RetentionDays: Number("int"),
39
+ * };
33
40
  * const command = new CreateArchiveCommand(input);
34
41
  * const response = await client.send(command);
35
42
  * ```
@@ -27,6 +27,75 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
27
27
  * import { CloudWatchEventsClient, CreateConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, CreateConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // CreateConnectionRequest
31
+ * Name: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * AuthorizationType: "STRING_VALUE", // required
34
+ * AuthParameters: { // CreateConnectionAuthRequestParameters
35
+ * BasicAuthParameters: { // CreateConnectionBasicAuthRequestParameters
36
+ * Username: "STRING_VALUE", // required
37
+ * Password: "STRING_VALUE", // required
38
+ * },
39
+ * OAuthParameters: { // CreateConnectionOAuthRequestParameters
40
+ * ClientParameters: { // CreateConnectionOAuthClientRequestParameters
41
+ * ClientID: "STRING_VALUE", // required
42
+ * ClientSecret: "STRING_VALUE", // required
43
+ * },
44
+ * AuthorizationEndpoint: "STRING_VALUE", // required
45
+ * HttpMethod: "STRING_VALUE", // required
46
+ * OAuthHttpParameters: { // ConnectionHttpParameters
47
+ * HeaderParameters: [ // ConnectionHeaderParametersList
48
+ * { // ConnectionHeaderParameter
49
+ * Key: "STRING_VALUE",
50
+ * Value: "STRING_VALUE",
51
+ * IsValueSecret: true || false,
52
+ * },
53
+ * ],
54
+ * QueryStringParameters: [ // ConnectionQueryStringParametersList
55
+ * { // ConnectionQueryStringParameter
56
+ * Key: "STRING_VALUE",
57
+ * Value: "STRING_VALUE",
58
+ * IsValueSecret: true || false,
59
+ * },
60
+ * ],
61
+ * BodyParameters: [ // ConnectionBodyParametersList
62
+ * { // ConnectionBodyParameter
63
+ * Key: "STRING_VALUE",
64
+ * Value: "STRING_VALUE",
65
+ * IsValueSecret: true || false,
66
+ * },
67
+ * ],
68
+ * },
69
+ * },
70
+ * ApiKeyAuthParameters: { // CreateConnectionApiKeyAuthRequestParameters
71
+ * ApiKeyName: "STRING_VALUE", // required
72
+ * ApiKeyValue: "STRING_VALUE", // required
73
+ * },
74
+ * InvocationHttpParameters: {
75
+ * HeaderParameters: [
76
+ * {
77
+ * Key: "STRING_VALUE",
78
+ * Value: "STRING_VALUE",
79
+ * IsValueSecret: true || false,
80
+ * },
81
+ * ],
82
+ * QueryStringParameters: [
83
+ * {
84
+ * Key: "STRING_VALUE",
85
+ * Value: "STRING_VALUE",
86
+ * IsValueSecret: true || false,
87
+ * },
88
+ * ],
89
+ * BodyParameters: [
90
+ * {
91
+ * Key: "STRING_VALUE",
92
+ * Value: "STRING_VALUE",
93
+ * IsValueSecret: true || false,
94
+ * },
95
+ * ],
96
+ * },
97
+ * },
98
+ * };
30
99
  * const command = new CreateConnectionCommand(input);
31
100
  * const response = await client.send(command);
32
101
  * ```
@@ -28,6 +28,16 @@ export interface CreateEventBusCommandOutput extends CreateEventBusResponse, __M
28
28
  * import { CloudWatchEventsClient, CreateEventBusCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
29
29
  * // const { CloudWatchEventsClient, CreateEventBusCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
30
30
  * const client = new CloudWatchEventsClient(config);
31
+ * const input = { // CreateEventBusRequest
32
+ * Name: "STRING_VALUE", // required
33
+ * EventSourceName: "STRING_VALUE",
34
+ * Tags: [ // TagList
35
+ * { // Tag
36
+ * Key: "STRING_VALUE", // required
37
+ * Value: "STRING_VALUE", // required
38
+ * },
39
+ * ],
40
+ * };
31
41
  * const command = new CreateEventBusCommand(input);
32
42
  * const response = await client.send(command);
33
43
  * ```
@@ -49,6 +49,10 @@ export interface CreatePartnerEventSourceCommandOutput extends CreatePartnerEven
49
49
  * import { CloudWatchEventsClient, CreatePartnerEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
50
50
  * // const { CloudWatchEventsClient, CreatePartnerEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
51
51
  * const client = new CloudWatchEventsClient(config);
52
+ * const input = { // CreatePartnerEventSourceRequest
53
+ * Name: "STRING_VALUE", // required
54
+ * Account: "STRING_VALUE", // required
55
+ * };
52
56
  * const command = new CreatePartnerEventSourceCommand(input);
53
57
  * const response = await client.send(command);
54
58
  * ```
@@ -30,6 +30,9 @@ export interface DeactivateEventSourceCommandOutput extends __MetadataBearer {
30
30
  * import { CloudWatchEventsClient, DeactivateEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
31
31
  * // const { CloudWatchEventsClient, DeactivateEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
32
32
  * const client = new CloudWatchEventsClient(config);
33
+ * const input = { // DeactivateEventSourceRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * };
33
36
  * const command = new DeactivateEventSourceCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
@@ -27,6 +27,9 @@ export interface DeauthorizeConnectionCommandOutput extends DeauthorizeConnectio
27
27
  * import { CloudWatchEventsClient, DeauthorizeConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, DeauthorizeConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // DeauthorizeConnectionRequest
31
+ * Name: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeauthorizeConnectionCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface DeleteApiDestinationCommandOutput extends DeleteApiDestinationR
26
26
  * import { CloudWatchEventsClient, DeleteApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DeleteApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // DeleteApiDestinationRequest
30
+ * Name: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteApiDestinationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteArchiveCommandOutput extends DeleteArchiveResponse, __Met
26
26
  * import { CloudWatchEventsClient, DeleteArchiveCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DeleteArchiveCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // DeleteArchiveRequest
30
+ * ArchiveName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteArchiveCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionResponse,
26
26
  * import { CloudWatchEventsClient, DeleteConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DeleteConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // DeleteConnectionRequest
30
+ * Name: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteConnectionCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,9 @@ export interface DeleteEventBusCommandOutput extends __MetadataBearer {
27
27
  * import { CloudWatchEventsClient, DeleteEventBusCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, DeleteEventBusCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // DeleteEventBusRequest
31
+ * Name: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteEventBusCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -30,6 +30,10 @@ export interface DeletePartnerEventSourceCommandOutput extends __MetadataBearer
30
30
  * import { CloudWatchEventsClient, DeletePartnerEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
31
31
  * // const { CloudWatchEventsClient, DeletePartnerEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
32
32
  * const client = new CloudWatchEventsClient(config);
33
+ * const input = { // DeletePartnerEventSourceRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * Account: "STRING_VALUE", // required
36
+ * };
33
37
  * const command = new DeletePartnerEventSourceCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -39,6 +39,11 @@ export interface DeleteRuleCommandOutput extends __MetadataBearer {
39
39
  * import { CloudWatchEventsClient, DeleteRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
40
40
  * // const { CloudWatchEventsClient, DeleteRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
41
41
  * const client = new CloudWatchEventsClient(config);
42
+ * const input = { // DeleteRuleRequest
43
+ * Name: "STRING_VALUE", // required
44
+ * EventBusName: "STRING_VALUE",
45
+ * Force: true || false,
46
+ * };
42
47
  * const command = new DeleteRuleCommand(input);
43
48
  * const response = await client.send(command);
44
49
  * ```
@@ -26,6 +26,9 @@ export interface DescribeApiDestinationCommandOutput extends DescribeApiDestinat
26
26
  * import { CloudWatchEventsClient, DescribeApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DescribeApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // DescribeApiDestinationRequest
30
+ * Name: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeApiDestinationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeArchiveCommandOutput extends DescribeArchiveResponse, _
26
26
  * import { CloudWatchEventsClient, DescribeArchiveCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DescribeArchiveCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // DescribeArchiveRequest
30
+ * ArchiveName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeArchiveCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeConnectionCommandOutput extends DescribeConnectionRespo
26
26
  * import { CloudWatchEventsClient, DescribeConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, DescribeConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // DescribeConnectionRequest
30
+ * Name: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeConnectionCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -32,6 +32,9 @@ export interface DescribeEventBusCommandOutput extends DescribeEventBusResponse,
32
32
  * import { CloudWatchEventsClient, DescribeEventBusCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
33
33
  * // const { CloudWatchEventsClient, DescribeEventBusCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
34
34
  * const client = new CloudWatchEventsClient(config);
35
+ * const input = { // DescribeEventBusRequest
36
+ * Name: "STRING_VALUE",
37
+ * };
35
38
  * const command = new DescribeEventBusCommand(input);
36
39
  * const response = await client.send(command);
37
40
  * ```
@@ -27,6 +27,9 @@ export interface DescribeEventSourceCommandOutput extends DescribeEventSourceRes
27
27
  * import { CloudWatchEventsClient, DescribeEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, DescribeEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // DescribeEventSourceRequest
31
+ * Name: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DescribeEventSourceCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -29,6 +29,9 @@ export interface DescribePartnerEventSourceCommandOutput extends DescribePartner
29
29
  * import { CloudWatchEventsClient, DescribePartnerEventSourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
30
30
  * // const { CloudWatchEventsClient, DescribePartnerEventSourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
31
31
  * const client = new CloudWatchEventsClient(config);
32
+ * const input = { // DescribePartnerEventSourceRequest
33
+ * Name: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new DescribePartnerEventSourceCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -34,6 +34,9 @@ export interface DescribeReplayCommandOutput extends DescribeReplayResponse, __M
34
34
  * import { CloudWatchEventsClient, DescribeReplayCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
35
35
  * // const { CloudWatchEventsClient, DescribeReplayCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
36
36
  * const client = new CloudWatchEventsClient(config);
37
+ * const input = { // DescribeReplayRequest
38
+ * ReplayName: "STRING_VALUE", // required
39
+ * };
37
40
  * const command = new DescribeReplayCommand(input);
38
41
  * const response = await client.send(command);
39
42
  * ```
@@ -28,6 +28,10 @@ export interface DescribeRuleCommandOutput extends DescribeRuleResponse, __Metad
28
28
  * import { CloudWatchEventsClient, DescribeRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
29
29
  * // const { CloudWatchEventsClient, DescribeRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
30
30
  * const client = new CloudWatchEventsClient(config);
31
+ * const input = { // DescribeRuleRequest
32
+ * Name: "STRING_VALUE", // required
33
+ * EventBusName: "STRING_VALUE",
34
+ * };
31
35
  * const command = new DescribeRuleCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -30,6 +30,10 @@ export interface DisableRuleCommandOutput extends __MetadataBearer {
30
30
  * import { CloudWatchEventsClient, DisableRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
31
31
  * // const { CloudWatchEventsClient, DisableRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
32
32
  * const client = new CloudWatchEventsClient(config);
33
+ * const input = { // DisableRuleRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * EventBusName: "STRING_VALUE",
36
+ * };
33
37
  * const command = new DisableRuleCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -29,6 +29,10 @@ export interface EnableRuleCommandOutput extends __MetadataBearer {
29
29
  * import { CloudWatchEventsClient, EnableRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
30
30
  * // const { CloudWatchEventsClient, EnableRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
31
31
  * const client = new CloudWatchEventsClient(config);
32
+ * const input = { // EnableRuleRequest
33
+ * Name: "STRING_VALUE", // required
34
+ * EventBusName: "STRING_VALUE",
35
+ * };
32
36
  * const command = new EnableRuleCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -26,6 +26,12 @@ export interface ListApiDestinationsCommandOutput extends ListApiDestinationsRes
26
26
  * import { CloudWatchEventsClient, ListApiDestinationsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, ListApiDestinationsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // ListApiDestinationsRequest
30
+ * NamePrefix: "STRING_VALUE",
31
+ * ConnectionArn: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * Limit: Number("int"),
34
+ * };
29
35
  * const command = new ListApiDestinationsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,13 @@ export interface ListArchivesCommandOutput extends ListArchivesResponse, __Metad
27
27
  * import { CloudWatchEventsClient, ListArchivesCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, ListArchivesCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // ListArchivesRequest
31
+ * NamePrefix: "STRING_VALUE",
32
+ * EventSourceArn: "STRING_VALUE",
33
+ * State: "STRING_VALUE",
34
+ * NextToken: "STRING_VALUE",
35
+ * Limit: Number("int"),
36
+ * };
30
37
  * const command = new ListArchivesCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -26,6 +26,12 @@ export interface ListConnectionsCommandOutput extends ListConnectionsResponse, _
26
26
  * import { CloudWatchEventsClient, ListConnectionsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, ListConnectionsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // ListConnectionsRequest
30
+ * NamePrefix: "STRING_VALUE",
31
+ * ConnectionState: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * Limit: Number("int"),
34
+ * };
29
35
  * const command = new ListConnectionsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,11 @@ export interface ListEventBusesCommandOutput extends ListEventBusesResponse, __M
27
27
  * import { CloudWatchEventsClient, ListEventBusesCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, ListEventBusesCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // ListEventBusesRequest
31
+ * NamePrefix: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * Limit: Number("int"),
34
+ * };
30
35
  * const command = new ListEventBusesCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,11 @@ export interface ListEventSourcesCommandOutput extends ListEventSourcesResponse,
27
27
  * import { CloudWatchEventsClient, ListEventSourcesCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, ListEventSourcesCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // ListEventSourcesRequest
31
+ * NamePrefix: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * Limit: Number("int"),
34
+ * };
30
35
  * const command = new ListEventSourcesCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -28,6 +28,11 @@ export interface ListPartnerEventSourceAccountsCommandOutput extends ListPartner
28
28
  * import { CloudWatchEventsClient, ListPartnerEventSourceAccountsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
29
29
  * // const { CloudWatchEventsClient, ListPartnerEventSourceAccountsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
30
30
  * const client = new CloudWatchEventsClient(config);
31
+ * const input = { // ListPartnerEventSourceAccountsRequest
32
+ * EventSourceName: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * Limit: Number("int"),
35
+ * };
31
36
  * const command = new ListPartnerEventSourceAccountsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -27,6 +27,11 @@ export interface ListPartnerEventSourcesCommandOutput extends ListPartnerEventSo
27
27
  * import { CloudWatchEventsClient, ListPartnerEventSourcesCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, ListPartnerEventSourcesCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // ListPartnerEventSourcesRequest
31
+ * NamePrefix: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * Limit: Number("int"),
34
+ * };
30
35
  * const command = new ListPartnerEventSourcesCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,13 @@ export interface ListReplaysCommandOutput extends ListReplaysResponse, __Metadat
27
27
  * import { CloudWatchEventsClient, ListReplaysCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, ListReplaysCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // ListReplaysRequest
31
+ * NamePrefix: "STRING_VALUE",
32
+ * State: "STRING_VALUE",
33
+ * EventSourceArn: "STRING_VALUE",
34
+ * NextToken: "STRING_VALUE",
35
+ * Limit: Number("int"),
36
+ * };
30
37
  * const command = new ListReplaysCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -27,6 +27,12 @@ export interface ListRuleNamesByTargetCommandOutput extends ListRuleNamesByTarge
27
27
  * import { CloudWatchEventsClient, ListRuleNamesByTargetCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, ListRuleNamesByTargetCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // ListRuleNamesByTargetRequest
31
+ * TargetArn: "STRING_VALUE", // required
32
+ * EventBusName: "STRING_VALUE",
33
+ * NextToken: "STRING_VALUE",
34
+ * Limit: Number("int"),
35
+ * };
30
36
  * const command = new ListRuleNamesByTargetCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -30,6 +30,12 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
30
30
  * import { CloudWatchEventsClient, ListRulesCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
31
31
  * // const { CloudWatchEventsClient, ListRulesCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
32
32
  * const client = new CloudWatchEventsClient(config);
33
+ * const input = { // ListRulesRequest
34
+ * NamePrefix: "STRING_VALUE",
35
+ * EventBusName: "STRING_VALUE",
36
+ * NextToken: "STRING_VALUE",
37
+ * Limit: Number("int"),
38
+ * };
33
39
  * const command = new ListRulesCommand(input);
34
40
  * const response = await client.send(command);
35
41
  * ```
@@ -27,6 +27,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
27
27
  * import { CloudWatchEventsClient, ListTagsForResourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // ListTagsForResourceRequest
31
+ * ResourceARN: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new ListTagsForResourceCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,12 @@ export interface ListTargetsByRuleCommandOutput extends ListTargetsByRuleRespons
26
26
  * import { CloudWatchEventsClient, ListTargetsByRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, ListTargetsByRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // ListTargetsByRuleRequest
30
+ * Rule: "STRING_VALUE", // required
31
+ * EventBusName: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * Limit: Number("int"),
34
+ * };
29
35
  * const command = new ListTargetsByRuleCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,21 @@ export interface PutEventsCommandOutput extends PutEventsResponse, __MetadataBea
26
26
  * import { CloudWatchEventsClient, PutEventsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, PutEventsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // PutEventsRequest
30
+ * Entries: [ // PutEventsRequestEntryList // required
31
+ * { // PutEventsRequestEntry
32
+ * Time: new Date("TIMESTAMP"),
33
+ * Source: "STRING_VALUE",
34
+ * Resources: [ // EventResourceList
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * DetailType: "STRING_VALUE",
38
+ * Detail: "STRING_VALUE",
39
+ * EventBusName: "STRING_VALUE",
40
+ * TraceHeader: "STRING_VALUE",
41
+ * },
42
+ * ],
43
+ * };
29
44
  * const command = new PutEventsCommand(input);
30
45
  * const response = await client.send(command);
31
46
  * ```
@@ -27,6 +27,19 @@ export interface PutPartnerEventsCommandOutput extends PutPartnerEventsResponse,
27
27
  * import { CloudWatchEventsClient, PutPartnerEventsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, PutPartnerEventsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // PutPartnerEventsRequest
31
+ * Entries: [ // PutPartnerEventsRequestEntryList // required
32
+ * { // PutPartnerEventsRequestEntry
33
+ * Time: new Date("TIMESTAMP"),
34
+ * Source: "STRING_VALUE",
35
+ * Resources: [ // EventResourceList
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * DetailType: "STRING_VALUE",
39
+ * Detail: "STRING_VALUE",
40
+ * },
41
+ * ],
42
+ * };
30
43
  * const command = new PutPartnerEventsCommand(input);
31
44
  * const response = await client.send(command);
32
45
  * ```
@@ -45,6 +45,18 @@ export interface PutPermissionCommandOutput extends __MetadataBearer {
45
45
  * import { CloudWatchEventsClient, PutPermissionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
46
46
  * // const { CloudWatchEventsClient, PutPermissionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
47
47
  * const client = new CloudWatchEventsClient(config);
48
+ * const input = { // PutPermissionRequest
49
+ * EventBusName: "STRING_VALUE",
50
+ * Action: "STRING_VALUE",
51
+ * Principal: "STRING_VALUE",
52
+ * StatementId: "STRING_VALUE",
53
+ * Condition: { // Condition
54
+ * Type: "STRING_VALUE", // required
55
+ * Key: "STRING_VALUE", // required
56
+ * Value: "STRING_VALUE", // required
57
+ * },
58
+ * Policy: "STRING_VALUE",
59
+ * };
48
60
  * const command = new PutPermissionCommand(input);
49
61
  * const response = await client.send(command);
50
62
  * ```
@@ -72,6 +72,21 @@ export interface PutRuleCommandOutput extends PutRuleResponse, __MetadataBearer
72
72
  * import { CloudWatchEventsClient, PutRuleCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
73
73
  * // const { CloudWatchEventsClient, PutRuleCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
74
74
  * const client = new CloudWatchEventsClient(config);
75
+ * const input = { // PutRuleRequest
76
+ * Name: "STRING_VALUE", // required
77
+ * ScheduleExpression: "STRING_VALUE",
78
+ * EventPattern: "STRING_VALUE",
79
+ * State: "STRING_VALUE",
80
+ * Description: "STRING_VALUE",
81
+ * RoleArn: "STRING_VALUE",
82
+ * Tags: [ // TagList
83
+ * { // Tag
84
+ * Key: "STRING_VALUE", // required
85
+ * Value: "STRING_VALUE", // required
86
+ * },
87
+ * ],
88
+ * EventBusName: "STRING_VALUE",
89
+ * };
75
90
  * const command = new PutRuleCommand(input);
76
91
  * const response = await client.send(command);
77
92
  * ```
@@ -191,6 +191,132 @@ export interface PutTargetsCommandOutput extends PutTargetsResponse, __MetadataB
191
191
  * import { CloudWatchEventsClient, PutTargetsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
192
192
  * // const { CloudWatchEventsClient, PutTargetsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
193
193
  * const client = new CloudWatchEventsClient(config);
194
+ * const input = { // PutTargetsRequest
195
+ * Rule: "STRING_VALUE", // required
196
+ * EventBusName: "STRING_VALUE",
197
+ * Targets: [ // TargetList // required
198
+ * { // Target
199
+ * Id: "STRING_VALUE", // required
200
+ * Arn: "STRING_VALUE", // required
201
+ * RoleArn: "STRING_VALUE",
202
+ * Input: "STRING_VALUE",
203
+ * InputPath: "STRING_VALUE",
204
+ * InputTransformer: { // InputTransformer
205
+ * InputPathsMap: { // TransformerPaths
206
+ * "<keys>": "STRING_VALUE",
207
+ * },
208
+ * InputTemplate: "STRING_VALUE", // required
209
+ * },
210
+ * KinesisParameters: { // KinesisParameters
211
+ * PartitionKeyPath: "STRING_VALUE", // required
212
+ * },
213
+ * RunCommandParameters: { // RunCommandParameters
214
+ * RunCommandTargets: [ // RunCommandTargets // required
215
+ * { // RunCommandTarget
216
+ * Key: "STRING_VALUE", // required
217
+ * Values: [ // RunCommandTargetValues // required
218
+ * "STRING_VALUE",
219
+ * ],
220
+ * },
221
+ * ],
222
+ * },
223
+ * EcsParameters: { // EcsParameters
224
+ * TaskDefinitionArn: "STRING_VALUE", // required
225
+ * TaskCount: Number("int"),
226
+ * LaunchType: "STRING_VALUE",
227
+ * NetworkConfiguration: { // NetworkConfiguration
228
+ * awsvpcConfiguration: { // AwsVpcConfiguration
229
+ * Subnets: [ // StringList // required
230
+ * "STRING_VALUE",
231
+ * ],
232
+ * SecurityGroups: [
233
+ * "STRING_VALUE",
234
+ * ],
235
+ * AssignPublicIp: "STRING_VALUE",
236
+ * },
237
+ * },
238
+ * PlatformVersion: "STRING_VALUE",
239
+ * Group: "STRING_VALUE",
240
+ * CapacityProviderStrategy: [ // CapacityProviderStrategy
241
+ * { // CapacityProviderStrategyItem
242
+ * capacityProvider: "STRING_VALUE", // required
243
+ * weight: Number("int"),
244
+ * base: Number("int"),
245
+ * },
246
+ * ],
247
+ * EnableECSManagedTags: true || false,
248
+ * EnableExecuteCommand: true || false,
249
+ * PlacementConstraints: [ // PlacementConstraints
250
+ * { // PlacementConstraint
251
+ * type: "STRING_VALUE",
252
+ * expression: "STRING_VALUE",
253
+ * },
254
+ * ],
255
+ * PlacementStrategy: [ // PlacementStrategies
256
+ * { // PlacementStrategy
257
+ * type: "STRING_VALUE",
258
+ * field: "STRING_VALUE",
259
+ * },
260
+ * ],
261
+ * PropagateTags: "STRING_VALUE",
262
+ * ReferenceId: "STRING_VALUE",
263
+ * Tags: [ // TagList
264
+ * { // Tag
265
+ * Key: "STRING_VALUE", // required
266
+ * Value: "STRING_VALUE", // required
267
+ * },
268
+ * ],
269
+ * },
270
+ * BatchParameters: { // BatchParameters
271
+ * JobDefinition: "STRING_VALUE", // required
272
+ * JobName: "STRING_VALUE", // required
273
+ * ArrayProperties: { // BatchArrayProperties
274
+ * Size: Number("int"),
275
+ * },
276
+ * RetryStrategy: { // BatchRetryStrategy
277
+ * Attempts: Number("int"),
278
+ * },
279
+ * },
280
+ * SqsParameters: { // SqsParameters
281
+ * MessageGroupId: "STRING_VALUE",
282
+ * },
283
+ * HttpParameters: { // HttpParameters
284
+ * PathParameterValues: [ // PathParameterList
285
+ * "STRING_VALUE",
286
+ * ],
287
+ * HeaderParameters: { // HeaderParametersMap
288
+ * "<keys>": "STRING_VALUE",
289
+ * },
290
+ * QueryStringParameters: { // QueryStringParametersMap
291
+ * "<keys>": "STRING_VALUE",
292
+ * },
293
+ * },
294
+ * RedshiftDataParameters: { // RedshiftDataParameters
295
+ * SecretManagerArn: "STRING_VALUE",
296
+ * Database: "STRING_VALUE", // required
297
+ * DbUser: "STRING_VALUE",
298
+ * Sql: "STRING_VALUE", // required
299
+ * StatementName: "STRING_VALUE",
300
+ * WithEvent: true || false,
301
+ * },
302
+ * SageMakerPipelineParameters: { // SageMakerPipelineParameters
303
+ * PipelineParameterList: [ // SageMakerPipelineParameterList
304
+ * { // SageMakerPipelineParameter
305
+ * Name: "STRING_VALUE", // required
306
+ * Value: "STRING_VALUE", // required
307
+ * },
308
+ * ],
309
+ * },
310
+ * DeadLetterConfig: { // DeadLetterConfig
311
+ * Arn: "STRING_VALUE",
312
+ * },
313
+ * RetryPolicy: { // RetryPolicy
314
+ * MaximumRetryAttempts: Number("int"),
315
+ * MaximumEventAgeInSeconds: Number("int"),
316
+ * },
317
+ * },
318
+ * ],
319
+ * };
194
320
  * const command = new PutTargetsCommand(input);
195
321
  * const response = await client.send(command);
196
322
  * ```
@@ -29,6 +29,11 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
29
29
  * import { CloudWatchEventsClient, RemovePermissionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
30
30
  * // const { CloudWatchEventsClient, RemovePermissionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
31
31
  * const client = new CloudWatchEventsClient(config);
32
+ * const input = { // RemovePermissionRequest
33
+ * StatementId: "STRING_VALUE",
34
+ * RemoveAllPermissions: true || false,
35
+ * EventBusName: "STRING_VALUE",
36
+ * };
32
37
  * const command = new RemovePermissionCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -34,6 +34,14 @@ export interface RemoveTargetsCommandOutput extends RemoveTargetsResponse, __Met
34
34
  * import { CloudWatchEventsClient, RemoveTargetsCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
35
35
  * // const { CloudWatchEventsClient, RemoveTargetsCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
36
36
  * const client = new CloudWatchEventsClient(config);
37
+ * const input = { // RemoveTargetsRequest
38
+ * Rule: "STRING_VALUE", // required
39
+ * EventBusName: "STRING_VALUE",
40
+ * Ids: [ // TargetIdList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * Force: true || false,
44
+ * };
37
45
  * const command = new RemoveTargetsCommand(input);
38
46
  * const response = await client.send(command);
39
47
  * ```
@@ -34,6 +34,19 @@ export interface StartReplayCommandOutput extends StartReplayResponse, __Metadat
34
34
  * import { CloudWatchEventsClient, StartReplayCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
35
35
  * // const { CloudWatchEventsClient, StartReplayCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
36
36
  * const client = new CloudWatchEventsClient(config);
37
+ * const input = { // StartReplayRequest
38
+ * ReplayName: "STRING_VALUE", // required
39
+ * Description: "STRING_VALUE",
40
+ * EventSourceArn: "STRING_VALUE", // required
41
+ * EventStartTime: new Date("TIMESTAMP"), // required
42
+ * EventEndTime: new Date("TIMESTAMP"), // required
43
+ * Destination: { // ReplayDestination
44
+ * Arn: "STRING_VALUE", // required
45
+ * FilterArns: [ // ReplayDestinationFilters
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * };
37
50
  * const command = new StartReplayCommand(input);
38
51
  * const response = await client.send(command);
39
52
  * ```
@@ -36,6 +36,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
36
36
  * import { CloudWatchEventsClient, TagResourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
37
37
  * // const { CloudWatchEventsClient, TagResourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
38
38
  * const client = new CloudWatchEventsClient(config);
39
+ * const input = { // TagResourceRequest
40
+ * ResourceARN: "STRING_VALUE", // required
41
+ * Tags: [ // TagList // required
42
+ * { // Tag
43
+ * Key: "STRING_VALUE", // required
44
+ * Value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * };
39
48
  * const command = new TagResourceCommand(input);
40
49
  * const response = await client.send(command);
41
50
  * ```
@@ -30,6 +30,10 @@ export interface TestEventPatternCommandOutput extends TestEventPatternResponse,
30
30
  * import { CloudWatchEventsClient, TestEventPatternCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
31
31
  * // const { CloudWatchEventsClient, TestEventPatternCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
32
32
  * const client = new CloudWatchEventsClient(config);
33
+ * const input = { // TestEventPatternRequest
34
+ * EventPattern: "STRING_VALUE", // required
35
+ * Event: "STRING_VALUE", // required
36
+ * };
33
37
  * const command = new TestEventPatternCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
27
27
  * import { CloudWatchEventsClient, UntagResourceCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
28
28
  * // const { CloudWatchEventsClient, UntagResourceCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
29
29
  * const client = new CloudWatchEventsClient(config);
30
+ * const input = { // UntagResourceRequest
31
+ * ResourceARN: "STRING_VALUE", // required
32
+ * TagKeys: [ // TagKeyList // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
30
36
  * const command = new UntagResourceCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,14 @@ export interface UpdateApiDestinationCommandOutput extends UpdateApiDestinationR
26
26
  * import { CloudWatchEventsClient, UpdateApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, UpdateApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // UpdateApiDestinationRequest
30
+ * Name: "STRING_VALUE", // required
31
+ * Description: "STRING_VALUE",
32
+ * ConnectionArn: "STRING_VALUE",
33
+ * InvocationEndpoint: "STRING_VALUE",
34
+ * HttpMethod: "STRING_VALUE",
35
+ * InvocationRateLimitPerSecond: Number("int"),
36
+ * };
29
37
  * const command = new UpdateApiDestinationCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,12 @@ export interface UpdateArchiveCommandOutput extends UpdateArchiveResponse, __Met
26
26
  * import { CloudWatchEventsClient, UpdateArchiveCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, UpdateArchiveCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // UpdateArchiveRequest
30
+ * ArchiveName: "STRING_VALUE", // required
31
+ * Description: "STRING_VALUE",
32
+ * EventPattern: "STRING_VALUE",
33
+ * RetentionDays: Number("int"),
34
+ * };
29
35
  * const command = new UpdateArchiveCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,75 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
26
26
  * import { CloudWatchEventsClient, UpdateConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import
27
27
  * // const { CloudWatchEventsClient, UpdateConnectionCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import
28
28
  * const client = new CloudWatchEventsClient(config);
29
+ * const input = { // UpdateConnectionRequest
30
+ * Name: "STRING_VALUE", // required
31
+ * Description: "STRING_VALUE",
32
+ * AuthorizationType: "STRING_VALUE",
33
+ * AuthParameters: { // UpdateConnectionAuthRequestParameters
34
+ * BasicAuthParameters: { // UpdateConnectionBasicAuthRequestParameters
35
+ * Username: "STRING_VALUE",
36
+ * Password: "STRING_VALUE",
37
+ * },
38
+ * OAuthParameters: { // UpdateConnectionOAuthRequestParameters
39
+ * ClientParameters: { // UpdateConnectionOAuthClientRequestParameters
40
+ * ClientID: "STRING_VALUE",
41
+ * ClientSecret: "STRING_VALUE",
42
+ * },
43
+ * AuthorizationEndpoint: "STRING_VALUE",
44
+ * HttpMethod: "STRING_VALUE",
45
+ * OAuthHttpParameters: { // ConnectionHttpParameters
46
+ * HeaderParameters: [ // ConnectionHeaderParametersList
47
+ * { // ConnectionHeaderParameter
48
+ * Key: "STRING_VALUE",
49
+ * Value: "STRING_VALUE",
50
+ * IsValueSecret: true || false,
51
+ * },
52
+ * ],
53
+ * QueryStringParameters: [ // ConnectionQueryStringParametersList
54
+ * { // ConnectionQueryStringParameter
55
+ * Key: "STRING_VALUE",
56
+ * Value: "STRING_VALUE",
57
+ * IsValueSecret: true || false,
58
+ * },
59
+ * ],
60
+ * BodyParameters: [ // ConnectionBodyParametersList
61
+ * { // ConnectionBodyParameter
62
+ * Key: "STRING_VALUE",
63
+ * Value: "STRING_VALUE",
64
+ * IsValueSecret: true || false,
65
+ * },
66
+ * ],
67
+ * },
68
+ * },
69
+ * ApiKeyAuthParameters: { // UpdateConnectionApiKeyAuthRequestParameters
70
+ * ApiKeyName: "STRING_VALUE",
71
+ * ApiKeyValue: "STRING_VALUE",
72
+ * },
73
+ * InvocationHttpParameters: {
74
+ * HeaderParameters: [
75
+ * {
76
+ * Key: "STRING_VALUE",
77
+ * Value: "STRING_VALUE",
78
+ * IsValueSecret: true || false,
79
+ * },
80
+ * ],
81
+ * QueryStringParameters: [
82
+ * {
83
+ * Key: "STRING_VALUE",
84
+ * Value: "STRING_VALUE",
85
+ * IsValueSecret: true || false,
86
+ * },
87
+ * ],
88
+ * BodyParameters: [
89
+ * {
90
+ * Key: "STRING_VALUE",
91
+ * Value: "STRING_VALUE",
92
+ * IsValueSecret: true || false,
93
+ * },
94
+ * ],
95
+ * },
96
+ * },
97
+ * };
29
98
  * const command = new UpdateConnectionCommand(input);
30
99
  * const response = await client.send(command);
31
100
  * ```
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.299.0",
4
+ "version": "3.301.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },