@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.
- package/LICENSE +201 -0
- package/README.md +362 -0
- package/dist-cjs/index.js +1982 -0
- package/dist-es/EventBridgeV2.js +73 -0
- package/dist-es/EventBridgeV2Client.js +49 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +12 -0
- package/dist-es/commands/CreateEventBusCommand.js +4 -0
- package/dist-es/commands/CreateEventSourceCommand.js +4 -0
- package/dist-es/commands/CreateSubscriberCommand.js +4 -0
- package/dist-es/commands/DeleteEventBusCommand.js +4 -0
- package/dist-es/commands/DeleteEventSourceCommand.js +4 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/dist-es/commands/DeleteSubscriberCommand.js +4 -0
- package/dist-es/commands/DescribeEventBusCommand.js +4 -0
- package/dist-es/commands/DescribeEventSourceCommand.js +4 -0
- package/dist-es/commands/DescribeSubscriberCommand.js +4 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/dist-es/commands/ListEventBusesCommand.js +4 -0
- package/dist-es/commands/ListEventSourcesCommand.js +4 -0
- package/dist-es/commands/ListResourcePoliciesCommand.js +4 -0
- package/dist-es/commands/ListSubscribersCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/PutEventsCommand.js +4 -0
- package/dist-es/commands/PutRawEventsCommand.js +4 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/dist-es/commands/RevokeResourceCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateEventBusCommand.js +4 -0
- package/dist-es/commands/UpdateEventSourceCommand.js +4 -0
- package/dist-es/commands/UpdateSubscriberCommand.js +4 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +15 -0
- package/dist-es/endpoint/bdd.js +85 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/EventBridgeV2ServiceException.js +8 -0
- package/dist-es/models/enums.js +78 -0
- package/dist-es/models/errors.js +217 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEventBusesPaginator.js +4 -0
- package/dist-es/pagination/ListEventSourcesPaginator.js +4 -0
- package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListSubscribersPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +31 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +41 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +939 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForEventBusActive.js +58 -0
- package/dist-es/waiters/waitForEventBusDeleted.js +34 -0
- package/dist-types/EventBridgeV2.d.ts +242 -0
- package/dist-types/EventBridgeV2Client.d.ts +222 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +26 -0
- package/dist-types/commands/CreateEventBusCommand.d.ts +128 -0
- package/dist-types/commands/CreateEventSourceCommand.d.ts +135 -0
- package/dist-types/commands/CreateSubscriberCommand.d.ts +245 -0
- package/dist-types/commands/DeleteEventBusCommand.d.ts +100 -0
- package/dist-types/commands/DeleteEventSourceCommand.d.ts +94 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +106 -0
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +90 -0
- package/dist-types/commands/DescribeEventBusCommand.d.ts +102 -0
- package/dist-types/commands/DescribeEventSourceCommand.d.ts +113 -0
- package/dist-types/commands/DescribeSubscriberCommand.d.ts +215 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +95 -0
- package/dist-types/commands/ListEventBusesCommand.d.ts +104 -0
- package/dist-types/commands/ListEventSourcesCommand.d.ts +107 -0
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +98 -0
- package/dist-types/commands/ListSubscribersCommand.d.ts +108 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/PutEventsCommand.d.ts +120 -0
- package/dist-types/commands/PutRawEventsCommand.d.ts +127 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +132 -0
- package/dist-types/commands/RevokeResourceCommand.d.ts +99 -0
- package/dist-types/commands/TagResourceCommand.d.ts +100 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +97 -0
- package/dist-types/commands/UpdateEventBusCommand.d.ts +117 -0
- package/dist-types/commands/UpdateEventSourceCommand.d.ts +118 -0
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +224 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +63 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/EventBridgeV2ServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +250 -0
- package/dist-types/models/errors.d.ts +227 -0
- package/dist-types/models/models_0.d.ts +2532 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListEventBusesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSubscribersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +59 -0
- package/dist-types/runtimeConfig.d.ts +59 -0
- package/dist-types/runtimeConfig.native.d.ts +58 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +140 -0
- package/dist-types/ts3.4/EventBridgeV2.d.ts +484 -0
- package/dist-types/ts3.4/EventBridgeV2Client.d.ts +253 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeSubscriberCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSubscribersCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutRawEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/RevokeResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateEventBusCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateEventSourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +64 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/EventBridgeV2ServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +95 -0
- package/dist-types/ts3.4/models/errors.d.ts +98 -0
- package/dist-types/ts3.4/models/models_0.d.ts +552 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListEventBusesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSubscribersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +103 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +140 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForEventBusActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForEventBusDeleted.d.ts +16 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForEventBusActive.d.ts +15 -0
- package/dist-types/waiters/waitForEventBusDeleted.d.ts +16 -0
- package/package.json +69 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type EventBridgeV2ClientResolvedConfig } from "../EventBridgeV2Client";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface EventBridgeV2HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface EventBridgeV2HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<EventBridgeV2ClientResolvedConfig, HandlerExecutionContext, EventBridgeV2HttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultEventBridgeV2HttpAuthSchemeParametersProvider: (config: EventBridgeV2ClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<EventBridgeV2HttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface EventBridgeV2HttpAuthSchemeProvider extends HttpAuthSchemeProvider<EventBridgeV2HttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultEventBridgeV2HttpAuthSchemeProvider: EventBridgeV2HttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: EventBridgeV2HttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: EventBridgeV2HttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { EventBridgeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./EventBridgeV2Client";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, EventBridgeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, EventBridgeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _ep1: EndpointParameterInstructions;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare const _ep2: EndpointParameterInstructions;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateEventBusRequest, CreateEventBusResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateEventBusCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateEventBusCommandInput extends CreateEventBusRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateEventBusCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateEventBusCommandOutput extends CreateEventBusResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateEventBusCommand_base: {
|
|
22
|
+
new (input: CreateEventBusCommandInput): import("@smithy/core/client").CommandImpl<CreateEventBusCommandInput, CreateEventBusCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateEventBusCommandInput): import("@smithy/core/client").CommandImpl<CreateEventBusCommandInput, CreateEventBusCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
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.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { EventBridgeV2Client, CreateEventBusCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
|
|
34
|
+
* // const { EventBridgeV2Client, CreateEventBusCommand } = 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 = { // CreateEventBusRequest
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* Description: "STRING_VALUE",
|
|
41
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
42
|
+
* KmsKeyIdentifier: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* StorageConfiguration: { // StorageConfiguration
|
|
45
|
+
* RetentionPeriodInDays: Number("int"),
|
|
46
|
+
* },
|
|
47
|
+
* Tags: { // TagMap
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* ClientToken: "STRING_VALUE",
|
|
51
|
+
* };
|
|
52
|
+
* const command = new CreateEventBusCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // CreateEventBusResponse
|
|
55
|
+
* // EventBusArn: "STRING_VALUE",
|
|
56
|
+
* // Name: "STRING_VALUE",
|
|
57
|
+
* // Description: "STRING_VALUE",
|
|
58
|
+
* // EncryptionConfiguration: { // EncryptionConfiguration
|
|
59
|
+
* // KmsKeyIdentifier: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // StorageConfiguration: { // StorageConfigurationOutput
|
|
62
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
63
|
+
* // RetentionWindowStartTime: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // State: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "ACTIVE" || "DELETE_FAILED",
|
|
66
|
+
* // StateReason: "STRING_VALUE",
|
|
67
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param CreateEventBusCommandInput - {@link CreateEventBusCommandInput}
|
|
73
|
+
* @returns {@link CreateEventBusCommandOutput}
|
|
74
|
+
* @see {@link CreateEventBusCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link CreateEventBusCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
79
|
+
* Another change to the resource is already in progress. Retry the request.
|
|
80
|
+
*
|
|
81
|
+
* @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.
|
|
84
|
+
*
|
|
85
|
+
* @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.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
90
|
+
* The request would exceed a service quota for the account.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
93
|
+
* A resource with the same name already exists.
|
|
94
|
+
*
|
|
95
|
+
* @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.
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link InternalException} (server fault)
|
|
101
|
+
* The request failed because of an internal service error. Retry the request.
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
104
|
+
* A request parameter is missing or not valid.
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
107
|
+
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
108
|
+
* request with backoff.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link EventBridgeV2ServiceException}
|
|
111
|
+
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
112
|
+
*
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export declare class CreateEventBusCommand extends CreateEventBusCommand_base {
|
|
117
|
+
/** @internal type navigation helper, not in runtime. */
|
|
118
|
+
protected static __types: {
|
|
119
|
+
api: {
|
|
120
|
+
input: CreateEventBusRequest;
|
|
121
|
+
output: CreateEventBusResponse;
|
|
122
|
+
};
|
|
123
|
+
sdk: {
|
|
124
|
+
input: CreateEventBusCommandInput;
|
|
125
|
+
output: CreateEventBusCommandOutput;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateEventSourceRequest, CreateEventSourceResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateEventSourceCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateEventSourceCommandInput extends CreateEventSourceRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateEventSourceCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateEventSourceCommandOutput extends CreateEventSourceResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateEventSourceCommand_base: {
|
|
22
|
+
new (input: CreateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateEventSourceCommandInput, CreateEventSourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateEventSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateEventSourceCommandInput, CreateEventSourceCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
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.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { EventBridgeV2Client, CreateEventSourceCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
|
|
34
|
+
* // const { EventBridgeV2Client, CreateEventSourceCommand } = 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 = { // CreateEventSourceRequest
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* EventBusArn: "STRING_VALUE", // required
|
|
41
|
+
* Configuration: { // EventSourceConfiguration Union: only one key present
|
|
42
|
+
* AwsServiceEventsConfiguration: { // AwsServiceEventsSourceConfiguration
|
|
43
|
+
* AwsService: "STRING_VALUE", // required
|
|
44
|
+
* Pattern: "STRING_VALUE",
|
|
45
|
+
* OnFailureConfiguration: { // OnFailureConfiguration
|
|
46
|
+
* Arn: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* PartnerEventsConfiguration: { // PartnerEventsSourceConfiguration
|
|
50
|
+
* PartnerEventSourceArn: "STRING_VALUE", // required
|
|
51
|
+
* Pattern: "STRING_VALUE",
|
|
52
|
+
* PartnerBusKmsKeyIdentifier: "STRING_VALUE",
|
|
53
|
+
* OnFailureConfiguration: {
|
|
54
|
+
* Arn: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* Description: "STRING_VALUE",
|
|
59
|
+
* Tags: { // TagMap
|
|
60
|
+
* "<keys>": "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* ClientToken: "STRING_VALUE",
|
|
63
|
+
* };
|
|
64
|
+
* const command = new CreateEventSourceCommand(input);
|
|
65
|
+
* const response = await client.send(command);
|
|
66
|
+
* // { // CreateEventSourceResponse
|
|
67
|
+
* // EventSourceArn: "STRING_VALUE",
|
|
68
|
+
* // Name: "STRING_VALUE",
|
|
69
|
+
* // EventBusArn: "STRING_VALUE",
|
|
70
|
+
* // State: "CREATING" || "ACTIVE" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
|
|
71
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param CreateEventSourceCommandInput - {@link CreateEventSourceCommandInput}
|
|
77
|
+
* @returns {@link CreateEventSourceCommandOutput}
|
|
78
|
+
* @see {@link CreateEventSourceCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link CreateEventSourceCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
83
|
+
* Another change to the resource is already in progress. Retry the request.
|
|
84
|
+
*
|
|
85
|
+
* @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.
|
|
88
|
+
*
|
|
89
|
+
* @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.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
94
|
+
* The request would exceed a service quota for the account.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
97
|
+
* A resource with the same name already exists.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
100
|
+
* The resource does not exist.
|
|
101
|
+
*
|
|
102
|
+
* @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.
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link InternalException} (server fault)
|
|
108
|
+
* The request failed because of an internal service error. Retry the request.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
111
|
+
* A request parameter is missing or not valid.
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
114
|
+
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
115
|
+
* request with backoff.
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link EventBridgeV2ServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export declare class CreateEventSourceCommand extends CreateEventSourceCommand_base {
|
|
124
|
+
/** @internal type navigation helper, not in runtime. */
|
|
125
|
+
protected static __types: {
|
|
126
|
+
api: {
|
|
127
|
+
input: CreateEventSourceRequest;
|
|
128
|
+
output: CreateEventSourceResponse;
|
|
129
|
+
};
|
|
130
|
+
sdk: {
|
|
131
|
+
input: CreateEventSourceCommandInput;
|
|
132
|
+
output: CreateEventSourceCommandOutput;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateSubscriberRequest, CreateSubscriberResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateSubscriberCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateSubscriberCommandInput extends CreateSubscriberRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateSubscriberCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateSubscriberCommandOutput extends CreateSubscriberResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateSubscriberCommand_base: {
|
|
22
|
+
new (input: CreateSubscriberCommandInput): import("@smithy/core/client").CommandImpl<CreateSubscriberCommandInput, CreateSubscriberCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateSubscriberCommandInput): import("@smithy/core/client").CommandImpl<CreateSubscriberCommandInput, CreateSubscriberCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
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.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { EventBridgeV2Client, CreateSubscriberCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
|
|
34
|
+
* // const { EventBridgeV2Client, CreateSubscriberCommand } = 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 = { // CreateSubscriberRequest
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* EventBusArn: "STRING_VALUE", // required
|
|
41
|
+
* InvokeConfiguration: { // InvokeConfiguration
|
|
42
|
+
* RoleArn: "STRING_VALUE", // required
|
|
43
|
+
* LambdaParameters: { // LambdaParameters
|
|
44
|
+
* InvocationType: "EVENT" || "REQUEST_RESPONSE",
|
|
45
|
+
* Qualifier: "STRING_VALUE",
|
|
46
|
+
* DurableExecutionName: "STRING_VALUE",
|
|
47
|
+
* TenantId: "STRING_VALUE",
|
|
48
|
+
* InvocationTimeoutSeconds: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* SqsParameters: { // SqsParameters
|
|
51
|
+
* MessageGroupId: "STRING_VALUE",
|
|
52
|
+
* MessageDeduplicationId: "STRING_VALUE",
|
|
53
|
+
* DelaySeconds: "STRING_VALUE",
|
|
54
|
+
* MessageAttributes: { // SqsMessageAttributeMap
|
|
55
|
+
* "<keys>": { // SqsMessageAttributeValue
|
|
56
|
+
* DataType: "STRING_VALUE",
|
|
57
|
+
* StringValue: "STRING_VALUE",
|
|
58
|
+
* BinaryValue: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* MessageSystemAttributes: {
|
|
62
|
+
* "<keys>": {
|
|
63
|
+
* DataType: "STRING_VALUE",
|
|
64
|
+
* StringValue: "STRING_VALUE",
|
|
65
|
+
* BinaryValue: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* SnsParameters: { // SnsParameters
|
|
70
|
+
* MessageGroupId: "STRING_VALUE",
|
|
71
|
+
* MessageDeduplicationId: "STRING_VALUE",
|
|
72
|
+
* Subject: "STRING_VALUE",
|
|
73
|
+
* MessageStructure: "STRING_VALUE",
|
|
74
|
+
* MessageAttributes: { // SnsMessageAttributeMap
|
|
75
|
+
* "<keys>": { // SnsMessageAttributeValue
|
|
76
|
+
* DataType: "STRING_VALUE",
|
|
77
|
+
* StringValue: "STRING_VALUE",
|
|
78
|
+
* BinaryValue: "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* KinesisParameters: { // KinesisParameters
|
|
83
|
+
* PartitionKey: "STRING_VALUE",
|
|
84
|
+
* ExplicitHashKey: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* StepFunctionsParameters: { // StepFunctionsParameters
|
|
87
|
+
* InvocationType: "EVENT" || "REQUEST_RESPONSE",
|
|
88
|
+
* Name: "STRING_VALUE",
|
|
89
|
+
* TraceHeader: "STRING_VALUE",
|
|
90
|
+
* InvocationTimeoutSeconds: "STRING_VALUE",
|
|
91
|
+
* },
|
|
92
|
+
* HttpParameters: { // HttpParameters
|
|
93
|
+
* PathParameterValues: [ // PathParameterList
|
|
94
|
+
* "STRING_VALUE",
|
|
95
|
+
* ],
|
|
96
|
+
* HeaderParameters: { // HeaderParametersMap
|
|
97
|
+
* "<keys>": "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* QueryStringParameters: { // QueryStringParametersMap
|
|
100
|
+
* "<keys>": "STRING_VALUE",
|
|
101
|
+
* },
|
|
102
|
+
* InvocationTimeoutSeconds: "STRING_VALUE",
|
|
103
|
+
* },
|
|
104
|
+
* UniversalTargetParameters: { // UniversalTargetParameters
|
|
105
|
+
* Input: "STRING_VALUE", // required
|
|
106
|
+
* InvocationTimeoutSeconds: "STRING_VALUE",
|
|
107
|
+
* },
|
|
108
|
+
* EventBusV2Parameters: { // EventBusV2Parameters
|
|
109
|
+
* Metadata: { // EventBusV2MetadataMap
|
|
110
|
+
* "<keys>": "STRING_VALUE",
|
|
111
|
+
* },
|
|
112
|
+
* SystemMetadata: { // EventBusV2SystemMetadata
|
|
113
|
+
* EventGroupId: "STRING_VALUE",
|
|
114
|
+
* DeduplicationId: "STRING_VALUE",
|
|
115
|
+
* },
|
|
116
|
+
* DeduplicationConfiguration: { // DeduplicationConfiguration
|
|
117
|
+
* DeduplicationType: "CONTENT_BASED", // required
|
|
118
|
+
* },
|
|
119
|
+
* },
|
|
120
|
+
* TargetArn: "STRING_VALUE", // required
|
|
121
|
+
* },
|
|
122
|
+
* Description: "STRING_VALUE",
|
|
123
|
+
* FilterConfiguration: { // FilterConfiguration
|
|
124
|
+
* Language: "EVENT_BRIDGE_PATTERN",
|
|
125
|
+
* Filters: [ // FilterList
|
|
126
|
+
* { // Filter
|
|
127
|
+
* Pattern: "STRING_VALUE", // required
|
|
128
|
+
* Scope: "DATA" || "METADATA" || "SYSTEM_METADATA", // required
|
|
129
|
+
* },
|
|
130
|
+
* ],
|
|
131
|
+
* },
|
|
132
|
+
* Type: "FIFO" || "UNORDERED",
|
|
133
|
+
* StartingPosition: "LATEST" || "POINT_IN_TIME",
|
|
134
|
+
* PointInTimeConfiguration: { // PointInTimeConfiguration
|
|
135
|
+
* PointType: "HORIZON" || "TIMESTAMP", // required
|
|
136
|
+
* StartingPoint: new Date("TIMESTAMP"),
|
|
137
|
+
* EndPoint: new Date("TIMESTAMP"),
|
|
138
|
+
* },
|
|
139
|
+
* BatchConfiguration: { // BatchConfiguration
|
|
140
|
+
* MaxBatchSize: Number("int"),
|
|
141
|
+
* MaxBatchWindowInSeconds: Number("int"),
|
|
142
|
+
* },
|
|
143
|
+
* Transformer: { // Transformer
|
|
144
|
+
* Type: "RAW" || "WITH_METADATA" || "JSONATA",
|
|
145
|
+
* JsonataConfiguration: { // JsonataConfiguration
|
|
146
|
+
* Expression: "STRING_VALUE", // required
|
|
147
|
+
* },
|
|
148
|
+
* },
|
|
149
|
+
* RetryPolicy: { // RetryPolicy
|
|
150
|
+
* MaxRetryAttempts: Number("int"),
|
|
151
|
+
* MaxEventAgeInSeconds: Number("int"),
|
|
152
|
+
* RetryStrategy: "ALL",
|
|
153
|
+
* },
|
|
154
|
+
* OnFailureConfiguration: { // OnFailureConfiguration
|
|
155
|
+
* Arn: "STRING_VALUE",
|
|
156
|
+
* },
|
|
157
|
+
* LogConfiguration: { // LogConfiguration
|
|
158
|
+
* Level: "OFF" || "ERROR" || "INFO",
|
|
159
|
+
* IncludePayload: "FULL" || "ON_ERROR_ONLY",
|
|
160
|
+
* },
|
|
161
|
+
* State: "RUNNING" || "STOPPED",
|
|
162
|
+
* Tags: { // TagMap
|
|
163
|
+
* "<keys>": "STRING_VALUE",
|
|
164
|
+
* },
|
|
165
|
+
* ClientToken: "STRING_VALUE",
|
|
166
|
+
* };
|
|
167
|
+
* const command = new CreateSubscriberCommand(input);
|
|
168
|
+
* const response = await client.send(command);
|
|
169
|
+
* // { // CreateSubscriberResponse
|
|
170
|
+
* // SubscriberArn: "STRING_VALUE",
|
|
171
|
+
* // Name: "STRING_VALUE",
|
|
172
|
+
* // EventBusArn: "STRING_VALUE",
|
|
173
|
+
* // Type: "FIFO" || "UNORDERED",
|
|
174
|
+
* // StartingPosition: "LATEST" || "POINT_IN_TIME",
|
|
175
|
+
* // PointInTimeConfiguration: { // PointInTimeConfiguration
|
|
176
|
+
* // PointType: "HORIZON" || "TIMESTAMP", // required
|
|
177
|
+
* // StartingPoint: new Date("TIMESTAMP"),
|
|
178
|
+
* // EndPoint: new Date("TIMESTAMP"),
|
|
179
|
+
* // },
|
|
180
|
+
* // State: "RUNNING" || "STOPPED",
|
|
181
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
182
|
+
* // };
|
|
183
|
+
*
|
|
184
|
+
* ```
|
|
185
|
+
*
|
|
186
|
+
* @param CreateSubscriberCommandInput - {@link CreateSubscriberCommandInput}
|
|
187
|
+
* @returns {@link CreateSubscriberCommandOutput}
|
|
188
|
+
* @see {@link CreateSubscriberCommandInput} for command's `input` shape.
|
|
189
|
+
* @see {@link CreateSubscriberCommandOutput} for command's `response` shape.
|
|
190
|
+
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
193
|
+
* Another change to the resource is already in progress. Retry the request.
|
|
194
|
+
*
|
|
195
|
+
* @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.
|
|
198
|
+
*
|
|
199
|
+
* @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.
|
|
202
|
+
*
|
|
203
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
204
|
+
* The request would exceed a service quota for the account.
|
|
205
|
+
*
|
|
206
|
+
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
207
|
+
* A resource with the same name already exists.
|
|
208
|
+
*
|
|
209
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
210
|
+
* The resource does not exist.
|
|
211
|
+
*
|
|
212
|
+
* @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.
|
|
216
|
+
*
|
|
217
|
+
* @throws {@link InternalException} (server fault)
|
|
218
|
+
* The request failed because of an internal service error. Retry the request.
|
|
219
|
+
*
|
|
220
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
221
|
+
* A request parameter is missing or not valid.
|
|
222
|
+
*
|
|
223
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
224
|
+
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
225
|
+
* request with backoff.
|
|
226
|
+
*
|
|
227
|
+
* @throws {@link EventBridgeV2ServiceException}
|
|
228
|
+
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
229
|
+
*
|
|
230
|
+
*
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
export declare class CreateSubscriberCommand extends CreateSubscriberCommand_base {
|
|
234
|
+
/** @internal type navigation helper, not in runtime. */
|
|
235
|
+
protected static __types: {
|
|
236
|
+
api: {
|
|
237
|
+
input: CreateSubscriberRequest;
|
|
238
|
+
output: CreateSubscriberResponse;
|
|
239
|
+
};
|
|
240
|
+
sdk: {
|
|
241
|
+
input: CreateSubscriberCommandInput;
|
|
242
|
+
output: CreateSubscriberCommandOutput;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
}
|