@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,215 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeSubscriberRequest, DescribeSubscriberResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeSubscriberCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeSubscriberCommandInput extends DescribeSubscriberRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeSubscriberCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeSubscriberCommandOutput extends DescribeSubscriberResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeSubscriberCommand_base: {
|
|
22
|
+
new (input: DescribeSubscriberCommandInput): import("@smithy/core/client").CommandImpl<DescribeSubscriberCommandInput, DescribeSubscriberCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeSubscriberCommandInput): import("@smithy/core/client").CommandImpl<DescribeSubscriberCommandInput, DescribeSubscriberCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns the full configuration and state of a subscriber.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { EventBridgeV2Client, DescribeSubscriberCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
|
|
32
|
+
* // const { EventBridgeV2Client, DescribeSubscriberCommand } = 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 = { // DescribeSubscriberRequest
|
|
37
|
+
* SubscriberArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DescribeSubscriberCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeSubscriberResponse
|
|
42
|
+
* // SubscriberArn: "STRING_VALUE",
|
|
43
|
+
* // Name: "STRING_VALUE",
|
|
44
|
+
* // EventBusArn: "STRING_VALUE",
|
|
45
|
+
* // InvokeConfiguration: { // InvokeConfiguration
|
|
46
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
47
|
+
* // LambdaParameters: { // LambdaParameters
|
|
48
|
+
* // InvocationType: "EVENT" || "REQUEST_RESPONSE",
|
|
49
|
+
* // Qualifier: "STRING_VALUE",
|
|
50
|
+
* // DurableExecutionName: "STRING_VALUE",
|
|
51
|
+
* // TenantId: "STRING_VALUE",
|
|
52
|
+
* // InvocationTimeoutSeconds: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // SqsParameters: { // SqsParameters
|
|
55
|
+
* // MessageGroupId: "STRING_VALUE",
|
|
56
|
+
* // MessageDeduplicationId: "STRING_VALUE",
|
|
57
|
+
* // DelaySeconds: "STRING_VALUE",
|
|
58
|
+
* // MessageAttributes: { // SqsMessageAttributeMap
|
|
59
|
+
* // "<keys>": { // SqsMessageAttributeValue
|
|
60
|
+
* // DataType: "STRING_VALUE",
|
|
61
|
+
* // StringValue: "STRING_VALUE",
|
|
62
|
+
* // BinaryValue: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // MessageSystemAttributes: {
|
|
66
|
+
* // "<keys>": {
|
|
67
|
+
* // DataType: "STRING_VALUE",
|
|
68
|
+
* // StringValue: "STRING_VALUE",
|
|
69
|
+
* // BinaryValue: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // SnsParameters: { // SnsParameters
|
|
74
|
+
* // MessageGroupId: "STRING_VALUE",
|
|
75
|
+
* // MessageDeduplicationId: "STRING_VALUE",
|
|
76
|
+
* // Subject: "STRING_VALUE",
|
|
77
|
+
* // MessageStructure: "STRING_VALUE",
|
|
78
|
+
* // MessageAttributes: { // SnsMessageAttributeMap
|
|
79
|
+
* // "<keys>": { // SnsMessageAttributeValue
|
|
80
|
+
* // DataType: "STRING_VALUE",
|
|
81
|
+
* // StringValue: "STRING_VALUE",
|
|
82
|
+
* // BinaryValue: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // KinesisParameters: { // KinesisParameters
|
|
87
|
+
* // PartitionKey: "STRING_VALUE",
|
|
88
|
+
* // ExplicitHashKey: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // StepFunctionsParameters: { // StepFunctionsParameters
|
|
91
|
+
* // InvocationType: "EVENT" || "REQUEST_RESPONSE",
|
|
92
|
+
* // Name: "STRING_VALUE",
|
|
93
|
+
* // TraceHeader: "STRING_VALUE",
|
|
94
|
+
* // InvocationTimeoutSeconds: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // HttpParameters: { // HttpParameters
|
|
97
|
+
* // PathParameterValues: [ // PathParameterList
|
|
98
|
+
* // "STRING_VALUE",
|
|
99
|
+
* // ],
|
|
100
|
+
* // HeaderParameters: { // HeaderParametersMap
|
|
101
|
+
* // "<keys>": "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // QueryStringParameters: { // QueryStringParametersMap
|
|
104
|
+
* // "<keys>": "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // InvocationTimeoutSeconds: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // UniversalTargetParameters: { // UniversalTargetParameters
|
|
109
|
+
* // Input: "STRING_VALUE", // required
|
|
110
|
+
* // InvocationTimeoutSeconds: "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // EventBusV2Parameters: { // EventBusV2Parameters
|
|
113
|
+
* // Metadata: { // EventBusV2MetadataMap
|
|
114
|
+
* // "<keys>": "STRING_VALUE",
|
|
115
|
+
* // },
|
|
116
|
+
* // SystemMetadata: { // EventBusV2SystemMetadata
|
|
117
|
+
* // EventGroupId: "STRING_VALUE",
|
|
118
|
+
* // DeduplicationId: "STRING_VALUE",
|
|
119
|
+
* // },
|
|
120
|
+
* // DeduplicationConfiguration: { // DeduplicationConfiguration
|
|
121
|
+
* // DeduplicationType: "CONTENT_BASED", // required
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // TargetArn: "STRING_VALUE", // required
|
|
125
|
+
* // },
|
|
126
|
+
* // Description: "STRING_VALUE",
|
|
127
|
+
* // FilterConfiguration: { // FilterConfiguration
|
|
128
|
+
* // Language: "EVENT_BRIDGE_PATTERN",
|
|
129
|
+
* // Filters: [ // FilterList
|
|
130
|
+
* // { // Filter
|
|
131
|
+
* // Pattern: "STRING_VALUE", // required
|
|
132
|
+
* // Scope: "DATA" || "METADATA" || "SYSTEM_METADATA", // required
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // },
|
|
136
|
+
* // Type: "FIFO" || "UNORDERED",
|
|
137
|
+
* // StartingPosition: "LATEST" || "POINT_IN_TIME",
|
|
138
|
+
* // PointInTimeConfiguration: { // PointInTimeConfiguration
|
|
139
|
+
* // PointType: "HORIZON" || "TIMESTAMP", // required
|
|
140
|
+
* // StartingPoint: new Date("TIMESTAMP"),
|
|
141
|
+
* // EndPoint: new Date("TIMESTAMP"),
|
|
142
|
+
* // },
|
|
143
|
+
* // BatchConfiguration: { // BatchConfiguration
|
|
144
|
+
* // MaxBatchSize: Number("int"),
|
|
145
|
+
* // MaxBatchWindowInSeconds: Number("int"),
|
|
146
|
+
* // },
|
|
147
|
+
* // Transformer: { // Transformer
|
|
148
|
+
* // Type: "RAW" || "WITH_METADATA" || "JSONATA",
|
|
149
|
+
* // JsonataConfiguration: { // JsonataConfiguration
|
|
150
|
+
* // Expression: "STRING_VALUE", // required
|
|
151
|
+
* // },
|
|
152
|
+
* // },
|
|
153
|
+
* // RetryPolicy: { // RetryPolicy
|
|
154
|
+
* // MaxRetryAttempts: Number("int"),
|
|
155
|
+
* // MaxEventAgeInSeconds: Number("int"),
|
|
156
|
+
* // RetryStrategy: "ALL",
|
|
157
|
+
* // },
|
|
158
|
+
* // OnFailureConfiguration: { // OnFailureConfiguration
|
|
159
|
+
* // Arn: "STRING_VALUE",
|
|
160
|
+
* // },
|
|
161
|
+
* // LogConfiguration: { // LogConfiguration
|
|
162
|
+
* // Level: "OFF" || "ERROR" || "INFO",
|
|
163
|
+
* // IncludePayload: "FULL" || "ON_ERROR_ONLY",
|
|
164
|
+
* // },
|
|
165
|
+
* // State: "RUNNING" || "STOPPED",
|
|
166
|
+
* // Revoked: true || false,
|
|
167
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
168
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
169
|
+
* // };
|
|
170
|
+
*
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* @param DescribeSubscriberCommandInput - {@link DescribeSubscriberCommandInput}
|
|
174
|
+
* @returns {@link DescribeSubscriberCommandOutput}
|
|
175
|
+
* @see {@link DescribeSubscriberCommandInput} for command's `input` shape.
|
|
176
|
+
* @see {@link DescribeSubscriberCommandOutput} for command's `response` shape.
|
|
177
|
+
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
178
|
+
*
|
|
179
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
180
|
+
* The resource does not exist.
|
|
181
|
+
*
|
|
182
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
183
|
+
* The caller does not have the permissions required to perform the operation.
|
|
184
|
+
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
185
|
+
* the event bus.
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link InternalException} (server fault)
|
|
188
|
+
* The request failed because of an internal service error. Retry the request.
|
|
189
|
+
*
|
|
190
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
191
|
+
* A request parameter is missing or not valid.
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
194
|
+
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
195
|
+
* request with backoff.
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link EventBridgeV2ServiceException}
|
|
198
|
+
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
199
|
+
*
|
|
200
|
+
*
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export declare class DescribeSubscriberCommand extends DescribeSubscriberCommand_base {
|
|
204
|
+
/** @internal type navigation helper, not in runtime. */
|
|
205
|
+
protected static __types: {
|
|
206
|
+
api: {
|
|
207
|
+
input: DescribeSubscriberRequest;
|
|
208
|
+
output: DescribeSubscriberResponse;
|
|
209
|
+
};
|
|
210
|
+
sdk: {
|
|
211
|
+
input: DescribeSubscriberCommandInput;
|
|
212
|
+
output: DescribeSubscriberCommandOutput;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetResourcePolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetResourcePolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetResourcePolicyCommand_base: {
|
|
22
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Returns the named resource policy attached to an event bus. Fails with
|
|
28
|
+
* ResourceNotFoundException when the event bus or the named policy does not
|
|
29
|
+
* exist.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { EventBridgeV2Client, GetResourcePolicyCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
|
|
34
|
+
* // const { EventBridgeV2Client, GetResourcePolicyCommand } = 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 = { // GetResourcePolicyRequest
|
|
39
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
40
|
+
* PolicyName: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetResourcePolicyCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetResourcePolicyResponse
|
|
45
|
+
* // ResourceArn: "STRING_VALUE", // required
|
|
46
|
+
* // PolicyDocument: "STRING_VALUE", // required
|
|
47
|
+
* // PolicyName: "STRING_VALUE", // required
|
|
48
|
+
* // RevisionId: "STRING_VALUE", // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
|
|
54
|
+
* @returns {@link GetResourcePolicyCommandOutput}
|
|
55
|
+
* @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* The resource does not exist.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* The caller does not have the permissions required to perform the operation.
|
|
64
|
+
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
65
|
+
* the event bus.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalException} (server fault)
|
|
68
|
+
* The request failed because of an internal service error. Retry the request.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
71
|
+
* A request parameter is missing or not valid.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
75
|
+
* request with backoff.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link EventBridgeV2ServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: GetResourcePolicyRequest;
|
|
88
|
+
output: GetResourcePolicyResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: GetResourcePolicyCommandInput;
|
|
92
|
+
output: GetResourcePolicyCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListEventBusesRequest, ListEventBusesResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListEventBusesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListEventBusesCommandInput extends ListEventBusesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListEventBusesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListEventBusesCommandOutput extends ListEventBusesResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListEventBusesCommand_base: {
|
|
22
|
+
new (input: ListEventBusesCommandInput): import("@smithy/core/client").CommandImpl<ListEventBusesCommandInput, ListEventBusesCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListEventBusesCommandInput]): import("@smithy/core/client").CommandImpl<ListEventBusesCommandInput, ListEventBusesCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the event buses visible to the caller: buses the account owns and buses
|
|
28
|
+
* shared with it through AWS RAM. Shared entries carry identity fields only
|
|
29
|
+
* (Name, EventBusArn, EventBusAccountId); owned entries carry every summary field.
|
|
30
|
+
* Set EventBusAccountId to scope the list to one owner account.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { EventBridgeV2Client, ListEventBusesCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
|
|
35
|
+
* // const { EventBridgeV2Client, ListEventBusesCommand } = require("@aws-sdk/client-eventbridgev2"); // CommonJS import
|
|
36
|
+
* // import type { EventBridgeV2ClientConfig } from "@aws-sdk/client-eventbridgev2";
|
|
37
|
+
* const config = {}; // type is EventBridgeV2ClientConfig
|
|
38
|
+
* const client = new EventBridgeV2Client(config);
|
|
39
|
+
* const input = { // ListEventBusesRequest
|
|
40
|
+
* NamePrefix: "STRING_VALUE",
|
|
41
|
+
* EventBusAccountId: "STRING_VALUE",
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListEventBusesCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListEventBusesResponse
|
|
48
|
+
* // EventBuses: [ // EventBusSummaryList
|
|
49
|
+
* // { // EventBusSummary
|
|
50
|
+
* // Name: "STRING_VALUE",
|
|
51
|
+
* // EventBusArn: "STRING_VALUE",
|
|
52
|
+
* // Description: "STRING_VALUE",
|
|
53
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // State: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "ACTIVE" || "DELETE_FAILED",
|
|
56
|
+
* // StateReason: "STRING_VALUE",
|
|
57
|
+
* // EventBusAccountId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListEventBusesCommandInput - {@link ListEventBusesCommandInput}
|
|
66
|
+
* @returns {@link ListEventBusesCommandOutput}
|
|
67
|
+
* @see {@link ListEventBusesCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListEventBusesCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* The caller does not have the permissions required to perform the operation.
|
|
73
|
+
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
74
|
+
* the event bus.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalException} (server fault)
|
|
77
|
+
* The request failed because of an internal service error. Retry the request.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
80
|
+
* A request parameter is missing or not valid.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
84
|
+
* request with backoff.
|
|
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 ListEventBusesCommand extends ListEventBusesCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: ListEventBusesRequest;
|
|
97
|
+
output: ListEventBusesResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: ListEventBusesCommandInput;
|
|
101
|
+
output: ListEventBusesCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListEventSourcesRequest, ListEventSourcesResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListEventSourcesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListEventSourcesCommandInput extends ListEventSourcesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListEventSourcesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListEventSourcesCommandOutput extends ListEventSourcesResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListEventSourcesCommand_base: {
|
|
22
|
+
new (input: ListEventSourcesCommandInput): import("@smithy/core/client").CommandImpl<ListEventSourcesCommandInput, ListEventSourcesCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListEventSourcesCommandInput]): import("@smithy/core/client").CommandImpl<ListEventSourcesCommandInput, ListEventSourcesCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists EventSources as summaries. By default the list spans the EventSources
|
|
28
|
+
* the caller account owns; set EventBusArn to scope it to one bus. Use
|
|
29
|
+
* DescribeEventSource to retrieve full configuration.
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { EventBridgeV2Client, ListEventSourcesCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
|
|
34
|
+
* // const { EventBridgeV2Client, ListEventSourcesCommand } = 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 = { // ListEventSourcesRequest
|
|
39
|
+
* EventBusArn: "STRING_VALUE",
|
|
40
|
+
* NamePrefix: "STRING_VALUE",
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListEventSourcesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListEventSourcesResponse
|
|
47
|
+
* // EventSources: [ // EventSourceSummaryList
|
|
48
|
+
* // { // EventSourceSummary
|
|
49
|
+
* // EventSourceArn: "STRING_VALUE",
|
|
50
|
+
* // Name: "STRING_VALUE",
|
|
51
|
+
* // EventBusArn: "STRING_VALUE",
|
|
52
|
+
* // Type: "AWS_SERVICE_EVENTS" || "PARTNER_EVENTS",
|
|
53
|
+
* // State: "CREATING" || "ACTIVE" || "UPDATING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED",
|
|
54
|
+
* // Revoked: true || false,
|
|
55
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // EventSourceAccountId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListEventSourcesCommandInput - {@link ListEventSourcesCommandInput}
|
|
66
|
+
* @returns {@link ListEventSourcesCommandOutput}
|
|
67
|
+
* @see {@link ListEventSourcesCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListEventSourcesCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* The resource does not exist.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* The caller does not have the permissions required to perform the operation.
|
|
76
|
+
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
77
|
+
* the event bus.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalException} (server fault)
|
|
80
|
+
* The request failed because of an internal service error. Retry the request.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
83
|
+
* A request parameter is missing or not valid.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
87
|
+
* request with backoff.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link EventBridgeV2ServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class ListEventSourcesCommand extends ListEventSourcesCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: ListEventSourcesRequest;
|
|
100
|
+
output: ListEventSourcesResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: ListEventSourcesCommandInput;
|
|
104
|
+
output: ListEventSourcesCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListResourcePoliciesRequest, ListResourcePoliciesResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListResourcePoliciesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListResourcePoliciesCommandInput extends ListResourcePoliciesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListResourcePoliciesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListResourcePoliciesCommandOutput extends ListResourcePoliciesResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListResourcePoliciesCommand_base: {
|
|
22
|
+
new (input: ListResourcePoliciesCommandInput): import("@smithy/core/client").CommandImpl<ListResourcePoliciesCommandInput, ListResourcePoliciesCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListResourcePoliciesCommandInput): import("@smithy/core/client").CommandImpl<ListResourcePoliciesCommandInput, ListResourcePoliciesCommandOutput, import("..").EventBridgeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the resource policies attached to an event bus as summaries (policy
|
|
28
|
+
* name and revision ID). Use GetResourcePolicy to retrieve a policy document.
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { EventBridgeV2Client, ListResourcePoliciesCommand } from "@aws-sdk/client-eventbridgev2"; // ES Modules import
|
|
33
|
+
* // const { EventBridgeV2Client, ListResourcePoliciesCommand } = require("@aws-sdk/client-eventbridgev2"); // CommonJS import
|
|
34
|
+
* // import type { EventBridgeV2ClientConfig } from "@aws-sdk/client-eventbridgev2";
|
|
35
|
+
* const config = {}; // type is EventBridgeV2ClientConfig
|
|
36
|
+
* const client = new EventBridgeV2Client(config);
|
|
37
|
+
* const input = { // ListResourcePoliciesRequest
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListResourcePoliciesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListResourcePoliciesResponse
|
|
45
|
+
* // PolicySummaries: [ // ResourcePolicySummaryList
|
|
46
|
+
* // { // ResourcePolicySummary
|
|
47
|
+
* // PolicyName: "STRING_VALUE", // required
|
|
48
|
+
* // RevisionId: "STRING_VALUE", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // NextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListResourcePoliciesCommandInput - {@link ListResourcePoliciesCommandInput}
|
|
57
|
+
* @returns {@link ListResourcePoliciesCommandOutput}
|
|
58
|
+
* @see {@link ListResourcePoliciesCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListResourcePoliciesCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link EventBridgeV2ClientResolvedConfig | config} for EventBridgeV2Client's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* The resource does not exist.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* The caller does not have the permissions required to perform the operation.
|
|
67
|
+
* This error is also returned when the operation cannot use the AWS KMS key for
|
|
68
|
+
* the event bus.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalException} (server fault)
|
|
71
|
+
* The request failed because of an internal service error. Retry the request.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
74
|
+
* A request parameter is missing or not valid.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* The request was throttled because it exceeds a request rate limit. Retry the
|
|
78
|
+
* request with backoff.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link EventBridgeV2ServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from EventBridgeV2 service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class ListResourcePoliciesCommand extends ListResourcePoliciesCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: ListResourcePoliciesRequest;
|
|
91
|
+
output: ListResourcePoliciesResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: ListResourcePoliciesCommandInput;
|
|
95
|
+
output: ListResourcePoliciesCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|