@aws-sdk/client-ram 3.299.0 → 3.301.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 +4 -0
- package/dist-types/commands/AssociateResourceShareCommand.d.ts +10 -0
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +7 -0
- package/dist-types/commands/CreateResourceShareCommand.d.ts +20 -0
- package/dist-types/commands/DeleteResourceShareCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateResourceShareCommand.d.ts +10 -0
- package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +5 -0
- package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +1 -0
- package/dist-types/commands/GetPermissionCommand.d.ts +4 -0
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +8 -0
- package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +11 -0
- package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +10 -0
- package/dist-types/commands/GetResourceSharesCommand.d.ts +19 -0
- package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +6 -0
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +5 -0
- package/dist-types/commands/ListPrincipalsCommand.d.ts +13 -0
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +5 -0
- package/dist-types/commands/ListResourceTypesCommand.d.ts +5 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +14 -0
- package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +3 -0
- package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateResourceShareCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -28,6 +28,10 @@ export interface AcceptResourceShareInvitationCommandOutput extends AcceptResour
|
|
|
28
28
|
* import { RAMClient, AcceptResourceShareInvitationCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, AcceptResourceShareInvitationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
+
* const input = { // AcceptResourceShareInvitationRequest
|
|
32
|
+
* resourceShareInvitationArn: "STRING_VALUE", // required
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new AcceptResourceShareInvitationCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -28,6 +28,16 @@ export interface AssociateResourceShareCommandOutput extends AssociateResourceSh
|
|
|
28
28
|
* import { RAMClient, AssociateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, AssociateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
+
* const input = { // AssociateResourceShareRequest
|
|
32
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
33
|
+
* resourceArns: [ // ResourceArnList
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* principals: [ // PrincipalArnOrIdList
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* clientToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
31
41
|
* const command = new AssociateResourceShareCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -29,6 +29,13 @@ export interface AssociateResourceSharePermissionCommandOutput extends Associate
|
|
|
29
29
|
* import { RAMClient, AssociateResourceSharePermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
30
30
|
* // const { RAMClient, AssociateResourceSharePermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
31
31
|
* const client = new RAMClient(config);
|
|
32
|
+
* const input = { // AssociateResourceSharePermissionRequest
|
|
33
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
34
|
+
* permissionArn: "STRING_VALUE", // required
|
|
35
|
+
* replace: true || false,
|
|
36
|
+
* clientToken: "STRING_VALUE",
|
|
37
|
+
* permissionVersion: Number("int"),
|
|
38
|
+
* };
|
|
32
39
|
* const command = new AssociateResourceSharePermissionCommand(input);
|
|
33
40
|
* const response = await client.send(command);
|
|
34
41
|
* ```
|
|
@@ -33,6 +33,26 @@ export interface CreateResourceShareCommandOutput extends CreateResourceShareRes
|
|
|
33
33
|
* import { RAMClient, CreateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
34
34
|
* // const { RAMClient, CreateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
35
35
|
* const client = new RAMClient(config);
|
|
36
|
+
* const input = { // CreateResourceShareRequest
|
|
37
|
+
* name: "STRING_VALUE", // required
|
|
38
|
+
* resourceArns: [ // ResourceArnList
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* principals: [ // PrincipalArnOrIdList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* tags: [ // TagList
|
|
45
|
+
* { // Tag
|
|
46
|
+
* key: "STRING_VALUE",
|
|
47
|
+
* value: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* allowExternalPrincipals: true || false,
|
|
51
|
+
* clientToken: "STRING_VALUE",
|
|
52
|
+
* permissionArns: [ // PermissionArnList
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* };
|
|
36
56
|
* const command = new CreateResourceShareCommand(input);
|
|
37
57
|
* const response = await client.send(command);
|
|
38
58
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DeleteResourceShareCommandOutput extends DeleteResourceShareRes
|
|
|
28
28
|
* import { RAMClient, DeleteResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, DeleteResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
+
* const input = { // DeleteResourceShareRequest
|
|
32
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DeleteResourceShareCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface DisassociateResourceShareCommandOutput extends DisassociateReso
|
|
|
26
26
|
* import { RAMClient, DisassociateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, DisassociateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // DisassociateResourceShareRequest
|
|
30
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
31
|
+
* resourceArns: [ // ResourceArnList
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* principals: [ // PrincipalArnOrIdList
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
29
39
|
* const command = new DisassociateResourceShareCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DisassociateResourceSharePermissionCommandOutput extends Disass
|
|
|
28
28
|
* import { RAMClient, DisassociateResourceSharePermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, DisassociateResourceSharePermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
+
* const input = { // DisassociateResourceSharePermissionRequest
|
|
32
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
33
|
+
* permissionArn: "STRING_VALUE", // required
|
|
34
|
+
* clientToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DisassociateResourceSharePermissionCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -34,6 +34,7 @@ export interface EnableSharingWithAwsOrganizationCommandOutput extends EnableSha
|
|
|
34
34
|
* import { RAMClient, EnableSharingWithAwsOrganizationCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
35
35
|
* // const { RAMClient, EnableSharingWithAwsOrganizationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
36
36
|
* const client = new RAMClient(config);
|
|
37
|
+
* const input = {};
|
|
37
38
|
* const command = new EnableSharingWithAwsOrganizationCommand(input);
|
|
38
39
|
* const response = await client.send(command);
|
|
39
40
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetPermissionCommandOutput extends GetPermissionResponse, __Met
|
|
|
26
26
|
* import { RAMClient, GetPermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, GetPermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // GetPermissionRequest
|
|
30
|
+
* permissionArn: "STRING_VALUE", // required
|
|
31
|
+
* permissionVersion: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetPermissionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesRes
|
|
|
27
27
|
* import { RAMClient, GetResourcePoliciesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, GetResourcePoliciesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
+
* const input = { // GetResourcePoliciesRequest
|
|
31
|
+
* resourceArns: [ // ResourceArnList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* principal: "STRING_VALUE",
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* maxResults: Number("int"),
|
|
37
|
+
* };
|
|
30
38
|
* const command = new GetResourcePoliciesCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface GetResourceShareAssociationsCommandOutput extends GetResourceSh
|
|
|
26
26
|
* import { RAMClient, GetResourceShareAssociationsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, GetResourceShareAssociationsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // GetResourceShareAssociationsRequest
|
|
30
|
+
* associationType: "PRINCIPAL" || "RESOURCE", // required
|
|
31
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* resourceArn: "STRING_VALUE",
|
|
35
|
+
* principal: "STRING_VALUE",
|
|
36
|
+
* associationStatus: "ASSOCIATING" || "ASSOCIATED" || "FAILED" || "DISASSOCIATING" || "DISASSOCIATED",
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* };
|
|
29
40
|
* const command = new GetResourceShareAssociationsCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface GetResourceShareInvitationsCommandOutput extends GetResourceSha
|
|
|
26
26
|
* import { RAMClient, GetResourceShareInvitationsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, GetResourceShareInvitationsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // GetResourceShareInvitationsRequest
|
|
30
|
+
* resourceShareInvitationArns: [ // ResourceShareInvitationArnList
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* };
|
|
29
39
|
* const command = new GetResourceShareInvitationsCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -26,6 +26,25 @@ export interface GetResourceSharesCommandOutput extends GetResourceSharesRespons
|
|
|
26
26
|
* import { RAMClient, GetResourceSharesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, GetResourceSharesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // GetResourceSharesRequest
|
|
30
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* resourceShareStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING" || "DELETED",
|
|
34
|
+
* resourceOwner: "SELF" || "OTHER-ACCOUNTS", // required
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* tagFilters: [ // TagFilters
|
|
37
|
+
* { // TagFilter
|
|
38
|
+
* tagKey: "STRING_VALUE",
|
|
39
|
+
* tagValues: [ // TagValueList
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* maxResults: Number("int"),
|
|
46
|
+
* permissionArn: "STRING_VALUE",
|
|
47
|
+
* };
|
|
29
48
|
* const command = new GetResourceSharesCommand(input);
|
|
30
49
|
* const response = await client.send(command);
|
|
31
50
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListPendingInvitationResourcesCommandOutput extends ListPending
|
|
|
28
28
|
* import { RAMClient, ListPendingInvitationResourcesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, ListPendingInvitationResourcesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
+
* const input = { // ListPendingInvitationResourcesRequest
|
|
32
|
+
* resourceShareInvitationArn: "STRING_VALUE", // required
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* resourceRegionScope: "ALL" || "REGIONAL" || "GLOBAL",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListPendingInvitationResourcesCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListPermissionVersionsCommandOutput extends ListPermissionVersi
|
|
|
26
26
|
* import { RAMClient, ListPermissionVersionsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, ListPermissionVersionsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // ListPermissionVersionsRequest
|
|
30
|
+
* permissionArn: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListPermissionVersionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
|
|
|
27
27
|
* import { RAMClient, ListPermissionsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, ListPermissionsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
+
* const input = { // ListPermissionsRequest
|
|
31
|
+
* resourceType: "STRING_VALUE",
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListPermissionsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,19 @@ export interface ListPrincipalsCommandOutput extends ListPrincipalsResponse, __M
|
|
|
27
27
|
* import { RAMClient, ListPrincipalsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, ListPrincipalsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
+
* const input = { // ListPrincipalsRequest
|
|
31
|
+
* resourceOwner: "SELF" || "OTHER-ACCOUNTS", // required
|
|
32
|
+
* resourceArn: "STRING_VALUE",
|
|
33
|
+
* principals: [ // PrincipalArnOrIdList
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* resourceType: "STRING_VALUE",
|
|
37
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* };
|
|
30
43
|
* const command = new ListPrincipalsCommand(input);
|
|
31
44
|
* const response = await client.send(command);
|
|
32
45
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListResourceSharePermissionsCommandOutput extends ListResourceS
|
|
|
26
26
|
* import { RAMClient, ListResourceSharePermissionsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, ListResourceSharePermissionsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // ListResourceSharePermissionsRequest
|
|
30
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListResourceSharePermissionsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListResourceTypesCommandOutput extends ListResourceTypesRespons
|
|
|
26
26
|
* import { RAMClient, ListResourceTypesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, ListResourceTypesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // ListResourceTypesRequest
|
|
30
|
+
* nextToken: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* resourceRegionScope: "ALL" || "REGIONAL" || "GLOBAL",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListResourceTypesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,20 @@ export interface ListResourcesCommandOutput extends ListResourcesResponse, __Met
|
|
|
27
27
|
* import { RAMClient, ListResourcesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, ListResourcesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
+
* const input = { // ListResourcesRequest
|
|
31
|
+
* resourceOwner: "SELF" || "OTHER-ACCOUNTS", // required
|
|
32
|
+
* principal: "STRING_VALUE",
|
|
33
|
+
* resourceType: "STRING_VALUE",
|
|
34
|
+
* resourceArns: [ // ResourceArnList
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* resourceRegionScope: "ALL" || "REGIONAL" || "GLOBAL",
|
|
43
|
+
* };
|
|
30
44
|
* const command = new ListResourcesCommand(input);
|
|
31
45
|
* const response = await client.send(command);
|
|
32
46
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface PromoteResourceShareCreatedFromPolicyCommandOutput extends Prom
|
|
|
31
31
|
* import { RAMClient, PromoteResourceShareCreatedFromPolicyCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
32
32
|
* // const { RAMClient, PromoteResourceShareCreatedFromPolicyCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
33
33
|
* const client = new RAMClient(config);
|
|
34
|
+
* const input = { // PromoteResourceShareCreatedFromPolicyRequest
|
|
35
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new PromoteResourceShareCreatedFromPolicyCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface RejectResourceShareInvitationCommandOutput extends RejectResour
|
|
|
26
26
|
* import { RAMClient, RejectResourceShareInvitationCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, RejectResourceShareInvitationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // RejectResourceShareInvitationRequest
|
|
30
|
+
* resourceShareInvitationArn: "STRING_VALUE", // required
|
|
31
|
+
* clientToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new RejectResourceShareInvitationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
27
27
|
* import { RAMClient, TagResourceCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, TagResourceCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
+
* const input = { // TagResourceRequest
|
|
31
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
32
|
+
* tags: [ // TagList // required
|
|
33
|
+
* { // Tag
|
|
34
|
+
* key: "STRING_VALUE",
|
|
35
|
+
* value: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
30
39
|
* const command = new TagResourceCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { RAMClient, UntagResourceCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, UntagResourceCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateResourceShareCommandOutput extends UpdateResourceShareRes
|
|
|
26
26
|
* import { RAMClient, UpdateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, UpdateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
+
* const input = { // UpdateResourceShareRequest
|
|
30
|
+
* resourceShareArn: "STRING_VALUE", // required
|
|
31
|
+
* name: "STRING_VALUE",
|
|
32
|
+
* allowExternalPrincipals: true || false,
|
|
33
|
+
* clientToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateResourceShareCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
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.301.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|