@aws-sdk/client-eventbridgev2 3.1172.0 → 3.1173.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.
- package/README.md +8 -7
- package/dist-cjs/index.js +286 -35
- package/dist-es/EventBridgeV2.js +4 -0
- package/dist-es/commands/RotateWebhookCredentialsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +48 -7
- package/dist-es/schemas/schemas_0.js +161 -22
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForMskSubscriberActive.js +40 -0
- package/dist-types/EventBridgeV2.d.ts +14 -7
- package/dist-types/EventBridgeV2Client.d.ts +4 -9
- package/dist-types/commands/CreateEventBusCommand.d.ts +10 -17
- package/dist-types/commands/CreateEventSourceCommand.d.ts +55 -18
- package/dist-types/commands/CreateSubscriberCommand.d.ts +32 -18
- package/dist-types/commands/DeleteEventBusCommand.d.ts +9 -16
- package/dist-types/commands/DeleteEventSourceCommand.d.ts +8 -12
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +8 -20
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +7 -10
- package/dist-types/commands/DescribeEventBusCommand.d.ts +6 -9
- package/dist-types/commands/DescribeEventSourceCommand.d.ts +50 -9
- package/dist-types/commands/DescribeSubscriberCommand.d.ts +27 -9
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -11
- package/dist-types/commands/ListEventBusesCommand.d.ts +5 -11
- package/dist-types/commands/ListEventSourcesCommand.d.ts +7 -12
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +6 -10
- package/dist-types/commands/ListSubscribersCommand.d.ts +6 -11
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -9
- package/dist-types/commands/PutEventsCommand.d.ts +7 -11
- package/dist-types/commands/PutRawEventsCommand.d.ts +8 -12
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +10 -39
- package/dist-types/commands/RevokeResourceCommand.d.ts +8 -15
- package/dist-types/commands/RotateWebhookCredentialsCommand.d.ts +104 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -13
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -12
- package/dist-types/commands/UpdateEventBusCommand.d.ts +8 -14
- package/dist-types/commands/UpdateEventSourceCommand.d.ts +49 -12
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +30 -13
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -7
- package/dist-types/models/enums.d.ts +137 -21
- package/dist-types/models/errors.d.ts +15 -39
- package/dist-types/models/models_0.d.ts +848 -724
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/EventBridgeV2.d.ts +26 -0
- package/dist-types/ts3.4/EventBridgeV2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/RotateWebhookCredentialsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +64 -11
- package/dist-types/ts3.4/models/models_0.d.ts +174 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForMskSubscriberActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForMskSubscriberActive.d.ts +15 -0
- package/package.json +1 -1
|
@@ -27,6 +27,7 @@ import type { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/P
|
|
|
27
27
|
import type { PutRawEventsCommandInput, PutRawEventsCommandOutput } from "./commands/PutRawEventsCommand";
|
|
28
28
|
import type { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
29
29
|
import type { RevokeResourceCommandInput, RevokeResourceCommandOutput } from "./commands/RevokeResourceCommand";
|
|
30
|
+
import type { RotateWebhookCredentialsCommandInput, RotateWebhookCredentialsCommandOutput } from "./commands/RotateWebhookCredentialsCommand";
|
|
30
31
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
31
32
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
33
|
import type { UpdateEventBusCommandInput, UpdateEventBusCommandOutput } from "./commands/UpdateEventBusCommand";
|
|
@@ -38,11 +39,11 @@ export { __Client };
|
|
|
38
39
|
/**
|
|
39
40
|
* @public
|
|
40
41
|
*/
|
|
41
|
-
export type ServiceInputTypes = CreateEventBusCommandInput | CreateEventSourceCommandInput | CreateSubscriberCommandInput | DeleteEventBusCommandInput | DeleteEventSourceCommandInput | DeleteResourcePolicyCommandInput | DeleteSubscriberCommandInput | DescribeEventBusCommandInput | DescribeEventSourceCommandInput | DescribeSubscriberCommandInput | GetResourcePolicyCommandInput | ListEventBusesCommandInput | ListEventSourcesCommandInput | ListResourcePoliciesCommandInput | ListSubscribersCommandInput | ListTagsForResourceCommandInput | PutEventsCommandInput | PutRawEventsCommandInput | PutResourcePolicyCommandInput | RevokeResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventBusCommandInput | UpdateEventSourceCommandInput | UpdateSubscriberCommandInput;
|
|
42
|
+
export type ServiceInputTypes = CreateEventBusCommandInput | CreateEventSourceCommandInput | CreateSubscriberCommandInput | DeleteEventBusCommandInput | DeleteEventSourceCommandInput | DeleteResourcePolicyCommandInput | DeleteSubscriberCommandInput | DescribeEventBusCommandInput | DescribeEventSourceCommandInput | DescribeSubscriberCommandInput | GetResourcePolicyCommandInput | ListEventBusesCommandInput | ListEventSourcesCommandInput | ListResourcePoliciesCommandInput | ListSubscribersCommandInput | ListTagsForResourceCommandInput | PutEventsCommandInput | PutRawEventsCommandInput | PutResourcePolicyCommandInput | RevokeResourceCommandInput | RotateWebhookCredentialsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEventBusCommandInput | UpdateEventSourceCommandInput | UpdateSubscriberCommandInput;
|
|
42
43
|
/**
|
|
43
44
|
* @public
|
|
44
45
|
*/
|
|
45
|
-
export type ServiceOutputTypes = CreateEventBusCommandOutput | CreateEventSourceCommandOutput | CreateSubscriberCommandOutput | DeleteEventBusCommandOutput | DeleteEventSourceCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSubscriberCommandOutput | DescribeEventBusCommandOutput | DescribeEventSourceCommandOutput | DescribeSubscriberCommandOutput | GetResourcePolicyCommandOutput | ListEventBusesCommandOutput | ListEventSourcesCommandOutput | ListResourcePoliciesCommandOutput | ListSubscribersCommandOutput | ListTagsForResourceCommandOutput | PutEventsCommandOutput | PutRawEventsCommandOutput | PutResourcePolicyCommandOutput | RevokeResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventBusCommandOutput | UpdateEventSourceCommandOutput | UpdateSubscriberCommandOutput;
|
|
46
|
+
export type ServiceOutputTypes = CreateEventBusCommandOutput | CreateEventSourceCommandOutput | CreateSubscriberCommandOutput | DeleteEventBusCommandOutput | DeleteEventSourceCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSubscriberCommandOutput | DescribeEventBusCommandOutput | DescribeEventSourceCommandOutput | DescribeSubscriberCommandOutput | GetResourcePolicyCommandOutput | ListEventBusesCommandOutput | ListEventSourcesCommandOutput | ListResourcePoliciesCommandOutput | ListSubscribersCommandOutput | ListTagsForResourceCommandOutput | PutEventsCommandOutput | PutRawEventsCommandOutput | PutResourcePolicyCommandOutput | RevokeResourceCommandOutput | RotateWebhookCredentialsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEventBusCommandOutput | UpdateEventSourceCommandOutput | UpdateSubscriberCommandOutput;
|
|
46
47
|
/**
|
|
47
48
|
* @public
|
|
48
49
|
*/
|
|
@@ -199,13 +200,7 @@ export type EventBridgeV2ClientResolvedConfigType = __SmithyResolvedConfiguratio
|
|
|
199
200
|
export interface EventBridgeV2ClientResolvedConfig extends EventBridgeV2ClientResolvedConfigType {
|
|
200
201
|
}
|
|
201
202
|
/**
|
|
202
|
-
* Amazon EventBridge event bus API. An event bus receives events published by
|
|
203
|
-
* your applications and AWS services, stores them for a configurable retention
|
|
204
|
-
* period, and delivers them to subscribers. A subscriber filters events,
|
|
205
|
-
* optionally transforms them, and invokes a target such as Lambda, SQS, SNS,
|
|
206
|
-
* Kinesis, Step Functions, or an HTTP endpoint. The API manages event buses,
|
|
207
|
-
* subscribers, event sources, resource policies, and tags, and publishes
|
|
208
|
-
* events through PutEvents and PutRawEvents.
|
|
203
|
+
* <fullname>Amazon EventBridge Custom Event Bus</fullname> <p>Amazon EventBridge event bus API. An event bus receives events published by your applications and AWS services, stores them for a configurable retention period, and delivers them to subscribers. A subscriber filters events, optionally transforms them, and invokes a target such as Lambda, SQS, SNS, Kinesis, Step Functions, or an HTTP endpoint. The API manages event buses, subscribers, event sources, resource policies, and tags, and publishes events through PutEvents and PutRawEvents.</p>
|
|
209
204
|
* @public
|
|
210
205
|
*/
|
|
211
206
|
export declare class EventBridgeV2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EventBridgeV2ClientResolvedConfig> {
|
|
@@ -24,9 +24,7 @@ declare const CreateEventBusCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Creates an event bus. Provisioning is asynchronous: the bus is returned in the
|
|
28
|
-
* CREATING state and transitions to ACTIVE when ready (see the EventBusActive
|
|
29
|
-
* waiter). Retries carrying the same ClientToken are idempotent.
|
|
27
|
+
* <p>Creates an event bus. Provisioning is asynchronous: the bus is returned in the CREATING state and transitions to ACTIVE when ready (see the EventBusActive waiter). Retries carrying the same ClientToken are idempotent.</p>
|
|
30
28
|
* @example
|
|
31
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
30
|
* ```javascript
|
|
@@ -76,36 +74,31 @@ declare const CreateEventBusCommand_base: {
|
|
|
76
74
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
77
75
|
*
|
|
78
76
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
79
|
-
* Another change to the resource is already in progress. Retry the request
|
|
77
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
80
78
|
*
|
|
81
79
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
82
|
-
* The request reuses the client token of an earlier request with different
|
|
83
|
-
* parameters. Use a new client token, or resend the earlier request unchanged.
|
|
80
|
+
* <p>The request reuses the client token of an earlier request with different parameters. Use a new client token, or resend the earlier request unchanged.</p>
|
|
84
81
|
*
|
|
85
82
|
* @throws {@link InvalidStateException} (client fault)
|
|
86
|
-
* The resource is not in a state that allows the operation. For example, an
|
|
87
|
-
* event bus that is still being created cannot accept events.
|
|
83
|
+
* <p>The resource is not in a state that allows the operation. For example, an event bus that is still being created cannot accept events.</p>
|
|
88
84
|
*
|
|
89
85
|
* @throws {@link LimitExceededException} (client fault)
|
|
90
|
-
* The request would exceed a service quota for the account
|
|
86
|
+
* <p>The request would exceed a service quota for the account.</p>
|
|
91
87
|
*
|
|
92
88
|
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
93
|
-
* A resource with the same name already exists
|
|
89
|
+
* <p>A resource with the same name already exists.</p>
|
|
94
90
|
*
|
|
95
91
|
* @throws {@link AccessDeniedException} (client fault)
|
|
96
|
-
* The caller does not have the permissions required to perform the operation.
|
|
97
|
-
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
98
|
-
* the event bus.
|
|
92
|
+
* <p>The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.</p>
|
|
99
93
|
*
|
|
100
94
|
* @throws {@link InternalException} (server fault)
|
|
101
|
-
* The request failed because of an internal service error. Retry the request
|
|
95
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
102
96
|
*
|
|
103
97
|
* @throws {@link InvalidInputException} (client fault)
|
|
104
|
-
* A request parameter is missing or not valid
|
|
98
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
105
99
|
*
|
|
106
100
|
* @throws {@link ThrottlingException} (client fault)
|
|
107
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
108
|
-
* request with backoff.
|
|
101
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
109
102
|
*
|
|
110
103
|
* @throws {@link EventBridgeV2ServiceException}
|
|
111
104
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,9 +24,7 @@ declare const CreateEventSourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Creates an EventSource, which forwards events from an origin (an AWS service
|
|
28
|
-
* or another account) onto an event bus. The bus must be ACTIVE. Retries
|
|
29
|
-
* carrying the same ClientToken are idempotent.
|
|
27
|
+
* <p>Creates an EventSource, which forwards events from an origin (an AWS service, a partner, or a third-party webhook provider) to an event bus. The event bus must be in the ACTIVE state. This operation is idempotent: retries that use the same ClientToken return the same result.</p>
|
|
30
28
|
* @example
|
|
31
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
30
|
* ```javascript
|
|
@@ -54,6 +52,44 @@ declare const CreateEventSourceCommand_base: {
|
|
|
54
52
|
* Arn: "STRING_VALUE",
|
|
55
53
|
* },
|
|
56
54
|
* },
|
|
55
|
+
* WebhookEventsConfiguration: { // WebhookEventsSourceConfiguration
|
|
56
|
+
* AuthConfiguration: { // WebhookAuthConfiguration Union: only one key present
|
|
57
|
+
* StaticTokenAuthConfiguration: { // WebhookStaticTokenAuthConfiguration
|
|
58
|
+
* TokenHttpHeader: "STRING_VALUE", // required
|
|
59
|
+
* SecretValue: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* BasicHttpAuthConfiguration: { // WebhookBasicHttpAuthConfiguration
|
|
62
|
+
* Username: "STRING_VALUE",
|
|
63
|
+
* Password: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* HmacAuthConfiguration: { // WebhookHmacAuthConfiguration
|
|
66
|
+
* Algorithm: "SHA256" || "SHA1", // required
|
|
67
|
+
* Encoding: "HEX" || "BASE64", // required
|
|
68
|
+
* SignatureHttpHeader: "STRING_VALUE", // required
|
|
69
|
+
* SignaturePrefix: "STRING_VALUE",
|
|
70
|
+
* Delimiter: "STRING_VALUE",
|
|
71
|
+
* TimestampHttpHeader: "STRING_VALUE",
|
|
72
|
+
* TimestampPrefix: "STRING_VALUE",
|
|
73
|
+
* TimestampToleranceInSeconds: Number("int"),
|
|
74
|
+
* MessageIdHttpHeader: "STRING_VALUE",
|
|
75
|
+
* SignedMessageComposition: "BODY" || "TIMESTAMP_DOT_BODY" || "MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY", // required
|
|
76
|
+
* SecretValue: "STRING_VALUE",
|
|
77
|
+
* SecretEncoding: "RAW" || "BASE64",
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* KmsKeyIdentifier: "STRING_VALUE",
|
|
81
|
+
* RoleArn: "STRING_VALUE", // required
|
|
82
|
+
* MetadataHttpHeaders: [ // WebhookMetadataHttpHeaderList
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
85
|
+
* DeduplicationConfiguration: { // WebhookDeduplicationConfiguration
|
|
86
|
+
* DeduplicationType: "CONTENT_BASED", // required
|
|
87
|
+
* },
|
|
88
|
+
* LogConfiguration: { // LogConfiguration
|
|
89
|
+
* Level: "OFF" || "ERROR" || "INFO",
|
|
90
|
+
* IncludePayload: "FULL" || "ON_ERROR_ONLY",
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
57
93
|
* },
|
|
58
94
|
* Description: "STRING_VALUE",
|
|
59
95
|
* Tags: { // TagMap
|
|
@@ -68,6 +104,12 @@ declare const CreateEventSourceCommand_base: {
|
|
|
68
104
|
* // Name: "STRING_VALUE",
|
|
69
105
|
* // EventBusArn: "STRING_VALUE",
|
|
70
106
|
* // State: "CREATING" || "ACTIVE" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
|
|
107
|
+
* // EventSourceDetails: { // EventSourceDetails
|
|
108
|
+
* // WebhookDetails: { // WebhookDetails
|
|
109
|
+
* // WebhookUrl: "STRING_VALUE",
|
|
110
|
+
* // SecretArn: "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
71
113
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
72
114
|
* // };
|
|
73
115
|
*
|
|
@@ -80,39 +122,34 @@ declare const CreateEventSourceCommand_base: {
|
|
|
80
122
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
81
123
|
*
|
|
82
124
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
83
|
-
* Another change to the resource is already in progress. Retry the request
|
|
125
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
84
126
|
*
|
|
85
127
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
86
|
-
* The request reuses the client token of an earlier request with different
|
|
87
|
-
* parameters. Use a new client token, or resend the earlier request unchanged.
|
|
128
|
+
* <p>The request reuses the client token of an earlier request with different parameters. Use a new client token, or resend the earlier request unchanged.</p>
|
|
88
129
|
*
|
|
89
130
|
* @throws {@link InvalidStateException} (client fault)
|
|
90
|
-
* The resource is not in a state that allows the operation. For example, an
|
|
91
|
-
* event bus that is still being created cannot accept events.
|
|
131
|
+
* <p>The resource is not in a state that allows the operation. For example, an event bus that is still being created cannot accept events.</p>
|
|
92
132
|
*
|
|
93
133
|
* @throws {@link LimitExceededException} (client fault)
|
|
94
|
-
* The request would exceed a service quota for the account
|
|
134
|
+
* <p>The request would exceed a service quota for the account.</p>
|
|
95
135
|
*
|
|
96
136
|
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
97
|
-
* A resource with the same name already exists
|
|
137
|
+
* <p>A resource with the same name already exists.</p>
|
|
98
138
|
*
|
|
99
139
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
100
|
-
* The resource does not exist
|
|
140
|
+
* <p>The resource does not exist.</p>
|
|
101
141
|
*
|
|
102
142
|
* @throws {@link AccessDeniedException} (client fault)
|
|
103
|
-
* The caller does not have the permissions required to perform the operation.
|
|
104
|
-
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
105
|
-
* the event bus.
|
|
143
|
+
* <p>The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.</p>
|
|
106
144
|
*
|
|
107
145
|
* @throws {@link InternalException} (server fault)
|
|
108
|
-
* The request failed because of an internal service error. Retry the request
|
|
146
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
109
147
|
*
|
|
110
148
|
* @throws {@link InvalidInputException} (client fault)
|
|
111
|
-
* A request parameter is missing or not valid
|
|
149
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
112
150
|
*
|
|
113
151
|
* @throws {@link ThrottlingException} (client fault)
|
|
114
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
115
|
-
* request with backoff.
|
|
152
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
116
153
|
*
|
|
117
154
|
* @throws {@link EventBridgeV2ServiceException}
|
|
118
155
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,9 +24,7 @@ declare const CreateSubscriberCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Creates a subscriber on an event bus, which delivers matching events to the
|
|
28
|
-
* configured target. The bus must be ACTIVE. Retries carrying the same
|
|
29
|
-
* ClientToken are idempotent.
|
|
27
|
+
* <p>Creates a subscriber on an event bus, which delivers matching events to the configured target. The bus must be ACTIVE. Retries carrying the same ClientToken are idempotent. A subscriber that targets an Amazon MSK cluster provisions its connectivity asynchronously after this call returns and begins delivering when its ConnectivityState reaches ACTIVE (see the MskSubscriberActive waiter).</p>
|
|
30
28
|
* @example
|
|
31
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
30
|
* ```javascript
|
|
@@ -117,6 +115,20 @@ declare const CreateSubscriberCommand_base: {
|
|
|
117
115
|
* DeduplicationType: "CONTENT_BASED", // required
|
|
118
116
|
* },
|
|
119
117
|
* },
|
|
118
|
+
* MskParameters: { // MskParameters
|
|
119
|
+
* TopicName: "STRING_VALUE", // required
|
|
120
|
+
* Compression: "NONE" || "GZIP" || "SNAPPY" || "LZ4" || "ZSTD",
|
|
121
|
+
* Acks: "ALL" || "LEADER",
|
|
122
|
+
* PartitionKey: "STRING_VALUE",
|
|
123
|
+
* Headers: [ // MskHeaderList
|
|
124
|
+
* { // MskHeader
|
|
125
|
+
* Key: "STRING_VALUE", // required
|
|
126
|
+
* Value: "STRING_VALUE",
|
|
127
|
+
* },
|
|
128
|
+
* ],
|
|
129
|
+
* ClientId: "STRING_VALUE",
|
|
130
|
+
* Connectivity: "PUBLIC" || "PRIVATE", // required
|
|
131
|
+
* },
|
|
120
132
|
* TargetArn: "STRING_VALUE", // required
|
|
121
133
|
* },
|
|
122
134
|
* Description: "STRING_VALUE",
|
|
@@ -179,6 +191,13 @@ declare const CreateSubscriberCommand_base: {
|
|
|
179
191
|
* // },
|
|
180
192
|
* // State: "RUNNING" || "STOPPED",
|
|
181
193
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
194
|
+
* // SubscriberDetails: { // SubscriberDetails
|
|
195
|
+
* // MskDetails: { // MskDetails
|
|
196
|
+
* // ConnectivityState: "PROVISIONING" || "PROVISION_FAILED" || "ACTIVE",
|
|
197
|
+
* // StateReason: "STRING_VALUE",
|
|
198
|
+
* // VpcConnectionArn: "STRING_VALUE",
|
|
199
|
+
* // },
|
|
200
|
+
* // },
|
|
182
201
|
* // };
|
|
183
202
|
*
|
|
184
203
|
* ```
|
|
@@ -190,39 +209,34 @@ declare const CreateSubscriberCommand_base: {
|
|
|
190
209
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
191
210
|
*
|
|
192
211
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
193
|
-
* Another change to the resource is already in progress. Retry the request
|
|
212
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
194
213
|
*
|
|
195
214
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
196
|
-
* The request reuses the client token of an earlier request with different
|
|
197
|
-
* parameters. Use a new client token, or resend the earlier request unchanged.
|
|
215
|
+
* <p>The request reuses the client token of an earlier request with different parameters. Use a new client token, or resend the earlier request unchanged.</p>
|
|
198
216
|
*
|
|
199
217
|
* @throws {@link InvalidStateException} (client fault)
|
|
200
|
-
* The resource is not in a state that allows the operation. For example, an
|
|
201
|
-
* event bus that is still being created cannot accept events.
|
|
218
|
+
* <p>The resource is not in a state that allows the operation. For example, an event bus that is still being created cannot accept events.</p>
|
|
202
219
|
*
|
|
203
220
|
* @throws {@link LimitExceededException} (client fault)
|
|
204
|
-
* The request would exceed a service quota for the account
|
|
221
|
+
* <p>The request would exceed a service quota for the account.</p>
|
|
205
222
|
*
|
|
206
223
|
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
207
|
-
* A resource with the same name already exists
|
|
224
|
+
* <p>A resource with the same name already exists.</p>
|
|
208
225
|
*
|
|
209
226
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
210
|
-
* The resource does not exist
|
|
227
|
+
* <p>The resource does not exist.</p>
|
|
211
228
|
*
|
|
212
229
|
* @throws {@link AccessDeniedException} (client fault)
|
|
213
|
-
* The caller does not have the permissions required to perform the operation.
|
|
214
|
-
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
215
|
-
* the event bus.
|
|
230
|
+
* <p>The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.</p>
|
|
216
231
|
*
|
|
217
232
|
* @throws {@link InternalException} (server fault)
|
|
218
|
-
* The request failed because of an internal service error. Retry the request
|
|
233
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
219
234
|
*
|
|
220
235
|
* @throws {@link InvalidInputException} (client fault)
|
|
221
|
-
* A request parameter is missing or not valid
|
|
236
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
222
237
|
*
|
|
223
238
|
* @throws {@link ThrottlingException} (client fault)
|
|
224
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
225
|
-
* request with backoff.
|
|
239
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
226
240
|
*
|
|
227
241
|
* @throws {@link EventBridgeV2ServiceException}
|
|
228
242
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,9 +24,7 @@ declare const DeleteEventBusCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
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.
|
|
27
|
+
* <p>Deletes an event bus. Deletion is asynchronous: the bus moves to DELETING and disappears when complete (see the EventBusDeleted waiter). A bus with subscribers or event sources cannot be deleted.</p>
|
|
30
28
|
* @example
|
|
31
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
30
|
* ```javascript
|
|
@@ -51,33 +49,28 @@ declare const DeleteEventBusCommand_base: {
|
|
|
51
49
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
52
50
|
*
|
|
53
51
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
54
|
-
* Another change to the resource is already in progress. Retry the request
|
|
52
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
55
53
|
*
|
|
56
54
|
* @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.
|
|
55
|
+
* <p>The resource is not in a state that allows the operation. For example, an event bus that is still being created cannot accept events.</p>
|
|
59
56
|
*
|
|
60
57
|
* @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.
|
|
58
|
+
* <p>The resource is in use and cannot be deleted. For example, an event bus with subscribers or event sources cannot be deleted until they are deleted.</p>
|
|
63
59
|
*
|
|
64
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
-
* The resource does not exist
|
|
61
|
+
* <p>The resource does not exist.</p>
|
|
66
62
|
*
|
|
67
63
|
* @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.
|
|
64
|
+
* <p>The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.</p>
|
|
71
65
|
*
|
|
72
66
|
* @throws {@link InternalException} (server fault)
|
|
73
|
-
* The request failed because of an internal service error. Retry the request
|
|
67
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
74
68
|
*
|
|
75
69
|
* @throws {@link InvalidInputException} (client fault)
|
|
76
|
-
* A request parameter is missing or not valid
|
|
70
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
77
71
|
*
|
|
78
72
|
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
80
|
-
* request with backoff.
|
|
73
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
81
74
|
*
|
|
82
75
|
* @throws {@link EventBridgeV2ServiceException}
|
|
83
76
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,7 +24,7 @@ declare const DeleteEventSourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Deletes an EventSource. Forwarding from its origin stops
|
|
27
|
+
* <p>Deletes an EventSource. Forwarding from its origin stops.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -49,29 +49,25 @@ declare const DeleteEventSourceCommand_base: {
|
|
|
49
49
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
52
|
-
* Another change to the resource is already in progress. Retry the request
|
|
52
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
53
53
|
*
|
|
54
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.
|
|
55
|
+
* <p>The resource is not in a state that allows the operation. For example, an event bus that is still being created cannot accept events.</p>
|
|
57
56
|
*
|
|
58
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
-
* The resource does not exist
|
|
58
|
+
* <p>The resource does not exist.</p>
|
|
60
59
|
*
|
|
61
60
|
* @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.
|
|
61
|
+
* <p>The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.</p>
|
|
65
62
|
*
|
|
66
63
|
* @throws {@link InternalException} (server fault)
|
|
67
|
-
* The request failed because of an internal service error. Retry the request
|
|
64
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
68
65
|
*
|
|
69
66
|
* @throws {@link InvalidInputException} (client fault)
|
|
70
|
-
* A request parameter is missing or not valid
|
|
67
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
71
68
|
*
|
|
72
69
|
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
74
|
-
* request with backoff.
|
|
70
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
75
71
|
*
|
|
76
72
|
* @throws {@link EventBridgeV2ServiceException}
|
|
77
73
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,7 +24,7 @@ declare const DeleteResourcePolicyCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Deletes the named resource policy attached to an event bus
|
|
27
|
+
* <p>Deletes the named resource policy attached to an event bus.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -53,37 +53,25 @@ declare const DeleteResourcePolicyCommand_base: {
|
|
|
53
53
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
56
|
-
* Another change to the resource is already in progress. Retry the request
|
|
56
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
57
57
|
*
|
|
58
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.
|
|
59
|
+
* <p>A client-supplied precondition (e.g. ExpectedRevisionId on a resource-policy write) did not match the current state of the resource. Retrying the same request will fail again; re-read the resource and re-evaluate before retrying.</p> <p>A conditional request is not retry-safe on its own. If an earlier attempt committed but its response never reached the caller, retrying fails with this error, which is indistinguishable from another writer having won. Compare the resource's current contents with what the request intended: a successful attempt stores a revision ID the caller never saw, so the revision alone cannot tell the two apart, but matching contents mean the change took effect.</p>
|
|
69
60
|
*
|
|
70
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
-
* The resource does not exist
|
|
62
|
+
* <p>The resource does not exist.</p>
|
|
72
63
|
*
|
|
73
64
|
* @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.
|
|
65
|
+
* <p>The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.</p>
|
|
77
66
|
*
|
|
78
67
|
* @throws {@link InternalException} (server fault)
|
|
79
|
-
* The request failed because of an internal service error. Retry the request
|
|
68
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
80
69
|
*
|
|
81
70
|
* @throws {@link InvalidInputException} (client fault)
|
|
82
|
-
* A request parameter is missing or not valid
|
|
71
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
83
72
|
*
|
|
84
73
|
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
86
|
-
* request with backoff.
|
|
74
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
87
75
|
*
|
|
88
76
|
* @throws {@link EventBridgeV2ServiceException}
|
|
89
77
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,7 +24,7 @@ declare const DeleteSubscriberCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Deletes a subscriber. Events are no longer delivered to its target
|
|
27
|
+
* <p>Deletes a subscriber. Events are no longer delivered to its target.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -49,25 +49,22 @@ declare const DeleteSubscriberCommand_base: {
|
|
|
49
49
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
52
|
-
* Another change to the resource is already in progress. Retry the request
|
|
52
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
|
-
* The resource does not exist
|
|
55
|
+
* <p>The resource does not exist.</p>
|
|
56
56
|
*
|
|
57
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.
|
|
58
|
+
* <p>The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.</p>
|
|
61
59
|
*
|
|
62
60
|
* @throws {@link InternalException} (server fault)
|
|
63
|
-
* The request failed because of an internal service error. Retry the request
|
|
61
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
64
62
|
*
|
|
65
63
|
* @throws {@link InvalidInputException} (client fault)
|
|
66
|
-
* A request parameter is missing or not valid
|
|
64
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
67
65
|
*
|
|
68
66
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
70
|
-
* request with backoff.
|
|
67
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
71
68
|
*
|
|
72
69
|
* @throws {@link EventBridgeV2ServiceException}
|
|
73
70
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,7 +24,7 @@ declare const DescribeEventBusCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Returns the full configuration and lifecycle state of an event bus
|
|
27
|
+
* <p>Returns the full configuration and lifecycle state of an event bus.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -64,22 +64,19 @@ declare const DescribeEventBusCommand_base: {
|
|
|
64
64
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
-
* The resource does not exist
|
|
67
|
+
* <p>The resource does not exist.</p>
|
|
68
68
|
*
|
|
69
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.
|
|
70
|
+
* <p>The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.</p>
|
|
73
71
|
*
|
|
74
72
|
* @throws {@link InternalException} (server fault)
|
|
75
|
-
* The request failed because of an internal service error. Retry the request
|
|
73
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
76
74
|
*
|
|
77
75
|
* @throws {@link InvalidInputException} (client fault)
|
|
78
|
-
* A request parameter is missing or not valid
|
|
76
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
79
77
|
*
|
|
80
78
|
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
82
|
-
* request with backoff.
|
|
79
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
83
80
|
*
|
|
84
81
|
* @throws {@link EventBridgeV2ServiceException}
|
|
85
82
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|