@aws-sdk/client-cloudwatch-events 3.325.0 → 3.327.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 +4 -0
  2. package/dist-types/commands/CancelReplayCommand.d.ts +8 -0
  3. package/dist-types/commands/CreateApiDestinationCommand.d.ts +9 -0
  4. package/dist-types/commands/CreateArchiveCommand.d.ts +9 -0
  5. package/dist-types/commands/CreateConnectionCommand.d.ts +9 -0
  6. package/dist-types/commands/CreateEventBusCommand.d.ts +6 -0
  7. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +6 -0
  8. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +4 -0
  9. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +10 -0
  10. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteArchiveCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteConnectionCommand.d.ts +10 -0
  13. package/dist-types/commands/DeleteEventBusCommand.d.ts +4 -0
  14. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
  16. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +15 -0
  17. package/dist-types/commands/DescribeArchiveCommand.d.ts +16 -0
  18. package/dist-types/commands/DescribeConnectionCommand.d.ts +76 -0
  19. package/dist-types/commands/DescribeEventBusCommand.d.ts +8 -0
  20. package/dist-types/commands/DescribeEventSourceCommand.d.ts +11 -0
  21. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +7 -0
  22. package/dist-types/commands/DescribeReplayCommand.d.ts +22 -0
  23. package/dist-types/commands/DescribeRuleCommand.d.ts +15 -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 +19 -0
  27. package/dist-types/commands/ListArchivesCommand.d.ts +18 -0
  28. package/dist-types/commands/ListConnectionsCommand.d.ts +18 -0
  29. package/dist-types/commands/ListEventBusesCommand.d.ts +13 -0
  30. package/dist-types/commands/ListEventSourcesCommand.d.ts +16 -0
  31. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +14 -0
  32. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +12 -0
  33. package/dist-types/commands/ListReplaysCommand.d.ts +19 -0
  34. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +9 -0
  35. package/dist-types/commands/ListRulesCommand.d.ts +19 -0
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  37. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +128 -0
  38. package/dist-types/commands/PutEventsCommand.d.ts +13 -0
  39. package/dist-types/commands/PutPartnerEventsCommand.d.ts +13 -0
  40. package/dist-types/commands/PutPermissionCommand.d.ts +4 -0
  41. package/dist-types/commands/PutRuleCommand.d.ts +6 -0
  42. package/dist-types/commands/PutTargetsCommand.d.ts +13 -0
  43. package/dist-types/commands/RemovePermissionCommand.d.ts +4 -0
  44. package/dist-types/commands/RemoveTargetsCommand.d.ts +13 -0
  45. package/dist-types/commands/StartReplayCommand.d.ts +9 -0
  46. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  47. package/dist-types/commands/TestEventPatternCommand.d.ts +6 -0
  48. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  49. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +9 -0
  50. package/dist-types/commands/UpdateArchiveCommand.d.ts +9 -0
  51. package/dist-types/commands/UpdateConnectionCommand.d.ts +10 -0
  52. package/package.json +7 -7
@@ -47,6 +47,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
47
47
  * };
48
48
  * const command = new TagResourceCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -72,6 +74,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
72
74
  * @throws {@link ResourceNotFoundException} (client fault)
73
75
  * <p>An entity that you specified does not exist.</p>
74
76
  *
77
+ * @throws {@link CloudWatchEventsServiceException}
78
+ * <p>Base exception class for all service exceptions from CloudWatchEvents service.</p>
75
79
  *
76
80
  */
77
81
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudWatchEventsClientResolvedConfig> {
@@ -36,6 +36,10 @@ export interface TestEventPatternCommandOutput extends TestEventPatternResponse,
36
36
  * };
37
37
  * const command = new TestEventPatternCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // TestEventPatternResponse
40
+ * // Result: true || false,
41
+ * // };
42
+ *
39
43
  * ```
40
44
  *
41
45
  * @param TestEventPatternCommandInput - {@link TestEventPatternCommandInput}
@@ -50,6 +54,8 @@ export interface TestEventPatternCommandOutput extends TestEventPatternResponse,
50
54
  * @throws {@link InvalidEventPatternException} (client fault)
51
55
  * <p>The event pattern is not valid.</p>
52
56
  *
57
+ * @throws {@link CloudWatchEventsServiceException}
58
+ * <p>Base exception class for all service exceptions from CloudWatchEvents service.</p>
53
59
  *
54
60
  */
55
61
  export declare class TestEventPatternCommand extends $Command<TestEventPatternCommandInput, TestEventPatternCommandOutput, CloudWatchEventsClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
35
35
  * };
36
36
  * const command = new UntagResourceCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -60,6 +62,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
60
62
  * @throws {@link ResourceNotFoundException} (client fault)
61
63
  * <p>An entity that you specified does not exist.</p>
62
64
  *
65
+ * @throws {@link CloudWatchEventsServiceException}
66
+ * <p>Base exception class for all service exceptions from CloudWatchEvents service.</p>
63
67
  *
64
68
  */
65
69
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CloudWatchEventsClientResolvedConfig> {
@@ -36,6 +36,13 @@ export interface UpdateApiDestinationCommandOutput extends UpdateApiDestinationR
36
36
  * };
37
37
  * const command = new UpdateApiDestinationCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // UpdateApiDestinationResponse
40
+ * // ApiDestinationArn: "STRING_VALUE",
41
+ * // ApiDestinationState: "STRING_VALUE",
42
+ * // CreationTime: new Date("TIMESTAMP"),
43
+ * // LastModifiedTime: new Date("TIMESTAMP"),
44
+ * // };
45
+ *
39
46
  * ```
40
47
  *
41
48
  * @param UpdateApiDestinationCommandInput - {@link UpdateApiDestinationCommandInput}
@@ -57,6 +64,8 @@ export interface UpdateApiDestinationCommandOutput extends UpdateApiDestinationR
57
64
  * @throws {@link ResourceNotFoundException} (client fault)
58
65
  * <p>An entity that you specified does not exist.</p>
59
66
  *
67
+ * @throws {@link CloudWatchEventsServiceException}
68
+ * <p>Base exception class for all service exceptions from CloudWatchEvents service.</p>
60
69
  *
61
70
  */
62
71
  export declare class UpdateApiDestinationCommand extends $Command<UpdateApiDestinationCommandInput, UpdateApiDestinationCommandOutput, CloudWatchEventsClientResolvedConfig> {
@@ -34,6 +34,13 @@ export interface UpdateArchiveCommandOutput extends UpdateArchiveResponse, __Met
34
34
  * };
35
35
  * const command = new UpdateArchiveCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // UpdateArchiveResponse
38
+ * // ArchiveArn: "STRING_VALUE",
39
+ * // State: "STRING_VALUE",
40
+ * // StateReason: "STRING_VALUE",
41
+ * // CreationTime: new Date("TIMESTAMP"),
42
+ * // };
43
+ *
37
44
  * ```
38
45
  *
39
46
  * @param UpdateArchiveCommandInput - {@link UpdateArchiveCommandInput}
@@ -58,6 +65,8 @@ export interface UpdateArchiveCommandOutput extends UpdateArchiveResponse, __Met
58
65
  * @throws {@link ResourceNotFoundException} (client fault)
59
66
  * <p>An entity that you specified does not exist.</p>
60
67
  *
68
+ * @throws {@link CloudWatchEventsServiceException}
69
+ * <p>Base exception class for all service exceptions from CloudWatchEvents service.</p>
61
70
  *
62
71
  */
63
72
  export declare class UpdateArchiveCommand extends $Command<UpdateArchiveCommandInput, UpdateArchiveCommandOutput, CloudWatchEventsClientResolvedConfig> {
@@ -97,6 +97,14 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
97
97
  * };
98
98
  * const command = new UpdateConnectionCommand(input);
99
99
  * const response = await client.send(command);
100
+ * // { // UpdateConnectionResponse
101
+ * // ConnectionArn: "STRING_VALUE",
102
+ * // ConnectionState: "STRING_VALUE",
103
+ * // CreationTime: new Date("TIMESTAMP"),
104
+ * // LastModifiedTime: new Date("TIMESTAMP"),
105
+ * // LastAuthorizedTime: new Date("TIMESTAMP"),
106
+ * // };
107
+ *
100
108
  * ```
101
109
  *
102
110
  * @param UpdateConnectionCommandInput - {@link UpdateConnectionCommandInput}
@@ -118,6 +126,8 @@ export interface UpdateConnectionCommandOutput extends UpdateConnectionResponse,
118
126
  * @throws {@link ResourceNotFoundException} (client fault)
119
127
  * <p>An entity that you specified does not exist.</p>
120
128
  *
129
+ * @throws {@link CloudWatchEventsServiceException}
130
+ * <p>Base exception class for all service exceptions from CloudWatchEvents service.</p>
121
131
  *
122
132
  */
123
133
  export declare class UpdateConnectionCommand extends $Command<UpdateConnectionCommandInput, UpdateConnectionCommandOutput, CloudWatchEventsClientResolvedConfig> {
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.325.0",
4
+ "version": "3.327.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.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",