@aws-sdk/client-ram 3.315.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -5
- package/dist-cjs/RAM.js +47 -350
- package/dist-cjs/commands/CreatePermissionCommand.js +45 -0
- package/dist-cjs/commands/CreatePermissionVersionCommand.js +45 -0
- package/dist-cjs/commands/DeletePermissionCommand.js +45 -0
- package/dist-cjs/commands/DeletePermissionVersionCommand.js +45 -0
- package/dist-cjs/commands/ListPermissionAssociationsCommand.js +45 -0
- package/dist-cjs/commands/ListReplacePermissionAssociationsWorkCommand.js +45 -0
- package/dist-cjs/commands/PromotePermissionCreatedFromPolicyCommand.js +45 -0
- package/dist-cjs/commands/ReplacePermissionAssociationsCommand.js +45 -0
- package/dist-cjs/commands/SetDefaultPermissionVersionCommand.js +45 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +104 -1
- package/dist-cjs/pagination/ListPermissionAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListReplacePermissionAssociationsWorkPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +976 -129
- package/dist-es/RAM.js +47 -350
- package/dist-es/commands/CreatePermissionCommand.js +41 -0
- package/dist-es/commands/CreatePermissionVersionCommand.js +41 -0
- package/dist-es/commands/DeletePermissionCommand.js +41 -0
- package/dist-es/commands/DeletePermissionVersionCommand.js +41 -0
- package/dist-es/commands/ListPermissionAssociationsCommand.js +41 -0
- package/dist-es/commands/ListReplacePermissionAssociationsWorkCommand.js +41 -0
- package/dist-es/commands/PromotePermissionCreatedFromPolicyCommand.js +41 -0
- package/dist-es/commands/ReplacePermissionAssociationsCommand.js +41 -0
- package/dist-es/commands/SetDefaultPermissionVersionCommand.js +41 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +97 -0
- package/dist-es/pagination/ListPermissionAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListReplacePermissionAssociationsWorkPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +949 -121
- package/dist-types/RAM.d.ts +114 -113
- package/dist-types/RAMClient.d.ts +15 -7
- package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +16 -12
- package/dist-types/commands/AssociateResourceShareCommand.d.ts +19 -14
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +9 -7
- package/dist-types/commands/CreatePermissionCommand.d.ts +109 -0
- package/dist-types/commands/CreatePermissionVersionCommand.d.ts +106 -0
- package/dist-types/commands/CreateResourceShareCommand.d.ts +19 -13
- package/dist-types/commands/DeletePermissionCommand.d.ts +91 -0
- package/dist-types/commands/DeletePermissionVersionCommand.d.ts +96 -0
- package/dist-types/commands/DeleteResourceShareCommand.d.ts +19 -14
- package/dist-types/commands/DisassociateResourceShareCommand.d.ts +19 -13
- package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +14 -11
- package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +14 -11
- package/dist-types/commands/GetPermissionCommand.d.ts +9 -7
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +10 -6
- package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +13 -8
- package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +14 -8
- package/dist-types/commands/GetResourceSharesCommand.d.ts +11 -6
- package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +15 -9
- package/dist-types/commands/ListPermissionAssociationsCommand.d.ts +91 -0
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +11 -7
- package/dist-types/commands/ListPermissionsCommand.d.ts +9 -5
- package/dist-types/commands/ListPrincipalsCommand.d.ts +10 -6
- package/dist-types/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +84 -0
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +11 -7
- package/dist-types/commands/ListResourceTypesCommand.d.ts +7 -4
- package/dist-types/commands/ListResourcesCommand.d.ts +11 -7
- package/dist-types/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +119 -0
- package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +34 -14
- package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +16 -12
- package/dist-types/commands/ReplacePermissionAssociationsCommand.d.ts +108 -0
- package/dist-types/commands/SetDefaultPermissionVersionCommand.d.ts +92 -0
- package/dist-types/commands/TagResourceCommand.d.ts +17 -11
- package/dist-types/commands/UntagResourceCommand.d.ts +14 -5
- package/dist-types/commands/UpdateResourceShareCommand.d.ts +13 -11
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1286 -195
- package/dist-types/pagination/ListPermissionAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListReplacePermissionAssociationsWorkPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/RAM.d.ts +167 -1
- package/dist-types/ts3.4/RAMClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreatePermissionVersionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeletePermissionVersionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListPermissionAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ReplacePermissionAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/SetDefaultPermissionVersionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +234 -19
- package/dist-types/ts3.4/pagination/ListPermissionAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListReplacePermissionAssociationsWorkPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +6 -6
|
@@ -204,6 +204,123 @@ export interface Tag {
|
|
|
204
204
|
key?: string;
|
|
205
205
|
value?: string;
|
|
206
206
|
}
|
|
207
|
+
export interface CreatePermissionRequest {
|
|
208
|
+
name: string | undefined;
|
|
209
|
+
resourceType: string | undefined;
|
|
210
|
+
policyTemplate: string | undefined;
|
|
211
|
+
clientToken?: string;
|
|
212
|
+
tags?: Tag[];
|
|
213
|
+
}
|
|
214
|
+
export declare const PermissionFeatureSet: {
|
|
215
|
+
readonly CREATED_FROM_POLICY: "CREATED_FROM_POLICY";
|
|
216
|
+
readonly PROMOTING_TO_STANDARD: "PROMOTING_TO_STANDARD";
|
|
217
|
+
readonly STANDARD: "STANDARD";
|
|
218
|
+
};
|
|
219
|
+
export type PermissionFeatureSet =
|
|
220
|
+
(typeof PermissionFeatureSet)[keyof typeof PermissionFeatureSet];
|
|
221
|
+
export declare const PermissionType: {
|
|
222
|
+
readonly AWS_MANAGED: "AWS_MANAGED";
|
|
223
|
+
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
224
|
+
};
|
|
225
|
+
export type PermissionType =
|
|
226
|
+
(typeof PermissionType)[keyof typeof PermissionType];
|
|
227
|
+
export interface ResourceSharePermissionSummary {
|
|
228
|
+
arn?: string;
|
|
229
|
+
version?: string;
|
|
230
|
+
defaultVersion?: boolean;
|
|
231
|
+
name?: string;
|
|
232
|
+
resourceType?: string;
|
|
233
|
+
status?: string;
|
|
234
|
+
creationTime?: Date;
|
|
235
|
+
lastUpdatedTime?: Date;
|
|
236
|
+
isResourceTypeDefault?: boolean;
|
|
237
|
+
permissionType?: PermissionType | string;
|
|
238
|
+
featureSet?: PermissionFeatureSet | string;
|
|
239
|
+
tags?: Tag[];
|
|
240
|
+
}
|
|
241
|
+
export interface CreatePermissionResponse {
|
|
242
|
+
permission?: ResourceSharePermissionSummary;
|
|
243
|
+
clientToken?: string;
|
|
244
|
+
}
|
|
245
|
+
export declare class InvalidPolicyException extends __BaseException {
|
|
246
|
+
readonly name: "InvalidPolicyException";
|
|
247
|
+
readonly $fault: "client";
|
|
248
|
+
constructor(
|
|
249
|
+
opts: __ExceptionOptionType<InvalidPolicyException, __BaseException>
|
|
250
|
+
);
|
|
251
|
+
}
|
|
252
|
+
export declare class MalformedPolicyTemplateException extends __BaseException {
|
|
253
|
+
readonly name: "MalformedPolicyTemplateException";
|
|
254
|
+
readonly $fault: "client";
|
|
255
|
+
constructor(
|
|
256
|
+
opts: __ExceptionOptionType<
|
|
257
|
+
MalformedPolicyTemplateException,
|
|
258
|
+
__BaseException
|
|
259
|
+
>
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
export declare class PermissionAlreadyExistsException extends __BaseException {
|
|
263
|
+
readonly name: "PermissionAlreadyExistsException";
|
|
264
|
+
readonly $fault: "client";
|
|
265
|
+
constructor(
|
|
266
|
+
opts: __ExceptionOptionType<
|
|
267
|
+
PermissionAlreadyExistsException,
|
|
268
|
+
__BaseException
|
|
269
|
+
>
|
|
270
|
+
);
|
|
271
|
+
}
|
|
272
|
+
export declare class PermissionLimitExceededException extends __BaseException {
|
|
273
|
+
readonly name: "PermissionLimitExceededException";
|
|
274
|
+
readonly $fault: "client";
|
|
275
|
+
constructor(
|
|
276
|
+
opts: __ExceptionOptionType<
|
|
277
|
+
PermissionLimitExceededException,
|
|
278
|
+
__BaseException
|
|
279
|
+
>
|
|
280
|
+
);
|
|
281
|
+
}
|
|
282
|
+
export interface CreatePermissionVersionRequest {
|
|
283
|
+
permissionArn: string | undefined;
|
|
284
|
+
policyTemplate: string | undefined;
|
|
285
|
+
clientToken?: string;
|
|
286
|
+
}
|
|
287
|
+
export declare const PermissionStatus: {
|
|
288
|
+
readonly ATTACHABLE: "ATTACHABLE";
|
|
289
|
+
readonly DELETED: "DELETED";
|
|
290
|
+
readonly DELETING: "DELETING";
|
|
291
|
+
readonly UNATTACHABLE: "UNATTACHABLE";
|
|
292
|
+
};
|
|
293
|
+
export type PermissionStatus =
|
|
294
|
+
(typeof PermissionStatus)[keyof typeof PermissionStatus];
|
|
295
|
+
export interface ResourceSharePermissionDetail {
|
|
296
|
+
arn?: string;
|
|
297
|
+
version?: string;
|
|
298
|
+
defaultVersion?: boolean;
|
|
299
|
+
name?: string;
|
|
300
|
+
resourceType?: string;
|
|
301
|
+
permission?: string;
|
|
302
|
+
creationTime?: Date;
|
|
303
|
+
lastUpdatedTime?: Date;
|
|
304
|
+
isResourceTypeDefault?: boolean;
|
|
305
|
+
permissionType?: PermissionType | string;
|
|
306
|
+
featureSet?: PermissionFeatureSet | string;
|
|
307
|
+
status?: PermissionStatus | string;
|
|
308
|
+
tags?: Tag[];
|
|
309
|
+
}
|
|
310
|
+
export interface CreatePermissionVersionResponse {
|
|
311
|
+
permission?: ResourceSharePermissionDetail;
|
|
312
|
+
clientToken?: string;
|
|
313
|
+
}
|
|
314
|
+
export declare class PermissionVersionsLimitExceededException extends __BaseException {
|
|
315
|
+
readonly name: "PermissionVersionsLimitExceededException";
|
|
316
|
+
readonly $fault: "client";
|
|
317
|
+
constructor(
|
|
318
|
+
opts: __ExceptionOptionType<
|
|
319
|
+
PermissionVersionsLimitExceededException,
|
|
320
|
+
__BaseException
|
|
321
|
+
>
|
|
322
|
+
);
|
|
323
|
+
}
|
|
207
324
|
export interface CreateResourceShareRequest {
|
|
208
325
|
name: string | undefined;
|
|
209
326
|
resourceArns?: string[];
|
|
@@ -252,6 +369,25 @@ export declare class TagPolicyViolationException extends __BaseException {
|
|
|
252
369
|
opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>
|
|
253
370
|
);
|
|
254
371
|
}
|
|
372
|
+
export interface DeletePermissionRequest {
|
|
373
|
+
permissionArn: string | undefined;
|
|
374
|
+
clientToken?: string;
|
|
375
|
+
}
|
|
376
|
+
export interface DeletePermissionResponse {
|
|
377
|
+
returnValue?: boolean;
|
|
378
|
+
clientToken?: string;
|
|
379
|
+
permissionStatus?: PermissionStatus | string;
|
|
380
|
+
}
|
|
381
|
+
export interface DeletePermissionVersionRequest {
|
|
382
|
+
permissionArn: string | undefined;
|
|
383
|
+
permissionVersion: number | undefined;
|
|
384
|
+
clientToken?: string;
|
|
385
|
+
}
|
|
386
|
+
export interface DeletePermissionVersionResponse {
|
|
387
|
+
returnValue?: boolean;
|
|
388
|
+
clientToken?: string;
|
|
389
|
+
permissionStatus?: PermissionStatus | string;
|
|
390
|
+
}
|
|
255
391
|
export interface DeleteResourceShareRequest {
|
|
256
392
|
resourceShareArn: string | undefined;
|
|
257
393
|
clientToken?: string;
|
|
@@ -287,17 +423,6 @@ export interface GetPermissionRequest {
|
|
|
287
423
|
permissionArn: string | undefined;
|
|
288
424
|
permissionVersion?: number;
|
|
289
425
|
}
|
|
290
|
-
export interface ResourceSharePermissionDetail {
|
|
291
|
-
arn?: string;
|
|
292
|
-
version?: string;
|
|
293
|
-
defaultVersion?: boolean;
|
|
294
|
-
name?: string;
|
|
295
|
-
resourceType?: string;
|
|
296
|
-
permission?: string;
|
|
297
|
-
creationTime?: Date;
|
|
298
|
-
lastUpdatedTime?: Date;
|
|
299
|
-
isResourceTypeDefault?: boolean;
|
|
300
|
-
}
|
|
301
426
|
export interface GetPermissionResponse {
|
|
302
427
|
permission?: ResourceSharePermissionDetail;
|
|
303
428
|
}
|
|
@@ -373,6 +498,7 @@ export interface GetResourceSharesRequest {
|
|
|
373
498
|
nextToken?: string;
|
|
374
499
|
maxResults?: number;
|
|
375
500
|
permissionArn?: string;
|
|
501
|
+
permissionVersion?: number;
|
|
376
502
|
}
|
|
377
503
|
export interface GetResourceSharesResponse {
|
|
378
504
|
resourceShares?: ResourceShare[];
|
|
@@ -431,21 +557,42 @@ export declare class MissingRequiredParameterException extends __BaseException {
|
|
|
431
557
|
>
|
|
432
558
|
);
|
|
433
559
|
}
|
|
434
|
-
export interface
|
|
560
|
+
export interface ListPermissionAssociationsRequest {
|
|
561
|
+
permissionArn?: string;
|
|
562
|
+
permissionVersion?: number;
|
|
563
|
+
associationStatus?: ResourceShareAssociationStatus | string;
|
|
435
564
|
resourceType?: string;
|
|
565
|
+
featureSet?: PermissionFeatureSet | string;
|
|
566
|
+
defaultVersion?: boolean;
|
|
436
567
|
nextToken?: string;
|
|
437
568
|
maxResults?: number;
|
|
438
569
|
}
|
|
439
|
-
export interface
|
|
570
|
+
export interface AssociatedPermission {
|
|
440
571
|
arn?: string;
|
|
441
|
-
|
|
572
|
+
permissionVersion?: string;
|
|
442
573
|
defaultVersion?: boolean;
|
|
443
|
-
name?: string;
|
|
444
574
|
resourceType?: string;
|
|
445
575
|
status?: string;
|
|
446
|
-
|
|
576
|
+
featureSet?: PermissionFeatureSet | string;
|
|
447
577
|
lastUpdatedTime?: Date;
|
|
448
|
-
|
|
578
|
+
resourceShareArn?: string;
|
|
579
|
+
}
|
|
580
|
+
export interface ListPermissionAssociationsResponse {
|
|
581
|
+
permissions?: AssociatedPermission[];
|
|
582
|
+
nextToken?: string;
|
|
583
|
+
}
|
|
584
|
+
export declare const PermissionTypeFilter: {
|
|
585
|
+
readonly ALL: "ALL";
|
|
586
|
+
readonly AWS_MANAGED: "AWS_MANAGED";
|
|
587
|
+
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
588
|
+
};
|
|
589
|
+
export type PermissionTypeFilter =
|
|
590
|
+
(typeof PermissionTypeFilter)[keyof typeof PermissionTypeFilter];
|
|
591
|
+
export interface ListPermissionsRequest {
|
|
592
|
+
resourceType?: string;
|
|
593
|
+
nextToken?: string;
|
|
594
|
+
maxResults?: number;
|
|
595
|
+
permissionType?: PermissionTypeFilter | string;
|
|
449
596
|
}
|
|
450
597
|
export interface ListPermissionsResponse {
|
|
451
598
|
permissions?: ResourceSharePermissionSummary[];
|
|
@@ -480,6 +627,34 @@ export interface ListPrincipalsResponse {
|
|
|
480
627
|
principals?: Principal[];
|
|
481
628
|
nextToken?: string;
|
|
482
629
|
}
|
|
630
|
+
export declare const ReplacePermissionAssociationsWorkStatus: {
|
|
631
|
+
readonly COMPLETED: "COMPLETED";
|
|
632
|
+
readonly FAILED: "FAILED";
|
|
633
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
634
|
+
};
|
|
635
|
+
export type ReplacePermissionAssociationsWorkStatus =
|
|
636
|
+
(typeof ReplacePermissionAssociationsWorkStatus)[keyof typeof ReplacePermissionAssociationsWorkStatus];
|
|
637
|
+
export interface ListReplacePermissionAssociationsWorkRequest {
|
|
638
|
+
workIds?: string[];
|
|
639
|
+
status?: ReplacePermissionAssociationsWorkStatus | string;
|
|
640
|
+
nextToken?: string;
|
|
641
|
+
maxResults?: number;
|
|
642
|
+
}
|
|
643
|
+
export interface ReplacePermissionAssociationsWork {
|
|
644
|
+
id?: string;
|
|
645
|
+
fromPermissionArn?: string;
|
|
646
|
+
fromPermissionVersion?: string;
|
|
647
|
+
toPermissionArn?: string;
|
|
648
|
+
toPermissionVersion?: string;
|
|
649
|
+
status?: ReplacePermissionAssociationsWorkStatus | string;
|
|
650
|
+
statusMessage?: string;
|
|
651
|
+
creationTime?: Date;
|
|
652
|
+
lastUpdatedTime?: Date;
|
|
653
|
+
}
|
|
654
|
+
export interface ListReplacePermissionAssociationsWorkResponse {
|
|
655
|
+
replacePermissionAssociationsWorks?: ReplacePermissionAssociationsWork[];
|
|
656
|
+
nextToken?: string;
|
|
657
|
+
}
|
|
483
658
|
export declare class InvalidResourceTypeException extends __BaseException {
|
|
484
659
|
readonly name: "InvalidResourceTypeException";
|
|
485
660
|
readonly $fault: "client";
|
|
@@ -524,12 +699,31 @@ export interface ListResourceTypesResponse {
|
|
|
524
699
|
resourceTypes?: ServiceNameAndResourceType[];
|
|
525
700
|
nextToken?: string;
|
|
526
701
|
}
|
|
702
|
+
export interface PromotePermissionCreatedFromPolicyRequest {
|
|
703
|
+
permissionArn: string | undefined;
|
|
704
|
+
name: string | undefined;
|
|
705
|
+
clientToken?: string;
|
|
706
|
+
}
|
|
707
|
+
export interface PromotePermissionCreatedFromPolicyResponse {
|
|
708
|
+
permission?: ResourceSharePermissionSummary;
|
|
709
|
+
clientToken?: string;
|
|
710
|
+
}
|
|
527
711
|
export interface PromoteResourceShareCreatedFromPolicyRequest {
|
|
528
712
|
resourceShareArn: string | undefined;
|
|
529
713
|
}
|
|
530
714
|
export interface PromoteResourceShareCreatedFromPolicyResponse {
|
|
531
715
|
returnValue?: boolean;
|
|
532
716
|
}
|
|
717
|
+
export declare class UnmatchedPolicyPermissionException extends __BaseException {
|
|
718
|
+
readonly name: "UnmatchedPolicyPermissionException";
|
|
719
|
+
readonly $fault: "client";
|
|
720
|
+
constructor(
|
|
721
|
+
opts: __ExceptionOptionType<
|
|
722
|
+
UnmatchedPolicyPermissionException,
|
|
723
|
+
__BaseException
|
|
724
|
+
>
|
|
725
|
+
);
|
|
726
|
+
}
|
|
533
727
|
export interface RejectResourceShareInvitationRequest {
|
|
534
728
|
resourceShareInvitationArn: string | undefined;
|
|
535
729
|
clientToken?: string;
|
|
@@ -538,6 +732,25 @@ export interface RejectResourceShareInvitationResponse {
|
|
|
538
732
|
resourceShareInvitation?: ResourceShareInvitation;
|
|
539
733
|
clientToken?: string;
|
|
540
734
|
}
|
|
735
|
+
export interface ReplacePermissionAssociationsRequest {
|
|
736
|
+
fromPermissionArn: string | undefined;
|
|
737
|
+
fromPermissionVersion?: number;
|
|
738
|
+
toPermissionArn: string | undefined;
|
|
739
|
+
clientToken?: string;
|
|
740
|
+
}
|
|
741
|
+
export interface ReplacePermissionAssociationsResponse {
|
|
742
|
+
replacePermissionAssociationsWork?: ReplacePermissionAssociationsWork;
|
|
743
|
+
clientToken?: string;
|
|
744
|
+
}
|
|
745
|
+
export interface SetDefaultPermissionVersionRequest {
|
|
746
|
+
permissionArn: string | undefined;
|
|
747
|
+
permissionVersion: number | undefined;
|
|
748
|
+
clientToken?: string;
|
|
749
|
+
}
|
|
750
|
+
export interface SetDefaultPermissionVersionResponse {
|
|
751
|
+
returnValue?: boolean;
|
|
752
|
+
clientToken?: string;
|
|
753
|
+
}
|
|
541
754
|
export declare class TagLimitExceededException extends __BaseException {
|
|
542
755
|
readonly name: "TagLimitExceededException";
|
|
543
756
|
readonly $fault: "client";
|
|
@@ -546,13 +759,15 @@ export declare class TagLimitExceededException extends __BaseException {
|
|
|
546
759
|
);
|
|
547
760
|
}
|
|
548
761
|
export interface TagResourceRequest {
|
|
549
|
-
resourceShareArn
|
|
762
|
+
resourceShareArn?: string;
|
|
550
763
|
tags: Tag[] | undefined;
|
|
764
|
+
resourceArn?: string;
|
|
551
765
|
}
|
|
552
766
|
export interface TagResourceResponse {}
|
|
553
767
|
export interface UntagResourceRequest {
|
|
554
|
-
resourceShareArn
|
|
768
|
+
resourceShareArn?: string;
|
|
555
769
|
tagKeys: string[] | undefined;
|
|
770
|
+
resourceArn?: string;
|
|
556
771
|
}
|
|
557
772
|
export interface UntagResourceResponse {}
|
|
558
773
|
export interface UpdateResourceShareRequest {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPermissionAssociationsCommandInput,
|
|
4
|
+
ListPermissionAssociationsCommandOutput,
|
|
5
|
+
} from "../commands/ListPermissionAssociationsCommand";
|
|
6
|
+
import { RAMPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListPermissionAssociations(
|
|
8
|
+
config: RAMPaginationConfiguration,
|
|
9
|
+
input: ListPermissionAssociationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListPermissionAssociationsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListReplacePermissionAssociationsWorkCommandInput,
|
|
4
|
+
ListReplacePermissionAssociationsWorkCommandOutput,
|
|
5
|
+
} from "../commands/ListReplacePermissionAssociationsWorkCommand";
|
|
6
|
+
import { RAMPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListReplacePermissionAssociationsWork(
|
|
8
|
+
config: RAMPaginationConfiguration,
|
|
9
|
+
input: ListReplacePermissionAssociationsWorkCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
@@ -4,9 +4,11 @@ export * from "./GetResourceShareInvitationsPaginator";
|
|
|
4
4
|
export * from "./GetResourceSharesPaginator";
|
|
5
5
|
export * from "./Interfaces";
|
|
6
6
|
export * from "./ListPendingInvitationResourcesPaginator";
|
|
7
|
+
export * from "./ListPermissionAssociationsPaginator";
|
|
7
8
|
export * from "./ListPermissionVersionsPaginator";
|
|
8
9
|
export * from "./ListPermissionsPaginator";
|
|
9
10
|
export * from "./ListPrincipalsPaginator";
|
|
11
|
+
export * from "./ListReplacePermissionAssociationsWorkPaginator";
|
|
10
12
|
export * from "./ListResourceSharePermissionsPaginator";
|
|
11
13
|
export * from "./ListResourceTypesPaginator";
|
|
12
14
|
export * from "./ListResourcesPaginator";
|
|
@@ -15,10 +15,26 @@ import {
|
|
|
15
15
|
AssociateResourceSharePermissionCommandInput,
|
|
16
16
|
AssociateResourceSharePermissionCommandOutput,
|
|
17
17
|
} from "../commands/AssociateResourceSharePermissionCommand";
|
|
18
|
+
import {
|
|
19
|
+
CreatePermissionCommandInput,
|
|
20
|
+
CreatePermissionCommandOutput,
|
|
21
|
+
} from "../commands/CreatePermissionCommand";
|
|
22
|
+
import {
|
|
23
|
+
CreatePermissionVersionCommandInput,
|
|
24
|
+
CreatePermissionVersionCommandOutput,
|
|
25
|
+
} from "../commands/CreatePermissionVersionCommand";
|
|
18
26
|
import {
|
|
19
27
|
CreateResourceShareCommandInput,
|
|
20
28
|
CreateResourceShareCommandOutput,
|
|
21
29
|
} from "../commands/CreateResourceShareCommand";
|
|
30
|
+
import {
|
|
31
|
+
DeletePermissionCommandInput,
|
|
32
|
+
DeletePermissionCommandOutput,
|
|
33
|
+
} from "../commands/DeletePermissionCommand";
|
|
34
|
+
import {
|
|
35
|
+
DeletePermissionVersionCommandInput,
|
|
36
|
+
DeletePermissionVersionCommandOutput,
|
|
37
|
+
} from "../commands/DeletePermissionVersionCommand";
|
|
22
38
|
import {
|
|
23
39
|
DeleteResourceShareCommandInput,
|
|
24
40
|
DeleteResourceShareCommandOutput,
|
|
@@ -59,6 +75,10 @@ import {
|
|
|
59
75
|
ListPendingInvitationResourcesCommandInput,
|
|
60
76
|
ListPendingInvitationResourcesCommandOutput,
|
|
61
77
|
} from "../commands/ListPendingInvitationResourcesCommand";
|
|
78
|
+
import {
|
|
79
|
+
ListPermissionAssociationsCommandInput,
|
|
80
|
+
ListPermissionAssociationsCommandOutput,
|
|
81
|
+
} from "../commands/ListPermissionAssociationsCommand";
|
|
62
82
|
import {
|
|
63
83
|
ListPermissionsCommandInput,
|
|
64
84
|
ListPermissionsCommandOutput,
|
|
@@ -71,6 +91,10 @@ import {
|
|
|
71
91
|
ListPrincipalsCommandInput,
|
|
72
92
|
ListPrincipalsCommandOutput,
|
|
73
93
|
} from "../commands/ListPrincipalsCommand";
|
|
94
|
+
import {
|
|
95
|
+
ListReplacePermissionAssociationsWorkCommandInput,
|
|
96
|
+
ListReplacePermissionAssociationsWorkCommandOutput,
|
|
97
|
+
} from "../commands/ListReplacePermissionAssociationsWorkCommand";
|
|
74
98
|
import {
|
|
75
99
|
ListResourcesCommandInput,
|
|
76
100
|
ListResourcesCommandOutput,
|
|
@@ -83,6 +107,10 @@ import {
|
|
|
83
107
|
ListResourceTypesCommandInput,
|
|
84
108
|
ListResourceTypesCommandOutput,
|
|
85
109
|
} from "../commands/ListResourceTypesCommand";
|
|
110
|
+
import {
|
|
111
|
+
PromotePermissionCreatedFromPolicyCommandInput,
|
|
112
|
+
PromotePermissionCreatedFromPolicyCommandOutput,
|
|
113
|
+
} from "../commands/PromotePermissionCreatedFromPolicyCommand";
|
|
86
114
|
import {
|
|
87
115
|
PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
88
116
|
PromoteResourceShareCreatedFromPolicyCommandOutput,
|
|
@@ -91,6 +119,14 @@ import {
|
|
|
91
119
|
RejectResourceShareInvitationCommandInput,
|
|
92
120
|
RejectResourceShareInvitationCommandOutput,
|
|
93
121
|
} from "../commands/RejectResourceShareInvitationCommand";
|
|
122
|
+
import {
|
|
123
|
+
ReplacePermissionAssociationsCommandInput,
|
|
124
|
+
ReplacePermissionAssociationsCommandOutput,
|
|
125
|
+
} from "../commands/ReplacePermissionAssociationsCommand";
|
|
126
|
+
import {
|
|
127
|
+
SetDefaultPermissionVersionCommandInput,
|
|
128
|
+
SetDefaultPermissionVersionCommandOutput,
|
|
129
|
+
} from "../commands/SetDefaultPermissionVersionCommand";
|
|
94
130
|
import {
|
|
95
131
|
TagResourceCommandInput,
|
|
96
132
|
TagResourceCommandOutput,
|
|
@@ -115,10 +151,26 @@ export declare const se_AssociateResourceSharePermissionCommand: (
|
|
|
115
151
|
input: AssociateResourceSharePermissionCommandInput,
|
|
116
152
|
context: __SerdeContext
|
|
117
153
|
) => Promise<__HttpRequest>;
|
|
154
|
+
export declare const se_CreatePermissionCommand: (
|
|
155
|
+
input: CreatePermissionCommandInput,
|
|
156
|
+
context: __SerdeContext
|
|
157
|
+
) => Promise<__HttpRequest>;
|
|
158
|
+
export declare const se_CreatePermissionVersionCommand: (
|
|
159
|
+
input: CreatePermissionVersionCommandInput,
|
|
160
|
+
context: __SerdeContext
|
|
161
|
+
) => Promise<__HttpRequest>;
|
|
118
162
|
export declare const se_CreateResourceShareCommand: (
|
|
119
163
|
input: CreateResourceShareCommandInput,
|
|
120
164
|
context: __SerdeContext
|
|
121
165
|
) => Promise<__HttpRequest>;
|
|
166
|
+
export declare const se_DeletePermissionCommand: (
|
|
167
|
+
input: DeletePermissionCommandInput,
|
|
168
|
+
context: __SerdeContext
|
|
169
|
+
) => Promise<__HttpRequest>;
|
|
170
|
+
export declare const se_DeletePermissionVersionCommand: (
|
|
171
|
+
input: DeletePermissionVersionCommandInput,
|
|
172
|
+
context: __SerdeContext
|
|
173
|
+
) => Promise<__HttpRequest>;
|
|
122
174
|
export declare const se_DeleteResourceShareCommand: (
|
|
123
175
|
input: DeleteResourceShareCommandInput,
|
|
124
176
|
context: __SerdeContext
|
|
@@ -159,6 +211,10 @@ export declare const se_ListPendingInvitationResourcesCommand: (
|
|
|
159
211
|
input: ListPendingInvitationResourcesCommandInput,
|
|
160
212
|
context: __SerdeContext
|
|
161
213
|
) => Promise<__HttpRequest>;
|
|
214
|
+
export declare const se_ListPermissionAssociationsCommand: (
|
|
215
|
+
input: ListPermissionAssociationsCommandInput,
|
|
216
|
+
context: __SerdeContext
|
|
217
|
+
) => Promise<__HttpRequest>;
|
|
162
218
|
export declare const se_ListPermissionsCommand: (
|
|
163
219
|
input: ListPermissionsCommandInput,
|
|
164
220
|
context: __SerdeContext
|
|
@@ -171,6 +227,10 @@ export declare const se_ListPrincipalsCommand: (
|
|
|
171
227
|
input: ListPrincipalsCommandInput,
|
|
172
228
|
context: __SerdeContext
|
|
173
229
|
) => Promise<__HttpRequest>;
|
|
230
|
+
export declare const se_ListReplacePermissionAssociationsWorkCommand: (
|
|
231
|
+
input: ListReplacePermissionAssociationsWorkCommandInput,
|
|
232
|
+
context: __SerdeContext
|
|
233
|
+
) => Promise<__HttpRequest>;
|
|
174
234
|
export declare const se_ListResourcesCommand: (
|
|
175
235
|
input: ListResourcesCommandInput,
|
|
176
236
|
context: __SerdeContext
|
|
@@ -183,6 +243,10 @@ export declare const se_ListResourceTypesCommand: (
|
|
|
183
243
|
input: ListResourceTypesCommandInput,
|
|
184
244
|
context: __SerdeContext
|
|
185
245
|
) => Promise<__HttpRequest>;
|
|
246
|
+
export declare const se_PromotePermissionCreatedFromPolicyCommand: (
|
|
247
|
+
input: PromotePermissionCreatedFromPolicyCommandInput,
|
|
248
|
+
context: __SerdeContext
|
|
249
|
+
) => Promise<__HttpRequest>;
|
|
186
250
|
export declare const se_PromoteResourceShareCreatedFromPolicyCommand: (
|
|
187
251
|
input: PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
188
252
|
context: __SerdeContext
|
|
@@ -191,6 +255,14 @@ export declare const se_RejectResourceShareInvitationCommand: (
|
|
|
191
255
|
input: RejectResourceShareInvitationCommandInput,
|
|
192
256
|
context: __SerdeContext
|
|
193
257
|
) => Promise<__HttpRequest>;
|
|
258
|
+
export declare const se_ReplacePermissionAssociationsCommand: (
|
|
259
|
+
input: ReplacePermissionAssociationsCommandInput,
|
|
260
|
+
context: __SerdeContext
|
|
261
|
+
) => Promise<__HttpRequest>;
|
|
262
|
+
export declare const se_SetDefaultPermissionVersionCommand: (
|
|
263
|
+
input: SetDefaultPermissionVersionCommandInput,
|
|
264
|
+
context: __SerdeContext
|
|
265
|
+
) => Promise<__HttpRequest>;
|
|
194
266
|
export declare const se_TagResourceCommand: (
|
|
195
267
|
input: TagResourceCommandInput,
|
|
196
268
|
context: __SerdeContext
|
|
@@ -215,10 +287,26 @@ export declare const de_AssociateResourceSharePermissionCommand: (
|
|
|
215
287
|
output: __HttpResponse,
|
|
216
288
|
context: __SerdeContext
|
|
217
289
|
) => Promise<AssociateResourceSharePermissionCommandOutput>;
|
|
290
|
+
export declare const de_CreatePermissionCommand: (
|
|
291
|
+
output: __HttpResponse,
|
|
292
|
+
context: __SerdeContext
|
|
293
|
+
) => Promise<CreatePermissionCommandOutput>;
|
|
294
|
+
export declare const de_CreatePermissionVersionCommand: (
|
|
295
|
+
output: __HttpResponse,
|
|
296
|
+
context: __SerdeContext
|
|
297
|
+
) => Promise<CreatePermissionVersionCommandOutput>;
|
|
218
298
|
export declare const de_CreateResourceShareCommand: (
|
|
219
299
|
output: __HttpResponse,
|
|
220
300
|
context: __SerdeContext
|
|
221
301
|
) => Promise<CreateResourceShareCommandOutput>;
|
|
302
|
+
export declare const de_DeletePermissionCommand: (
|
|
303
|
+
output: __HttpResponse,
|
|
304
|
+
context: __SerdeContext
|
|
305
|
+
) => Promise<DeletePermissionCommandOutput>;
|
|
306
|
+
export declare const de_DeletePermissionVersionCommand: (
|
|
307
|
+
output: __HttpResponse,
|
|
308
|
+
context: __SerdeContext
|
|
309
|
+
) => Promise<DeletePermissionVersionCommandOutput>;
|
|
222
310
|
export declare const de_DeleteResourceShareCommand: (
|
|
223
311
|
output: __HttpResponse,
|
|
224
312
|
context: __SerdeContext
|
|
@@ -259,6 +347,10 @@ export declare const de_ListPendingInvitationResourcesCommand: (
|
|
|
259
347
|
output: __HttpResponse,
|
|
260
348
|
context: __SerdeContext
|
|
261
349
|
) => Promise<ListPendingInvitationResourcesCommandOutput>;
|
|
350
|
+
export declare const de_ListPermissionAssociationsCommand: (
|
|
351
|
+
output: __HttpResponse,
|
|
352
|
+
context: __SerdeContext
|
|
353
|
+
) => Promise<ListPermissionAssociationsCommandOutput>;
|
|
262
354
|
export declare const de_ListPermissionsCommand: (
|
|
263
355
|
output: __HttpResponse,
|
|
264
356
|
context: __SerdeContext
|
|
@@ -271,6 +363,10 @@ export declare const de_ListPrincipalsCommand: (
|
|
|
271
363
|
output: __HttpResponse,
|
|
272
364
|
context: __SerdeContext
|
|
273
365
|
) => Promise<ListPrincipalsCommandOutput>;
|
|
366
|
+
export declare const de_ListReplacePermissionAssociationsWorkCommand: (
|
|
367
|
+
output: __HttpResponse,
|
|
368
|
+
context: __SerdeContext
|
|
369
|
+
) => Promise<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
274
370
|
export declare const de_ListResourcesCommand: (
|
|
275
371
|
output: __HttpResponse,
|
|
276
372
|
context: __SerdeContext
|
|
@@ -283,6 +379,10 @@ export declare const de_ListResourceTypesCommand: (
|
|
|
283
379
|
output: __HttpResponse,
|
|
284
380
|
context: __SerdeContext
|
|
285
381
|
) => Promise<ListResourceTypesCommandOutput>;
|
|
382
|
+
export declare const de_PromotePermissionCreatedFromPolicyCommand: (
|
|
383
|
+
output: __HttpResponse,
|
|
384
|
+
context: __SerdeContext
|
|
385
|
+
) => Promise<PromotePermissionCreatedFromPolicyCommandOutput>;
|
|
286
386
|
export declare const de_PromoteResourceShareCreatedFromPolicyCommand: (
|
|
287
387
|
output: __HttpResponse,
|
|
288
388
|
context: __SerdeContext
|
|
@@ -291,6 +391,14 @@ export declare const de_RejectResourceShareInvitationCommand: (
|
|
|
291
391
|
output: __HttpResponse,
|
|
292
392
|
context: __SerdeContext
|
|
293
393
|
) => Promise<RejectResourceShareInvitationCommandOutput>;
|
|
394
|
+
export declare const de_ReplacePermissionAssociationsCommand: (
|
|
395
|
+
output: __HttpResponse,
|
|
396
|
+
context: __SerdeContext
|
|
397
|
+
) => Promise<ReplacePermissionAssociationsCommandOutput>;
|
|
398
|
+
export declare const de_SetDefaultPermissionVersionCommand: (
|
|
399
|
+
output: __HttpResponse,
|
|
400
|
+
context: __SerdeContext
|
|
401
|
+
) => Promise<SetDefaultPermissionVersionCommandOutput>;
|
|
294
402
|
export declare const de_TagResourceCommand: (
|
|
295
403
|
output: __HttpResponse,
|
|
296
404
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ram",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ram Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|