@aws-sdk/client-ram 3.325.0 → 3.326.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/commands/AcceptResourceShareInvitationCommand.d.ts +29 -0
- package/dist-types/commands/AssociateResourceShareCommand.d.ts +19 -0
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +7 -0
- package/dist-types/commands/CreatePermissionCommand.d.ts +25 -0
- package/dist-types/commands/CreatePermissionVersionCommand.d.ts +26 -0
- package/dist-types/commands/CreateResourceShareCommand.d.ts +23 -0
- package/dist-types/commands/DeletePermissionCommand.d.ts +8 -0
- package/dist-types/commands/DeletePermissionVersionCommand.d.ts +8 -0
- package/dist-types/commands/DeleteResourceShareCommand.d.ts +7 -0
- package/dist-types/commands/DisassociateResourceShareCommand.d.ts +19 -0
- package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +7 -0
- package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +6 -0
- package/dist-types/commands/GetPermissionCommand.d.ts +25 -0
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +9 -0
- package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +19 -0
- package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +31 -0
- package/dist-types/commands/GetResourceSharesCommand.d.ts +25 -0
- package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +19 -0
- package/dist-types/commands/ListPermissionAssociationsCommand.d.ts +18 -0
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +27 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +27 -0
- package/dist-types/commands/ListPrincipalsCommand.d.ts +15 -0
- package/dist-types/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +19 -0
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +27 -0
- package/dist-types/commands/ListResourceTypesCommand.d.ts +13 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +19 -0
- package/dist-types/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +25 -0
- package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +6 -0
- package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +29 -0
- package/dist-types/commands/ReplacePermissionAssociationsCommand.d.ts +17 -0
- package/dist-types/commands/SetDefaultPermissionVersionCommand.d.ts +7 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateResourceShareCommand.d.ts +23 -0
- package/package.json +3 -3
|
@@ -34,6 +34,33 @@ export interface AcceptResourceShareInvitationCommandOutput extends AcceptResour
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new AcceptResourceShareInvitationCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // AcceptResourceShareInvitationResponse
|
|
38
|
+
* // resourceShareInvitation: { // ResourceShareInvitation
|
|
39
|
+
* // resourceShareInvitationArn: "STRING_VALUE",
|
|
40
|
+
* // resourceShareName: "STRING_VALUE",
|
|
41
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
42
|
+
* // senderAccountId: "STRING_VALUE",
|
|
43
|
+
* // receiverAccountId: "STRING_VALUE",
|
|
44
|
+
* // invitationTimestamp: new Date("TIMESTAMP"),
|
|
45
|
+
* // status: "PENDING" || "ACCEPTED" || "REJECTED" || "EXPIRED",
|
|
46
|
+
* // resourceShareAssociations: [ // ResourceShareAssociationList
|
|
47
|
+
* // { // ResourceShareAssociation
|
|
48
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
49
|
+
* // resourceShareName: "STRING_VALUE",
|
|
50
|
+
* // associatedEntity: "STRING_VALUE",
|
|
51
|
+
* // associationType: "PRINCIPAL" || "RESOURCE",
|
|
52
|
+
* // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
|
|
53
|
+
* // statusMessage: "STRING_VALUE",
|
|
54
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // external: true || false,
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // receiverArn: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // clientToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
37
64
|
* ```
|
|
38
65
|
*
|
|
39
66
|
* @param AcceptResourceShareInvitationCommandInput - {@link AcceptResourceShareInvitationCommandInput}
|
|
@@ -78,6 +105,8 @@ export interface AcceptResourceShareInvitationCommandOutput extends AcceptResour
|
|
|
78
105
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
79
106
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
80
107
|
*
|
|
108
|
+
* @throws {@link RAMServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
81
110
|
*
|
|
82
111
|
*/
|
|
83
112
|
export declare class AcceptResourceShareInvitationCommand extends $Command<AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -40,6 +40,23 @@ export interface AssociateResourceShareCommandOutput extends AssociateResourceSh
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new AssociateResourceShareCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // AssociateResourceShareResponse
|
|
44
|
+
* // resourceShareAssociations: [ // ResourceShareAssociationList
|
|
45
|
+
* // { // ResourceShareAssociation
|
|
46
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
47
|
+
* // resourceShareName: "STRING_VALUE",
|
|
48
|
+
* // associatedEntity: "STRING_VALUE",
|
|
49
|
+
* // associationType: "PRINCIPAL" || "RESOURCE",
|
|
50
|
+
* // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
|
|
51
|
+
* // statusMessage: "STRING_VALUE",
|
|
52
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // external: true || false,
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // clientToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
43
60
|
* ```
|
|
44
61
|
*
|
|
45
62
|
* @param AssociateResourceShareCommandInput - {@link AssociateResourceShareCommandInput}
|
|
@@ -89,6 +106,8 @@ export interface AssociateResourceShareCommandOutput extends AssociateResourceSh
|
|
|
89
106
|
* @throws {@link UnknownResourceException} (client fault)
|
|
90
107
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
91
108
|
*
|
|
109
|
+
* @throws {@link RAMServiceException}
|
|
110
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
92
111
|
*
|
|
93
112
|
*/
|
|
94
113
|
export declare class AssociateResourceShareCommand extends $Command<AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -38,6 +38,11 @@ export interface AssociateResourceSharePermissionCommandOutput extends Associate
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new AssociateResourceSharePermissionCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // AssociateResourceSharePermissionResponse
|
|
42
|
+
* // returnValue: true || false,
|
|
43
|
+
* // clientToken: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
41
46
|
* ```
|
|
42
47
|
*
|
|
43
48
|
* @param AssociateResourceSharePermissionCommandInput - {@link AssociateResourceSharePermissionCommandInput}
|
|
@@ -69,6 +74,8 @@ export interface AssociateResourceSharePermissionCommandOutput extends Associate
|
|
|
69
74
|
* @throws {@link UnknownResourceException} (client fault)
|
|
70
75
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
71
76
|
*
|
|
77
|
+
* @throws {@link RAMServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
72
79
|
*
|
|
73
80
|
*/
|
|
74
81
|
export declare class AssociateResourceSharePermissionCommand extends $Command<AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -41,6 +41,29 @@ export interface CreatePermissionCommandOutput extends CreatePermissionResponse,
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new CreatePermissionCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // CreatePermissionResponse
|
|
45
|
+
* // permission: { // ResourceSharePermissionSummary
|
|
46
|
+
* // arn: "STRING_VALUE",
|
|
47
|
+
* // version: "STRING_VALUE",
|
|
48
|
+
* // defaultVersion: true || false,
|
|
49
|
+
* // name: "STRING_VALUE",
|
|
50
|
+
* // resourceType: "STRING_VALUE",
|
|
51
|
+
* // status: "STRING_VALUE",
|
|
52
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // isResourceTypeDefault: true || false,
|
|
55
|
+
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
56
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
57
|
+
* // tags: [ // TagList
|
|
58
|
+
* // { // Tag
|
|
59
|
+
* // key: "STRING_VALUE",
|
|
60
|
+
* // value: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // clientToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
44
67
|
* ```
|
|
45
68
|
*
|
|
46
69
|
* @param CreatePermissionCommandInput - {@link CreatePermissionCommandInput}
|
|
@@ -85,6 +108,8 @@ export interface CreatePermissionCommandOutput extends CreatePermissionResponse,
|
|
|
85
108
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
86
109
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
87
110
|
*
|
|
111
|
+
* @throws {@link RAMServiceException}
|
|
112
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
88
113
|
*
|
|
89
114
|
*/
|
|
90
115
|
export declare class CreatePermissionCommand extends $Command<CreatePermissionCommandInput, CreatePermissionCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -38,6 +38,30 @@ export interface CreatePermissionVersionCommandOutput extends CreatePermissionVe
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new CreatePermissionVersionCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // CreatePermissionVersionResponse
|
|
42
|
+
* // permission: { // ResourceSharePermissionDetail
|
|
43
|
+
* // arn: "STRING_VALUE",
|
|
44
|
+
* // version: "STRING_VALUE",
|
|
45
|
+
* // defaultVersion: true || false,
|
|
46
|
+
* // name: "STRING_VALUE",
|
|
47
|
+
* // resourceType: "STRING_VALUE",
|
|
48
|
+
* // permission: "STRING_VALUE",
|
|
49
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // isResourceTypeDefault: true || false,
|
|
52
|
+
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
53
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
54
|
+
* // status: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED",
|
|
55
|
+
* // tags: [ // TagList
|
|
56
|
+
* // { // Tag
|
|
57
|
+
* // key: "STRING_VALUE",
|
|
58
|
+
* // value: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // clientToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
41
65
|
* ```
|
|
42
66
|
*
|
|
43
67
|
* @param CreatePermissionVersionCommandInput - {@link CreatePermissionVersionCommandInput}
|
|
@@ -82,6 +106,8 @@ export interface CreatePermissionVersionCommandOutput extends CreatePermissionVe
|
|
|
82
106
|
* @throws {@link UnknownResourceException} (client fault)
|
|
83
107
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
84
108
|
*
|
|
109
|
+
* @throws {@link RAMServiceException}
|
|
110
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
85
111
|
*
|
|
86
112
|
*/
|
|
87
113
|
export declare class CreatePermissionVersionCommand extends $Command<CreatePermissionVersionCommandInput, CreatePermissionVersionCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -55,6 +55,27 @@ export interface CreateResourceShareCommandOutput extends CreateResourceShareRes
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new CreateResourceShareCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // { // CreateResourceShareResponse
|
|
59
|
+
* // resourceShare: { // ResourceShare
|
|
60
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
61
|
+
* // name: "STRING_VALUE",
|
|
62
|
+
* // owningAccountId: "STRING_VALUE",
|
|
63
|
+
* // allowExternalPrincipals: true || false,
|
|
64
|
+
* // status: "PENDING" || "ACTIVE" || "FAILED" || "DELETING" || "DELETED",
|
|
65
|
+
* // statusMessage: "STRING_VALUE",
|
|
66
|
+
* // tags: [ // TagList
|
|
67
|
+
* // { // Tag
|
|
68
|
+
* // key: "STRING_VALUE",
|
|
69
|
+
* // value: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
73
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
74
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
75
|
+
* // },
|
|
76
|
+
* // clientToken: "STRING_VALUE",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
58
79
|
* ```
|
|
59
80
|
*
|
|
60
81
|
* @param CreateResourceShareCommandInput - {@link CreateResourceShareCommandInput}
|
|
@@ -104,6 +125,8 @@ export interface CreateResourceShareCommandOutput extends CreateResourceShareRes
|
|
|
104
125
|
* @throws {@link UnknownResourceException} (client fault)
|
|
105
126
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
106
127
|
*
|
|
128
|
+
* @throws {@link RAMServiceException}
|
|
129
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
107
130
|
*
|
|
108
131
|
*/
|
|
109
132
|
export declare class CreateResourceShareCommand extends $Command<CreateResourceShareCommandInput, CreateResourceShareCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -34,6 +34,12 @@ export interface DeletePermissionCommandOutput extends DeletePermissionResponse,
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeletePermissionCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // DeletePermissionResponse
|
|
38
|
+
* // returnValue: true || false,
|
|
39
|
+
* // clientToken: "STRING_VALUE",
|
|
40
|
+
* // permissionStatus: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
37
43
|
* ```
|
|
38
44
|
*
|
|
39
45
|
* @param DeletePermissionCommandInput - {@link DeletePermissionCommandInput}
|
|
@@ -67,6 +73,8 @@ export interface DeletePermissionCommandOutput extends DeletePermissionResponse,
|
|
|
67
73
|
* @throws {@link UnknownResourceException} (client fault)
|
|
68
74
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
69
75
|
*
|
|
76
|
+
* @throws {@link RAMServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
70
78
|
*
|
|
71
79
|
*/
|
|
72
80
|
export declare class DeletePermissionCommand extends $Command<DeletePermissionCommandInput, DeletePermissionCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -36,6 +36,12 @@ export interface DeletePermissionVersionCommandOutput extends DeletePermissionVe
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DeletePermissionVersionCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // DeletePermissionVersionResponse
|
|
40
|
+
* // returnValue: true || false,
|
|
41
|
+
* // clientToken: "STRING_VALUE",
|
|
42
|
+
* // permissionStatus: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
39
45
|
* ```
|
|
40
46
|
*
|
|
41
47
|
* @param DeletePermissionVersionCommandInput - {@link DeletePermissionVersionCommandInput}
|
|
@@ -72,6 +78,8 @@ export interface DeletePermissionVersionCommandOutput extends DeletePermissionVe
|
|
|
72
78
|
* @throws {@link UnknownResourceException} (client fault)
|
|
73
79
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
74
80
|
*
|
|
81
|
+
* @throws {@link RAMServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
75
83
|
*
|
|
76
84
|
*/
|
|
77
85
|
export declare class DeletePermissionVersionCommand extends $Command<DeletePermissionVersionCommandInput, DeletePermissionVersionCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -36,6 +36,11 @@ export interface DeleteResourceShareCommandOutput extends DeleteResourceShareRes
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DeleteResourceShareCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // DeleteResourceShareResponse
|
|
40
|
+
* // returnValue: true || false,
|
|
41
|
+
* // clientToken: "STRING_VALUE",
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
39
44
|
* ```
|
|
40
45
|
*
|
|
41
46
|
* @param DeleteResourceShareCommandInput - {@link DeleteResourceShareCommandInput}
|
|
@@ -76,6 +81,8 @@ export interface DeleteResourceShareCommandOutput extends DeleteResourceShareRes
|
|
|
76
81
|
* @throws {@link UnknownResourceException} (client fault)
|
|
77
82
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
78
83
|
*
|
|
84
|
+
* @throws {@link RAMServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
79
86
|
*
|
|
80
87
|
*/
|
|
81
88
|
export declare class DeleteResourceShareCommand extends $Command<DeleteResourceShareCommandInput, DeleteResourceShareCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -39,6 +39,23 @@ export interface DisassociateResourceShareCommandOutput extends DisassociateReso
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new DisassociateResourceShareCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // DisassociateResourceShareResponse
|
|
43
|
+
* // resourceShareAssociations: [ // ResourceShareAssociationList
|
|
44
|
+
* // { // ResourceShareAssociation
|
|
45
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
46
|
+
* // resourceShareName: "STRING_VALUE",
|
|
47
|
+
* // associatedEntity: "STRING_VALUE",
|
|
48
|
+
* // associationType: "PRINCIPAL" || "RESOURCE",
|
|
49
|
+
* // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
|
|
50
|
+
* // statusMessage: "STRING_VALUE",
|
|
51
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // external: true || false,
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // clientToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
42
59
|
* ```
|
|
43
60
|
*
|
|
44
61
|
* @param DisassociateResourceShareCommandInput - {@link DisassociateResourceShareCommandInput}
|
|
@@ -84,6 +101,8 @@ export interface DisassociateResourceShareCommandOutput extends DisassociateReso
|
|
|
84
101
|
* @throws {@link UnknownResourceException} (client fault)
|
|
85
102
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
86
103
|
*
|
|
104
|
+
* @throws {@link RAMServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
87
106
|
*
|
|
88
107
|
*/
|
|
89
108
|
export declare class DisassociateResourceShareCommand extends $Command<DisassociateResourceShareCommandInput, DisassociateResourceShareCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -35,6 +35,11 @@ export interface DisassociateResourceSharePermissionCommandOutput extends Disass
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DisassociateResourceSharePermissionCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // DisassociateResourceSharePermissionResponse
|
|
39
|
+
* // returnValue: true || false,
|
|
40
|
+
* // clientToken: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
38
43
|
* ```
|
|
39
44
|
*
|
|
40
45
|
* @param DisassociateResourceSharePermissionCommandInput - {@link DisassociateResourceSharePermissionCommandInput}
|
|
@@ -70,6 +75,8 @@ export interface DisassociateResourceSharePermissionCommandOutput extends Disass
|
|
|
70
75
|
* @throws {@link UnknownResourceException} (client fault)
|
|
71
76
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
72
77
|
*
|
|
78
|
+
* @throws {@link RAMServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
73
80
|
*
|
|
74
81
|
*/
|
|
75
82
|
export declare class DisassociateResourceSharePermissionCommand extends $Command<DisassociateResourceSharePermissionCommandInput, DisassociateResourceSharePermissionCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -39,6 +39,10 @@ export interface EnableSharingWithAwsOrganizationCommandOutput extends EnableSha
|
|
|
39
39
|
* const input = {};
|
|
40
40
|
* const command = new EnableSharingWithAwsOrganizationCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // EnableSharingWithAwsOrganizationResponse
|
|
43
|
+
* // returnValue: true || false,
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
42
46
|
* ```
|
|
43
47
|
*
|
|
44
48
|
* @param EnableSharingWithAwsOrganizationCommandInput - {@link EnableSharingWithAwsOrganizationCommandInput}
|
|
@@ -57,6 +61,8 @@ export interface EnableSharingWithAwsOrganizationCommandOutput extends EnableSha
|
|
|
57
61
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
58
62
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
59
63
|
*
|
|
64
|
+
* @throws {@link RAMServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
60
66
|
*
|
|
61
67
|
*/
|
|
62
68
|
export declare class EnableSharingWithAwsOrganizationCommand extends $Command<EnableSharingWithAwsOrganizationCommandInput, EnableSharingWithAwsOrganizationCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -32,6 +32,29 @@ export interface GetPermissionCommandOutput extends GetPermissionResponse, __Met
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetPermissionCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // GetPermissionResponse
|
|
36
|
+
* // permission: { // ResourceSharePermissionDetail
|
|
37
|
+
* // arn: "STRING_VALUE",
|
|
38
|
+
* // version: "STRING_VALUE",
|
|
39
|
+
* // defaultVersion: true || false,
|
|
40
|
+
* // name: "STRING_VALUE",
|
|
41
|
+
* // resourceType: "STRING_VALUE",
|
|
42
|
+
* // permission: "STRING_VALUE",
|
|
43
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // isResourceTypeDefault: true || false,
|
|
46
|
+
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
47
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
48
|
+
* // status: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED",
|
|
49
|
+
* // tags: [ // TagList
|
|
50
|
+
* // { // Tag
|
|
51
|
+
* // key: "STRING_VALUE",
|
|
52
|
+
* // value: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
35
58
|
* ```
|
|
36
59
|
*
|
|
37
60
|
* @param GetPermissionCommandInput - {@link GetPermissionCommandInput}
|
|
@@ -60,6 +83,8 @@ export interface GetPermissionCommandOutput extends GetPermissionResponse, __Met
|
|
|
60
83
|
* @throws {@link UnknownResourceException} (client fault)
|
|
61
84
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
62
85
|
*
|
|
86
|
+
* @throws {@link RAMServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
63
88
|
*
|
|
64
89
|
*/
|
|
65
90
|
export declare class GetPermissionCommand extends $Command<GetPermissionCommandInput, GetPermissionCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -37,6 +37,13 @@ export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesRes
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetResourcePoliciesCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // GetResourcePoliciesResponse
|
|
41
|
+
* // policies: [ // PolicyList
|
|
42
|
+
* // "STRING_VALUE",
|
|
43
|
+
* // ],
|
|
44
|
+
* // nextToken: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
40
47
|
* ```
|
|
41
48
|
*
|
|
42
49
|
* @param GetResourcePoliciesCommandInput - {@link GetResourcePoliciesCommandInput}
|
|
@@ -67,6 +74,8 @@ export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesRes
|
|
|
67
74
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
68
75
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
69
76
|
*
|
|
77
|
+
* @throws {@link RAMServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
70
79
|
*
|
|
71
80
|
*/
|
|
72
81
|
export declare class GetResourcePoliciesCommand extends $Command<GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -40,6 +40,23 @@ export interface GetResourceShareAssociationsCommandOutput extends GetResourceSh
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new GetResourceShareAssociationsCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // GetResourceShareAssociationsResponse
|
|
44
|
+
* // resourceShareAssociations: [ // ResourceShareAssociationList
|
|
45
|
+
* // { // ResourceShareAssociation
|
|
46
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
47
|
+
* // resourceShareName: "STRING_VALUE",
|
|
48
|
+
* // associatedEntity: "STRING_VALUE",
|
|
49
|
+
* // associationType: "PRINCIPAL" || "RESOURCE",
|
|
50
|
+
* // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
|
|
51
|
+
* // statusMessage: "STRING_VALUE",
|
|
52
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // external: true || false,
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // nextToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
43
60
|
* ```
|
|
44
61
|
*
|
|
45
62
|
* @param GetResourceShareAssociationsCommandInput - {@link GetResourceShareAssociationsCommandInput}
|
|
@@ -73,6 +90,8 @@ export interface GetResourceShareAssociationsCommandOutput extends GetResourceSh
|
|
|
73
90
|
* @throws {@link UnknownResourceException} (client fault)
|
|
74
91
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
75
92
|
*
|
|
93
|
+
* @throws {@link RAMServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
76
95
|
*
|
|
77
96
|
*/
|
|
78
97
|
export declare class GetResourceShareAssociationsCommand extends $Command<GetResourceShareAssociationsCommandInput, GetResourceShareAssociationsCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -38,6 +38,35 @@ export interface GetResourceShareInvitationsCommandOutput extends GetResourceSha
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new GetResourceShareInvitationsCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // GetResourceShareInvitationsResponse
|
|
42
|
+
* // resourceShareInvitations: [ // ResourceShareInvitationList
|
|
43
|
+
* // { // ResourceShareInvitation
|
|
44
|
+
* // resourceShareInvitationArn: "STRING_VALUE",
|
|
45
|
+
* // resourceShareName: "STRING_VALUE",
|
|
46
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
47
|
+
* // senderAccountId: "STRING_VALUE",
|
|
48
|
+
* // receiverAccountId: "STRING_VALUE",
|
|
49
|
+
* // invitationTimestamp: new Date("TIMESTAMP"),
|
|
50
|
+
* // status: "PENDING" || "ACCEPTED" || "REJECTED" || "EXPIRED",
|
|
51
|
+
* // resourceShareAssociations: [ // ResourceShareAssociationList
|
|
52
|
+
* // { // ResourceShareAssociation
|
|
53
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
54
|
+
* // resourceShareName: "STRING_VALUE",
|
|
55
|
+
* // associatedEntity: "STRING_VALUE",
|
|
56
|
+
* // associationType: "PRINCIPAL" || "RESOURCE",
|
|
57
|
+
* // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
|
|
58
|
+
* // statusMessage: "STRING_VALUE",
|
|
59
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
61
|
+
* // external: true || false,
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // receiverArn: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // nextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
41
70
|
* ```
|
|
42
71
|
*
|
|
43
72
|
* @param GetResourceShareInvitationsCommandInput - {@link GetResourceShareInvitationsCommandInput}
|
|
@@ -76,6 +105,8 @@ export interface GetResourceShareInvitationsCommandOutput extends GetResourceSha
|
|
|
76
105
|
* @throws {@link UnknownResourceException} (client fault)
|
|
77
106
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
78
107
|
*
|
|
108
|
+
* @throws {@link RAMServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
79
110
|
*
|
|
80
111
|
*/
|
|
81
112
|
export declare class GetResourceShareInvitationsCommand extends $Command<GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -48,6 +48,29 @@ export interface GetResourceSharesCommandOutput extends GetResourceSharesRespons
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new GetResourceSharesCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // GetResourceSharesResponse
|
|
52
|
+
* // resourceShares: [ // ResourceShareList
|
|
53
|
+
* // { // ResourceShare
|
|
54
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
55
|
+
* // name: "STRING_VALUE",
|
|
56
|
+
* // owningAccountId: "STRING_VALUE",
|
|
57
|
+
* // allowExternalPrincipals: true || false,
|
|
58
|
+
* // status: "PENDING" || "ACTIVE" || "FAILED" || "DELETING" || "DELETED",
|
|
59
|
+
* // statusMessage: "STRING_VALUE",
|
|
60
|
+
* // tags: [ // TagList
|
|
61
|
+
* // { // Tag
|
|
62
|
+
* // key: "STRING_VALUE",
|
|
63
|
+
* // value: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
67
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // nextToken: "STRING_VALUE",
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
51
74
|
* ```
|
|
52
75
|
*
|
|
53
76
|
* @param GetResourceSharesCommandInput - {@link GetResourceSharesCommandInput}
|
|
@@ -78,6 +101,8 @@ export interface GetResourceSharesCommandOutput extends GetResourceSharesRespons
|
|
|
78
101
|
* @throws {@link UnknownResourceException} (client fault)
|
|
79
102
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
80
103
|
*
|
|
104
|
+
* @throws {@link RAMServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
81
106
|
*
|
|
82
107
|
*/
|
|
83
108
|
export declare class GetResourceSharesCommand extends $Command<GetResourceSharesCommandInput, GetResourceSharesCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -36,6 +36,23 @@ export interface ListPendingInvitationResourcesCommandOutput extends ListPending
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListPendingInvitationResourcesCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // ListPendingInvitationResourcesResponse
|
|
40
|
+
* // resources: [ // ResourceList
|
|
41
|
+
* // { // Resource
|
|
42
|
+
* // arn: "STRING_VALUE",
|
|
43
|
+
* // type: "STRING_VALUE",
|
|
44
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
45
|
+
* // resourceGroupArn: "STRING_VALUE",
|
|
46
|
+
* // status: "AVAILABLE" || "ZONAL_RESOURCE_INACCESSIBLE" || "LIMIT_EXCEEDED" || "UNAVAILABLE" || "PENDING",
|
|
47
|
+
* // statusMessage: "STRING_VALUE",
|
|
48
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // resourceRegionScope: "REGIONAL" || "GLOBAL",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // nextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
39
56
|
* ```
|
|
40
57
|
*
|
|
41
58
|
* @param ListPendingInvitationResourcesCommandInput - {@link ListPendingInvitationResourcesCommandInput}
|
|
@@ -77,6 +94,8 @@ export interface ListPendingInvitationResourcesCommandOutput extends ListPending
|
|
|
77
94
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
78
95
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
79
96
|
*
|
|
97
|
+
* @throws {@link RAMServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
80
99
|
*
|
|
81
100
|
*/
|
|
82
101
|
export declare class ListPendingInvitationResourcesCommand extends $Command<ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -40,6 +40,22 @@ export interface ListPermissionAssociationsCommandOutput extends ListPermissionA
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new ListPermissionAssociationsCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // ListPermissionAssociationsResponse
|
|
44
|
+
* // permissions: [ // AssociatedPermissionList
|
|
45
|
+
* // { // AssociatedPermission
|
|
46
|
+
* // arn: "STRING_VALUE",
|
|
47
|
+
* // permissionVersion: "STRING_VALUE",
|
|
48
|
+
* // defaultVersion: true || false,
|
|
49
|
+
* // resourceType: "STRING_VALUE",
|
|
50
|
+
* // status: "STRING_VALUE",
|
|
51
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
52
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // nextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
43
59
|
* ```
|
|
44
60
|
*
|
|
45
61
|
* @param ListPermissionAssociationsCommandInput - {@link ListPermissionAssociationsCommandInput}
|
|
@@ -67,6 +83,8 @@ export interface ListPermissionAssociationsCommandOutput extends ListPermissionA
|
|
|
67
83
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
68
84
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
69
85
|
*
|
|
86
|
+
* @throws {@link RAMServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
70
88
|
*
|
|
71
89
|
*/
|
|
72
90
|
export declare class ListPermissionAssociationsCommand extends $Command<ListPermissionAssociationsCommandInput, ListPermissionAssociationsCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -33,6 +33,31 @@ export interface ListPermissionVersionsCommandOutput extends ListPermissionVersi
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListPermissionVersionsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListPermissionVersionsResponse
|
|
37
|
+
* // permissions: [ // ResourceSharePermissionList
|
|
38
|
+
* // { // ResourceSharePermissionSummary
|
|
39
|
+
* // arn: "STRING_VALUE",
|
|
40
|
+
* // version: "STRING_VALUE",
|
|
41
|
+
* // defaultVersion: true || false,
|
|
42
|
+
* // name: "STRING_VALUE",
|
|
43
|
+
* // resourceType: "STRING_VALUE",
|
|
44
|
+
* // status: "STRING_VALUE",
|
|
45
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // isResourceTypeDefault: true || false,
|
|
48
|
+
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
49
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
50
|
+
* // tags: [ // TagList
|
|
51
|
+
* // { // Tag
|
|
52
|
+
* // key: "STRING_VALUE",
|
|
53
|
+
* // value: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
36
61
|
* ```
|
|
37
62
|
*
|
|
38
63
|
* @param ListPermissionVersionsCommandInput - {@link ListPermissionVersionsCommandInput}
|
|
@@ -66,6 +91,8 @@ export interface ListPermissionVersionsCommandOutput extends ListPermissionVersi
|
|
|
66
91
|
* @throws {@link UnknownResourceException} (client fault)
|
|
67
92
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
68
93
|
*
|
|
94
|
+
* @throws {@link RAMServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
69
96
|
*
|
|
70
97
|
*/
|
|
71
98
|
export declare class ListPermissionVersionsCommand extends $Command<ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -35,6 +35,31 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListPermissionsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListPermissionsResponse
|
|
39
|
+
* // permissions: [ // ResourceSharePermissionList
|
|
40
|
+
* // { // ResourceSharePermissionSummary
|
|
41
|
+
* // arn: "STRING_VALUE",
|
|
42
|
+
* // version: "STRING_VALUE",
|
|
43
|
+
* // defaultVersion: true || false,
|
|
44
|
+
* // name: "STRING_VALUE",
|
|
45
|
+
* // resourceType: "STRING_VALUE",
|
|
46
|
+
* // status: "STRING_VALUE",
|
|
47
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // isResourceTypeDefault: true || false,
|
|
50
|
+
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
51
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
52
|
+
* // tags: [ // TagList
|
|
53
|
+
* // { // Tag
|
|
54
|
+
* // key: "STRING_VALUE",
|
|
55
|
+
* // value: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
38
63
|
* ```
|
|
39
64
|
*
|
|
40
65
|
* @param ListPermissionsCommandInput - {@link ListPermissionsCommandInput}
|
|
@@ -61,6 +86,8 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
|
|
|
61
86
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
62
87
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
63
88
|
*
|
|
89
|
+
* @throws {@link RAMServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
64
91
|
*
|
|
65
92
|
*/
|
|
66
93
|
export declare class ListPermissionsCommand extends $Command<ListPermissionsCommandInput, ListPermissionsCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -42,6 +42,19 @@ export interface ListPrincipalsCommandOutput extends ListPrincipalsResponse, __M
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new ListPrincipalsCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // ListPrincipalsResponse
|
|
46
|
+
* // principals: [ // PrincipalList
|
|
47
|
+
* // { // Principal
|
|
48
|
+
* // id: "STRING_VALUE",
|
|
49
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
50
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // external: true || false,
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
45
58
|
* ```
|
|
46
59
|
*
|
|
47
60
|
* @param ListPrincipalsCommandInput - {@link ListPrincipalsCommandInput}
|
|
@@ -72,6 +85,8 @@ export interface ListPrincipalsCommandOutput extends ListPrincipalsResponse, __M
|
|
|
72
85
|
* @throws {@link UnknownResourceException} (client fault)
|
|
73
86
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
74
87
|
*
|
|
88
|
+
* @throws {@link RAMServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
75
90
|
*
|
|
76
91
|
*/
|
|
77
92
|
export declare class ListPrincipalsCommand extends $Command<ListPrincipalsCommandInput, ListPrincipalsCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -37,6 +37,23 @@ export interface ListReplacePermissionAssociationsWorkCommandOutput extends List
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new ListReplacePermissionAssociationsWorkCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // ListReplacePermissionAssociationsWorkResponse
|
|
41
|
+
* // replacePermissionAssociationsWorks: [ // ReplacePermissionAssociationsWorkList
|
|
42
|
+
* // { // ReplacePermissionAssociationsWork
|
|
43
|
+
* // id: "STRING_VALUE",
|
|
44
|
+
* // fromPermissionArn: "STRING_VALUE",
|
|
45
|
+
* // fromPermissionVersion: "STRING_VALUE",
|
|
46
|
+
* // toPermissionArn: "STRING_VALUE",
|
|
47
|
+
* // toPermissionVersion: "STRING_VALUE",
|
|
48
|
+
* // status: "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
49
|
+
* // statusMessage: "STRING_VALUE",
|
|
50
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
51
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // nextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
40
57
|
* ```
|
|
41
58
|
*
|
|
42
59
|
* @param ListReplacePermissionAssociationsWorkCommandInput - {@link ListReplacePermissionAssociationsWorkCommandInput}
|
|
@@ -60,6 +77,8 @@ export interface ListReplacePermissionAssociationsWorkCommandOutput extends List
|
|
|
60
77
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
61
78
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
62
79
|
*
|
|
80
|
+
* @throws {@link RAMServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
63
82
|
*
|
|
64
83
|
*/
|
|
65
84
|
export declare class ListReplacePermissionAssociationsWorkCommand extends $Command<ListReplacePermissionAssociationsWorkCommandInput, ListReplacePermissionAssociationsWorkCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -33,6 +33,31 @@ export interface ListResourceSharePermissionsCommandOutput extends ListResourceS
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListResourceSharePermissionsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListResourceSharePermissionsResponse
|
|
37
|
+
* // permissions: [ // ResourceSharePermissionList
|
|
38
|
+
* // { // ResourceSharePermissionSummary
|
|
39
|
+
* // arn: "STRING_VALUE",
|
|
40
|
+
* // version: "STRING_VALUE",
|
|
41
|
+
* // defaultVersion: true || false,
|
|
42
|
+
* // name: "STRING_VALUE",
|
|
43
|
+
* // resourceType: "STRING_VALUE",
|
|
44
|
+
* // status: "STRING_VALUE",
|
|
45
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // isResourceTypeDefault: true || false,
|
|
48
|
+
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
49
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
50
|
+
* // tags: [ // TagList
|
|
51
|
+
* // { // Tag
|
|
52
|
+
* // key: "STRING_VALUE",
|
|
53
|
+
* // value: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
36
61
|
* ```
|
|
37
62
|
*
|
|
38
63
|
* @param ListResourceSharePermissionsCommandInput - {@link ListResourceSharePermissionsCommandInput}
|
|
@@ -66,6 +91,8 @@ export interface ListResourceSharePermissionsCommandOutput extends ListResourceS
|
|
|
66
91
|
* @throws {@link UnknownResourceException} (client fault)
|
|
67
92
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
68
93
|
*
|
|
94
|
+
* @throws {@link RAMServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
69
96
|
*
|
|
70
97
|
*/
|
|
71
98
|
export declare class ListResourceSharePermissionsCommand extends $Command<ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -33,6 +33,17 @@ export interface ListResourceTypesCommandOutput extends ListResourceTypesRespons
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListResourceTypesCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListResourceTypesResponse
|
|
37
|
+
* // resourceTypes: [ // ServiceNameAndResourceTypeList
|
|
38
|
+
* // { // ServiceNameAndResourceType
|
|
39
|
+
* // resourceType: "STRING_VALUE",
|
|
40
|
+
* // serviceName: "STRING_VALUE",
|
|
41
|
+
* // resourceRegionScope: "REGIONAL" || "GLOBAL",
|
|
42
|
+
* // },
|
|
43
|
+
* // ],
|
|
44
|
+
* // nextToken: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
36
47
|
* ```
|
|
37
48
|
*
|
|
38
49
|
* @param ListResourceTypesCommandInput - {@link ListResourceTypesCommandInput}
|
|
@@ -56,6 +67,8 @@ export interface ListResourceTypesCommandOutput extends ListResourceTypesRespons
|
|
|
56
67
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
57
68
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
58
69
|
*
|
|
70
|
+
* @throws {@link RAMServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
59
72
|
*
|
|
60
73
|
*/
|
|
61
74
|
export declare class ListResourceTypesCommand extends $Command<ListResourceTypesCommandInput, ListResourceTypesCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -43,6 +43,23 @@ export interface ListResourcesCommandOutput extends ListResourcesResponse, __Met
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new ListResourcesCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // ListResourcesResponse
|
|
47
|
+
* // resources: [ // ResourceList
|
|
48
|
+
* // { // Resource
|
|
49
|
+
* // arn: "STRING_VALUE",
|
|
50
|
+
* // type: "STRING_VALUE",
|
|
51
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
52
|
+
* // resourceGroupArn: "STRING_VALUE",
|
|
53
|
+
* // status: "AVAILABLE" || "ZONAL_RESOURCE_INACCESSIBLE" || "LIMIT_EXCEEDED" || "UNAVAILABLE" || "PENDING",
|
|
54
|
+
* // statusMessage: "STRING_VALUE",
|
|
55
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // resourceRegionScope: "REGIONAL" || "GLOBAL",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
46
63
|
* ```
|
|
47
64
|
*
|
|
48
65
|
* @param ListResourcesCommandInput - {@link ListResourcesCommandInput}
|
|
@@ -76,6 +93,8 @@ export interface ListResourcesCommandOutput extends ListResourcesResponse, __Met
|
|
|
76
93
|
* @throws {@link UnknownResourceException} (client fault)
|
|
77
94
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
78
95
|
*
|
|
96
|
+
* @throws {@link RAMServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
79
98
|
*
|
|
80
99
|
*/
|
|
81
100
|
export declare class ListResourcesCommand extends $Command<ListResourcesCommandInput, ListResourcesCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -64,6 +64,29 @@ export interface PromotePermissionCreatedFromPolicyCommandOutput extends Promote
|
|
|
64
64
|
* };
|
|
65
65
|
* const command = new PromotePermissionCreatedFromPolicyCommand(input);
|
|
66
66
|
* const response = await client.send(command);
|
|
67
|
+
* // { // PromotePermissionCreatedFromPolicyResponse
|
|
68
|
+
* // permission: { // ResourceSharePermissionSummary
|
|
69
|
+
* // arn: "STRING_VALUE",
|
|
70
|
+
* // version: "STRING_VALUE",
|
|
71
|
+
* // defaultVersion: true || false,
|
|
72
|
+
* // name: "STRING_VALUE",
|
|
73
|
+
* // resourceType: "STRING_VALUE",
|
|
74
|
+
* // status: "STRING_VALUE",
|
|
75
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
76
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
77
|
+
* // isResourceTypeDefault: true || false,
|
|
78
|
+
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
79
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
80
|
+
* // tags: [ // TagList
|
|
81
|
+
* // { // Tag
|
|
82
|
+
* // key: "STRING_VALUE",
|
|
83
|
+
* // value: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // clientToken: "STRING_VALUE",
|
|
88
|
+
* // };
|
|
89
|
+
*
|
|
67
90
|
* ```
|
|
68
91
|
*
|
|
69
92
|
* @param PromotePermissionCreatedFromPolicyCommandInput - {@link PromotePermissionCreatedFromPolicyCommandInput}
|
|
@@ -95,6 +118,8 @@ export interface PromotePermissionCreatedFromPolicyCommandOutput extends Promote
|
|
|
95
118
|
* @throws {@link UnknownResourceException} (client fault)
|
|
96
119
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
97
120
|
*
|
|
121
|
+
* @throws {@link RAMServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
98
123
|
*
|
|
99
124
|
*/
|
|
100
125
|
export declare class PromotePermissionCreatedFromPolicyCommand extends $Command<PromotePermissionCreatedFromPolicyCommandInput, PromotePermissionCreatedFromPolicyCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -44,6 +44,10 @@ export interface PromoteResourceShareCreatedFromPolicyCommandOutput extends Prom
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new PromoteResourceShareCreatedFromPolicyCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // { // PromoteResourceShareCreatedFromPolicyResponse
|
|
48
|
+
* // returnValue: true || false,
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
47
51
|
* ```
|
|
48
52
|
*
|
|
49
53
|
* @param PromoteResourceShareCreatedFromPolicyCommandInput - {@link PromoteResourceShareCreatedFromPolicyCommandInput}
|
|
@@ -88,6 +92,8 @@ export interface PromoteResourceShareCreatedFromPolicyCommandOutput extends Prom
|
|
|
88
92
|
* <p>There isn't an existing managed permission defined in RAM that has the same IAM permissions as
|
|
89
93
|
* the resource-based policy attached to the resource. You should first run <a>PromotePermissionCreatedFromPolicy</a> to create that managed permission.</p>
|
|
90
94
|
*
|
|
95
|
+
* @throws {@link RAMServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
91
97
|
*
|
|
92
98
|
*/
|
|
93
99
|
export declare class PromoteResourceShareCreatedFromPolicyCommand extends $Command<PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -32,6 +32,33 @@ export interface RejectResourceShareInvitationCommandOutput extends RejectResour
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new RejectResourceShareInvitationCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // RejectResourceShareInvitationResponse
|
|
36
|
+
* // resourceShareInvitation: { // ResourceShareInvitation
|
|
37
|
+
* // resourceShareInvitationArn: "STRING_VALUE",
|
|
38
|
+
* // resourceShareName: "STRING_VALUE",
|
|
39
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
40
|
+
* // senderAccountId: "STRING_VALUE",
|
|
41
|
+
* // receiverAccountId: "STRING_VALUE",
|
|
42
|
+
* // invitationTimestamp: new Date("TIMESTAMP"),
|
|
43
|
+
* // status: "PENDING" || "ACCEPTED" || "REJECTED" || "EXPIRED",
|
|
44
|
+
* // resourceShareAssociations: [ // ResourceShareAssociationList
|
|
45
|
+
* // { // ResourceShareAssociation
|
|
46
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
47
|
+
* // resourceShareName: "STRING_VALUE",
|
|
48
|
+
* // associatedEntity: "STRING_VALUE",
|
|
49
|
+
* // associationType: "PRINCIPAL" || "RESOURCE",
|
|
50
|
+
* // status: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
|
|
51
|
+
* // statusMessage: "STRING_VALUE",
|
|
52
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // external: true || false,
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // receiverArn: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // clientToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
35
62
|
* ```
|
|
36
63
|
*
|
|
37
64
|
* @param RejectResourceShareInvitationCommandInput - {@link RejectResourceShareInvitationCommandInput}
|
|
@@ -76,6 +103,8 @@ export interface RejectResourceShareInvitationCommandOutput extends RejectResour
|
|
|
76
103
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
77
104
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
78
105
|
*
|
|
106
|
+
* @throws {@link RAMServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
79
108
|
*
|
|
80
109
|
*/
|
|
81
110
|
export declare class RejectResourceShareInvitationCommand extends $Command<RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -48,6 +48,21 @@ export interface ReplacePermissionAssociationsCommandOutput extends ReplacePermi
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new ReplacePermissionAssociationsCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // ReplacePermissionAssociationsResponse
|
|
52
|
+
* // replacePermissionAssociationsWork: { // ReplacePermissionAssociationsWork
|
|
53
|
+
* // id: "STRING_VALUE",
|
|
54
|
+
* // fromPermissionArn: "STRING_VALUE",
|
|
55
|
+
* // fromPermissionVersion: "STRING_VALUE",
|
|
56
|
+
* // toPermissionArn: "STRING_VALUE",
|
|
57
|
+
* // toPermissionVersion: "STRING_VALUE",
|
|
58
|
+
* // status: "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
59
|
+
* // statusMessage: "STRING_VALUE",
|
|
60
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
61
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // },
|
|
63
|
+
* // clientToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
51
66
|
* ```
|
|
52
67
|
*
|
|
53
68
|
* @param ReplacePermissionAssociationsCommandInput - {@link ReplacePermissionAssociationsCommandInput}
|
|
@@ -84,6 +99,8 @@ export interface ReplacePermissionAssociationsCommandOutput extends ReplacePermi
|
|
|
84
99
|
* @throws {@link UnknownResourceException} (client fault)
|
|
85
100
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
86
101
|
*
|
|
102
|
+
* @throws {@link RAMServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
87
104
|
*
|
|
88
105
|
*/
|
|
89
106
|
export declare class ReplacePermissionAssociationsCommand extends $Command<ReplacePermissionAssociationsCommandInput, ReplacePermissionAssociationsCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -35,6 +35,11 @@ export interface SetDefaultPermissionVersionCommandOutput extends SetDefaultPerm
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new SetDefaultPermissionVersionCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // SetDefaultPermissionVersionResponse
|
|
39
|
+
* // returnValue: true || false,
|
|
40
|
+
* // clientToken: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
38
43
|
* ```
|
|
39
44
|
*
|
|
40
45
|
* @param SetDefaultPermissionVersionCommandInput - {@link SetDefaultPermissionVersionCommandInput}
|
|
@@ -68,6 +73,8 @@ export interface SetDefaultPermissionVersionCommandOutput extends SetDefaultPerm
|
|
|
68
73
|
* @throws {@link UnknownResourceException} (client fault)
|
|
69
74
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
70
75
|
*
|
|
76
|
+
* @throws {@link RAMServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
71
78
|
*
|
|
72
79
|
*/
|
|
73
80
|
export declare class SetDefaultPermissionVersionCommand extends $Command<SetDefaultPermissionVersionCommandInput, SetDefaultPermissionVersionCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -40,6 +40,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new TagResourceCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -76,6 +78,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
76
78
|
* @throws {@link UnknownResourceException} (client fault)
|
|
77
79
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
78
80
|
*
|
|
81
|
+
* @throws {@link RAMServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
79
83
|
*
|
|
80
84
|
*/
|
|
81
85
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -35,6 +35,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new UntagResourceCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -60,6 +62,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
60
62
|
* @throws {@link UnknownResourceException} (client fault)
|
|
61
63
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
62
64
|
*
|
|
65
|
+
* @throws {@link RAMServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
63
67
|
*
|
|
64
68
|
*/
|
|
65
69
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -34,6 +34,27 @@ export interface UpdateResourceShareCommandOutput extends UpdateResourceShareRes
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UpdateResourceShareCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // UpdateResourceShareResponse
|
|
38
|
+
* // resourceShare: { // ResourceShare
|
|
39
|
+
* // resourceShareArn: "STRING_VALUE",
|
|
40
|
+
* // name: "STRING_VALUE",
|
|
41
|
+
* // owningAccountId: "STRING_VALUE",
|
|
42
|
+
* // allowExternalPrincipals: true || false,
|
|
43
|
+
* // status: "PENDING" || "ACTIVE" || "FAILED" || "DELETING" || "DELETED",
|
|
44
|
+
* // statusMessage: "STRING_VALUE",
|
|
45
|
+
* // tags: [ // TagList
|
|
46
|
+
* // { // Tag
|
|
47
|
+
* // key: "STRING_VALUE",
|
|
48
|
+
* // value: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
54
|
+
* // },
|
|
55
|
+
* // clientToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
37
58
|
* ```
|
|
38
59
|
*
|
|
39
60
|
* @param UpdateResourceShareCommandInput - {@link UpdateResourceShareCommandInput}
|
|
@@ -73,6 +94,8 @@ export interface UpdateResourceShareCommandOutput extends UpdateResourceShareRes
|
|
|
73
94
|
* @throws {@link UnknownResourceException} (client fault)
|
|
74
95
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
75
96
|
*
|
|
97
|
+
* @throws {@link RAMServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from RAM service.</p>
|
|
76
99
|
*
|
|
77
100
|
*/
|
|
78
101
|
export declare class UpdateResourceShareCommand extends $Command<UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput, RAMClientResolvedConfig> {
|
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.326.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.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.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",
|