@aws-sdk/client-ram 3.40.0 → 3.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/README.md +5 -6
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +19 -2
- package/dist-cjs/protocols/Aws_restJson1.js +29 -0
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +15 -0
- package/dist-es/protocols/Aws_restJson1.js +65 -36
- package/dist-types/RAM.d.ts +55 -41
- package/dist-types/RAMClient.d.ts +5 -6
- package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +4 -2
- package/dist-types/commands/AssociateResourceShareCommand.d.ts +4 -2
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +5 -2
- package/dist-types/commands/CreateResourceShareCommand.d.ts +4 -4
- package/dist-types/commands/DeleteResourceShareCommand.d.ts +4 -2
- package/dist-types/commands/DisassociateResourceShareCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +4 -2
- package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +10 -3
- package/dist-types/commands/GetPermissionCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +3 -2
- package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +2 -2
- package/dist-types/commands/GetResourceSharesCommand.d.ts +2 -2
- package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +4 -3
- package/dist-types/commands/ListPermissionsCommand.d.ts +3 -2
- package/dist-types/commands/ListPrincipalsCommand.d.ts +2 -2
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceTypesCommand.d.ts +2 -2
- package/dist-types/commands/ListResourcesCommand.d.ts +1 -1
- package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +7 -14
- package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateResourceShareCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +848 -263
- package/dist-types/ts3.4/models/models_0.d.ts +29 -0
- package/package.json +6 -6
|
@@ -7,19 +7,12 @@ export interface PromoteResourceShareCreatedFromPolicyCommandInput extends Promo
|
|
|
7
7
|
export interface PromoteResourceShareCreatedFromPolicyCommandOutput extends PromoteResourceShareCreatedFromPolicyResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* <p>
|
|
14
|
-
* share, it becomes
|
|
15
|
-
*
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>Visible to all principals that it is shared with.</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>Modifiable in RAM.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
10
|
+
* <p>When you attach a resource-based permission policy to a resource, it automatically
|
|
11
|
+
* creates a resource share. However, resource shares created this way are visible only to the resource share
|
|
12
|
+
* owner, and the resource share can't be modified in RAM.</p>
|
|
13
|
+
* <p>You can use this operation to promote the resource share to a full RAM resource share. When you promote
|
|
14
|
+
* a resource share, you can then manage the resource share in RAM and it becomes visible to all of the
|
|
15
|
+
* principals you shared it with.</p>
|
|
23
16
|
* @example
|
|
24
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
18
|
* ```javascript
|
|
@@ -32,7 +25,7 @@ export interface PromoteResourceShareCreatedFromPolicyCommandOutput extends Prom
|
|
|
32
25
|
*
|
|
33
26
|
* @see {@link PromoteResourceShareCreatedFromPolicyCommandInput} for command's `input` shape.
|
|
34
27
|
* @see {@link PromoteResourceShareCreatedFromPolicyCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link RAMClientResolvedConfig | config} for
|
|
28
|
+
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
36
29
|
*
|
|
37
30
|
*/
|
|
38
31
|
export declare class PromoteResourceShareCreatedFromPolicyCommand extends $Command<PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface RejectResourceShareInvitationCommandOutput extends RejectResour
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link RejectResourceShareInvitationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link RejectResourceShareInvitationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RAMClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class RejectResourceShareInvitationCommand extends $Command<RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -7,7 +7,8 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
7
7
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Adds the specified
|
|
10
|
+
* <p>Adds the specified tag keys and values to the specified resource share. The tags are attached
|
|
11
|
+
* only to the resource share, not to the resources that are in the resource share.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -20,7 +21,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
20
21
|
*
|
|
21
22
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
23
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RAMClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
24
25
|
*
|
|
25
26
|
*/
|
|
26
27
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -7,7 +7,7 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
|
7
7
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Removes the specified
|
|
10
|
+
* <p>Removes the specified tag key and value pairs from the specified resource share.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -20,7 +20,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RAMClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RAMClientResolvedConfig> {
|
|
@@ -7,7 +7,7 @@ export interface UpdateResourceShareCommandInput extends UpdateResourceShareRequ
|
|
|
7
7
|
export interface UpdateResourceShareCommandOutput extends UpdateResourceShareResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Modifies some of the properties of the specified resource share.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -20,7 +20,7 @@ export interface UpdateResourceShareCommandOutput extends UpdateResourceShareRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateResourceShareCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateResourceShareCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link RAMClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateResourceShareCommand extends $Command<UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput, RAMClientResolvedConfig> {
|