@aws-sdk/client-ram 3.686.0 → 3.691.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/dist-types/models/models_0.d.ts +253 -253
- package/dist-types/ts3.4/models/models_0.d.ts +257 -253
- package/package.json +7 -7
|
@@ -2,7 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { RAMServiceException as __BaseException } from "./RAMServiceException";
|
|
3
3
|
export interface AcceptResourceShareInvitationRequest {
|
|
4
4
|
resourceShareInvitationArn: string | undefined;
|
|
5
|
-
clientToken?: string;
|
|
5
|
+
clientToken?: string | undefined;
|
|
6
6
|
}
|
|
7
7
|
export declare const ResourceShareAssociationType: {
|
|
8
8
|
readonly PRINCIPAL: "PRINCIPAL";
|
|
@@ -20,15 +20,15 @@ export declare const ResourceShareAssociationStatus: {
|
|
|
20
20
|
export type ResourceShareAssociationStatus =
|
|
21
21
|
(typeof ResourceShareAssociationStatus)[keyof typeof ResourceShareAssociationStatus];
|
|
22
22
|
export interface ResourceShareAssociation {
|
|
23
|
-
resourceShareArn?: string;
|
|
24
|
-
resourceShareName?: string;
|
|
25
|
-
associatedEntity?: string;
|
|
26
|
-
associationType?: ResourceShareAssociationType;
|
|
27
|
-
status?: ResourceShareAssociationStatus;
|
|
28
|
-
statusMessage?: string;
|
|
29
|
-
creationTime?: Date;
|
|
30
|
-
lastUpdatedTime?: Date;
|
|
31
|
-
external?: boolean;
|
|
23
|
+
resourceShareArn?: string | undefined;
|
|
24
|
+
resourceShareName?: string | undefined;
|
|
25
|
+
associatedEntity?: string | undefined;
|
|
26
|
+
associationType?: ResourceShareAssociationType | undefined;
|
|
27
|
+
status?: ResourceShareAssociationStatus | undefined;
|
|
28
|
+
statusMessage?: string | undefined;
|
|
29
|
+
creationTime?: Date | undefined;
|
|
30
|
+
lastUpdatedTime?: Date | undefined;
|
|
31
|
+
external?: boolean | undefined;
|
|
32
32
|
}
|
|
33
33
|
export declare const ResourceShareInvitationStatus: {
|
|
34
34
|
readonly ACCEPTED: "ACCEPTED";
|
|
@@ -39,19 +39,19 @@ export declare const ResourceShareInvitationStatus: {
|
|
|
39
39
|
export type ResourceShareInvitationStatus =
|
|
40
40
|
(typeof ResourceShareInvitationStatus)[keyof typeof ResourceShareInvitationStatus];
|
|
41
41
|
export interface ResourceShareInvitation {
|
|
42
|
-
resourceShareInvitationArn?: string;
|
|
43
|
-
resourceShareName?: string;
|
|
44
|
-
resourceShareArn?: string;
|
|
45
|
-
senderAccountId?: string;
|
|
46
|
-
receiverAccountId?: string;
|
|
47
|
-
invitationTimestamp?: Date;
|
|
48
|
-
status?: ResourceShareInvitationStatus;
|
|
49
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
50
|
-
receiverArn?: string;
|
|
42
|
+
resourceShareInvitationArn?: string | undefined;
|
|
43
|
+
resourceShareName?: string | undefined;
|
|
44
|
+
resourceShareArn?: string | undefined;
|
|
45
|
+
senderAccountId?: string | undefined;
|
|
46
|
+
receiverAccountId?: string | undefined;
|
|
47
|
+
invitationTimestamp?: Date | undefined;
|
|
48
|
+
status?: ResourceShareInvitationStatus | undefined;
|
|
49
|
+
resourceShareAssociations?: ResourceShareAssociation[] | undefined;
|
|
50
|
+
receiverArn?: string | undefined;
|
|
51
51
|
}
|
|
52
52
|
export interface AcceptResourceShareInvitationResponse {
|
|
53
|
-
resourceShareInvitation?: ResourceShareInvitation;
|
|
54
|
-
clientToken?: string;
|
|
53
|
+
resourceShareInvitation?: ResourceShareInvitation | undefined;
|
|
54
|
+
clientToken?: string | undefined;
|
|
55
55
|
}
|
|
56
56
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
57
57
|
readonly name: "IdempotentParameterMismatchException";
|
|
@@ -140,14 +140,14 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
140
140
|
}
|
|
141
141
|
export interface AssociateResourceShareRequest {
|
|
142
142
|
resourceShareArn: string | undefined;
|
|
143
|
-
resourceArns?: string[];
|
|
144
|
-
principals?: string[];
|
|
145
|
-
clientToken?: string;
|
|
146
|
-
sources?: string[];
|
|
143
|
+
resourceArns?: string[] | undefined;
|
|
144
|
+
principals?: string[] | undefined;
|
|
145
|
+
clientToken?: string | undefined;
|
|
146
|
+
sources?: string[] | undefined;
|
|
147
147
|
}
|
|
148
148
|
export interface AssociateResourceShareResponse {
|
|
149
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
150
|
-
clientToken?: string;
|
|
149
|
+
resourceShareAssociations?: ResourceShareAssociation[] | undefined;
|
|
150
|
+
clientToken?: string | undefined;
|
|
151
151
|
}
|
|
152
152
|
export declare class InvalidParameterException extends __BaseException {
|
|
153
153
|
readonly name: "InvalidParameterException";
|
|
@@ -193,24 +193,24 @@ export declare class UnknownResourceException extends __BaseException {
|
|
|
193
193
|
export interface AssociateResourceSharePermissionRequest {
|
|
194
194
|
resourceShareArn: string | undefined;
|
|
195
195
|
permissionArn: string | undefined;
|
|
196
|
-
replace?: boolean;
|
|
197
|
-
clientToken?: string;
|
|
198
|
-
permissionVersion?: number;
|
|
196
|
+
replace?: boolean | undefined;
|
|
197
|
+
clientToken?: string | undefined;
|
|
198
|
+
permissionVersion?: number | undefined;
|
|
199
199
|
}
|
|
200
200
|
export interface AssociateResourceSharePermissionResponse {
|
|
201
|
-
returnValue?: boolean;
|
|
202
|
-
clientToken?: string;
|
|
201
|
+
returnValue?: boolean | undefined;
|
|
202
|
+
clientToken?: string | undefined;
|
|
203
203
|
}
|
|
204
204
|
export interface Tag {
|
|
205
|
-
key?: string;
|
|
206
|
-
value?: string;
|
|
205
|
+
key?: string | undefined;
|
|
206
|
+
value?: string | undefined;
|
|
207
207
|
}
|
|
208
208
|
export interface CreatePermissionRequest {
|
|
209
209
|
name: string | undefined;
|
|
210
210
|
resourceType: string | undefined;
|
|
211
211
|
policyTemplate: string | undefined;
|
|
212
|
-
clientToken?: string;
|
|
213
|
-
tags?: Tag[];
|
|
212
|
+
clientToken?: string | undefined;
|
|
213
|
+
tags?: Tag[] | undefined;
|
|
214
214
|
}
|
|
215
215
|
export declare const PermissionFeatureSet: {
|
|
216
216
|
readonly CREATED_FROM_POLICY: "CREATED_FROM_POLICY";
|
|
@@ -226,22 +226,22 @@ export declare const PermissionType: {
|
|
|
226
226
|
export type PermissionType =
|
|
227
227
|
(typeof PermissionType)[keyof typeof PermissionType];
|
|
228
228
|
export interface ResourceSharePermissionSummary {
|
|
229
|
-
arn?: string;
|
|
230
|
-
version?: string;
|
|
231
|
-
defaultVersion?: boolean;
|
|
232
|
-
name?: string;
|
|
233
|
-
resourceType?: string;
|
|
234
|
-
status?: string;
|
|
235
|
-
creationTime?: Date;
|
|
236
|
-
lastUpdatedTime?: Date;
|
|
237
|
-
isResourceTypeDefault?: boolean;
|
|
238
|
-
permissionType?: PermissionType;
|
|
239
|
-
featureSet?: PermissionFeatureSet;
|
|
240
|
-
tags?: Tag[];
|
|
229
|
+
arn?: string | undefined;
|
|
230
|
+
version?: string | undefined;
|
|
231
|
+
defaultVersion?: boolean | undefined;
|
|
232
|
+
name?: string | undefined;
|
|
233
|
+
resourceType?: string | undefined;
|
|
234
|
+
status?: string | undefined;
|
|
235
|
+
creationTime?: Date | undefined;
|
|
236
|
+
lastUpdatedTime?: Date | undefined;
|
|
237
|
+
isResourceTypeDefault?: boolean | undefined;
|
|
238
|
+
permissionType?: PermissionType | undefined;
|
|
239
|
+
featureSet?: PermissionFeatureSet | undefined;
|
|
240
|
+
tags?: Tag[] | undefined;
|
|
241
241
|
}
|
|
242
242
|
export interface CreatePermissionResponse {
|
|
243
|
-
permission?: ResourceSharePermissionSummary;
|
|
244
|
-
clientToken?: string;
|
|
243
|
+
permission?: ResourceSharePermissionSummary | undefined;
|
|
244
|
+
clientToken?: string | undefined;
|
|
245
245
|
}
|
|
246
246
|
export declare class InvalidPolicyException extends __BaseException {
|
|
247
247
|
readonly name: "InvalidPolicyException";
|
|
@@ -283,7 +283,7 @@ export declare class PermissionLimitExceededException extends __BaseException {
|
|
|
283
283
|
export interface CreatePermissionVersionRequest {
|
|
284
284
|
permissionArn: string | undefined;
|
|
285
285
|
policyTemplate: string | undefined;
|
|
286
|
-
clientToken?: string;
|
|
286
|
+
clientToken?: string | undefined;
|
|
287
287
|
}
|
|
288
288
|
export declare const PermissionStatus: {
|
|
289
289
|
readonly ATTACHABLE: "ATTACHABLE";
|
|
@@ -294,23 +294,23 @@ export declare const PermissionStatus: {
|
|
|
294
294
|
export type PermissionStatus =
|
|
295
295
|
(typeof PermissionStatus)[keyof typeof PermissionStatus];
|
|
296
296
|
export interface ResourceSharePermissionDetail {
|
|
297
|
-
arn?: string;
|
|
298
|
-
version?: string;
|
|
299
|
-
defaultVersion?: boolean;
|
|
300
|
-
name?: string;
|
|
301
|
-
resourceType?: string;
|
|
302
|
-
permission?: string;
|
|
303
|
-
creationTime?: Date;
|
|
304
|
-
lastUpdatedTime?: Date;
|
|
305
|
-
isResourceTypeDefault?: boolean;
|
|
306
|
-
permissionType?: PermissionType;
|
|
307
|
-
featureSet?: PermissionFeatureSet;
|
|
308
|
-
status?: PermissionStatus;
|
|
309
|
-
tags?: Tag[];
|
|
297
|
+
arn?: string | undefined;
|
|
298
|
+
version?: string | undefined;
|
|
299
|
+
defaultVersion?: boolean | undefined;
|
|
300
|
+
name?: string | undefined;
|
|
301
|
+
resourceType?: string | undefined;
|
|
302
|
+
permission?: string | undefined;
|
|
303
|
+
creationTime?: Date | undefined;
|
|
304
|
+
lastUpdatedTime?: Date | undefined;
|
|
305
|
+
isResourceTypeDefault?: boolean | undefined;
|
|
306
|
+
permissionType?: PermissionType | undefined;
|
|
307
|
+
featureSet?: PermissionFeatureSet | undefined;
|
|
308
|
+
status?: PermissionStatus | undefined;
|
|
309
|
+
tags?: Tag[] | undefined;
|
|
310
310
|
}
|
|
311
311
|
export interface CreatePermissionVersionResponse {
|
|
312
|
-
permission?: ResourceSharePermissionDetail;
|
|
313
|
-
clientToken?: string;
|
|
312
|
+
permission?: ResourceSharePermissionDetail | undefined;
|
|
313
|
+
clientToken?: string | undefined;
|
|
314
314
|
}
|
|
315
315
|
export declare class PermissionVersionsLimitExceededException extends __BaseException {
|
|
316
316
|
readonly name: "PermissionVersionsLimitExceededException";
|
|
@@ -324,13 +324,13 @@ export declare class PermissionVersionsLimitExceededException extends __BaseExce
|
|
|
324
324
|
}
|
|
325
325
|
export interface CreateResourceShareRequest {
|
|
326
326
|
name: string | undefined;
|
|
327
|
-
resourceArns?: string[];
|
|
328
|
-
principals?: string[];
|
|
329
|
-
tags?: Tag[];
|
|
330
|
-
allowExternalPrincipals?: boolean;
|
|
331
|
-
clientToken?: string;
|
|
332
|
-
permissionArns?: string[];
|
|
333
|
-
sources?: string[];
|
|
327
|
+
resourceArns?: string[] | undefined;
|
|
328
|
+
principals?: string[] | undefined;
|
|
329
|
+
tags?: Tag[] | undefined;
|
|
330
|
+
allowExternalPrincipals?: boolean | undefined;
|
|
331
|
+
clientToken?: string | undefined;
|
|
332
|
+
permissionArns?: string[] | undefined;
|
|
333
|
+
sources?: string[] | undefined;
|
|
334
334
|
}
|
|
335
335
|
export declare const ResourceShareFeatureSet: {
|
|
336
336
|
readonly CREATED_FROM_POLICY: "CREATED_FROM_POLICY";
|
|
@@ -349,20 +349,20 @@ export declare const ResourceShareStatus: {
|
|
|
349
349
|
export type ResourceShareStatus =
|
|
350
350
|
(typeof ResourceShareStatus)[keyof typeof ResourceShareStatus];
|
|
351
351
|
export interface ResourceShare {
|
|
352
|
-
resourceShareArn?: string;
|
|
353
|
-
name?: string;
|
|
354
|
-
owningAccountId?: string;
|
|
355
|
-
allowExternalPrincipals?: boolean;
|
|
356
|
-
status?: ResourceShareStatus;
|
|
357
|
-
statusMessage?: string;
|
|
358
|
-
tags?: Tag[];
|
|
359
|
-
creationTime?: Date;
|
|
360
|
-
lastUpdatedTime?: Date;
|
|
361
|
-
featureSet?: ResourceShareFeatureSet;
|
|
352
|
+
resourceShareArn?: string | undefined;
|
|
353
|
+
name?: string | undefined;
|
|
354
|
+
owningAccountId?: string | undefined;
|
|
355
|
+
allowExternalPrincipals?: boolean | undefined;
|
|
356
|
+
status?: ResourceShareStatus | undefined;
|
|
357
|
+
statusMessage?: string | undefined;
|
|
358
|
+
tags?: Tag[] | undefined;
|
|
359
|
+
creationTime?: Date | undefined;
|
|
360
|
+
lastUpdatedTime?: Date | undefined;
|
|
361
|
+
featureSet?: ResourceShareFeatureSet | undefined;
|
|
362
362
|
}
|
|
363
363
|
export interface CreateResourceShareResponse {
|
|
364
|
-
resourceShare?: ResourceShare;
|
|
365
|
-
clientToken?: string;
|
|
364
|
+
resourceShare?: ResourceShare | undefined;
|
|
365
|
+
clientToken?: string | undefined;
|
|
366
366
|
}
|
|
367
367
|
export declare class TagLimitExceededException extends __BaseException {
|
|
368
368
|
readonly name: "TagLimitExceededException";
|
|
@@ -380,71 +380,71 @@ export declare class TagPolicyViolationException extends __BaseException {
|
|
|
380
380
|
}
|
|
381
381
|
export interface DeletePermissionRequest {
|
|
382
382
|
permissionArn: string | undefined;
|
|
383
|
-
clientToken?: string;
|
|
383
|
+
clientToken?: string | undefined;
|
|
384
384
|
}
|
|
385
385
|
export interface DeletePermissionResponse {
|
|
386
|
-
returnValue?: boolean;
|
|
387
|
-
clientToken?: string;
|
|
388
|
-
permissionStatus?: PermissionStatus;
|
|
386
|
+
returnValue?: boolean | undefined;
|
|
387
|
+
clientToken?: string | undefined;
|
|
388
|
+
permissionStatus?: PermissionStatus | undefined;
|
|
389
389
|
}
|
|
390
390
|
export interface DeletePermissionVersionRequest {
|
|
391
391
|
permissionArn: string | undefined;
|
|
392
392
|
permissionVersion: number | undefined;
|
|
393
|
-
clientToken?: string;
|
|
393
|
+
clientToken?: string | undefined;
|
|
394
394
|
}
|
|
395
395
|
export interface DeletePermissionVersionResponse {
|
|
396
|
-
returnValue?: boolean;
|
|
397
|
-
clientToken?: string;
|
|
398
|
-
permissionStatus?: PermissionStatus;
|
|
396
|
+
returnValue?: boolean | undefined;
|
|
397
|
+
clientToken?: string | undefined;
|
|
398
|
+
permissionStatus?: PermissionStatus | undefined;
|
|
399
399
|
}
|
|
400
400
|
export interface DeleteResourceShareRequest {
|
|
401
401
|
resourceShareArn: string | undefined;
|
|
402
|
-
clientToken?: string;
|
|
402
|
+
clientToken?: string | undefined;
|
|
403
403
|
}
|
|
404
404
|
export interface DeleteResourceShareResponse {
|
|
405
|
-
returnValue?: boolean;
|
|
406
|
-
clientToken?: string;
|
|
405
|
+
returnValue?: boolean | undefined;
|
|
406
|
+
clientToken?: string | undefined;
|
|
407
407
|
}
|
|
408
408
|
export interface DisassociateResourceShareRequest {
|
|
409
409
|
resourceShareArn: string | undefined;
|
|
410
|
-
resourceArns?: string[];
|
|
411
|
-
principals?: string[];
|
|
412
|
-
clientToken?: string;
|
|
413
|
-
sources?: string[];
|
|
410
|
+
resourceArns?: string[] | undefined;
|
|
411
|
+
principals?: string[] | undefined;
|
|
412
|
+
clientToken?: string | undefined;
|
|
413
|
+
sources?: string[] | undefined;
|
|
414
414
|
}
|
|
415
415
|
export interface DisassociateResourceShareResponse {
|
|
416
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
417
|
-
clientToken?: string;
|
|
416
|
+
resourceShareAssociations?: ResourceShareAssociation[] | undefined;
|
|
417
|
+
clientToken?: string | undefined;
|
|
418
418
|
}
|
|
419
419
|
export interface DisassociateResourceSharePermissionRequest {
|
|
420
420
|
resourceShareArn: string | undefined;
|
|
421
421
|
permissionArn: string | undefined;
|
|
422
|
-
clientToken?: string;
|
|
422
|
+
clientToken?: string | undefined;
|
|
423
423
|
}
|
|
424
424
|
export interface DisassociateResourceSharePermissionResponse {
|
|
425
|
-
returnValue?: boolean;
|
|
426
|
-
clientToken?: string;
|
|
425
|
+
returnValue?: boolean | undefined;
|
|
426
|
+
clientToken?: string | undefined;
|
|
427
427
|
}
|
|
428
428
|
export interface EnableSharingWithAwsOrganizationRequest {}
|
|
429
429
|
export interface EnableSharingWithAwsOrganizationResponse {
|
|
430
|
-
returnValue?: boolean;
|
|
430
|
+
returnValue?: boolean | undefined;
|
|
431
431
|
}
|
|
432
432
|
export interface GetPermissionRequest {
|
|
433
433
|
permissionArn: string | undefined;
|
|
434
|
-
permissionVersion?: number;
|
|
434
|
+
permissionVersion?: number | undefined;
|
|
435
435
|
}
|
|
436
436
|
export interface GetPermissionResponse {
|
|
437
|
-
permission?: ResourceSharePermissionDetail;
|
|
437
|
+
permission?: ResourceSharePermissionDetail | undefined;
|
|
438
438
|
}
|
|
439
439
|
export interface GetResourcePoliciesRequest {
|
|
440
440
|
resourceArns: string[] | undefined;
|
|
441
|
-
principal?: string;
|
|
442
|
-
nextToken?: string;
|
|
443
|
-
maxResults?: number;
|
|
441
|
+
principal?: string | undefined;
|
|
442
|
+
nextToken?: string | undefined;
|
|
443
|
+
maxResults?: number | undefined;
|
|
444
444
|
}
|
|
445
445
|
export interface GetResourcePoliciesResponse {
|
|
446
|
-
policies?: string[];
|
|
447
|
-
nextToken?: string;
|
|
446
|
+
policies?: string[] | undefined;
|
|
447
|
+
nextToken?: string | undefined;
|
|
448
448
|
}
|
|
449
449
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
450
450
|
readonly name: "InvalidNextTokenException";
|
|
@@ -462,26 +462,26 @@ export declare class ResourceArnNotFoundException extends __BaseException {
|
|
|
462
462
|
}
|
|
463
463
|
export interface GetResourceShareAssociationsRequest {
|
|
464
464
|
associationType: ResourceShareAssociationType | undefined;
|
|
465
|
-
resourceShareArns?: string[];
|
|
466
|
-
resourceArn?: string;
|
|
467
|
-
principal?: string;
|
|
468
|
-
associationStatus?: ResourceShareAssociationStatus;
|
|
469
|
-
nextToken?: string;
|
|
470
|
-
maxResults?: number;
|
|
465
|
+
resourceShareArns?: string[] | undefined;
|
|
466
|
+
resourceArn?: string | undefined;
|
|
467
|
+
principal?: string | undefined;
|
|
468
|
+
associationStatus?: ResourceShareAssociationStatus | undefined;
|
|
469
|
+
nextToken?: string | undefined;
|
|
470
|
+
maxResults?: number | undefined;
|
|
471
471
|
}
|
|
472
472
|
export interface GetResourceShareAssociationsResponse {
|
|
473
|
-
resourceShareAssociations?: ResourceShareAssociation[];
|
|
474
|
-
nextToken?: string;
|
|
473
|
+
resourceShareAssociations?: ResourceShareAssociation[] | undefined;
|
|
474
|
+
nextToken?: string | undefined;
|
|
475
475
|
}
|
|
476
476
|
export interface GetResourceShareInvitationsRequest {
|
|
477
|
-
resourceShareInvitationArns?: string[];
|
|
478
|
-
resourceShareArns?: string[];
|
|
479
|
-
nextToken?: string;
|
|
480
|
-
maxResults?: number;
|
|
477
|
+
resourceShareInvitationArns?: string[] | undefined;
|
|
478
|
+
resourceShareArns?: string[] | undefined;
|
|
479
|
+
nextToken?: string | undefined;
|
|
480
|
+
maxResults?: number | undefined;
|
|
481
481
|
}
|
|
482
482
|
export interface GetResourceShareInvitationsResponse {
|
|
483
|
-
resourceShareInvitations?: ResourceShareInvitation[];
|
|
484
|
-
nextToken?: string;
|
|
483
|
+
resourceShareInvitations?: ResourceShareInvitation[] | undefined;
|
|
484
|
+
nextToken?: string | undefined;
|
|
485
485
|
}
|
|
486
486
|
export declare class InvalidMaxResultsException extends __BaseException {
|
|
487
487
|
readonly name: "InvalidMaxResultsException";
|
|
@@ -496,23 +496,23 @@ export declare const ResourceOwner: {
|
|
|
496
496
|
};
|
|
497
497
|
export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
|
|
498
498
|
export interface TagFilter {
|
|
499
|
-
tagKey?: string;
|
|
500
|
-
tagValues?: string[];
|
|
499
|
+
tagKey?: string | undefined;
|
|
500
|
+
tagValues?: string[] | undefined;
|
|
501
501
|
}
|
|
502
502
|
export interface GetResourceSharesRequest {
|
|
503
|
-
resourceShareArns?: string[];
|
|
504
|
-
resourceShareStatus?: ResourceShareStatus;
|
|
503
|
+
resourceShareArns?: string[] | undefined;
|
|
504
|
+
resourceShareStatus?: ResourceShareStatus | undefined;
|
|
505
505
|
resourceOwner: ResourceOwner | undefined;
|
|
506
|
-
name?: string;
|
|
507
|
-
tagFilters?: TagFilter[];
|
|
508
|
-
nextToken?: string;
|
|
509
|
-
maxResults?: number;
|
|
510
|
-
permissionArn?: string;
|
|
511
|
-
permissionVersion?: number;
|
|
506
|
+
name?: string | undefined;
|
|
507
|
+
tagFilters?: TagFilter[] | undefined;
|
|
508
|
+
nextToken?: string | undefined;
|
|
509
|
+
maxResults?: number | undefined;
|
|
510
|
+
permissionArn?: string | undefined;
|
|
511
|
+
permissionVersion?: number | undefined;
|
|
512
512
|
}
|
|
513
513
|
export interface GetResourceSharesResponse {
|
|
514
|
-
resourceShares?: ResourceShare[];
|
|
515
|
-
nextToken?: string;
|
|
514
|
+
resourceShares?: ResourceShare[] | undefined;
|
|
515
|
+
nextToken?: string | undefined;
|
|
516
516
|
}
|
|
517
517
|
export declare const ResourceRegionScopeFilter: {
|
|
518
518
|
readonly ALL: "ALL";
|
|
@@ -523,9 +523,9 @@ export type ResourceRegionScopeFilter =
|
|
|
523
523
|
(typeof ResourceRegionScopeFilter)[keyof typeof ResourceRegionScopeFilter];
|
|
524
524
|
export interface ListPendingInvitationResourcesRequest {
|
|
525
525
|
resourceShareInvitationArn: string | undefined;
|
|
526
|
-
nextToken?: string;
|
|
527
|
-
maxResults?: number;
|
|
528
|
-
resourceRegionScope?: ResourceRegionScopeFilter;
|
|
526
|
+
nextToken?: string | undefined;
|
|
527
|
+
maxResults?: number | undefined;
|
|
528
|
+
resourceRegionScope?: ResourceRegionScopeFilter | undefined;
|
|
529
529
|
}
|
|
530
530
|
export declare const ResourceRegionScope: {
|
|
531
531
|
readonly GLOBAL: "GLOBAL";
|
|
@@ -543,19 +543,19 @@ export declare const ResourceStatus: {
|
|
|
543
543
|
export type ResourceStatus =
|
|
544
544
|
(typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
545
545
|
export interface Resource {
|
|
546
|
-
arn?: string;
|
|
547
|
-
type?: string;
|
|
548
|
-
resourceShareArn?: string;
|
|
549
|
-
resourceGroupArn?: string;
|
|
550
|
-
status?: ResourceStatus;
|
|
551
|
-
statusMessage?: string;
|
|
552
|
-
creationTime?: Date;
|
|
553
|
-
lastUpdatedTime?: Date;
|
|
554
|
-
resourceRegionScope?: ResourceRegionScope;
|
|
546
|
+
arn?: string | undefined;
|
|
547
|
+
type?: string | undefined;
|
|
548
|
+
resourceShareArn?: string | undefined;
|
|
549
|
+
resourceGroupArn?: string | undefined;
|
|
550
|
+
status?: ResourceStatus | undefined;
|
|
551
|
+
statusMessage?: string | undefined;
|
|
552
|
+
creationTime?: Date | undefined;
|
|
553
|
+
lastUpdatedTime?: Date | undefined;
|
|
554
|
+
resourceRegionScope?: ResourceRegionScope | undefined;
|
|
555
555
|
}
|
|
556
556
|
export interface ListPendingInvitationResourcesResponse {
|
|
557
|
-
resources?: Resource[];
|
|
558
|
-
nextToken?: string;
|
|
557
|
+
resources?: Resource[] | undefined;
|
|
558
|
+
nextToken?: string | undefined;
|
|
559
559
|
}
|
|
560
560
|
export declare class MissingRequiredParameterException extends __BaseException {
|
|
561
561
|
readonly name: "MissingRequiredParameterException";
|
|
@@ -568,28 +568,28 @@ export declare class MissingRequiredParameterException extends __BaseException {
|
|
|
568
568
|
);
|
|
569
569
|
}
|
|
570
570
|
export interface ListPermissionAssociationsRequest {
|
|
571
|
-
permissionArn?: string;
|
|
572
|
-
permissionVersion?: number;
|
|
573
|
-
associationStatus?: ResourceShareAssociationStatus;
|
|
574
|
-
resourceType?: string;
|
|
575
|
-
featureSet?: PermissionFeatureSet;
|
|
576
|
-
defaultVersion?: boolean;
|
|
577
|
-
nextToken?: string;
|
|
578
|
-
maxResults?: number;
|
|
571
|
+
permissionArn?: string | undefined;
|
|
572
|
+
permissionVersion?: number | undefined;
|
|
573
|
+
associationStatus?: ResourceShareAssociationStatus | undefined;
|
|
574
|
+
resourceType?: string | undefined;
|
|
575
|
+
featureSet?: PermissionFeatureSet | undefined;
|
|
576
|
+
defaultVersion?: boolean | undefined;
|
|
577
|
+
nextToken?: string | undefined;
|
|
578
|
+
maxResults?: number | undefined;
|
|
579
579
|
}
|
|
580
580
|
export interface AssociatedPermission {
|
|
581
|
-
arn?: string;
|
|
582
|
-
permissionVersion?: string;
|
|
583
|
-
defaultVersion?: boolean;
|
|
584
|
-
resourceType?: string;
|
|
585
|
-
status?: string;
|
|
586
|
-
featureSet?: PermissionFeatureSet;
|
|
587
|
-
lastUpdatedTime?: Date;
|
|
588
|
-
resourceShareArn?: string;
|
|
581
|
+
arn?: string | undefined;
|
|
582
|
+
permissionVersion?: string | undefined;
|
|
583
|
+
defaultVersion?: boolean | undefined;
|
|
584
|
+
resourceType?: string | undefined;
|
|
585
|
+
status?: string | undefined;
|
|
586
|
+
featureSet?: PermissionFeatureSet | undefined;
|
|
587
|
+
lastUpdatedTime?: Date | undefined;
|
|
588
|
+
resourceShareArn?: string | undefined;
|
|
589
589
|
}
|
|
590
590
|
export interface ListPermissionAssociationsResponse {
|
|
591
|
-
permissions?: AssociatedPermission[];
|
|
592
|
-
nextToken?: string;
|
|
591
|
+
permissions?: AssociatedPermission[] | undefined;
|
|
592
|
+
nextToken?: string | undefined;
|
|
593
593
|
}
|
|
594
594
|
export declare const PermissionTypeFilter: {
|
|
595
595
|
readonly ALL: "ALL";
|
|
@@ -599,43 +599,43 @@ export declare const PermissionTypeFilter: {
|
|
|
599
599
|
export type PermissionTypeFilter =
|
|
600
600
|
(typeof PermissionTypeFilter)[keyof typeof PermissionTypeFilter];
|
|
601
601
|
export interface ListPermissionsRequest {
|
|
602
|
-
resourceType?: string;
|
|
603
|
-
nextToken?: string;
|
|
604
|
-
maxResults?: number;
|
|
605
|
-
permissionType?: PermissionTypeFilter;
|
|
602
|
+
resourceType?: string | undefined;
|
|
603
|
+
nextToken?: string | undefined;
|
|
604
|
+
maxResults?: number | undefined;
|
|
605
|
+
permissionType?: PermissionTypeFilter | undefined;
|
|
606
606
|
}
|
|
607
607
|
export interface ListPermissionsResponse {
|
|
608
|
-
permissions?: ResourceSharePermissionSummary[];
|
|
609
|
-
nextToken?: string;
|
|
608
|
+
permissions?: ResourceSharePermissionSummary[] | undefined;
|
|
609
|
+
nextToken?: string | undefined;
|
|
610
610
|
}
|
|
611
611
|
export interface ListPermissionVersionsRequest {
|
|
612
612
|
permissionArn: string | undefined;
|
|
613
|
-
nextToken?: string;
|
|
614
|
-
maxResults?: number;
|
|
613
|
+
nextToken?: string | undefined;
|
|
614
|
+
maxResults?: number | undefined;
|
|
615
615
|
}
|
|
616
616
|
export interface ListPermissionVersionsResponse {
|
|
617
|
-
permissions?: ResourceSharePermissionSummary[];
|
|
618
|
-
nextToken?: string;
|
|
617
|
+
permissions?: ResourceSharePermissionSummary[] | undefined;
|
|
618
|
+
nextToken?: string | undefined;
|
|
619
619
|
}
|
|
620
620
|
export interface ListPrincipalsRequest {
|
|
621
621
|
resourceOwner: ResourceOwner | undefined;
|
|
622
|
-
resourceArn?: string;
|
|
623
|
-
principals?: string[];
|
|
624
|
-
resourceType?: string;
|
|
625
|
-
resourceShareArns?: string[];
|
|
626
|
-
nextToken?: string;
|
|
627
|
-
maxResults?: number;
|
|
622
|
+
resourceArn?: string | undefined;
|
|
623
|
+
principals?: string[] | undefined;
|
|
624
|
+
resourceType?: string | undefined;
|
|
625
|
+
resourceShareArns?: string[] | undefined;
|
|
626
|
+
nextToken?: string | undefined;
|
|
627
|
+
maxResults?: number | undefined;
|
|
628
628
|
}
|
|
629
629
|
export interface Principal {
|
|
630
|
-
id?: string;
|
|
631
|
-
resourceShareArn?: string;
|
|
632
|
-
creationTime?: Date;
|
|
633
|
-
lastUpdatedTime?: Date;
|
|
634
|
-
external?: boolean;
|
|
630
|
+
id?: string | undefined;
|
|
631
|
+
resourceShareArn?: string | undefined;
|
|
632
|
+
creationTime?: Date | undefined;
|
|
633
|
+
lastUpdatedTime?: Date | undefined;
|
|
634
|
+
external?: boolean | undefined;
|
|
635
635
|
}
|
|
636
636
|
export interface ListPrincipalsResponse {
|
|
637
|
-
principals?: Principal[];
|
|
638
|
-
nextToken?: string;
|
|
637
|
+
principals?: Principal[] | undefined;
|
|
638
|
+
nextToken?: string | undefined;
|
|
639
639
|
}
|
|
640
640
|
export declare const ReplacePermissionAssociationsWorkStatus: {
|
|
641
641
|
readonly COMPLETED: "COMPLETED";
|
|
@@ -645,25 +645,27 @@ export declare const ReplacePermissionAssociationsWorkStatus: {
|
|
|
645
645
|
export type ReplacePermissionAssociationsWorkStatus =
|
|
646
646
|
(typeof ReplacePermissionAssociationsWorkStatus)[keyof typeof ReplacePermissionAssociationsWorkStatus];
|
|
647
647
|
export interface ListReplacePermissionAssociationsWorkRequest {
|
|
648
|
-
workIds?: string[];
|
|
649
|
-
status?: ReplacePermissionAssociationsWorkStatus;
|
|
650
|
-
nextToken?: string;
|
|
651
|
-
maxResults?: number;
|
|
648
|
+
workIds?: string[] | undefined;
|
|
649
|
+
status?: ReplacePermissionAssociationsWorkStatus | undefined;
|
|
650
|
+
nextToken?: string | undefined;
|
|
651
|
+
maxResults?: number | undefined;
|
|
652
652
|
}
|
|
653
653
|
export interface ReplacePermissionAssociationsWork {
|
|
654
|
-
id?: string;
|
|
655
|
-
fromPermissionArn?: string;
|
|
656
|
-
fromPermissionVersion?: string;
|
|
657
|
-
toPermissionArn?: string;
|
|
658
|
-
toPermissionVersion?: string;
|
|
659
|
-
status?: ReplacePermissionAssociationsWorkStatus;
|
|
660
|
-
statusMessage?: string;
|
|
661
|
-
creationTime?: Date;
|
|
662
|
-
lastUpdatedTime?: Date;
|
|
654
|
+
id?: string | undefined;
|
|
655
|
+
fromPermissionArn?: string | undefined;
|
|
656
|
+
fromPermissionVersion?: string | undefined;
|
|
657
|
+
toPermissionArn?: string | undefined;
|
|
658
|
+
toPermissionVersion?: string | undefined;
|
|
659
|
+
status?: ReplacePermissionAssociationsWorkStatus | undefined;
|
|
660
|
+
statusMessage?: string | undefined;
|
|
661
|
+
creationTime?: Date | undefined;
|
|
662
|
+
lastUpdatedTime?: Date | undefined;
|
|
663
663
|
}
|
|
664
664
|
export interface ListReplacePermissionAssociationsWorkResponse {
|
|
665
|
-
replacePermissionAssociationsWorks?:
|
|
666
|
-
|
|
665
|
+
replacePermissionAssociationsWorks?:
|
|
666
|
+
| ReplacePermissionAssociationsWork[]
|
|
667
|
+
| undefined;
|
|
668
|
+
nextToken?: string | undefined;
|
|
667
669
|
}
|
|
668
670
|
export declare class InvalidResourceTypeException extends __BaseException {
|
|
669
671
|
readonly name: "InvalidResourceTypeException";
|
|
@@ -674,55 +676,55 @@ export declare class InvalidResourceTypeException extends __BaseException {
|
|
|
674
676
|
}
|
|
675
677
|
export interface ListResourcesRequest {
|
|
676
678
|
resourceOwner: ResourceOwner | undefined;
|
|
677
|
-
principal?: string;
|
|
678
|
-
resourceType?: string;
|
|
679
|
-
resourceArns?: string[];
|
|
680
|
-
resourceShareArns?: string[];
|
|
681
|
-
nextToken?: string;
|
|
682
|
-
maxResults?: number;
|
|
683
|
-
resourceRegionScope?: ResourceRegionScopeFilter;
|
|
679
|
+
principal?: string | undefined;
|
|
680
|
+
resourceType?: string | undefined;
|
|
681
|
+
resourceArns?: string[] | undefined;
|
|
682
|
+
resourceShareArns?: string[] | undefined;
|
|
683
|
+
nextToken?: string | undefined;
|
|
684
|
+
maxResults?: number | undefined;
|
|
685
|
+
resourceRegionScope?: ResourceRegionScopeFilter | undefined;
|
|
684
686
|
}
|
|
685
687
|
export interface ListResourcesResponse {
|
|
686
|
-
resources?: Resource[];
|
|
687
|
-
nextToken?: string;
|
|
688
|
+
resources?: Resource[] | undefined;
|
|
689
|
+
nextToken?: string | undefined;
|
|
688
690
|
}
|
|
689
691
|
export interface ListResourceSharePermissionsRequest {
|
|
690
692
|
resourceShareArn: string | undefined;
|
|
691
|
-
nextToken?: string;
|
|
692
|
-
maxResults?: number;
|
|
693
|
+
nextToken?: string | undefined;
|
|
694
|
+
maxResults?: number | undefined;
|
|
693
695
|
}
|
|
694
696
|
export interface ListResourceSharePermissionsResponse {
|
|
695
|
-
permissions?: ResourceSharePermissionSummary[];
|
|
696
|
-
nextToken?: string;
|
|
697
|
+
permissions?: ResourceSharePermissionSummary[] | undefined;
|
|
698
|
+
nextToken?: string | undefined;
|
|
697
699
|
}
|
|
698
700
|
export interface ListResourceTypesRequest {
|
|
699
|
-
nextToken?: string;
|
|
700
|
-
maxResults?: number;
|
|
701
|
-
resourceRegionScope?: ResourceRegionScopeFilter;
|
|
701
|
+
nextToken?: string | undefined;
|
|
702
|
+
maxResults?: number | undefined;
|
|
703
|
+
resourceRegionScope?: ResourceRegionScopeFilter | undefined;
|
|
702
704
|
}
|
|
703
705
|
export interface ServiceNameAndResourceType {
|
|
704
|
-
resourceType?: string;
|
|
705
|
-
serviceName?: string;
|
|
706
|
-
resourceRegionScope?: ResourceRegionScope;
|
|
706
|
+
resourceType?: string | undefined;
|
|
707
|
+
serviceName?: string | undefined;
|
|
708
|
+
resourceRegionScope?: ResourceRegionScope | undefined;
|
|
707
709
|
}
|
|
708
710
|
export interface ListResourceTypesResponse {
|
|
709
|
-
resourceTypes?: ServiceNameAndResourceType[];
|
|
710
|
-
nextToken?: string;
|
|
711
|
+
resourceTypes?: ServiceNameAndResourceType[] | undefined;
|
|
712
|
+
nextToken?: string | undefined;
|
|
711
713
|
}
|
|
712
714
|
export interface PromotePermissionCreatedFromPolicyRequest {
|
|
713
715
|
permissionArn: string | undefined;
|
|
714
716
|
name: string | undefined;
|
|
715
|
-
clientToken?: string;
|
|
717
|
+
clientToken?: string | undefined;
|
|
716
718
|
}
|
|
717
719
|
export interface PromotePermissionCreatedFromPolicyResponse {
|
|
718
|
-
permission?: ResourceSharePermissionSummary;
|
|
719
|
-
clientToken?: string;
|
|
720
|
+
permission?: ResourceSharePermissionSummary | undefined;
|
|
721
|
+
clientToken?: string | undefined;
|
|
720
722
|
}
|
|
721
723
|
export interface PromoteResourceShareCreatedFromPolicyRequest {
|
|
722
724
|
resourceShareArn: string | undefined;
|
|
723
725
|
}
|
|
724
726
|
export interface PromoteResourceShareCreatedFromPolicyResponse {
|
|
725
|
-
returnValue?: boolean;
|
|
727
|
+
returnValue?: boolean | undefined;
|
|
726
728
|
}
|
|
727
729
|
export declare class UnmatchedPolicyPermissionException extends __BaseException {
|
|
728
730
|
readonly name: "UnmatchedPolicyPermissionException";
|
|
@@ -736,50 +738,52 @@ export declare class UnmatchedPolicyPermissionException extends __BaseException
|
|
|
736
738
|
}
|
|
737
739
|
export interface RejectResourceShareInvitationRequest {
|
|
738
740
|
resourceShareInvitationArn: string | undefined;
|
|
739
|
-
clientToken?: string;
|
|
741
|
+
clientToken?: string | undefined;
|
|
740
742
|
}
|
|
741
743
|
export interface RejectResourceShareInvitationResponse {
|
|
742
|
-
resourceShareInvitation?: ResourceShareInvitation;
|
|
743
|
-
clientToken?: string;
|
|
744
|
+
resourceShareInvitation?: ResourceShareInvitation | undefined;
|
|
745
|
+
clientToken?: string | undefined;
|
|
744
746
|
}
|
|
745
747
|
export interface ReplacePermissionAssociationsRequest {
|
|
746
748
|
fromPermissionArn: string | undefined;
|
|
747
|
-
fromPermissionVersion?: number;
|
|
749
|
+
fromPermissionVersion?: number | undefined;
|
|
748
750
|
toPermissionArn: string | undefined;
|
|
749
|
-
clientToken?: string;
|
|
751
|
+
clientToken?: string | undefined;
|
|
750
752
|
}
|
|
751
753
|
export interface ReplacePermissionAssociationsResponse {
|
|
752
|
-
replacePermissionAssociationsWork?:
|
|
753
|
-
|
|
754
|
+
replacePermissionAssociationsWork?:
|
|
755
|
+
| ReplacePermissionAssociationsWork
|
|
756
|
+
| undefined;
|
|
757
|
+
clientToken?: string | undefined;
|
|
754
758
|
}
|
|
755
759
|
export interface SetDefaultPermissionVersionRequest {
|
|
756
760
|
permissionArn: string | undefined;
|
|
757
761
|
permissionVersion: number | undefined;
|
|
758
|
-
clientToken?: string;
|
|
762
|
+
clientToken?: string | undefined;
|
|
759
763
|
}
|
|
760
764
|
export interface SetDefaultPermissionVersionResponse {
|
|
761
|
-
returnValue?: boolean;
|
|
762
|
-
clientToken?: string;
|
|
765
|
+
returnValue?: boolean | undefined;
|
|
766
|
+
clientToken?: string | undefined;
|
|
763
767
|
}
|
|
764
768
|
export interface TagResourceRequest {
|
|
765
|
-
resourceShareArn?: string;
|
|
769
|
+
resourceShareArn?: string | undefined;
|
|
766
770
|
tags: Tag[] | undefined;
|
|
767
|
-
resourceArn?: string;
|
|
771
|
+
resourceArn?: string | undefined;
|
|
768
772
|
}
|
|
769
773
|
export interface TagResourceResponse {}
|
|
770
774
|
export interface UntagResourceRequest {
|
|
771
|
-
resourceShareArn?: string;
|
|
775
|
+
resourceShareArn?: string | undefined;
|
|
772
776
|
tagKeys: string[] | undefined;
|
|
773
|
-
resourceArn?: string;
|
|
777
|
+
resourceArn?: string | undefined;
|
|
774
778
|
}
|
|
775
779
|
export interface UntagResourceResponse {}
|
|
776
780
|
export interface UpdateResourceShareRequest {
|
|
777
781
|
resourceShareArn: string | undefined;
|
|
778
|
-
name?: string;
|
|
779
|
-
allowExternalPrincipals?: boolean;
|
|
780
|
-
clientToken?: string;
|
|
782
|
+
name?: string | undefined;
|
|
783
|
+
allowExternalPrincipals?: boolean | undefined;
|
|
784
|
+
clientToken?: string | undefined;
|
|
781
785
|
}
|
|
782
786
|
export interface UpdateResourceShareResponse {
|
|
783
|
-
resourceShare?: ResourceShare;
|
|
784
|
-
clientToken?: string;
|
|
787
|
+
resourceShare?: ResourceShare | undefined;
|
|
788
|
+
clientToken?: string | undefined;
|
|
785
789
|
}
|