@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 { DeleteEventBusRequest, DeleteEventBusResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteEventBusCommand}.
11
+ */
12
+ export interface DeleteEventBusCommandInput extends DeleteEventBusRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteEventBusCommand}.
18
+ */
19
+ export interface DeleteEventBusCommandOutput extends DeleteEventBusResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteEventBusCommand_base: {
22
+ new (input: DeleteEventBusCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventBusCommandInput, DeleteEventBusCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteEventBusCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventBusCommandInput, DeleteEventBusCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Deletes an event bus. Deletion is asynchronous: the bus moves to DELETING and
28
+ * disappears when complete (see the EventBusDeleted waiter). A bus with
29
+ * subscribers or event sources cannot be deleted.
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { EventBridgeV2Client, DeleteEventBusCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
34
+ * // const { EventBridgeV2Client, DeleteEventBusCommand } = 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 = { // DeleteEventBusRequest
39
+ * EventBusArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeleteEventBusCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteEventBusCommandInput - {@link DeleteEventBusCommandInput}
48
+ * @returns {@link DeleteEventBusCommandOutput}
49
+ * @see {@link DeleteEventBusCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteEventBusCommandOutput} for command's `response` shape.
51
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
52
+ *
53
+ * @throws {@link ConcurrentModificationException} (client fault)
54
+ * Another change to the resource is already in progress. Retry the request.
55
+ *
56
+ * @throws {@link InvalidStateException} (client fault)
57
+ * The resource is not in a state that allows the operation. For example, an
58
+ * event bus that is still being created cannot accept events.
59
+ *
60
+ * @throws {@link ResourceInUseException} (client fault)
61
+ * The resource is in use and cannot be deleted. For example, an event bus with
62
+ * subscribers or event sources cannot be deleted until they are deleted.
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 DeleteEventBusCommand extends DeleteEventBusCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: DeleteEventBusRequest;
93
+ output: {};
94
+ };
95
+ sdk: {
96
+ input: DeleteEventBusCommandInput;
97
+ output: DeleteEventBusCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteEventSourceRequest, DeleteEventSourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteEventSourceCommand}.
11
+ */
12
+ export interface DeleteEventSourceCommandInput extends DeleteEventSourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteEventSourceCommand}.
18
+ */
19
+ export interface DeleteEventSourceCommandOutput extends DeleteEventSourceResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteEventSourceCommand_base: {
22
+ new (input: DeleteEventSourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventSourceCommandInput, DeleteEventSourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteEventSourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventSourceCommandInput, DeleteEventSourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Deletes an EventSource. Forwarding from its origin stops.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EventBridgeV2Client, DeleteEventSourceCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
32
+ * // const { EventBridgeV2Client, DeleteEventSourceCommand } = 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 = { // DeleteEventSourceRequest
37
+ * EventSourceArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteEventSourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteEventSourceCommandInput - {@link DeleteEventSourceCommandInput}
46
+ * @returns {@link DeleteEventSourceCommandOutput}
47
+ * @see {@link DeleteEventSourceCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteEventSourceCommandOutput} for command's `response` shape.
49
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
50
+ *
51
+ * @throws {@link ConcurrentModificationException} (client fault)
52
+ * Another change to the resource is already in progress. Retry the request.
53
+ *
54
+ * @throws {@link InvalidStateException} (client fault)
55
+ * The resource is not in a state that allows the operation. For example, an
56
+ * event bus that is still being created cannot accept events.
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * The resource does not exist.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * The caller does not have the permissions required to perform the operation.
63
+ * This error is also returned when the operation cannot use the AWS KMS key for
64
+ * the event bus.
65
+ *
66
+ * @throws {@link InternalException} (server fault)
67
+ * The request failed because of an internal service error. Retry the request.
68
+ *
69
+ * @throws {@link InvalidInputException} (client fault)
70
+ * A request parameter is missing or not valid.
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * The request was throttled because it exceeds a request rate limit. Retry the
74
+ * request with backoff.
75
+ *
76
+ * @throws {@link EventBridgeV2ServiceException}
77
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class DeleteEventSourceCommand extends DeleteEventSourceCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: DeleteEventSourceRequest;
87
+ output: {};
88
+ };
89
+ sdk: {
90
+ input: DeleteEventSourceCommandInput;
91
+ output: DeleteEventSourceCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,106 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteResourcePolicyCommand}.
11
+ */
12
+ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteResourcePolicyCommand}.
18
+ */
19
+ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteResourcePolicyCommand_base: {
22
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Deletes the named resource policy attached to an event bus.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EventBridgeV2Client, DeleteResourcePolicyCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
32
+ * // const { EventBridgeV2Client, DeleteResourcePolicyCommand } = 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 = { // DeleteResourcePolicyRequest
37
+ * ResourceArn: "STRING_VALUE", // required
38
+ * PolicyName: "STRING_VALUE",
39
+ * ExpectedRevisionId: "STRING_VALUE",
40
+ * };
41
+ * const command = new DeleteResourcePolicyCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteResourcePolicyResponse
44
+ * // RevisionId: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
50
+ * @returns {@link DeleteResourcePolicyCommandOutput}
51
+ * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
53
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
54
+ *
55
+ * @throws {@link ConcurrentModificationException} (client fault)
56
+ * Another change to the resource is already in progress. Retry the request.
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * A client-supplied precondition (e.g. ExpectedRevisionId on a resource-policy
60
+ * write) did not match the current state of the resource. Retrying the same
61
+ * request will fail again; re-read the resource and re-evaluate before retrying.
62
+ *
63
+ * A conditional request is not retry-safe on its own. If an earlier attempt
64
+ * committed but its response never reached the caller, retrying fails with this
65
+ * error, which is indistinguishable from another writer having won. Compare the
66
+ * resource's current contents with what the request intended: a successful
67
+ * attempt stores a revision ID the caller never saw, so the revision alone
68
+ * cannot tell the two apart, but matching contents mean the change took effect.
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * The resource does not exist.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * The caller does not have the permissions required to perform the operation.
75
+ * This error is also returned when the operation cannot use the AWS KMS key for
76
+ * the event bus.
77
+ *
78
+ * @throws {@link InternalException} (server fault)
79
+ * The request failed because of an internal service error. Retry the request.
80
+ *
81
+ * @throws {@link InvalidInputException} (client fault)
82
+ * A request parameter is missing or not valid.
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * The request was throttled because it exceeds a request rate limit. Retry the
86
+ * request with backoff.
87
+ *
88
+ * @throws {@link EventBridgeV2ServiceException}
89
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: DeleteResourcePolicyRequest;
99
+ output: DeleteResourcePolicyResponse;
100
+ };
101
+ sdk: {
102
+ input: DeleteResourcePolicyCommandInput;
103
+ output: DeleteResourcePolicyCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,90 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteSubscriberRequest, DeleteSubscriberResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteSubscriberCommand}.
11
+ */
12
+ export interface DeleteSubscriberCommandInput extends DeleteSubscriberRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteSubscriberCommand}.
18
+ */
19
+ export interface DeleteSubscriberCommandOutput extends DeleteSubscriberResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteSubscriberCommand_base: {
22
+ new (input: DeleteSubscriberCommandInput): import("@smithy/core/client").CommandImpl<DeleteSubscriberCommandInput, DeleteSubscriberCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteSubscriberCommandInput): import("@smithy/core/client").CommandImpl<DeleteSubscriberCommandInput, DeleteSubscriberCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Deletes a subscriber. Events are no longer delivered to its target.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EventBridgeV2Client, DeleteSubscriberCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
32
+ * // const { EventBridgeV2Client, DeleteSubscriberCommand } = 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 = { // DeleteSubscriberRequest
37
+ * SubscriberArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteSubscriberCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteSubscriberCommandInput - {@link DeleteSubscriberCommandInput}
46
+ * @returns {@link DeleteSubscriberCommandOutput}
47
+ * @see {@link DeleteSubscriberCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteSubscriberCommandOutput} for command's `response` shape.
49
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
50
+ *
51
+ * @throws {@link ConcurrentModificationException} (client fault)
52
+ * Another change to the resource is already in progress. Retry the request.
53
+ *
54
+ * @throws {@link ResourceNotFoundException} (client fault)
55
+ * The resource does not exist.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * The caller does not have the permissions required to perform the operation.
59
+ * This error is also returned when the operation cannot use the AWS KMS key for
60
+ * the event bus.
61
+ *
62
+ * @throws {@link InternalException} (server fault)
63
+ * The request failed because of an internal service error. Retry the request.
64
+ *
65
+ * @throws {@link InvalidInputException} (client fault)
66
+ * A request parameter is missing or not valid.
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * The request was throttled because it exceeds a request rate limit. Retry the
70
+ * request with backoff.
71
+ *
72
+ * @throws {@link EventBridgeV2ServiceException}
73
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class DeleteSubscriberCommand extends DeleteSubscriberCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: DeleteSubscriberRequest;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: DeleteSubscriberCommandInput;
87
+ output: DeleteSubscriberCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,102 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeEventBusRequest, DescribeEventBusResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeEventBusCommand}.
11
+ */
12
+ export interface DescribeEventBusCommandInput extends DescribeEventBusRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeEventBusCommand}.
18
+ */
19
+ export interface DescribeEventBusCommandOutput extends DescribeEventBusResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeEventBusCommand_base: {
22
+ new (input: DescribeEventBusCommandInput): import("@smithy/core/client").CommandImpl<DescribeEventBusCommandInput, DescribeEventBusCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeEventBusCommandInput): import("@smithy/core/client").CommandImpl<DescribeEventBusCommandInput, DescribeEventBusCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Returns the full configuration and lifecycle state of an event bus.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EventBridgeV2Client, DescribeEventBusCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
32
+ * // const { EventBridgeV2Client, DescribeEventBusCommand } = 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 = { // DescribeEventBusRequest
37
+ * EventBusArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DescribeEventBusCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DescribeEventBusResponse
42
+ * // EventBusArn: "STRING_VALUE",
43
+ * // Name: "STRING_VALUE",
44
+ * // Description: "STRING_VALUE",
45
+ * // EncryptionConfiguration: { // EncryptionConfiguration
46
+ * // KmsKeyIdentifier: "STRING_VALUE",
47
+ * // },
48
+ * // StorageConfiguration: { // StorageConfigurationOutput
49
+ * // RetentionPeriodInDays: Number("int"),
50
+ * // RetentionWindowStartTime: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // CreationTime: new Date("TIMESTAMP"),
53
+ * // LastModifiedTime: new Date("TIMESTAMP"),
54
+ * // State: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "ACTIVE" || "DELETE_FAILED",
55
+ * // StateReason: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param DescribeEventBusCommandInput - {@link DescribeEventBusCommandInput}
61
+ * @returns {@link DescribeEventBusCommandOutput}
62
+ * @see {@link DescribeEventBusCommandInput} for command's `input` shape.
63
+ * @see {@link DescribeEventBusCommandOutput} for command's `response` shape.
64
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * The resource does not exist.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * The caller does not have the permissions required to perform the operation.
71
+ * This error is also returned when the operation cannot use the AWS KMS key for
72
+ * the event bus.
73
+ *
74
+ * @throws {@link InternalException} (server fault)
75
+ * The request failed because of an internal service error. Retry the request.
76
+ *
77
+ * @throws {@link InvalidInputException} (client fault)
78
+ * A request parameter is missing or not valid.
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * The request was throttled because it exceeds a request rate limit. Retry the
82
+ * request with backoff.
83
+ *
84
+ * @throws {@link EventBridgeV2ServiceException}
85
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class DescribeEventBusCommand extends DescribeEventBusCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: DescribeEventBusRequest;
95
+ output: DescribeEventBusResponse;
96
+ };
97
+ sdk: {
98
+ input: DescribeEventBusCommandInput;
99
+ output: DescribeEventBusCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,113 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeEventSourceRequest, DescribeEventSourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeEventSourceCommand}.
11
+ */
12
+ export interface DescribeEventSourceCommandInput extends DescribeEventSourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeEventSourceCommand}.
18
+ */
19
+ export interface DescribeEventSourceCommandOutput extends DescribeEventSourceResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeEventSourceCommand_base: {
22
+ new (input: DescribeEventSourceCommandInput): import("@smithy/core/client").CommandImpl<DescribeEventSourceCommandInput, DescribeEventSourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeEventSourceCommandInput): import("@smithy/core/client").CommandImpl<DescribeEventSourceCommandInput, DescribeEventSourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Returns the full configuration and lifecycle state of an EventSource.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EventBridgeV2Client, DescribeEventSourceCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
32
+ * // const { EventBridgeV2Client, DescribeEventSourceCommand } = 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 = { // DescribeEventSourceRequest
37
+ * EventSourceArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DescribeEventSourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DescribeEventSourceResponse
42
+ * // EventSourceArn: "STRING_VALUE",
43
+ * // Name: "STRING_VALUE",
44
+ * // EventBusArn: "STRING_VALUE",
45
+ * // Configuration: { // EventSourceConfiguration Union: only one key present
46
+ * // AwsServiceEventsConfiguration: { // AwsServiceEventsSourceConfiguration
47
+ * // AwsService: "STRING_VALUE", // required
48
+ * // Pattern: "STRING_VALUE",
49
+ * // OnFailureConfiguration: { // OnFailureConfiguration
50
+ * // Arn: "STRING_VALUE",
51
+ * // },
52
+ * // },
53
+ * // PartnerEventsConfiguration: { // PartnerEventsSourceConfiguration
54
+ * // PartnerEventSourceArn: "STRING_VALUE", // required
55
+ * // Pattern: "STRING_VALUE",
56
+ * // PartnerBusKmsKeyIdentifier: "STRING_VALUE",
57
+ * // OnFailureConfiguration: {
58
+ * // Arn: "STRING_VALUE",
59
+ * // },
60
+ * // },
61
+ * // },
62
+ * // Description: "STRING_VALUE",
63
+ * // State: "CREATING" || "ACTIVE" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
64
+ * // Revoked: true || false,
65
+ * // CreationTime: new Date("TIMESTAMP"),
66
+ * // LastModifiedTime: new Date("TIMESTAMP"),
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param DescribeEventSourceCommandInput - {@link DescribeEventSourceCommandInput}
72
+ * @returns {@link DescribeEventSourceCommandOutput}
73
+ * @see {@link DescribeEventSourceCommandInput} for command's `input` shape.
74
+ * @see {@link DescribeEventSourceCommandOutput} for command's `response` shape.
75
+ * @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * The resource does not exist.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * The caller does not have the permissions required to perform the operation.
82
+ * This error is also returned when the operation cannot use the AWS KMS key for
83
+ * the event bus.
84
+ *
85
+ * @throws {@link InternalException} (server fault)
86
+ * The request failed because of an internal service error. Retry the request.
87
+ *
88
+ * @throws {@link InvalidInputException} (client fault)
89
+ * A request parameter is missing or not valid.
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * The request was throttled because it exceeds a request rate limit. Retry the
93
+ * request with backoff.
94
+ *
95
+ * @throws {@link EventBridgeV2ServiceException}
96
+ * <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
97
+ *
98
+ *
99
+ * @public
100
+ */
101
+ export declare class DescribeEventSourceCommand extends DescribeEventSourceCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: DescribeEventSourceRequest;
106
+ output: DescribeEventSourceResponse;
107
+ };
108
+ sdk: {
109
+ input: DescribeEventSourceCommandInput;
110
+ output: DescribeEventSourceCommandOutput;
111
+ };
112
+ };
113
+ }