@aws-sdk/client-ram 3.296.0 → 3.298.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-cjs/commands/AcceptResourceShareInvitationCommand.js +2 -3
- package/dist-cjs/commands/AssociateResourceShareCommand.js +2 -3
- package/dist-cjs/commands/AssociateResourceSharePermissionCommand.js +2 -3
- package/dist-cjs/commands/CreateResourceShareCommand.js +2 -3
- package/dist-cjs/commands/DeleteResourceShareCommand.js +2 -3
- package/dist-cjs/commands/DisassociateResourceShareCommand.js +2 -3
- package/dist-cjs/commands/DisassociateResourceSharePermissionCommand.js +2 -3
- package/dist-cjs/commands/EnableSharingWithAwsOrganizationCommand.js +2 -3
- package/dist-cjs/commands/GetPermissionCommand.js +2 -3
- package/dist-cjs/commands/GetResourcePoliciesCommand.js +2 -3
- package/dist-cjs/commands/GetResourceShareAssociationsCommand.js +2 -3
- package/dist-cjs/commands/GetResourceShareInvitationsCommand.js +2 -3
- package/dist-cjs/commands/GetResourceSharesCommand.js +2 -3
- package/dist-cjs/commands/ListPendingInvitationResourcesCommand.js +2 -3
- package/dist-cjs/commands/ListPermissionVersionsCommand.js +2 -3
- package/dist-cjs/commands/ListPermissionsCommand.js +2 -3
- package/dist-cjs/commands/ListPrincipalsCommand.js +2 -3
- package/dist-cjs/commands/ListResourceSharePermissionsCommand.js +2 -3
- package/dist-cjs/commands/ListResourceTypesCommand.js +2 -3
- package/dist-cjs/commands/ListResourcesCommand.js +2 -3
- package/dist-cjs/commands/PromoteResourceShareCreatedFromPolicyCommand.js +2 -3
- package/dist-cjs/commands/RejectResourceShareInvitationCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/commands/UpdateResourceShareCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -242
- package/dist-es/commands/AcceptResourceShareInvitationCommand.js +2 -3
- package/dist-es/commands/AssociateResourceShareCommand.js +2 -3
- package/dist-es/commands/AssociateResourceSharePermissionCommand.js +2 -3
- package/dist-es/commands/CreateResourceShareCommand.js +2 -3
- package/dist-es/commands/DeleteResourceShareCommand.js +2 -3
- package/dist-es/commands/DisassociateResourceShareCommand.js +2 -3
- package/dist-es/commands/DisassociateResourceSharePermissionCommand.js +2 -3
- package/dist-es/commands/EnableSharingWithAwsOrganizationCommand.js +2 -3
- package/dist-es/commands/GetPermissionCommand.js +2 -3
- package/dist-es/commands/GetResourcePoliciesCommand.js +2 -3
- package/dist-es/commands/GetResourceShareAssociationsCommand.js +2 -3
- package/dist-es/commands/GetResourceShareInvitationsCommand.js +2 -3
- package/dist-es/commands/GetResourceSharesCommand.js +2 -3
- package/dist-es/commands/ListPendingInvitationResourcesCommand.js +2 -3
- package/dist-es/commands/ListPermissionVersionsCommand.js +2 -3
- package/dist-es/commands/ListPermissionsCommand.js +2 -3
- package/dist-es/commands/ListPrincipalsCommand.js +2 -3
- package/dist-es/commands/ListResourceSharePermissionsCommand.js +2 -3
- package/dist-es/commands/ListResourceTypesCommand.js +2 -3
- package/dist-es/commands/ListResourcesCommand.js +2 -3
- package/dist-es/commands/PromoteResourceShareCreatedFromPolicyCommand.js +2 -3
- package/dist-es/commands/RejectResourceShareInvitationCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/commands/UpdateResourceShareCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -180
- package/dist-types/RAM.d.ts +26 -0
- package/dist-types/RAMClient.d.ts +24 -4
- package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +16 -0
- package/dist-types/commands/AssociateResourceShareCommand.d.ts +16 -0
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +16 -0
- package/dist-types/commands/CreateResourceShareCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourceShareCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateResourceShareCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +16 -0
- package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/GetPermissionCommand.d.ts +16 -0
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +16 -0
- package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +16 -0
- package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +16 -0
- package/dist-types/commands/GetResourceSharesCommand.d.ts +16 -0
- package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +16 -0
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +16 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +16 -0
- package/dist-types/commands/ListPrincipalsCommand.d.ts +16 -0
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +16 -0
- package/dist-types/commands/ListResourceTypesCommand.d.ts +16 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +16 -0
- package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +16 -0
- package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateResourceShareCommand.d.ts +16 -0
- package/dist-types/models/RAMServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +209 -240
- package/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetResourceShareAssociationsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetResourceShareInvitationsPaginator.d.ts +3 -0
- package/dist-types/pagination/GetResourceSharesPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListPendingInvitationResourcesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPermissionVersionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPermissionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPrincipalsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListResourceSharePermissionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListResourceTypesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListResourcesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -172
- package/package.json +4 -3
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListResourcesRequestFilterSensitiveLog, ListResourcesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1ListResourcesCommand, serializeAws_restJson1ListResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class ListResourcesCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListResourcesCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PromoteResourceShareCreatedFromPolicyRequestFilterSensitiveLog, PromoteResourceShareCreatedFromPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand, serializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class PromoteResourceShareCreatedFromPolicyCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class PromoteResourceShareCreatedFromPolicyCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { RejectResourceShareInvitationRequestFilterSensitiveLog, RejectResourceShareInvitationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1RejectResourceShareInvitationCommand, serializeAws_restJson1RejectResourceShareInvitationCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class RejectResourceShareInvitationCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class RejectResourceShareInvitationCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class TagResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class TagResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class UntagResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class UntagResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateResourceShareRequestFilterSensitiveLog, UpdateResourceShareResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateResourceShareCommand, serializeAws_restJson1UpdateResourceShareCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class UpdateResourceShareCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class UpdateResourceShareCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -321,183 +321,3 @@ export class TagLimitExceededException extends __BaseException {
|
|
|
321
321
|
Object.setPrototypeOf(this, TagLimitExceededException.prototype);
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
export const AcceptResourceShareInvitationRequestFilterSensitiveLog = (obj) => ({
|
|
325
|
-
...obj,
|
|
326
|
-
});
|
|
327
|
-
export const ResourceShareAssociationFilterSensitiveLog = (obj) => ({
|
|
328
|
-
...obj,
|
|
329
|
-
});
|
|
330
|
-
export const ResourceShareInvitationFilterSensitiveLog = (obj) => ({
|
|
331
|
-
...obj,
|
|
332
|
-
});
|
|
333
|
-
export const AcceptResourceShareInvitationResponseFilterSensitiveLog = (obj) => ({
|
|
334
|
-
...obj,
|
|
335
|
-
});
|
|
336
|
-
export const AssociateResourceShareRequestFilterSensitiveLog = (obj) => ({
|
|
337
|
-
...obj,
|
|
338
|
-
});
|
|
339
|
-
export const AssociateResourceShareResponseFilterSensitiveLog = (obj) => ({
|
|
340
|
-
...obj,
|
|
341
|
-
});
|
|
342
|
-
export const AssociateResourceSharePermissionRequestFilterSensitiveLog = (obj) => ({
|
|
343
|
-
...obj,
|
|
344
|
-
});
|
|
345
|
-
export const AssociateResourceSharePermissionResponseFilterSensitiveLog = (obj) => ({
|
|
346
|
-
...obj,
|
|
347
|
-
});
|
|
348
|
-
export const TagFilterSensitiveLog = (obj) => ({
|
|
349
|
-
...obj,
|
|
350
|
-
});
|
|
351
|
-
export const CreateResourceShareRequestFilterSensitiveLog = (obj) => ({
|
|
352
|
-
...obj,
|
|
353
|
-
});
|
|
354
|
-
export const ResourceShareFilterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
});
|
|
357
|
-
export const CreateResourceShareResponseFilterSensitiveLog = (obj) => ({
|
|
358
|
-
...obj,
|
|
359
|
-
});
|
|
360
|
-
export const DeleteResourceShareRequestFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
});
|
|
363
|
-
export const DeleteResourceShareResponseFilterSensitiveLog = (obj) => ({
|
|
364
|
-
...obj,
|
|
365
|
-
});
|
|
366
|
-
export const DisassociateResourceShareRequestFilterSensitiveLog = (obj) => ({
|
|
367
|
-
...obj,
|
|
368
|
-
});
|
|
369
|
-
export const DisassociateResourceShareResponseFilterSensitiveLog = (obj) => ({
|
|
370
|
-
...obj,
|
|
371
|
-
});
|
|
372
|
-
export const DisassociateResourceSharePermissionRequestFilterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
});
|
|
375
|
-
export const DisassociateResourceSharePermissionResponseFilterSensitiveLog = (obj) => ({
|
|
376
|
-
...obj,
|
|
377
|
-
});
|
|
378
|
-
export const EnableSharingWithAwsOrganizationRequestFilterSensitiveLog = (obj) => ({
|
|
379
|
-
...obj,
|
|
380
|
-
});
|
|
381
|
-
export const EnableSharingWithAwsOrganizationResponseFilterSensitiveLog = (obj) => ({
|
|
382
|
-
...obj,
|
|
383
|
-
});
|
|
384
|
-
export const GetPermissionRequestFilterSensitiveLog = (obj) => ({
|
|
385
|
-
...obj,
|
|
386
|
-
});
|
|
387
|
-
export const ResourceSharePermissionDetailFilterSensitiveLog = (obj) => ({
|
|
388
|
-
...obj,
|
|
389
|
-
});
|
|
390
|
-
export const GetPermissionResponseFilterSensitiveLog = (obj) => ({
|
|
391
|
-
...obj,
|
|
392
|
-
});
|
|
393
|
-
export const GetResourcePoliciesRequestFilterSensitiveLog = (obj) => ({
|
|
394
|
-
...obj,
|
|
395
|
-
});
|
|
396
|
-
export const GetResourcePoliciesResponseFilterSensitiveLog = (obj) => ({
|
|
397
|
-
...obj,
|
|
398
|
-
});
|
|
399
|
-
export const GetResourceShareAssociationsRequestFilterSensitiveLog = (obj) => ({
|
|
400
|
-
...obj,
|
|
401
|
-
});
|
|
402
|
-
export const GetResourceShareAssociationsResponseFilterSensitiveLog = (obj) => ({
|
|
403
|
-
...obj,
|
|
404
|
-
});
|
|
405
|
-
export const GetResourceShareInvitationsRequestFilterSensitiveLog = (obj) => ({
|
|
406
|
-
...obj,
|
|
407
|
-
});
|
|
408
|
-
export const GetResourceShareInvitationsResponseFilterSensitiveLog = (obj) => ({
|
|
409
|
-
...obj,
|
|
410
|
-
});
|
|
411
|
-
export const TagFilterFilterSensitiveLog = (obj) => ({
|
|
412
|
-
...obj,
|
|
413
|
-
});
|
|
414
|
-
export const GetResourceSharesRequestFilterSensitiveLog = (obj) => ({
|
|
415
|
-
...obj,
|
|
416
|
-
});
|
|
417
|
-
export const GetResourceSharesResponseFilterSensitiveLog = (obj) => ({
|
|
418
|
-
...obj,
|
|
419
|
-
});
|
|
420
|
-
export const ListPendingInvitationResourcesRequestFilterSensitiveLog = (obj) => ({
|
|
421
|
-
...obj,
|
|
422
|
-
});
|
|
423
|
-
export const ResourceFilterSensitiveLog = (obj) => ({
|
|
424
|
-
...obj,
|
|
425
|
-
});
|
|
426
|
-
export const ListPendingInvitationResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
427
|
-
...obj,
|
|
428
|
-
});
|
|
429
|
-
export const ListPermissionsRequestFilterSensitiveLog = (obj) => ({
|
|
430
|
-
...obj,
|
|
431
|
-
});
|
|
432
|
-
export const ResourceSharePermissionSummaryFilterSensitiveLog = (obj) => ({
|
|
433
|
-
...obj,
|
|
434
|
-
});
|
|
435
|
-
export const ListPermissionsResponseFilterSensitiveLog = (obj) => ({
|
|
436
|
-
...obj,
|
|
437
|
-
});
|
|
438
|
-
export const ListPermissionVersionsRequestFilterSensitiveLog = (obj) => ({
|
|
439
|
-
...obj,
|
|
440
|
-
});
|
|
441
|
-
export const ListPermissionVersionsResponseFilterSensitiveLog = (obj) => ({
|
|
442
|
-
...obj,
|
|
443
|
-
});
|
|
444
|
-
export const ListPrincipalsRequestFilterSensitiveLog = (obj) => ({
|
|
445
|
-
...obj,
|
|
446
|
-
});
|
|
447
|
-
export const PrincipalFilterSensitiveLog = (obj) => ({
|
|
448
|
-
...obj,
|
|
449
|
-
});
|
|
450
|
-
export const ListPrincipalsResponseFilterSensitiveLog = (obj) => ({
|
|
451
|
-
...obj,
|
|
452
|
-
});
|
|
453
|
-
export const ListResourcesRequestFilterSensitiveLog = (obj) => ({
|
|
454
|
-
...obj,
|
|
455
|
-
});
|
|
456
|
-
export const ListResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
457
|
-
...obj,
|
|
458
|
-
});
|
|
459
|
-
export const ListResourceSharePermissionsRequestFilterSensitiveLog = (obj) => ({
|
|
460
|
-
...obj,
|
|
461
|
-
});
|
|
462
|
-
export const ListResourceSharePermissionsResponseFilterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
});
|
|
465
|
-
export const ListResourceTypesRequestFilterSensitiveLog = (obj) => ({
|
|
466
|
-
...obj,
|
|
467
|
-
});
|
|
468
|
-
export const ServiceNameAndResourceTypeFilterSensitiveLog = (obj) => ({
|
|
469
|
-
...obj,
|
|
470
|
-
});
|
|
471
|
-
export const ListResourceTypesResponseFilterSensitiveLog = (obj) => ({
|
|
472
|
-
...obj,
|
|
473
|
-
});
|
|
474
|
-
export const PromoteResourceShareCreatedFromPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
475
|
-
...obj,
|
|
476
|
-
});
|
|
477
|
-
export const PromoteResourceShareCreatedFromPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
478
|
-
...obj,
|
|
479
|
-
});
|
|
480
|
-
export const RejectResourceShareInvitationRequestFilterSensitiveLog = (obj) => ({
|
|
481
|
-
...obj,
|
|
482
|
-
});
|
|
483
|
-
export const RejectResourceShareInvitationResponseFilterSensitiveLog = (obj) => ({
|
|
484
|
-
...obj,
|
|
485
|
-
});
|
|
486
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
487
|
-
...obj,
|
|
488
|
-
});
|
|
489
|
-
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
490
|
-
...obj,
|
|
491
|
-
});
|
|
492
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
493
|
-
...obj,
|
|
494
|
-
});
|
|
495
|
-
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
496
|
-
...obj,
|
|
497
|
-
});
|
|
498
|
-
export const UpdateResourceShareRequestFilterSensitiveLog = (obj) => ({
|
|
499
|
-
...obj,
|
|
500
|
-
});
|
|
501
|
-
export const UpdateResourceShareResponseFilterSensitiveLog = (obj) => ({
|
|
502
|
-
...obj,
|
|
503
|
-
});
|
package/dist-types/RAM.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
26
26
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
27
27
|
import { RAMClient } from "./RAMClient";
|
|
28
28
|
/**
|
|
29
|
+
* @public
|
|
29
30
|
* <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
|
|
30
31
|
* descriptions and syntax for each of the actions and data types in RAM. RAM is a
|
|
31
32
|
* service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you
|
|
@@ -50,6 +51,7 @@ import { RAMClient } from "./RAMClient";
|
|
|
50
51
|
*/
|
|
51
52
|
export declare class RAM extends RAMClient {
|
|
52
53
|
/**
|
|
54
|
+
* @public
|
|
53
55
|
* <p>Accepts an invitation to a resource share from another Amazon Web Services account. After you accept the
|
|
54
56
|
* invitation, the resources included in the resource share are available to interact with in the
|
|
55
57
|
* relevant Amazon Web Services Management Consoles and tools.</p>
|
|
@@ -58,6 +60,7 @@ export declare class RAM extends RAMClient {
|
|
|
58
60
|
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
|
|
59
61
|
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
|
|
60
62
|
/**
|
|
63
|
+
* @public
|
|
61
64
|
* <p>Adds the specified list of principals and list of resources to a resource share. Principals that
|
|
62
65
|
* already have access to this resource share immediately receive access to the added resources.
|
|
63
66
|
* Newly added principals immediately receive access to the resources shared in this resource share. </p>
|
|
@@ -66,6 +69,7 @@ export declare class RAM extends RAMClient {
|
|
|
66
69
|
associateResourceShare(args: AssociateResourceShareCommandInput, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
|
|
67
70
|
associateResourceShare(args: AssociateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
|
|
68
71
|
/**
|
|
72
|
+
* @public
|
|
69
73
|
* <p>Adds or replaces the RAM permission for a resource type included in a resource share. You can
|
|
70
74
|
* have exactly one permission associated with each resource type in the resource share. You can add
|
|
71
75
|
* a new RAM permission only if there are currently no resources of that resource type
|
|
@@ -75,6 +79,7 @@ export declare class RAM extends RAMClient {
|
|
|
75
79
|
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
|
|
76
80
|
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
|
|
77
81
|
/**
|
|
82
|
+
* @public
|
|
78
83
|
* <p>Creates a resource share. You can provide a list of the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> for the resources that you
|
|
79
84
|
* want to share, a list of principals you want to share the resources with, and the
|
|
80
85
|
* permissions to grant those principals.</p>
|
|
@@ -88,6 +93,7 @@ export declare class RAM extends RAMClient {
|
|
|
88
93
|
createResourceShare(args: CreateResourceShareCommandInput, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
|
|
89
94
|
createResourceShare(args: CreateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
|
|
90
95
|
/**
|
|
96
|
+
* @public
|
|
91
97
|
* <p>Deletes the specified resource share. This doesn't delete any of the resources that were
|
|
92
98
|
* associated with the resource share; it only stops the sharing of those resources outside of the
|
|
93
99
|
* Amazon Web Services account that created them.</p>
|
|
@@ -96,12 +102,14 @@ export declare class RAM extends RAMClient {
|
|
|
96
102
|
deleteResourceShare(args: DeleteResourceShareCommandInput, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
|
|
97
103
|
deleteResourceShare(args: DeleteResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
|
|
98
104
|
/**
|
|
105
|
+
* @public
|
|
99
106
|
* <p>Disassociates the specified principals or resources from the specified resource share.</p>
|
|
100
107
|
*/
|
|
101
108
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateResourceShareCommandOutput>;
|
|
102
109
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
|
|
103
110
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
|
|
104
111
|
/**
|
|
112
|
+
* @public
|
|
105
113
|
* <p>Disassociates an RAM permission from a resource share. Permission changes take effect
|
|
106
114
|
* immediately. You can remove a RAM permission from a resource share only if there are currently
|
|
107
115
|
* no resources of the relevant resource type currently attached to the resource share.</p>
|
|
@@ -110,6 +118,7 @@ export declare class RAM extends RAMClient {
|
|
|
110
118
|
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
|
|
111
119
|
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
|
|
112
120
|
/**
|
|
121
|
+
* @public
|
|
113
122
|
* <p>Enables resource sharing within your organization in Organizations. Calling this operation
|
|
114
123
|
* enables RAM to retrieve information about the organization and its structure. This
|
|
115
124
|
* lets you share resources with all of the accounts in an organization by specifying the
|
|
@@ -124,12 +133,14 @@ export declare class RAM extends RAMClient {
|
|
|
124
133
|
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
|
|
125
134
|
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
|
|
126
135
|
/**
|
|
136
|
+
* @public
|
|
127
137
|
* <p>Gets the contents of an RAM permission in JSON format.</p>
|
|
128
138
|
*/
|
|
129
139
|
getPermission(args: GetPermissionCommandInput, options?: __HttpHandlerOptions): Promise<GetPermissionCommandOutput>;
|
|
130
140
|
getPermission(args: GetPermissionCommandInput, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
|
|
131
141
|
getPermission(args: GetPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
|
|
132
142
|
/**
|
|
143
|
+
* @public
|
|
133
144
|
* <p>Retrieves the resource policies for the specified resources that you own and have
|
|
134
145
|
* shared.</p>
|
|
135
146
|
*/
|
|
@@ -137,24 +148,28 @@ export declare class RAM extends RAMClient {
|
|
|
137
148
|
getResourcePolicies(args: GetResourcePoliciesCommandInput, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
138
149
|
getResourcePolicies(args: GetResourcePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
139
150
|
/**
|
|
151
|
+
* @public
|
|
140
152
|
* <p>Retrieves the resource and principal associations for resource shares that you own.</p>
|
|
141
153
|
*/
|
|
142
154
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceShareAssociationsCommandOutput>;
|
|
143
155
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
|
|
144
156
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
|
|
145
157
|
/**
|
|
158
|
+
* @public
|
|
146
159
|
* <p>Retrieves details about invitations that you have received for resource shares.</p>
|
|
147
160
|
*/
|
|
148
161
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceShareInvitationsCommandOutput>;
|
|
149
162
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
|
|
150
163
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
|
|
151
164
|
/**
|
|
165
|
+
* @public
|
|
152
166
|
* <p>Retrieves details about the resource shares that you own or that are shared with you.</p>
|
|
153
167
|
*/
|
|
154
168
|
getResourceShares(args: GetResourceSharesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceSharesCommandOutput>;
|
|
155
169
|
getResourceShares(args: GetResourceSharesCommandInput, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
|
|
156
170
|
getResourceShares(args: GetResourceSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
|
|
157
171
|
/**
|
|
172
|
+
* @public
|
|
158
173
|
* <p>Lists the resources in a resource share that is shared with you but for which the invitation is
|
|
159
174
|
* still <code>PENDING</code>. That means that you haven't accepted or rejected the
|
|
160
175
|
* invitation and the invitation hasn't expired.</p>
|
|
@@ -163,6 +178,7 @@ export declare class RAM extends RAMClient {
|
|
|
163
178
|
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
|
|
164
179
|
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
|
|
165
180
|
/**
|
|
181
|
+
* @public
|
|
166
182
|
* <p>Retrieves a list of available RAM permissions that you can use for the supported
|
|
167
183
|
* resource types. </p>
|
|
168
184
|
*/
|
|
@@ -170,12 +186,14 @@ export declare class RAM extends RAMClient {
|
|
|
170
186
|
listPermissions(args: ListPermissionsCommandInput, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
171
187
|
listPermissions(args: ListPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
172
188
|
/**
|
|
189
|
+
* @public
|
|
173
190
|
* <p>Lists the available versions of the specified RAM permission.</p>
|
|
174
191
|
*/
|
|
175
192
|
listPermissionVersions(args: ListPermissionVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionVersionsCommandOutput>;
|
|
176
193
|
listPermissionVersions(args: ListPermissionVersionsCommandInput, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
177
194
|
listPermissionVersions(args: ListPermissionVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
178
195
|
/**
|
|
196
|
+
* @public
|
|
179
197
|
* <p>Lists the principals that you are sharing resources with or that are sharing resources
|
|
180
198
|
* with you.</p>
|
|
181
199
|
*/
|
|
@@ -183,6 +201,7 @@ export declare class RAM extends RAMClient {
|
|
|
183
201
|
listPrincipals(args: ListPrincipalsCommandInput, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
184
202
|
listPrincipals(args: ListPrincipalsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
185
203
|
/**
|
|
204
|
+
* @public
|
|
186
205
|
* <p>Lists the resources that you added to a resource share or the resources that are shared with
|
|
187
206
|
* you.</p>
|
|
188
207
|
*/
|
|
@@ -190,18 +209,21 @@ export declare class RAM extends RAMClient {
|
|
|
190
209
|
listResources(args: ListResourcesCommandInput, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
191
210
|
listResources(args: ListResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
192
211
|
/**
|
|
212
|
+
* @public
|
|
193
213
|
* <p>Lists the RAM permissions that are associated with a resource share.</p>
|
|
194
214
|
*/
|
|
195
215
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceSharePermissionsCommandOutput>;
|
|
196
216
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
|
|
197
217
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
|
|
198
218
|
/**
|
|
219
|
+
* @public
|
|
199
220
|
* <p>Lists the resource types that can be shared by RAM.</p>
|
|
200
221
|
*/
|
|
201
222
|
listResourceTypes(args: ListResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceTypesCommandOutput>;
|
|
202
223
|
listResourceTypes(args: ListResourceTypesCommandInput, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
|
|
203
224
|
listResourceTypes(args: ListResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
|
|
204
225
|
/**
|
|
226
|
+
* @public
|
|
205
227
|
* <p>When you attach a resource-based permission policy to a resource, it automatically
|
|
206
228
|
* creates a resource share. However, resource shares created this way are visible only to the resource share owner, and
|
|
207
229
|
* the resource share can't be modified in RAM.</p>
|
|
@@ -213,12 +235,14 @@ export declare class RAM extends RAMClient {
|
|
|
213
235
|
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
|
|
214
236
|
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
|
|
215
237
|
/**
|
|
238
|
+
* @public
|
|
216
239
|
* <p>Rejects an invitation to a resource share from another Amazon Web Services account.</p>
|
|
217
240
|
*/
|
|
218
241
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options?: __HttpHandlerOptions): Promise<RejectResourceShareInvitationCommandOutput>;
|
|
219
242
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
|
|
220
243
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
|
|
221
244
|
/**
|
|
245
|
+
* @public
|
|
222
246
|
* <p>Adds the specified tag keys and values to the specified resource share. The tags are attached
|
|
223
247
|
* only to the resource share, not to the resources that are in the resource share.</p>
|
|
224
248
|
*/
|
|
@@ -226,12 +250,14 @@ export declare class RAM extends RAMClient {
|
|
|
226
250
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
227
251
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
228
252
|
/**
|
|
253
|
+
* @public
|
|
229
254
|
* <p>Removes the specified tag key and value pairs from the specified resource share.</p>
|
|
230
255
|
*/
|
|
231
256
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
232
257
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
233
258
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
234
259
|
/**
|
|
260
|
+
* @public
|
|
235
261
|
* <p>Modifies some of the properties of the specified resource share.</p>
|
|
236
262
|
*/
|
|
237
263
|
updateResourceShare(args: UpdateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourceShareCommandOutput>;
|
|
@@ -33,15 +33,24 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
33
33
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
34
34
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
35
35
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
36
39
|
export 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;
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
37
43
|
export 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;
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
38
47
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
39
48
|
/**
|
|
40
49
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
41
50
|
*/
|
|
42
51
|
requestHandler?: __HttpHandler;
|
|
43
52
|
/**
|
|
44
|
-
* A constructor for a class implementing the {@link
|
|
53
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
45
54
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
46
55
|
* @internal
|
|
47
56
|
*/
|
|
@@ -131,23 +140,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
131
140
|
*/
|
|
132
141
|
logger?: __Logger;
|
|
133
142
|
/**
|
|
134
|
-
* The {@link
|
|
143
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
135
144
|
*/
|
|
136
145
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
137
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
138
150
|
type RAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
139
151
|
/**
|
|
140
|
-
*
|
|
152
|
+
* @public
|
|
153
|
+
*
|
|
154
|
+
* The configuration interface of RAMClient class constructor that set the region, credentials and other options.
|
|
141
155
|
*/
|
|
142
156
|
export interface RAMClientConfig extends RAMClientConfigType {
|
|
143
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
144
161
|
type RAMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
145
162
|
/**
|
|
146
|
-
*
|
|
163
|
+
* @public
|
|
164
|
+
*
|
|
165
|
+
* The resolved configuration interface of RAMClient class. This is resolved and normalized from the {@link RAMClientConfig | constructor configuration interface}.
|
|
147
166
|
*/
|
|
148
167
|
export interface RAMClientResolvedConfig extends RAMClientResolvedConfigType {
|
|
149
168
|
}
|
|
150
169
|
/**
|
|
170
|
+
* @public
|
|
151
171
|
* <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
|
|
152
172
|
* descriptions and syntax for each of the actions and data types in RAM. RAM is a
|
|
153
173
|
* service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AcceptResourceShareInvitationRequest, AcceptResourceShareInvitationResponse } from "../models/models_0";
|
|
5
5
|
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AcceptResourceShareInvitationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AcceptResourceShareInvitationCommandInput extends AcceptResourceShareInvitationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AcceptResourceShareInvitationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AcceptResourceShareInvitationCommandOutput extends AcceptResourceShareInvitationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Accepts an invitation to a resource share from another Amazon Web Services account. After you accept the
|
|
18
23
|
* invitation, the resources included in the resource share are available to interact with in the
|
|
19
24
|
* relevant Amazon Web Services Management Consoles and tools.</p>
|
|
@@ -27,6 +32,8 @@ export interface AcceptResourceShareInvitationCommandOutput extends AcceptResour
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param AcceptResourceShareInvitationCommandInput - {@link AcceptResourceShareInvitationCommandInput}
|
|
36
|
+
* @returns {@link AcceptResourceShareInvitationCommandOutput}
|
|
30
37
|
* @see {@link AcceptResourceShareInvitationCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link AcceptResourceShareInvitationCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
@@ -68,11 +75,20 @@ export interface AcceptResourceShareInvitationCommandOutput extends AcceptResour
|
|
|
68
75
|
export declare class AcceptResourceShareInvitationCommand extends $Command<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput, RAMClientResolvedConfig> {
|
|
69
76
|
readonly input: AcceptResourceShareInvitationCommandInput;
|
|
70
77
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
71
81
|
constructor(input: AcceptResourceShareInvitationCommandInput);
|
|
72
82
|
/**
|
|
73
83
|
* @internal
|
|
74
84
|
*/
|
|
75
85
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
76
89
|
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
77
93
|
private deserialize;
|
|
78
94
|
}
|