@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.
Files changed (37) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +5 -6
  3. package/dist-cjs/endpoints.js +9 -0
  4. package/dist-cjs/models/models_0.js +19 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +29 -0
  6. package/dist-es/endpoints.js +9 -0
  7. package/dist-es/models/models_0.js +15 -0
  8. package/dist-es/protocols/Aws_restJson1.js +65 -36
  9. package/dist-types/RAM.d.ts +55 -41
  10. package/dist-types/RAMClient.d.ts +5 -6
  11. package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +4 -2
  12. package/dist-types/commands/AssociateResourceShareCommand.d.ts +4 -2
  13. package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +5 -2
  14. package/dist-types/commands/CreateResourceShareCommand.d.ts +4 -4
  15. package/dist-types/commands/DeleteResourceShareCommand.d.ts +4 -2
  16. package/dist-types/commands/DisassociateResourceShareCommand.d.ts +1 -1
  17. package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +4 -2
  18. package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +10 -3
  19. package/dist-types/commands/GetPermissionCommand.d.ts +1 -1
  20. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +3 -2
  21. package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +2 -2
  22. package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +2 -2
  23. package/dist-types/commands/GetResourceSharesCommand.d.ts +2 -2
  24. package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +4 -3
  25. package/dist-types/commands/ListPermissionsCommand.d.ts +3 -2
  26. package/dist-types/commands/ListPrincipalsCommand.d.ts +2 -2
  27. package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListResourceTypesCommand.d.ts +2 -2
  29. package/dist-types/commands/ListResourcesCommand.d.ts +1 -1
  30. package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +7 -14
  31. package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +1 -1
  32. package/dist-types/commands/TagResourceCommand.d.ts +3 -2
  33. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  34. package/dist-types/commands/UpdateResourceShareCommand.d.ts +2 -2
  35. package/dist-types/models/models_0.d.ts +848 -263
  36. package/dist-types/ts3.4/models/models_0.d.ts +29 -0
  37. 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>Resource shares that were created by attaching a policy to a resource are visible only
11
- * to the resource share owner, and the resource share cannot be modified in RAM.</p>
12
- *
13
- * <p>Use this API action to promote the resource share. When you promote the resource
14
- * share, it becomes:</p>
15
- * <ul>
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 command's `input` shape.
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 command's `input` shape.
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 tags to the specified resource share that you own.</p>
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 command's `input` shape.
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 tags from the specified resource share that you own.</p>
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 command's `input` shape.
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>Updates the specified resource share that you own.</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 command's `input` shape.
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> {