@aws-sdk/client-ram 3.46.0 → 3.48.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/CHANGELOG.md +38 -0
- package/dist-cjs/RAM.js +15 -0
- package/dist-cjs/commands/ListPermissionVersionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +0 -20
- package/dist-cjs/models/models_0.js +14 -134
- package/dist-cjs/pagination/ListPermissionVersionsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +124 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/RAM.js +15 -0
- package/dist-es/commands/ListPermissionVersionsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoints.js +0 -20
- package/dist-es/models/models_0.js +8 -88
- package/dist-es/pagination/ListPermissionVersionsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +138 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/RAM.d.ts +7 -0
- package/dist-types/RAMClient.d.ts +8 -3
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +57 -133
- package/dist-types/pagination/ListPermissionVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/RAM.d.ts +5 -0
- package/dist-types/ts3.4/RAMClient.d.ts +6 -3
- package/dist-types/ts3.4/commands/ListPermissionVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -88
- package/dist-types/ts3.4/pagination/ListPermissionVersionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +35 -35
package/dist-types/RAM.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCom
|
|
|
14
14
|
import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "./commands/GetResourceSharesCommand";
|
|
15
15
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
|
|
16
16
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
|
|
17
|
+
import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "./commands/ListPermissionVersionsCommand";
|
|
17
18
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
|
|
18
19
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
19
20
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
|
|
@@ -169,6 +170,12 @@ export declare class RAM extends RAMClient {
|
|
|
169
170
|
listPermissions(args: ListPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionsCommandOutput>;
|
|
170
171
|
listPermissions(args: ListPermissionsCommandInput, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
171
172
|
listPermissions(args: ListPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* <p>Lists the available versions of the specified RAM permission.</p>
|
|
175
|
+
*/
|
|
176
|
+
listPermissionVersions(args: ListPermissionVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionVersionsCommandOutput>;
|
|
177
|
+
listPermissionVersions(args: ListPermissionVersionsCommandInput, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
178
|
+
listPermissionVersions(args: ListPermissionVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
172
179
|
/**
|
|
173
180
|
* <p>Lists the principals that you are sharing resources with or that are sharing resources
|
|
174
181
|
* with you.</p>
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
|
|
10
10
|
import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
|
|
@@ -21,6 +21,7 @@ import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCom
|
|
|
21
21
|
import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "./commands/GetResourceSharesCommand";
|
|
22
22
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
|
|
23
23
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
|
|
24
|
+
import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "./commands/ListPermissionVersionsCommand";
|
|
24
25
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
|
|
25
26
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
26
27
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
|
|
@@ -30,8 +31,8 @@ import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitatio
|
|
|
30
31
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
31
32
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
33
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
33
|
-
export declare type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreateResourceShareCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
|
|
34
|
-
export declare type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreateResourceShareCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
|
|
34
|
+
export declare type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreateResourceShareCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionVersionsCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
|
|
35
|
+
export declare type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreateResourceShareCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionVersionsCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
|
|
35
36
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
36
37
|
/**
|
|
37
38
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -132,6 +133,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
132
133
|
* @internal
|
|
133
134
|
*/
|
|
134
135
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
136
|
+
/**
|
|
137
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
138
|
+
*/
|
|
139
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
135
140
|
}
|
|
136
141
|
declare type RAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
137
142
|
/**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListPermissionVersionsRequest, ListPermissionVersionsResponse } from "../models/models_0";
|
|
4
|
+
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
5
|
+
export interface ListPermissionVersionsCommandInput extends ListPermissionVersionsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListPermissionVersionsCommandOutput extends ListPermissionVersionsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists the available versions of the specified RAM permission.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { RAMClient, ListPermissionVersionsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
15
|
+
* // const { RAMClient, ListPermissionVersionsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
16
|
+
* const client = new RAMClient(config);
|
|
17
|
+
* const command = new ListPermissionVersionsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListPermissionVersionsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListPermissionVersionsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListPermissionVersionsCommand extends $Command<ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput, RAMClientResolvedConfig> {
|
|
27
|
+
readonly input: ListPermissionVersionsCommandInput;
|
|
28
|
+
constructor(input: ListPermissionVersionsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -12,6 +12,7 @@ export * from "./GetResourceShareAssociationsCommand";
|
|
|
12
12
|
export * from "./GetResourceShareInvitationsCommand";
|
|
13
13
|
export * from "./GetResourceSharesCommand";
|
|
14
14
|
export * from "./ListPendingInvitationResourcesCommand";
|
|
15
|
+
export * from "./ListPermissionVersionsCommand";
|
|
15
16
|
export * from "./ListPermissionsCommand";
|
|
16
17
|
export * from "./ListPrincipalsCommand";
|
|
17
18
|
export * from "./ListResourceSharePermissionsCommand";
|
|
@@ -176,12 +176,6 @@ export interface IdempotentParameterMismatchException extends __SmithyException,
|
|
|
176
176
|
$fault: "client";
|
|
177
177
|
message: string | undefined;
|
|
178
178
|
}
|
|
179
|
-
export declare namespace IdempotentParameterMismatchException {
|
|
180
|
-
/**
|
|
181
|
-
* @internal
|
|
182
|
-
*/
|
|
183
|
-
const filterSensitiveLog: (obj: IdempotentParameterMismatchException) => any;
|
|
184
|
-
}
|
|
185
179
|
/**
|
|
186
180
|
* <p>The client token is not valid.</p>
|
|
187
181
|
*/
|
|
@@ -190,12 +184,6 @@ export interface InvalidClientTokenException extends __SmithyException, $Metadat
|
|
|
190
184
|
$fault: "client";
|
|
191
185
|
message: string | undefined;
|
|
192
186
|
}
|
|
193
|
-
export declare namespace InvalidClientTokenException {
|
|
194
|
-
/**
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
|
-
const filterSensitiveLog: (obj: InvalidClientTokenException) => any;
|
|
198
|
-
}
|
|
199
187
|
/**
|
|
200
188
|
* <p>The format of an Amazon Resource Name (ARN) is not valid.</p>
|
|
201
189
|
*/
|
|
@@ -204,12 +192,6 @@ export interface MalformedArnException extends __SmithyException, $MetadataBeare
|
|
|
204
192
|
$fault: "client";
|
|
205
193
|
message: string | undefined;
|
|
206
194
|
}
|
|
207
|
-
export declare namespace MalformedArnException {
|
|
208
|
-
/**
|
|
209
|
-
* @internal
|
|
210
|
-
*/
|
|
211
|
-
const filterSensitiveLog: (obj: MalformedArnException) => any;
|
|
212
|
-
}
|
|
213
195
|
/**
|
|
214
196
|
* <p>The requested operation is not permitted.</p>
|
|
215
197
|
*/
|
|
@@ -218,12 +200,6 @@ export interface OperationNotPermittedException extends __SmithyException, $Meta
|
|
|
218
200
|
$fault: "client";
|
|
219
201
|
message: string | undefined;
|
|
220
202
|
}
|
|
221
|
-
export declare namespace OperationNotPermittedException {
|
|
222
|
-
/**
|
|
223
|
-
* @internal
|
|
224
|
-
*/
|
|
225
|
-
const filterSensitiveLog: (obj: OperationNotPermittedException) => any;
|
|
226
|
-
}
|
|
227
203
|
/**
|
|
228
204
|
* <p>The specified invitation was already accepted.</p>
|
|
229
205
|
*/
|
|
@@ -232,12 +208,6 @@ export interface ResourceShareInvitationAlreadyAcceptedException extends __Smith
|
|
|
232
208
|
$fault: "client";
|
|
233
209
|
message: string | undefined;
|
|
234
210
|
}
|
|
235
|
-
export declare namespace ResourceShareInvitationAlreadyAcceptedException {
|
|
236
|
-
/**
|
|
237
|
-
* @internal
|
|
238
|
-
*/
|
|
239
|
-
const filterSensitiveLog: (obj: ResourceShareInvitationAlreadyAcceptedException) => any;
|
|
240
|
-
}
|
|
241
211
|
/**
|
|
242
212
|
* <p>The specified invitation was already rejected.</p>
|
|
243
213
|
*/
|
|
@@ -246,12 +216,6 @@ export interface ResourceShareInvitationAlreadyRejectedException extends __Smith
|
|
|
246
216
|
$fault: "client";
|
|
247
217
|
message: string | undefined;
|
|
248
218
|
}
|
|
249
|
-
export declare namespace ResourceShareInvitationAlreadyRejectedException {
|
|
250
|
-
/**
|
|
251
|
-
* @internal
|
|
252
|
-
*/
|
|
253
|
-
const filterSensitiveLog: (obj: ResourceShareInvitationAlreadyRejectedException) => any;
|
|
254
|
-
}
|
|
255
219
|
/**
|
|
256
220
|
* <p>The specified Amazon Resource Name (ARN) for an invitation was not found.</p>
|
|
257
221
|
*/
|
|
@@ -260,12 +224,6 @@ export interface ResourceShareInvitationArnNotFoundException extends __SmithyExc
|
|
|
260
224
|
$fault: "client";
|
|
261
225
|
message: string | undefined;
|
|
262
226
|
}
|
|
263
|
-
export declare namespace ResourceShareInvitationArnNotFoundException {
|
|
264
|
-
/**
|
|
265
|
-
* @internal
|
|
266
|
-
*/
|
|
267
|
-
const filterSensitiveLog: (obj: ResourceShareInvitationArnNotFoundException) => any;
|
|
268
|
-
}
|
|
269
227
|
/**
|
|
270
228
|
* <p>The specified invitation is expired.</p>
|
|
271
229
|
*/
|
|
@@ -274,12 +232,6 @@ export interface ResourceShareInvitationExpiredException extends __SmithyExcepti
|
|
|
274
232
|
$fault: "client";
|
|
275
233
|
message: string | undefined;
|
|
276
234
|
}
|
|
277
|
-
export declare namespace ResourceShareInvitationExpiredException {
|
|
278
|
-
/**
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
|
-
const filterSensitiveLog: (obj: ResourceShareInvitationExpiredException) => any;
|
|
282
|
-
}
|
|
283
235
|
/**
|
|
284
236
|
* <p>The service could not respond to the request due to an internal problem.</p>
|
|
285
237
|
*/
|
|
@@ -288,12 +240,6 @@ export interface ServerInternalException extends __SmithyException, $MetadataBea
|
|
|
288
240
|
$fault: "server";
|
|
289
241
|
message: string | undefined;
|
|
290
242
|
}
|
|
291
|
-
export declare namespace ServerInternalException {
|
|
292
|
-
/**
|
|
293
|
-
* @internal
|
|
294
|
-
*/
|
|
295
|
-
const filterSensitiveLog: (obj: ServerInternalException) => any;
|
|
296
|
-
}
|
|
297
243
|
/**
|
|
298
244
|
* <p>The service is not available.</p>
|
|
299
245
|
*/
|
|
@@ -302,12 +248,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
302
248
|
$fault: "server";
|
|
303
249
|
message: string | undefined;
|
|
304
250
|
}
|
|
305
|
-
export declare namespace ServiceUnavailableException {
|
|
306
|
-
/**
|
|
307
|
-
* @internal
|
|
308
|
-
*/
|
|
309
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
310
|
-
}
|
|
311
251
|
export interface AssociateResourceShareRequest {
|
|
312
252
|
/**
|
|
313
253
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of the resource share that you want to add principals or resources
|
|
@@ -403,12 +343,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
403
343
|
$fault: "client";
|
|
404
344
|
message: string | undefined;
|
|
405
345
|
}
|
|
406
|
-
export declare namespace InvalidParameterException {
|
|
407
|
-
/**
|
|
408
|
-
* @internal
|
|
409
|
-
*/
|
|
410
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
411
|
-
}
|
|
412
346
|
/**
|
|
413
347
|
* <p>The requested state transition is not valid.</p>
|
|
414
348
|
*/
|
|
@@ -417,12 +351,6 @@ export interface InvalidStateTransitionException extends __SmithyException, $Met
|
|
|
417
351
|
$fault: "client";
|
|
418
352
|
message: string | undefined;
|
|
419
353
|
}
|
|
420
|
-
export declare namespace InvalidStateTransitionException {
|
|
421
|
-
/**
|
|
422
|
-
* @internal
|
|
423
|
-
*/
|
|
424
|
-
const filterSensitiveLog: (obj: InvalidStateTransitionException) => any;
|
|
425
|
-
}
|
|
426
354
|
/**
|
|
427
355
|
* <p>This request would exceed the limit for resource shares for your account.</p>
|
|
428
356
|
*/
|
|
@@ -431,12 +359,6 @@ export interface ResourceShareLimitExceededException extends __SmithyException,
|
|
|
431
359
|
$fault: "client";
|
|
432
360
|
message: string | undefined;
|
|
433
361
|
}
|
|
434
|
-
export declare namespace ResourceShareLimitExceededException {
|
|
435
|
-
/**
|
|
436
|
-
* @internal
|
|
437
|
-
*/
|
|
438
|
-
const filterSensitiveLog: (obj: ResourceShareLimitExceededException) => any;
|
|
439
|
-
}
|
|
440
362
|
/**
|
|
441
363
|
* <p>You exceeded the rate at which you are allowed to perform this operation. Please try
|
|
442
364
|
* again later.</p>
|
|
@@ -446,12 +368,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
446
368
|
$fault: "client";
|
|
447
369
|
message: string | undefined;
|
|
448
370
|
}
|
|
449
|
-
export declare namespace ThrottlingException {
|
|
450
|
-
/**
|
|
451
|
-
* @internal
|
|
452
|
-
*/
|
|
453
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
454
|
-
}
|
|
455
371
|
/**
|
|
456
372
|
* <p>A specified resource was not found.</p>
|
|
457
373
|
*/
|
|
@@ -460,12 +376,6 @@ export interface UnknownResourceException extends __SmithyException, $MetadataBe
|
|
|
460
376
|
$fault: "client";
|
|
461
377
|
message: string | undefined;
|
|
462
378
|
}
|
|
463
|
-
export declare namespace UnknownResourceException {
|
|
464
|
-
/**
|
|
465
|
-
* @internal
|
|
466
|
-
*/
|
|
467
|
-
const filterSensitiveLog: (obj: UnknownResourceException) => any;
|
|
468
|
-
}
|
|
469
379
|
export interface AssociateResourceSharePermissionRequest {
|
|
470
380
|
/**
|
|
471
381
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of the resource share to which you want to add or replace
|
|
@@ -504,7 +414,9 @@ export interface AssociateResourceSharePermissionRequest {
|
|
|
504
414
|
clientToken?: string;
|
|
505
415
|
/**
|
|
506
416
|
* <p>Specifies the version of the RAM permission to associate with the resource share. If you don't
|
|
507
|
-
* specify this parameter, the operation uses the version designated as the default
|
|
417
|
+
* specify this parameter, the operation uses the version designated as the default. You
|
|
418
|
+
* can use the <a>ListPermissionVersions</a> operation to discover the available
|
|
419
|
+
* versions of a permission.</p>
|
|
508
420
|
*/
|
|
509
421
|
permissionVersion?: number;
|
|
510
422
|
}
|
|
@@ -745,12 +657,6 @@ export interface TagPolicyViolationException extends __SmithyException, $Metadat
|
|
|
745
657
|
$fault: "client";
|
|
746
658
|
message: string | undefined;
|
|
747
659
|
}
|
|
748
|
-
export declare namespace TagPolicyViolationException {
|
|
749
|
-
/**
|
|
750
|
-
* @internal
|
|
751
|
-
*/
|
|
752
|
-
const filterSensitiveLog: (obj: TagPolicyViolationException) => any;
|
|
753
|
-
}
|
|
754
660
|
export interface DeleteResourceShareRequest {
|
|
755
661
|
/**
|
|
756
662
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of the resource share to delete.</p>
|
|
@@ -1095,12 +1001,6 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
1095
1001
|
$fault: "client";
|
|
1096
1002
|
message: string | undefined;
|
|
1097
1003
|
}
|
|
1098
|
-
export declare namespace InvalidNextTokenException {
|
|
1099
|
-
/**
|
|
1100
|
-
* @internal
|
|
1101
|
-
*/
|
|
1102
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
1103
|
-
}
|
|
1104
1004
|
/**
|
|
1105
1005
|
* <p>The specified Amazon Resource Name (ARN) was not found.</p>
|
|
1106
1006
|
*/
|
|
@@ -1109,12 +1009,6 @@ export interface ResourceArnNotFoundException extends __SmithyException, $Metada
|
|
|
1109
1009
|
$fault: "client";
|
|
1110
1010
|
message: string | undefined;
|
|
1111
1011
|
}
|
|
1112
|
-
export declare namespace ResourceArnNotFoundException {
|
|
1113
|
-
/**
|
|
1114
|
-
* @internal
|
|
1115
|
-
*/
|
|
1116
|
-
const filterSensitiveLog: (obj: ResourceArnNotFoundException) => any;
|
|
1117
|
-
}
|
|
1118
1012
|
export interface GetResourceShareAssociationsRequest {
|
|
1119
1013
|
/**
|
|
1120
1014
|
* <p>Specifies whether you want to retrieve the associations that involve a specified
|
|
@@ -1269,12 +1163,6 @@ export interface InvalidMaxResultsException extends __SmithyException, $Metadata
|
|
|
1269
1163
|
$fault: "client";
|
|
1270
1164
|
message: string | undefined;
|
|
1271
1165
|
}
|
|
1272
|
-
export declare namespace InvalidMaxResultsException {
|
|
1273
|
-
/**
|
|
1274
|
-
* @internal
|
|
1275
|
-
*/
|
|
1276
|
-
const filterSensitiveLog: (obj: InvalidMaxResultsException) => any;
|
|
1277
|
-
}
|
|
1278
1166
|
export declare enum ResourceOwner {
|
|
1279
1167
|
OTHER_ACCOUNTS = "OTHER-ACCOUNTS",
|
|
1280
1168
|
SELF = "SELF"
|
|
@@ -1550,12 +1438,6 @@ export interface MissingRequiredParameterException extends __SmithyException, $M
|
|
|
1550
1438
|
$fault: "client";
|
|
1551
1439
|
message: string | undefined;
|
|
1552
1440
|
}
|
|
1553
|
-
export declare namespace MissingRequiredParameterException {
|
|
1554
|
-
/**
|
|
1555
|
-
* @internal
|
|
1556
|
-
*/
|
|
1557
|
-
const filterSensitiveLog: (obj: MissingRequiredParameterException) => any;
|
|
1558
|
-
}
|
|
1559
1441
|
export interface ListPermissionsRequest {
|
|
1560
1442
|
/**
|
|
1561
1443
|
* <p>Specifies that you want to list permissions for only the specified resource type. For
|
|
@@ -1661,6 +1543,60 @@ export declare namespace ListPermissionsResponse {
|
|
|
1661
1543
|
*/
|
|
1662
1544
|
const filterSensitiveLog: (obj: ListPermissionsResponse) => any;
|
|
1663
1545
|
}
|
|
1546
|
+
export interface ListPermissionVersionsRequest {
|
|
1547
|
+
/**
|
|
1548
|
+
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of the RAM permission whose versions you want to list. You
|
|
1549
|
+
* can use the <code>permissionVersion</code> parameter on the <a>AssociateResourceSharePermission</a> operation to specify a non-default
|
|
1550
|
+
* version to attach.</p>
|
|
1551
|
+
*/
|
|
1552
|
+
permissionArn: string | undefined;
|
|
1553
|
+
/**
|
|
1554
|
+
* <p>Specifies that you want to receive the next page of results. Valid
|
|
1555
|
+
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
1556
|
+
* did, it indicates that more output is available. Set this parameter to the value
|
|
1557
|
+
* provided by the previous call's <code>NextToken</code> response to request the
|
|
1558
|
+
* next page of results.</p>
|
|
1559
|
+
*/
|
|
1560
|
+
nextToken?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* <p>Specifies the total number of results that you want included on each page
|
|
1563
|
+
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
1564
|
+
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
1565
|
+
* <code>NextToken</code> response element is returned with a value (not null).
|
|
1566
|
+
* Include the specified value as the <code>NextToken</code> request parameter in the next
|
|
1567
|
+
* call to the operation to get the next part of the results. Note that the service might
|
|
1568
|
+
* return fewer results than the maximum even when there are more results available. You
|
|
1569
|
+
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
1570
|
+
* of the results.</p>
|
|
1571
|
+
*/
|
|
1572
|
+
maxResults?: number;
|
|
1573
|
+
}
|
|
1574
|
+
export declare namespace ListPermissionVersionsRequest {
|
|
1575
|
+
/**
|
|
1576
|
+
* @internal
|
|
1577
|
+
*/
|
|
1578
|
+
const filterSensitiveLog: (obj: ListPermissionVersionsRequest) => any;
|
|
1579
|
+
}
|
|
1580
|
+
export interface ListPermissionVersionsResponse {
|
|
1581
|
+
/**
|
|
1582
|
+
* <p>An array of objects that contain details for each of the available versions.</p>
|
|
1583
|
+
*/
|
|
1584
|
+
permissions?: ResourceSharePermissionSummary[];
|
|
1585
|
+
/**
|
|
1586
|
+
* <p>If present, this value indicates that more output is available than
|
|
1587
|
+
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
1588
|
+
* request parameter in a subsequent call to the operation to get the next part of the
|
|
1589
|
+
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
1590
|
+
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
1591
|
+
*/
|
|
1592
|
+
nextToken?: string;
|
|
1593
|
+
}
|
|
1594
|
+
export declare namespace ListPermissionVersionsResponse {
|
|
1595
|
+
/**
|
|
1596
|
+
* @internal
|
|
1597
|
+
*/
|
|
1598
|
+
const filterSensitiveLog: (obj: ListPermissionVersionsResponse) => any;
|
|
1599
|
+
}
|
|
1664
1600
|
export interface ListPrincipalsRequest {
|
|
1665
1601
|
/**
|
|
1666
1602
|
* <p>Specifies that you want to list information for only resource shares that match the
|
|
@@ -1822,12 +1758,6 @@ export interface InvalidResourceTypeException extends __SmithyException, $Metada
|
|
|
1822
1758
|
$fault: "client";
|
|
1823
1759
|
message: string | undefined;
|
|
1824
1760
|
}
|
|
1825
|
-
export declare namespace InvalidResourceTypeException {
|
|
1826
|
-
/**
|
|
1827
|
-
* @internal
|
|
1828
|
-
*/
|
|
1829
|
-
const filterSensitiveLog: (obj: InvalidResourceTypeException) => any;
|
|
1830
|
-
}
|
|
1831
1761
|
export interface ListResourcesRequest {
|
|
1832
1762
|
/**
|
|
1833
1763
|
* <p>Specifies that you want to list only the resource shares that match the following:</p>
|
|
@@ -2177,12 +2107,6 @@ export interface TagLimitExceededException extends __SmithyException, $MetadataB
|
|
|
2177
2107
|
$fault: "client";
|
|
2178
2108
|
message: string | undefined;
|
|
2179
2109
|
}
|
|
2180
|
-
export declare namespace TagLimitExceededException {
|
|
2181
|
-
/**
|
|
2182
|
-
* @internal
|
|
2183
|
-
*/
|
|
2184
|
-
const filterSensitiveLog: (obj: TagLimitExceededException) => any;
|
|
2185
|
-
}
|
|
2186
2110
|
export interface TagResourceRequest {
|
|
2187
2111
|
/**
|
|
2188
2112
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of the resource share that you want to add tags to.</p>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "../commands/ListPermissionVersionsCommand";
|
|
3
|
+
import { RAMPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListPermissionVersions(config: RAMPaginationConfiguration, input: ListPermissionVersionsCommandInput, ...additionalArguments: any): Paginator<ListPermissionVersionsCommandOutput>;
|
|
@@ -4,6 +4,7 @@ export * from "./GetResourceShareInvitationsPaginator";
|
|
|
4
4
|
export * from "./GetResourceSharesPaginator";
|
|
5
5
|
export * from "./Interfaces";
|
|
6
6
|
export * from "./ListPendingInvitationResourcesPaginator";
|
|
7
|
+
export * from "./ListPermissionVersionsPaginator";
|
|
7
8
|
export * from "./ListPermissionsPaginator";
|
|
8
9
|
export * from "./ListPrincipalsPaginator";
|
|
9
10
|
export * from "./ListResourceSharePermissionsPaginator";
|
|
@@ -15,6 +15,7 @@ import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCom
|
|
|
15
15
|
import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "../commands/GetResourceSharesCommand";
|
|
16
16
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "../commands/ListPendingInvitationResourcesCommand";
|
|
17
17
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "../commands/ListPermissionsCommand";
|
|
18
|
+
import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "../commands/ListPermissionVersionsCommand";
|
|
18
19
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "../commands/ListPrincipalsCommand";
|
|
19
20
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "../commands/ListResourcesCommand";
|
|
20
21
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "../commands/ListResourceSharePermissionsCommand";
|
|
@@ -39,6 +40,7 @@ export declare const serializeAws_restJson1GetResourceShareInvitationsCommand: (
|
|
|
39
40
|
export declare const serializeAws_restJson1GetResourceSharesCommand: (input: GetResourceSharesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
41
|
export declare const serializeAws_restJson1ListPendingInvitationResourcesCommand: (input: ListPendingInvitationResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
42
|
export declare const serializeAws_restJson1ListPermissionsCommand: (input: ListPermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
|
+
export declare const serializeAws_restJson1ListPermissionVersionsCommand: (input: ListPermissionVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
44
|
export declare const serializeAws_restJson1ListPrincipalsCommand: (input: ListPrincipalsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
45
|
export declare const serializeAws_restJson1ListResourcesCommand: (input: ListResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
46
|
export declare const serializeAws_restJson1ListResourceSharePermissionsCommand: (input: ListResourceSharePermissionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -63,6 +65,7 @@ export declare const deserializeAws_restJson1GetResourceShareInvitationsCommand:
|
|
|
63
65
|
export declare const deserializeAws_restJson1GetResourceSharesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceSharesCommandOutput>;
|
|
64
66
|
export declare const deserializeAws_restJson1ListPendingInvitationResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPendingInvitationResourcesCommandOutput>;
|
|
65
67
|
export declare const deserializeAws_restJson1ListPermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPermissionsCommandOutput>;
|
|
68
|
+
export declare const deserializeAws_restJson1ListPermissionVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPermissionVersionsCommandOutput>;
|
|
66
69
|
export declare const deserializeAws_restJson1ListPrincipalsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPrincipalsCommandOutput>;
|
|
67
70
|
export declare const deserializeAws_restJson1ListResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourcesCommandOutput>;
|
|
68
71
|
export declare const deserializeAws_restJson1ListResourceSharePermissionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourceSharePermissionsCommandOutput>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { RAMClientConfig } from "./RAMClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: RAMClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { RAMClientConfig } from "./RAMClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: RAMClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: RAMClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -14,6 +14,7 @@ import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCom
|
|
|
14
14
|
import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "./commands/GetResourceSharesCommand";
|
|
15
15
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
|
|
16
16
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
|
|
17
|
+
import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "./commands/ListPermissionVersionsCommand";
|
|
17
18
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
|
|
18
19
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
19
20
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
|
|
@@ -87,6 +88,10 @@ export declare class RAM extends RAMClient {
|
|
|
87
88
|
listPermissions(args: ListPermissionsCommandInput, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
88
89
|
listPermissions(args: ListPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
89
90
|
|
|
91
|
+
listPermissionVersions(args: ListPermissionVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionVersionsCommandOutput>;
|
|
92
|
+
listPermissionVersions(args: ListPermissionVersionsCommandInput, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
93
|
+
listPermissionVersions(args: ListPermissionVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
94
|
+
|
|
90
95
|
listPrincipals(args: ListPrincipalsCommandInput, options?: __HttpHandlerOptions): Promise<ListPrincipalsCommandOutput>;
|
|
91
96
|
listPrincipals(args: ListPrincipalsCommandInput, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
92
97
|
listPrincipals(args: ListPrincipalsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
|
|
10
10
|
import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
|
|
@@ -21,6 +21,7 @@ import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCom
|
|
|
21
21
|
import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "./commands/GetResourceSharesCommand";
|
|
22
22
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
|
|
23
23
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
|
|
24
|
+
import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "./commands/ListPermissionVersionsCommand";
|
|
24
25
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
|
|
25
26
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
26
27
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
|
|
@@ -30,8 +31,8 @@ import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitatio
|
|
|
30
31
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
31
32
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
33
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
33
|
-
export declare type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreateResourceShareCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
|
|
34
|
-
export declare type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreateResourceShareCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
|
|
34
|
+
export declare type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreateResourceShareCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionVersionsCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
|
|
35
|
+
export declare type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreateResourceShareCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionVersionsCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
|
|
35
36
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
36
37
|
|
|
37
38
|
requestHandler?: __HttpHandler;
|
|
@@ -75,6 +76,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
75
76
|
regionInfoProvider?: RegionInfoProvider;
|
|
76
77
|
|
|
77
78
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
79
|
+
|
|
80
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
78
81
|
}
|
|
79
82
|
declare type RAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
80
83
|
|