@aws-sdk/client-eventbridgev2 3.1140.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 (169) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +362 -0
  3. package/dist-cjs/index.js +1982 -0
  4. package/dist-es/EventBridgeV2.js +73 -0
  5. package/dist-es/EventBridgeV2Client.js +49 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +12 -0
  9. package/dist-es/commands/CreateEventBusCommand.js +4 -0
  10. package/dist-es/commands/CreateEventSourceCommand.js +4 -0
  11. package/dist-es/commands/CreateSubscriberCommand.js +4 -0
  12. package/dist-es/commands/DeleteEventBusCommand.js +4 -0
  13. package/dist-es/commands/DeleteEventSourceCommand.js +4 -0
  14. package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
  15. package/dist-es/commands/DeleteSubscriberCommand.js +4 -0
  16. package/dist-es/commands/DescribeEventBusCommand.js +4 -0
  17. package/dist-es/commands/DescribeEventSourceCommand.js +4 -0
  18. package/dist-es/commands/DescribeSubscriberCommand.js +4 -0
  19. package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  20. package/dist-es/commands/ListEventBusesCommand.js +4 -0
  21. package/dist-es/commands/ListEventSourcesCommand.js +4 -0
  22. package/dist-es/commands/ListResourcePoliciesCommand.js +4 -0
  23. package/dist-es/commands/ListSubscribersCommand.js +4 -0
  24. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  25. package/dist-es/commands/PutEventsCommand.js +4 -0
  26. package/dist-es/commands/PutRawEventsCommand.js +4 -0
  27. package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  28. package/dist-es/commands/RevokeResourceCommand.js +4 -0
  29. package/dist-es/commands/TagResourceCommand.js +4 -0
  30. package/dist-es/commands/UntagResourceCommand.js +4 -0
  31. package/dist-es/commands/UpdateEventBusCommand.js +4 -0
  32. package/dist-es/commands/UpdateEventSourceCommand.js +4 -0
  33. package/dist-es/commands/UpdateSubscriberCommand.js +4 -0
  34. package/dist-es/commands/index.js +25 -0
  35. package/dist-es/endpoint/EndpointParameters.js +15 -0
  36. package/dist-es/endpoint/bdd.js +85 -0
  37. package/dist-es/endpoint/endpointResolver.js +14 -0
  38. package/dist-es/extensionConfiguration.js +1 -0
  39. package/dist-es/index.js +11 -0
  40. package/dist-es/models/EventBridgeV2ServiceException.js +8 -0
  41. package/dist-es/models/enums.js +78 -0
  42. package/dist-es/models/errors.js +217 -0
  43. package/dist-es/models/models_0.js +1 -0
  44. package/dist-es/pagination/Interfaces.js +1 -0
  45. package/dist-es/pagination/ListEventBusesPaginator.js +4 -0
  46. package/dist-es/pagination/ListEventSourcesPaginator.js +4 -0
  47. package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
  48. package/dist-es/pagination/ListSubscribersPaginator.js +4 -0
  49. package/dist-es/pagination/index.js +5 -0
  50. package/dist-es/runtimeConfig.browser.js +31 -0
  51. package/dist-es/runtimeConfig.js +45 -0
  52. package/dist-es/runtimeConfig.native.js +9 -0
  53. package/dist-es/runtimeConfig.shared.js +41 -0
  54. package/dist-es/runtimeExtensions.js +9 -0
  55. package/dist-es/schemas/schemas_0.js +939 -0
  56. package/dist-es/waiters/index.js +2 -0
  57. package/dist-es/waiters/waitForEventBusActive.js +58 -0
  58. package/dist-es/waiters/waitForEventBusDeleted.js +34 -0
  59. package/dist-types/EventBridgeV2.d.ts +242 -0
  60. package/dist-types/EventBridgeV2Client.d.ts +222 -0
  61. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  62. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  63. package/dist-types/commandBuilder.d.ts +26 -0
  64. package/dist-types/commands/CreateEventBusCommand.d.ts +128 -0
  65. package/dist-types/commands/CreateEventSourceCommand.d.ts +135 -0
  66. package/dist-types/commands/CreateSubscriberCommand.d.ts +245 -0
  67. package/dist-types/commands/DeleteEventBusCommand.d.ts +100 -0
  68. package/dist-types/commands/DeleteEventSourceCommand.d.ts +94 -0
  69. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +106 -0
  70. package/dist-types/commands/DeleteSubscriberCommand.d.ts +90 -0
  71. package/dist-types/commands/DescribeEventBusCommand.d.ts +102 -0
  72. package/dist-types/commands/DescribeEventSourceCommand.d.ts +113 -0
  73. package/dist-types/commands/DescribeSubscriberCommand.d.ts +215 -0
  74. package/dist-types/commands/GetResourcePolicyCommand.d.ts +95 -0
  75. package/dist-types/commands/ListEventBusesCommand.d.ts +104 -0
  76. package/dist-types/commands/ListEventSourcesCommand.d.ts +107 -0
  77. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +98 -0
  78. package/dist-types/commands/ListSubscribersCommand.d.ts +108 -0
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  80. package/dist-types/commands/PutEventsCommand.d.ts +120 -0
  81. package/dist-types/commands/PutRawEventsCommand.d.ts +127 -0
  82. package/dist-types/commands/PutResourcePolicyCommand.d.ts +132 -0
  83. package/dist-types/commands/RevokeResourceCommand.d.ts +99 -0
  84. package/dist-types/commands/TagResourceCommand.d.ts +100 -0
  85. package/dist-types/commands/UntagResourceCommand.d.ts +97 -0
  86. package/dist-types/commands/UpdateEventBusCommand.d.ts +117 -0
  87. package/dist-types/commands/UpdateEventSourceCommand.d.ts +118 -0
  88. package/dist-types/commands/UpdateSubscriberCommand.d.ts +224 -0
  89. package/dist-types/commands/index.d.ts +25 -0
  90. package/dist-types/endpoint/EndpointParameters.d.ts +63 -0
  91. package/dist-types/endpoint/bdd.d.ts +2 -0
  92. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  93. package/dist-types/extensionConfiguration.d.ts +9 -0
  94. package/dist-types/index.d.ts +25 -0
  95. package/dist-types/models/EventBridgeV2ServiceException.d.ts +14 -0
  96. package/dist-types/models/enums.d.ts +250 -0
  97. package/dist-types/models/errors.d.ts +227 -0
  98. package/dist-types/models/models_0.d.ts +2532 -0
  99. package/dist-types/pagination/Interfaces.d.ts +8 -0
  100. package/dist-types/pagination/ListEventBusesPaginator.d.ts +7 -0
  101. package/dist-types/pagination/ListEventSourcesPaginator.d.ts +7 -0
  102. package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
  103. package/dist-types/pagination/ListSubscribersPaginator.d.ts +7 -0
  104. package/dist-types/pagination/index.d.ts +5 -0
  105. package/dist-types/runtimeConfig.browser.d.ts +59 -0
  106. package/dist-types/runtimeConfig.d.ts +59 -0
  107. package/dist-types/runtimeConfig.native.d.ts +58 -0
  108. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  109. package/dist-types/runtimeExtensions.d.ts +17 -0
  110. package/dist-types/schemas/schemas_0.d.ts +140 -0
  111. package/dist-types/ts3.4/EventBridgeV2.d.ts +484 -0
  112. package/dist-types/ts3.4/EventBridgeV2Client.d.ts +253 -0
  113. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  114. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  115. package/dist-types/ts3.4/commandBuilder.d.ts +42 -0
  116. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/CreateEventSourceCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +38 -0
  119. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +38 -0
  120. package/dist-types/ts3.4/commands/DeleteEventSourceCommand.d.ts +39 -0
  121. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +39 -0
  122. package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +38 -0
  123. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +39 -0
  125. package/dist-types/ts3.4/commands/DescribeSubscriberCommand.d.ts +39 -0
  126. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  127. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +38 -0
  129. package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/ListSubscribersCommand.d.ts +38 -0
  131. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  132. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +38 -0
  133. package/dist-types/ts3.4/commands/PutRawEventsCommand.d.ts +38 -0
  134. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  135. package/dist-types/ts3.4/commands/RevokeResourceCommand.d.ts +38 -0
  136. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  138. package/dist-types/ts3.4/commands/UpdateEventBusCommand.d.ts +38 -0
  139. package/dist-types/ts3.4/commands/UpdateEventSourceCommand.d.ts +39 -0
  140. package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +38 -0
  141. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  142. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +64 -0
  143. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  144. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  145. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  146. package/dist-types/ts3.4/index.d.ts +14 -0
  147. package/dist-types/ts3.4/models/EventBridgeV2ServiceException.d.ts +9 -0
  148. package/dist-types/ts3.4/models/enums.d.ts +95 -0
  149. package/dist-types/ts3.4/models/errors.d.ts +98 -0
  150. package/dist-types/ts3.4/models/models_0.d.ts +552 -0
  151. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  152. package/dist-types/ts3.4/pagination/ListEventBusesPaginator.d.ts +11 -0
  153. package/dist-types/ts3.4/pagination/ListEventSourcesPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListSubscribersPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  157. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  158. package/dist-types/ts3.4/runtimeConfig.d.ts +103 -0
  159. package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
  160. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  161. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  162. package/dist-types/ts3.4/schemas/schemas_0.d.ts +140 -0
  163. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  164. package/dist-types/ts3.4/waiters/waitForEventBusActive.d.ts +15 -0
  165. package/dist-types/ts3.4/waiters/waitForEventBusDeleted.d.ts +16 -0
  166. package/dist-types/waiters/index.d.ts +2 -0
  167. package/dist-types/waiters/waitForEventBusActive.d.ts +15 -0
  168. package/dist-types/waiters/waitForEventBusDeleted.d.ts +16 -0
  169. package/package.json +69 -0
@@ -0,0 +1,100 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link TagResourceCommand}.
11
+ */
12
+ export interface TagResourceCommandInput extends TagResourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link TagResourceCommand}.
18
+ */
19
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
20
+ }
21
+ declare const TagResourceCommand_base: {
22
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Adds or replaces tags on an event bus, subscriber, or event source.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EventBridgeV2Client, TagResourceCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
32
+ * // const { EventBridgeV2Client, TagResourceCommand } = require("@aws-sdk/client-eventbridgev2"); // CommonJS import
33
+ * // import type { EventBridgeV2ClientConfig } from "@aws-sdk/client-eventbridgev2";
34
+ * const config = {}; // type is EventBridgeV2ClientConfig
35
+ * const client = new EventBridgeV2Client(config);
36
+ * const input = { // TagResourceRequest
37
+ * ResourceArn: "STRING_VALUE", // required
38
+ * Tags: { // TagMap // required
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * };
42
+ * const command = new TagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
49
+ * @returns {@link TagResourceCommandOutput}
50
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
53
+ *
54
+ * @throws {@link ConcurrentModificationException} (client fault)
55
+ * Another change to the resource is already in progress. Retry the request.
56
+ *
57
+ * @throws {@link InvalidStateException} (client fault)
58
+ * The resource is not in a state that allows the operation. For example, an
59
+ * event bus that is still being created cannot accept events.
60
+ *
61
+ * @throws {@link LimitExceededException} (client fault)
62
+ * The request would exceed a service quota for the account.
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * The resource does not exist.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * The caller does not have the permissions required to perform the operation.
69
+ * This error is also returned when the operation cannot use the AWS KMS key for
70
+ * the event bus.
71
+ *
72
+ * @throws {@link InternalException} (server fault)
73
+ * The request failed because of an internal service error. Retry the request.
74
+ *
75
+ * @throws {@link InvalidInputException} (client fault)
76
+ * A request parameter is missing or not valid.
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * The request was throttled because it exceeds a request rate limit. Retry the
80
+ * request with backoff.
81
+ *
82
+ * @throws {@link EventBridgeV2ServiceException}
83
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class TagResourceCommand extends TagResourceCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: TagResourceRequest;
93
+ output: {};
94
+ };
95
+ sdk: {
96
+ input: TagResourceCommandInput;
97
+ output: TagResourceCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UntagResourceCommand}.
11
+ */
12
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UntagResourceCommand}.
18
+ */
19
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
20
+ }
21
+ declare const UntagResourceCommand_base: {
22
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Removes tags from an event bus, subscriber, or event source.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EventBridgeV2Client, UntagResourceCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
32
+ * // const { EventBridgeV2Client, UntagResourceCommand } = require("@aws-sdk/client-eventbridgev2"); // CommonJS import
33
+ * // import type { EventBridgeV2ClientConfig } from "@aws-sdk/client-eventbridgev2";
34
+ * const config = {}; // type is EventBridgeV2ClientConfig
35
+ * const client = new EventBridgeV2Client(config);
36
+ * const input = { // UntagResourceRequest
37
+ * ResourceArn: "STRING_VALUE", // required
38
+ * TagKeys: [ // TagKeyList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new UntagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
49
+ * @returns {@link UntagResourceCommandOutput}
50
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
53
+ *
54
+ * @throws {@link ConcurrentModificationException} (client fault)
55
+ * Another change to the resource is already in progress. Retry the request.
56
+ *
57
+ * @throws {@link InvalidStateException} (client fault)
58
+ * The resource is not in a state that allows the operation. For example, an
59
+ * event bus that is still being created cannot accept events.
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * The resource does not exist.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * The caller does not have the permissions required to perform the operation.
66
+ * This error is also returned when the operation cannot use the AWS KMS key for
67
+ * the event bus.
68
+ *
69
+ * @throws {@link InternalException} (server fault)
70
+ * The request failed because of an internal service error. Retry the request.
71
+ *
72
+ * @throws {@link InvalidInputException} (client fault)
73
+ * A request parameter is missing or not valid.
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * The request was throttled because it exceeds a request rate limit. Retry the
77
+ * request with backoff.
78
+ *
79
+ * @throws {@link EventBridgeV2ServiceException}
80
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: UntagResourceRequest;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: UntagResourceCommandInput;
94
+ output: UntagResourceCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,117 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateEventBusRequest, UpdateEventBusResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateEventBusCommand}.
11
+ */
12
+ export interface UpdateEventBusCommandInput extends UpdateEventBusRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateEventBusCommand}.
18
+ */
19
+ export interface UpdateEventBusCommandOutput extends UpdateEventBusResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateEventBusCommand_base: {
22
+ new (input: UpdateEventBusCommandInput): import("@smithy/core/client").CommandImpl<UpdateEventBusCommandInput, UpdateEventBusCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateEventBusCommandInput): import("@smithy/core/client").CommandImpl<UpdateEventBusCommandInput, UpdateEventBusCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates an event bus. The update is asynchronous: the bus moves to UPDATING
28
+ * and returns to ACTIVE when the change is applied. Fields omitted from the
29
+ * request are left unchanged.
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { EventBridgeV2Client, UpdateEventBusCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
34
+ * // const { EventBridgeV2Client, UpdateEventBusCommand } = require("@aws-sdk/client-eventbridgev2"); // CommonJS import
35
+ * // import type { EventBridgeV2ClientConfig } from "@aws-sdk/client-eventbridgev2";
36
+ * const config = {}; // type is EventBridgeV2ClientConfig
37
+ * const client = new EventBridgeV2Client(config);
38
+ * const input = { // UpdateEventBusRequest
39
+ * EventBusArn: "STRING_VALUE", // required
40
+ * Description: "STRING_VALUE",
41
+ * EncryptionConfiguration: { // EncryptionConfiguration
42
+ * KmsKeyIdentifier: "STRING_VALUE",
43
+ * },
44
+ * StorageConfiguration: { // StorageConfiguration
45
+ * RetentionPeriodInDays: Number("int"),
46
+ * },
47
+ * };
48
+ * const command = new UpdateEventBusCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // UpdateEventBusResponse
51
+ * // EventBusArn: "STRING_VALUE",
52
+ * // Name: "STRING_VALUE",
53
+ * // Description: "STRING_VALUE",
54
+ * // EncryptionConfiguration: { // EncryptionConfiguration
55
+ * // KmsKeyIdentifier: "STRING_VALUE",
56
+ * // },
57
+ * // StorageConfiguration: { // StorageConfigurationOutput
58
+ * // RetentionPeriodInDays: Number("int"),
59
+ * // RetentionWindowStartTime: new Date("TIMESTAMP"),
60
+ * // },
61
+ * // State: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "ACTIVE" || "DELETE_FAILED",
62
+ * // StateReason: "STRING_VALUE",
63
+ * // LastModifiedTime: new Date("TIMESTAMP"),
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param UpdateEventBusCommandInput - {@link UpdateEventBusCommandInput}
69
+ * @returns {@link UpdateEventBusCommandOutput}
70
+ * @see {@link UpdateEventBusCommandInput} for command's `input` shape.
71
+ * @see {@link UpdateEventBusCommandOutput} for command's `response` shape.
72
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
73
+ *
74
+ * @throws {@link ConcurrentModificationException} (client fault)
75
+ * Another change to the resource is already in progress. Retry the request.
76
+ *
77
+ * @throws {@link InvalidStateException} (client fault)
78
+ * The resource is not in a state that allows the operation. For example, an
79
+ * event bus that is still being created cannot accept events.
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * The resource does not exist.
83
+ *
84
+ * @throws {@link AccessDeniedException} (client fault)
85
+ * The caller does not have the permissions required to perform the operation.
86
+ * This error is also returned when the operation cannot use the AWS KMS key for
87
+ * the event bus.
88
+ *
89
+ * @throws {@link InternalException} (server fault)
90
+ * The request failed because of an internal service error. Retry the request.
91
+ *
92
+ * @throws {@link InvalidInputException} (client fault)
93
+ * A request parameter is missing or not valid.
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * The request was throttled because it exceeds a request rate limit. Retry the
97
+ * request with backoff.
98
+ *
99
+ * @throws {@link EventBridgeV2ServiceException}
100
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
101
+ *
102
+ *
103
+ * @public
104
+ */
105
+ export declare class UpdateEventBusCommand extends UpdateEventBusCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: UpdateEventBusRequest;
110
+ output: UpdateEventBusResponse;
111
+ };
112
+ sdk: {
113
+ input: UpdateEventBusCommandInput;
114
+ output: UpdateEventBusCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -0,0 +1,118 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateEventSourceRequest, UpdateEventSourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateEventSourceCommand}.
11
+ */
12
+ export interface UpdateEventSourceCommandInput extends UpdateEventSourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateEventSourceCommand}.
18
+ */
19
+ export interface UpdateEventSourceCommandOutput extends UpdateEventSourceResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateEventSourceCommand_base: {
22
+ new (input: UpdateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<UpdateEventSourceCommandInput, UpdateEventSourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<UpdateEventSourceCommandInput, UpdateEventSourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates an EventSource. Fields omitted from the request are left unchanged.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EventBridgeV2Client, UpdateEventSourceCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
32
+ * // const { EventBridgeV2Client, UpdateEventSourceCommand } = require("@aws-sdk/client-eventbridgev2"); // CommonJS import
33
+ * // import type { EventBridgeV2ClientConfig } from "@aws-sdk/client-eventbridgev2";
34
+ * const config = {}; // type is EventBridgeV2ClientConfig
35
+ * const client = new EventBridgeV2Client(config);
36
+ * const input = { // UpdateEventSourceRequest
37
+ * EventSourceArn: "STRING_VALUE", // required
38
+ * Configuration: { // EventSourceConfiguration Union: only one key present
39
+ * AwsServiceEventsConfiguration: { // AwsServiceEventsSourceConfiguration
40
+ * AwsService: "STRING_VALUE", // required
41
+ * Pattern: "STRING_VALUE",
42
+ * OnFailureConfiguration: { // OnFailureConfiguration
43
+ * Arn: "STRING_VALUE",
44
+ * },
45
+ * },
46
+ * PartnerEventsConfiguration: { // PartnerEventsSourceConfiguration
47
+ * PartnerEventSourceArn: "STRING_VALUE", // required
48
+ * Pattern: "STRING_VALUE",
49
+ * PartnerBusKmsKeyIdentifier: "STRING_VALUE",
50
+ * OnFailureConfiguration: {
51
+ * Arn: "STRING_VALUE",
52
+ * },
53
+ * },
54
+ * },
55
+ * Description: "STRING_VALUE",
56
+ * };
57
+ * const command = new UpdateEventSourceCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // UpdateEventSourceResponse
60
+ * // EventSourceArn: "STRING_VALUE",
61
+ * // Name: "STRING_VALUE",
62
+ * // EventBusArn: "STRING_VALUE",
63
+ * // State: "CREATING" || "ACTIVE" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
64
+ * // LastModifiedTime: new Date("TIMESTAMP"),
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param UpdateEventSourceCommandInput - {@link UpdateEventSourceCommandInput}
70
+ * @returns {@link UpdateEventSourceCommandOutput}
71
+ * @see {@link UpdateEventSourceCommandInput} for command's `input` shape.
72
+ * @see {@link UpdateEventSourceCommandOutput} for command's `response` shape.
73
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
74
+ *
75
+ * @throws {@link ConcurrentModificationException} (client fault)
76
+ * Another change to the resource is already in progress. Retry the request.
77
+ *
78
+ * @throws {@link InvalidStateException} (client fault)
79
+ * The resource is not in a state that allows the operation. For example, an
80
+ * event bus that is still being created cannot accept events.
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * The resource does not exist.
84
+ *
85
+ * @throws {@link AccessDeniedException} (client fault)
86
+ * The caller does not have the permissions required to perform the operation.
87
+ * This error is also returned when the operation cannot use the AWS KMS key for
88
+ * the event bus.
89
+ *
90
+ * @throws {@link InternalException} (server fault)
91
+ * The request failed because of an internal service error. Retry the request.
92
+ *
93
+ * @throws {@link InvalidInputException} (client fault)
94
+ * A request parameter is missing or not valid.
95
+ *
96
+ * @throws {@link ThrottlingException} (client fault)
97
+ * The request was throttled because it exceeds a request rate limit. Retry the
98
+ * request with backoff.
99
+ *
100
+ * @throws {@link EventBridgeV2ServiceException}
101
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
102
+ *
103
+ *
104
+ * @public
105
+ */
106
+ export declare class UpdateEventSourceCommand extends UpdateEventSourceCommand_base {
107
+ /** @internal type navigation helper, not in runtime. */
108
+ protected static __types: {
109
+ api: {
110
+ input: UpdateEventSourceRequest;
111
+ output: UpdateEventSourceResponse;
112
+ };
113
+ sdk: {
114
+ input: UpdateEventSourceCommandInput;
115
+ output: UpdateEventSourceCommandOutput;
116
+ };
117
+ };
118
+ }
@@ -0,0 +1,224 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateSubscriberRequest, UpdateSubscriberResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateSubscriberCommand}.
11
+ */
12
+ export interface UpdateSubscriberCommandInput extends UpdateSubscriberRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateSubscriberCommand}.
18
+ */
19
+ export interface UpdateSubscriberCommandOutput extends UpdateSubscriberResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateSubscriberCommand_base: {
22
+ new (input: UpdateSubscriberCommandInput): import("@smithy/core/client").CommandImpl<UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateSubscriberCommandInput): import("@smithy/core/client").CommandImpl<UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates a subscriber. Fields omitted from the request are left unchanged.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EventBridgeV2Client, UpdateSubscriberCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
32
+ * // const { EventBridgeV2Client, UpdateSubscriberCommand } = require("@aws-sdk/client-eventbridgev2"); // CommonJS import
33
+ * // import type { EventBridgeV2ClientConfig } from "@aws-sdk/client-eventbridgev2";
34
+ * const config = {}; // type is EventBridgeV2ClientConfig
35
+ * const client = new EventBridgeV2Client(config);
36
+ * const input = { // UpdateSubscriberRequest
37
+ * SubscriberArn: "STRING_VALUE", // required
38
+ * Description: "STRING_VALUE",
39
+ * State: "RUNNING" || "STOPPED",
40
+ * ResumePosition: "LAST_PROCESSED" || "LATEST",
41
+ * InvokeConfiguration: { // UpdateInvokeConfiguration
42
+ * RoleArn: "STRING_VALUE", // required
43
+ * LambdaParameters: { // LambdaParameters
44
+ * InvocationType: "EVENT" || "REQUEST_RESPONSE",
45
+ * Qualifier: "STRING_VALUE",
46
+ * DurableExecutionName: "STRING_VALUE",
47
+ * TenantId: "STRING_VALUE",
48
+ * InvocationTimeoutSeconds: "STRING_VALUE",
49
+ * },
50
+ * SqsParameters: { // SqsParameters
51
+ * MessageGroupId: "STRING_VALUE",
52
+ * MessageDeduplicationId: "STRING_VALUE",
53
+ * DelaySeconds: "STRING_VALUE",
54
+ * MessageAttributes: { // SqsMessageAttributeMap
55
+ * "<keys>": { // SqsMessageAttributeValue
56
+ * DataType: "STRING_VALUE",
57
+ * StringValue: "STRING_VALUE",
58
+ * BinaryValue: "STRING_VALUE",
59
+ * },
60
+ * },
61
+ * MessageSystemAttributes: {
62
+ * "<keys>": {
63
+ * DataType: "STRING_VALUE",
64
+ * StringValue: "STRING_VALUE",
65
+ * BinaryValue: "STRING_VALUE",
66
+ * },
67
+ * },
68
+ * },
69
+ * SnsParameters: { // SnsParameters
70
+ * MessageGroupId: "STRING_VALUE",
71
+ * MessageDeduplicationId: "STRING_VALUE",
72
+ * Subject: "STRING_VALUE",
73
+ * MessageStructure: "STRING_VALUE",
74
+ * MessageAttributes: { // SnsMessageAttributeMap
75
+ * "<keys>": { // SnsMessageAttributeValue
76
+ * DataType: "STRING_VALUE",
77
+ * StringValue: "STRING_VALUE",
78
+ * BinaryValue: "STRING_VALUE",
79
+ * },
80
+ * },
81
+ * },
82
+ * KinesisParameters: { // KinesisParameters
83
+ * PartitionKey: "STRING_VALUE",
84
+ * ExplicitHashKey: "STRING_VALUE",
85
+ * },
86
+ * StepFunctionsParameters: { // StepFunctionsParameters
87
+ * InvocationType: "EVENT" || "REQUEST_RESPONSE",
88
+ * Name: "STRING_VALUE",
89
+ * TraceHeader: "STRING_VALUE",
90
+ * InvocationTimeoutSeconds: "STRING_VALUE",
91
+ * },
92
+ * HttpParameters: { // HttpParameters
93
+ * PathParameterValues: [ // PathParameterList
94
+ * "STRING_VALUE",
95
+ * ],
96
+ * HeaderParameters: { // HeaderParametersMap
97
+ * "<keys>": "STRING_VALUE",
98
+ * },
99
+ * QueryStringParameters: { // QueryStringParametersMap
100
+ * "<keys>": "STRING_VALUE",
101
+ * },
102
+ * InvocationTimeoutSeconds: "STRING_VALUE",
103
+ * },
104
+ * UniversalTargetParameters: { // UniversalTargetParameters
105
+ * Input: "STRING_VALUE", // required
106
+ * InvocationTimeoutSeconds: "STRING_VALUE",
107
+ * },
108
+ * EventBusV2Parameters: { // EventBusV2Parameters
109
+ * Metadata: { // EventBusV2MetadataMap
110
+ * "<keys>": "STRING_VALUE",
111
+ * },
112
+ * SystemMetadata: { // EventBusV2SystemMetadata
113
+ * EventGroupId: "STRING_VALUE",
114
+ * DeduplicationId: "STRING_VALUE",
115
+ * },
116
+ * DeduplicationConfiguration: { // DeduplicationConfiguration
117
+ * DeduplicationType: "CONTENT_BASED", // required
118
+ * },
119
+ * },
120
+ * },
121
+ * FilterConfiguration: { // FilterConfiguration
122
+ * Language: "EVENT_BRIDGE_PATTERN",
123
+ * Filters: [ // FilterList
124
+ * { // Filter
125
+ * Pattern: "STRING_VALUE", // required
126
+ * Scope: "DATA" || "METADATA" || "SYSTEM_METADATA", // required
127
+ * },
128
+ * ],
129
+ * },
130
+ * BatchConfiguration: { // BatchConfiguration
131
+ * MaxBatchSize: Number("int"),
132
+ * MaxBatchWindowInSeconds: Number("int"),
133
+ * },
134
+ * Transformer: { // Transformer
135
+ * Type: "RAW" || "WITH_METADATA" || "JSONATA",
136
+ * JsonataConfiguration: { // JsonataConfiguration
137
+ * Expression: "STRING_VALUE", // required
138
+ * },
139
+ * },
140
+ * RetryPolicy: { // RetryPolicy
141
+ * MaxRetryAttempts: Number("int"),
142
+ * MaxEventAgeInSeconds: Number("int"),
143
+ * RetryStrategy: "ALL",
144
+ * },
145
+ * OnFailureConfiguration: { // OnFailureConfiguration
146
+ * Arn: "STRING_VALUE",
147
+ * },
148
+ * LogConfiguration: { // LogConfiguration
149
+ * Level: "OFF" || "ERROR" || "INFO",
150
+ * IncludePayload: "FULL" || "ON_ERROR_ONLY",
151
+ * },
152
+ * };
153
+ * const command = new UpdateSubscriberCommand(input);
154
+ * const response = await client.send(command);
155
+ * // { // UpdateSubscriberResponse
156
+ * // SubscriberArn: "STRING_VALUE",
157
+ * // Name: "STRING_VALUE",
158
+ * // EventBusArn: "STRING_VALUE",
159
+ * // Type: "FIFO" || "UNORDERED",
160
+ * // StartingPosition: "LATEST" || "POINT_IN_TIME",
161
+ * // PointInTimeConfiguration: { // PointInTimeConfiguration
162
+ * // PointType: "HORIZON" || "TIMESTAMP", // required
163
+ * // StartingPoint: new Date("TIMESTAMP"),
164
+ * // EndPoint: new Date("TIMESTAMP"),
165
+ * // },
166
+ * // State: "RUNNING" || "STOPPED",
167
+ * // LastModifiedTime: new Date("TIMESTAMP"),
168
+ * // };
169
+ *
170
+ * ```
171
+ *
172
+ * @param UpdateSubscriberCommandInput - {@link UpdateSubscriberCommandInput}
173
+ * @returns {@link UpdateSubscriberCommandOutput}
174
+ * @see {@link UpdateSubscriberCommandInput} for command's `input` shape.
175
+ * @see {@link UpdateSubscriberCommandOutput} for command's `response` shape.
176
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
177
+ *
178
+ * @throws {@link ConcurrentModificationException} (client fault)
179
+ * Another change to the resource is already in progress. Retry the request.
180
+ *
181
+ * @throws {@link InvalidStateException} (client fault)
182
+ * The resource is not in a state that allows the operation. For example, an
183
+ * event bus that is still being created cannot accept events.
184
+ *
185
+ * @throws {@link LimitExceededException} (client fault)
186
+ * The request would exceed a service quota for the account.
187
+ *
188
+ * @throws {@link ResourceNotFoundException} (client fault)
189
+ * The resource does not exist.
190
+ *
191
+ * @throws {@link AccessDeniedException} (client fault)
192
+ * The caller does not have the permissions required to perform the operation.
193
+ * This error is also returned when the operation cannot use the AWS KMS key for
194
+ * the event bus.
195
+ *
196
+ * @throws {@link InternalException} (server fault)
197
+ * The request failed because of an internal service error. Retry the request.
198
+ *
199
+ * @throws {@link InvalidInputException} (client fault)
200
+ * A request parameter is missing or not valid.
201
+ *
202
+ * @throws {@link ThrottlingException} (client fault)
203
+ * The request was throttled because it exceeds a request rate limit. Retry the
204
+ * request with backoff.
205
+ *
206
+ * @throws {@link EventBridgeV2ServiceException}
207
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
208
+ *
209
+ *
210
+ * @public
211
+ */
212
+ export declare class UpdateSubscriberCommand extends UpdateSubscriberCommand_base {
213
+ /** @internal type navigation helper, not in runtime. */
214
+ protected static __types: {
215
+ api: {
216
+ input: UpdateSubscriberRequest;
217
+ output: UpdateSubscriberResponse;
218
+ };
219
+ sdk: {
220
+ input: UpdateSubscriberCommandInput;
221
+ output: UpdateSubscriberCommandOutput;
222
+ };
223
+ };
224
+ }
@@ -0,0 +1,25 @@
1
+ export * from "./CreateEventBusCommand";
2
+ export * from "./CreateEventSourceCommand";
3
+ export * from "./CreateSubscriberCommand";
4
+ export * from "./DeleteEventBusCommand";
5
+ export * from "./DeleteEventSourceCommand";
6
+ export * from "./DeleteResourcePolicyCommand";
7
+ export * from "./DeleteSubscriberCommand";
8
+ export * from "./DescribeEventBusCommand";
9
+ export * from "./DescribeEventSourceCommand";
10
+ export * from "./DescribeSubscriberCommand";
11
+ export * from "./GetResourcePolicyCommand";
12
+ export * from "./ListEventBusesCommand";
13
+ export * from "./ListEventSourcesCommand";
14
+ export * from "./ListResourcePoliciesCommand";
15
+ export * from "./ListSubscribersCommand";
16
+ export * from "./ListTagsForResourceCommand";
17
+ export * from "./PutEventsCommand";
18
+ export * from "./PutRawEventsCommand";
19
+ export * from "./PutResourcePolicyCommand";
20
+ export * from "./RevokeResourceCommand";
21
+ export * from "./TagResourceCommand";
22
+ export * from "./UntagResourceCommand";
23
+ export * from "./UpdateEventBusCommand";
24
+ export * from "./UpdateEventSourceCommand";
25
+ export * from "./UpdateSubscriberCommand";