@aws-sdk/client-eventbridgev2 3.1172.0 → 3.1174.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
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { RotateWebhookCredentialsRequest, RotateWebhookCredentialsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link RotateWebhookCredentialsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface RotateWebhookCredentialsCommandInput extends RotateWebhookCredentialsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link RotateWebhookCredentialsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface RotateWebhookCredentialsCommandOutput extends RotateWebhookCredentialsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const RotateWebhookCredentialsCommand_base: {
|
|
22
|
+
new (input: RotateWebhookCredentialsCommandInput): import("@smithy/core/client").CommandImpl<RotateWebhookCredentialsCommandInput, RotateWebhookCredentialsCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RotateWebhookCredentialsCommandInput): import("@smithy/core/client").CommandImpl<RotateWebhookCredentialsCommandInput, RotateWebhookCredentialsCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Sets a new credential on a webhook EventSource. If you supply Credential, EventBridge uses that value. Otherwise, EventBridge generates one. For HTTP Basic authentication, only the password changes. The username does not change. EventBridge never returns the credential. To read a generated value, call secretsmanager:GetSecretValue on the secret that SecretArn identifies.</p> <p>You can rotate the credential of an EventSource in the ACTIVE, UPDATING, or UPDATE_FAILED state. For a revoked EventSource or an EventSource in any other state, EventBridge returns InvalidStateException. EventBridge also returns InvalidStateException if the secret of the EventSource is scheduled for deletion or has been deleted.</p> <p>If you rotate the credential of one EventSource too many times in 24 hours, EventBridge returns LimitExceededException. Retry later. The limit becomes available again automatically.</p> <p>If AWS Secrets Manager throttles the call, EventBridge returns ThrottlingException. Retry later.</p> <p>To use this operation, you must have the following permissions in your IAM policy:</p> <ul> <li> <p>secretsmanager:PutSecretValue on the secret of the EventSource</p> </li> <li> <p>secretsmanager:GetSecretValue on the secret of the EventSource, for HTTP Basic authentication only</p> </li> <li> <p>kms:GenerateDataKey and kms:Decrypt on the AWS KMS key that encrypts the secret</p> </li> </ul> <p>The resource policy of the secret must not deny the secretsmanager actions.</p> <p>EventBridge accepts the new credential when this call returns. In rare cases, the new credential takes up to 2 minutes to reach every EventBridge endpoint.</p> <p>EventBridge also accepts the previous credential for 15 minutes after the rotation. The window ends at the CreatedDate of the AWSCURRENT secret version plus 15 minutes. Only the credential that the most recent rotation replaced stays valid. If you rotate again within 15 minutes, the older credential stops working immediately.</p> <p>A retry with the same ClientToken within 8 hours returns the same result and does not rotate again. A retry of a rotation that supplied a value can arrive after a later rotation completed. In that case, the retried value becomes the current credential, and the credential it replaces does not stay valid.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { EventBridgeV2Client, RotateWebhookCredentialsCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
|
|
32
|
+
* // const { EventBridgeV2Client, RotateWebhookCredentialsCommand } = 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 = { // RotateWebhookCredentialsRequest
|
|
37
|
+
* EventSourceArn: "STRING_VALUE", // required
|
|
38
|
+
* Credential: { // WebhookCredential Union: only one key present
|
|
39
|
+
* StaticTokenSecretValue: "STRING_VALUE",
|
|
40
|
+
* BasicHttpPassword: "STRING_VALUE",
|
|
41
|
+
* HmacSecretValue: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ClientToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new RotateWebhookCredentialsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // RotateWebhookCredentialsResponse
|
|
48
|
+
* // SecretArn: "STRING_VALUE", // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param RotateWebhookCredentialsCommandInput - {@link RotateWebhookCredentialsCommandInput}
|
|
54
|
+
* @returns {@link RotateWebhookCredentialsCommandOutput}
|
|
55
|
+
* @see {@link RotateWebhookCredentialsCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link RotateWebhookCredentialsCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
60
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
63
|
+
* <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>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidStateException} (client fault)
|
|
66
|
+
* <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>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
69
|
+
* <p>The request would exceed a service quota for the account.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The resource does not exist.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <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>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalException} (server fault)
|
|
78
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
81
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link EventBridgeV2ServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class RotateWebhookCredentialsCommand extends RotateWebhookCredentialsCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: RotateWebhookCredentialsRequest;
|
|
97
|
+
output: RotateWebhookCredentialsResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: RotateWebhookCredentialsCommandInput;
|
|
101
|
+
output: RotateWebhookCredentialsCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -24,7 +24,7 @@ declare const TagResourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Adds or replaces tags on an event bus, subscriber, or event source
|
|
27
|
+
* <p>Adds or replaces tags on an event bus, subscriber, or event source.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -52,32 +52,28 @@ declare const TagResourceCommand_base: {
|
|
|
52
52
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
55
|
-
* Another change to the resource is already in progress. Retry the request
|
|
55
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
56
56
|
*
|
|
57
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.
|
|
58
|
+
* <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>
|
|
60
59
|
*
|
|
61
60
|
* @throws {@link LimitExceededException} (client fault)
|
|
62
|
-
* The request would exceed a service quota for the account
|
|
61
|
+
* <p>The request would exceed a service quota for the account.</p>
|
|
63
62
|
*
|
|
64
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
-
* The resource does not exist
|
|
64
|
+
* <p>The resource does not exist.</p>
|
|
66
65
|
*
|
|
67
66
|
* @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.
|
|
67
|
+
* <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
68
|
*
|
|
72
69
|
* @throws {@link InternalException} (server fault)
|
|
73
|
-
* The request failed because of an internal service error. Retry the request
|
|
70
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
74
71
|
*
|
|
75
72
|
* @throws {@link InvalidInputException} (client fault)
|
|
76
|
-
* A request parameter is missing or not valid
|
|
73
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
77
74
|
*
|
|
78
75
|
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
80
|
-
* request with backoff.
|
|
76
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
81
77
|
*
|
|
82
78
|
* @throws {@link EventBridgeV2ServiceException}
|
|
83
79
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,7 +24,7 @@ declare const UntagResourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Removes tags from an event bus, subscriber, or event source
|
|
27
|
+
* <p>Removes tags from an event bus, subscriber, or event source.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -52,29 +52,25 @@ declare const UntagResourceCommand_base: {
|
|
|
52
52
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
55
|
-
* Another change to the resource is already in progress. Retry the request
|
|
55
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
56
56
|
*
|
|
57
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.
|
|
58
|
+
* <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>
|
|
60
59
|
*
|
|
61
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
-
* The resource does not exist
|
|
61
|
+
* <p>The resource does not exist.</p>
|
|
63
62
|
*
|
|
64
63
|
* @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.
|
|
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>
|
|
68
65
|
*
|
|
69
66
|
* @throws {@link InternalException} (server fault)
|
|
70
|
-
* 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>
|
|
71
68
|
*
|
|
72
69
|
* @throws {@link InvalidInputException} (client fault)
|
|
73
|
-
* A request parameter is missing or not valid
|
|
70
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
74
71
|
*
|
|
75
72
|
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
77
|
-
* request with backoff.
|
|
73
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
78
74
|
*
|
|
79
75
|
* @throws {@link EventBridgeV2ServiceException}
|
|
80
76
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,9 +24,7 @@ declare const UpdateEventBusCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
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.
|
|
27
|
+
* <p>Updates an event bus. The update is asynchronous: the bus moves to UPDATING and returns to ACTIVE when the change is applied. Fields omitted from the request are left unchanged.</p>
|
|
30
28
|
* @example
|
|
31
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
30
|
* ```javascript
|
|
@@ -72,29 +70,25 @@ declare const UpdateEventBusCommand_base: {
|
|
|
72
70
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
73
71
|
*
|
|
74
72
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
75
|
-
* Another change to the resource is already in progress. Retry the request
|
|
73
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
76
74
|
*
|
|
77
75
|
* @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.
|
|
76
|
+
* <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>
|
|
80
77
|
*
|
|
81
78
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
-
* The resource does not exist
|
|
79
|
+
* <p>The resource does not exist.</p>
|
|
83
80
|
*
|
|
84
81
|
* @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.
|
|
82
|
+
* <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>
|
|
88
83
|
*
|
|
89
84
|
* @throws {@link InternalException} (server fault)
|
|
90
|
-
* The request failed because of an internal service error. Retry the request
|
|
85
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
91
86
|
*
|
|
92
87
|
* @throws {@link InvalidInputException} (client fault)
|
|
93
|
-
* A request parameter is missing or not valid
|
|
88
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
94
89
|
*
|
|
95
90
|
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
97
|
-
* request with backoff.
|
|
91
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
98
92
|
*
|
|
99
93
|
* @throws {@link EventBridgeV2ServiceException}
|
|
100
94
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,7 +24,7 @@ declare const UpdateEventSourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Updates an EventSource. Fields omitted from the request are left unchanged
|
|
27
|
+
* <p>Updates an EventSource. Fields omitted from the request are left unchanged.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -51,6 +51,44 @@ declare const UpdateEventSourceCommand_base: {
|
|
|
51
51
|
* Arn: "STRING_VALUE",
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
54
|
+
* WebhookEventsConfiguration: { // WebhookEventsSourceConfiguration
|
|
55
|
+
* AuthConfiguration: { // WebhookAuthConfiguration Union: only one key present
|
|
56
|
+
* StaticTokenAuthConfiguration: { // WebhookStaticTokenAuthConfiguration
|
|
57
|
+
* TokenHttpHeader: "STRING_VALUE", // required
|
|
58
|
+
* SecretValue: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* BasicHttpAuthConfiguration: { // WebhookBasicHttpAuthConfiguration
|
|
61
|
+
* Username: "STRING_VALUE",
|
|
62
|
+
* Password: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* HmacAuthConfiguration: { // WebhookHmacAuthConfiguration
|
|
65
|
+
* Algorithm: "SHA256" || "SHA1", // required
|
|
66
|
+
* Encoding: "HEX" || "BASE64", // required
|
|
67
|
+
* SignatureHttpHeader: "STRING_VALUE", // required
|
|
68
|
+
* SignaturePrefix: "STRING_VALUE",
|
|
69
|
+
* Delimiter: "STRING_VALUE",
|
|
70
|
+
* TimestampHttpHeader: "STRING_VALUE",
|
|
71
|
+
* TimestampPrefix: "STRING_VALUE",
|
|
72
|
+
* TimestampToleranceInSeconds: Number("int"),
|
|
73
|
+
* MessageIdHttpHeader: "STRING_VALUE",
|
|
74
|
+
* SignedMessageComposition: "BODY" || "TIMESTAMP_DOT_BODY" || "MESSAGE_ID_DOT_TIMESTAMP_DOT_BODY", // required
|
|
75
|
+
* SecretValue: "STRING_VALUE",
|
|
76
|
+
* SecretEncoding: "RAW" || "BASE64",
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* KmsKeyIdentifier: "STRING_VALUE",
|
|
80
|
+
* RoleArn: "STRING_VALUE", // required
|
|
81
|
+
* MetadataHttpHeaders: [ // WebhookMetadataHttpHeaderList
|
|
82
|
+
* "STRING_VALUE",
|
|
83
|
+
* ],
|
|
84
|
+
* DeduplicationConfiguration: { // WebhookDeduplicationConfiguration
|
|
85
|
+
* DeduplicationType: "CONTENT_BASED", // required
|
|
86
|
+
* },
|
|
87
|
+
* LogConfiguration: { // LogConfiguration
|
|
88
|
+
* Level: "OFF" || "ERROR" || "INFO",
|
|
89
|
+
* IncludePayload: "FULL" || "ON_ERROR_ONLY",
|
|
90
|
+
* },
|
|
91
|
+
* },
|
|
54
92
|
* },
|
|
55
93
|
* Description: "STRING_VALUE",
|
|
56
94
|
* };
|
|
@@ -73,29 +111,28 @@ declare const UpdateEventSourceCommand_base: {
|
|
|
73
111
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
74
112
|
*
|
|
75
113
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
76
|
-
* Another change to the resource is already in progress. Retry the request
|
|
114
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
77
115
|
*
|
|
78
116
|
* @throws {@link InvalidStateException} (client fault)
|
|
79
|
-
* The resource is not in a state that allows the operation. For example, an
|
|
80
|
-
*
|
|
117
|
+
* <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>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
120
|
+
* <p>The request would exceed a service quota for the account.</p>
|
|
81
121
|
*
|
|
82
122
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
-
* The resource does not exist
|
|
123
|
+
* <p>The resource does not exist.</p>
|
|
84
124
|
*
|
|
85
125
|
* @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.
|
|
126
|
+
* <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>
|
|
89
127
|
*
|
|
90
128
|
* @throws {@link InternalException} (server fault)
|
|
91
|
-
* The request failed because of an internal service error. Retry the request
|
|
129
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
92
130
|
*
|
|
93
131
|
* @throws {@link InvalidInputException} (client fault)
|
|
94
|
-
* A request parameter is missing or not valid
|
|
132
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
95
133
|
*
|
|
96
134
|
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
98
|
-
* request with backoff.
|
|
135
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
99
136
|
*
|
|
100
137
|
* @throws {@link EventBridgeV2ServiceException}
|
|
101
138
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -24,7 +24,7 @@ declare const UpdateSubscriberCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Updates a subscriber. Fields omitted from the request are left unchanged.
|
|
27
|
+
* <p>Updates a subscriber. Fields omitted from the request are left unchanged. Changing an Amazon MSK subscriber's connectivity can re-provision it; when it does, the subscriber resumes delivering once its ConnectivityState returns to ACTIVE (see the MskSubscriberActive waiter).</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -117,6 +117,20 @@ declare const UpdateSubscriberCommand_base: {
|
|
|
117
117
|
* DeduplicationType: "CONTENT_BASED", // required
|
|
118
118
|
* },
|
|
119
119
|
* },
|
|
120
|
+
* MskParameters: { // MskParameters
|
|
121
|
+
* TopicName: "STRING_VALUE", // required
|
|
122
|
+
* Compression: "NONE" || "GZIP" || "SNAPPY" || "LZ4" || "ZSTD",
|
|
123
|
+
* Acks: "ALL" || "LEADER",
|
|
124
|
+
* PartitionKey: "STRING_VALUE",
|
|
125
|
+
* Headers: [ // MskHeaderList
|
|
126
|
+
* { // MskHeader
|
|
127
|
+
* Key: "STRING_VALUE", // required
|
|
128
|
+
* Value: "STRING_VALUE",
|
|
129
|
+
* },
|
|
130
|
+
* ],
|
|
131
|
+
* ClientId: "STRING_VALUE",
|
|
132
|
+
* Connectivity: "PUBLIC" || "PRIVATE", // required
|
|
133
|
+
* },
|
|
120
134
|
* },
|
|
121
135
|
* FilterConfiguration: { // FilterConfiguration
|
|
122
136
|
* Language: "EVENT_BRIDGE_PATTERN",
|
|
@@ -165,6 +179,13 @@ declare const UpdateSubscriberCommand_base: {
|
|
|
165
179
|
* // },
|
|
166
180
|
* // State: "RUNNING" || "STOPPED",
|
|
167
181
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
182
|
+
* // SubscriberDetails: { // SubscriberDetails
|
|
183
|
+
* // MskDetails: { // MskDetails
|
|
184
|
+
* // ConnectivityState: "PROVISIONING" || "PROVISION_FAILED" || "ACTIVE",
|
|
185
|
+
* // StateReason: "STRING_VALUE",
|
|
186
|
+
* // VpcConnectionArn: "STRING_VALUE",
|
|
187
|
+
* // },
|
|
188
|
+
* // },
|
|
168
189
|
* // };
|
|
169
190
|
*
|
|
170
191
|
* ```
|
|
@@ -176,32 +197,28 @@ declare const UpdateSubscriberCommand_base: {
|
|
|
176
197
|
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
177
198
|
*
|
|
178
199
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
179
|
-
* Another change to the resource is already in progress. Retry the request
|
|
200
|
+
* <p>Another change to the resource is already in progress. Retry the request.</p>
|
|
180
201
|
*
|
|
181
202
|
* @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.
|
|
203
|
+
* <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>
|
|
184
204
|
*
|
|
185
205
|
* @throws {@link LimitExceededException} (client fault)
|
|
186
|
-
* The request would exceed a service quota for the account
|
|
206
|
+
* <p>The request would exceed a service quota for the account.</p>
|
|
187
207
|
*
|
|
188
208
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
189
|
-
* The resource does not exist
|
|
209
|
+
* <p>The resource does not exist.</p>
|
|
190
210
|
*
|
|
191
211
|
* @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.
|
|
212
|
+
* <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>
|
|
195
213
|
*
|
|
196
214
|
* @throws {@link InternalException} (server fault)
|
|
197
|
-
* The request failed because of an internal service error. Retry the request
|
|
215
|
+
* <p>The request failed because of an internal service error. Retry the request.</p>
|
|
198
216
|
*
|
|
199
217
|
* @throws {@link InvalidInputException} (client fault)
|
|
200
|
-
* A request parameter is missing or not valid
|
|
218
|
+
* <p>A request parameter is missing or not valid.</p>
|
|
201
219
|
*
|
|
202
220
|
* @throws {@link ThrottlingException} (client fault)
|
|
203
|
-
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
204
|
-
* request with backoff.
|
|
221
|
+
* <p>The request was throttled because it exceeds a request rate limit. Retry the request with backoff.</p>
|
|
205
222
|
*
|
|
206
223
|
* @throws {@link EventBridgeV2ServiceException}
|
|
207
224
|
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
@@ -18,6 +18,7 @@ export * from "./PutEventsCommand";
|
|
|
18
18
|
export * from "./PutRawEventsCommand";
|
|
19
19
|
export * from "./PutResourcePolicyCommand";
|
|
20
20
|
export * from "./RevokeResourceCommand";
|
|
21
|
+
export * from "./RotateWebhookCredentialsCommand";
|
|
21
22
|
export * from "./TagResourceCommand";
|
|
22
23
|
export * from "./UntagResourceCommand";
|
|
23
24
|
export * from "./UpdateEventBusCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Amazon EventBridge event bus API. An event bus receives events published by
|
|
3
|
-
* your applications and AWS services, stores them for a configurable retention
|
|
4
|
-
* period, and delivers them to subscribers. A subscriber filters events,
|
|
5
|
-
* optionally transforms them, and invokes a target such as Lambda, SQS, SNS,
|
|
6
|
-
* Kinesis, Step Functions, or an HTTP endpoint. The API manages event buses,
|
|
7
|
-
* subscribers, event sources, resource policies, and tags, and publishes
|
|
8
|
-
* events through PutEvents and PutRawEvents.
|
|
2
|
+
* <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>
|
|
9
3
|
*
|
|
10
4
|
* @packageDocumentation
|
|
11
5
|
*/
|