@aws-sdk/client-ram 3.312.0 → 3.316.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/README.md +76 -5
- package/dist-cjs/RAM.js +47 -350
- package/dist-cjs/commands/CreatePermissionCommand.js +45 -0
- package/dist-cjs/commands/CreatePermissionVersionCommand.js +45 -0
- package/dist-cjs/commands/DeletePermissionCommand.js +45 -0
- package/dist-cjs/commands/DeletePermissionVersionCommand.js +45 -0
- package/dist-cjs/commands/ListPermissionAssociationsCommand.js +45 -0
- package/dist-cjs/commands/ListReplacePermissionAssociationsWorkCommand.js +45 -0
- package/dist-cjs/commands/PromotePermissionCreatedFromPolicyCommand.js +45 -0
- package/dist-cjs/commands/ReplacePermissionAssociationsCommand.js +45 -0
- package/dist-cjs/commands/SetDefaultPermissionVersionCommand.js +45 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +104 -1
- package/dist-cjs/pagination/ListPermissionAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListReplacePermissionAssociationsWorkPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1404 -756
- package/dist-es/RAM.js +47 -350
- package/dist-es/commands/CreatePermissionCommand.js +41 -0
- package/dist-es/commands/CreatePermissionVersionCommand.js +41 -0
- package/dist-es/commands/DeletePermissionCommand.js +41 -0
- package/dist-es/commands/DeletePermissionVersionCommand.js +41 -0
- package/dist-es/commands/ListPermissionAssociationsCommand.js +41 -0
- package/dist-es/commands/ListReplacePermissionAssociationsWorkCommand.js +41 -0
- package/dist-es/commands/PromotePermissionCreatedFromPolicyCommand.js +41 -0
- package/dist-es/commands/ReplacePermissionAssociationsCommand.js +41 -0
- package/dist-es/commands/SetDefaultPermissionVersionCommand.js +41 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +97 -0
- package/dist-es/pagination/ListPermissionAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListReplacePermissionAssociationsWorkPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1327 -698
- package/dist-types/RAM.d.ts +114 -113
- package/dist-types/RAMClient.d.ts +15 -7
- package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +16 -12
- package/dist-types/commands/AssociateResourceShareCommand.d.ts +19 -14
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +9 -7
- package/dist-types/commands/CreatePermissionCommand.d.ts +109 -0
- package/dist-types/commands/CreatePermissionVersionCommand.d.ts +106 -0
- package/dist-types/commands/CreateResourceShareCommand.d.ts +19 -13
- package/dist-types/commands/DeletePermissionCommand.d.ts +91 -0
- package/dist-types/commands/DeletePermissionVersionCommand.d.ts +96 -0
- package/dist-types/commands/DeleteResourceShareCommand.d.ts +19 -14
- package/dist-types/commands/DisassociateResourceShareCommand.d.ts +19 -13
- package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +14 -11
- package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +14 -11
- package/dist-types/commands/GetPermissionCommand.d.ts +9 -7
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +10 -6
- package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +13 -8
- package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +14 -8
- package/dist-types/commands/GetResourceSharesCommand.d.ts +11 -6
- package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +15 -9
- package/dist-types/commands/ListPermissionAssociationsCommand.d.ts +91 -0
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +11 -7
- package/dist-types/commands/ListPermissionsCommand.d.ts +9 -5
- package/dist-types/commands/ListPrincipalsCommand.d.ts +10 -6
- package/dist-types/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +84 -0
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +11 -7
- package/dist-types/commands/ListResourceTypesCommand.d.ts +7 -4
- package/dist-types/commands/ListResourcesCommand.d.ts +11 -7
- package/dist-types/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +119 -0
- package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +34 -14
- package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +16 -12
- package/dist-types/commands/ReplacePermissionAssociationsCommand.d.ts +108 -0
- package/dist-types/commands/SetDefaultPermissionVersionCommand.d.ts +92 -0
- package/dist-types/commands/TagResourceCommand.d.ts +17 -11
- package/dist-types/commands/UntagResourceCommand.d.ts +14 -5
- package/dist-types/commands/UpdateResourceShareCommand.d.ts +13 -11
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1286 -195
- package/dist-types/pagination/ListPermissionAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListReplacePermissionAssociationsWorkPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/RAM.d.ts +167 -1
- package/dist-types/ts3.4/RAMClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreatePermissionVersionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeletePermissionVersionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListPermissionAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ReplacePermissionAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/SetDefaultPermissionVersionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +234 -19
- package/dist-types/ts3.4/pagination/ListPermissionAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListReplacePermissionAssociationsWorkPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +6 -6
package/dist-types/RAM.d.ts
CHANGED
|
@@ -2,7 +2,11 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
|
|
3
3
|
import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
|
|
4
4
|
import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "./commands/AssociateResourceSharePermissionCommand";
|
|
5
|
+
import { CreatePermissionCommandInput, CreatePermissionCommandOutput } from "./commands/CreatePermissionCommand";
|
|
6
|
+
import { CreatePermissionVersionCommandInput, CreatePermissionVersionCommandOutput } from "./commands/CreatePermissionVersionCommand";
|
|
5
7
|
import { CreateResourceShareCommandInput, CreateResourceShareCommandOutput } from "./commands/CreateResourceShareCommand";
|
|
8
|
+
import { DeletePermissionCommandInput, DeletePermissionCommandOutput } from "./commands/DeletePermissionCommand";
|
|
9
|
+
import { DeletePermissionVersionCommandInput, DeletePermissionVersionCommandOutput } from "./commands/DeletePermissionVersionCommand";
|
|
6
10
|
import { DeleteResourceShareCommandInput, DeleteResourceShareCommandOutput } from "./commands/DeleteResourceShareCommand";
|
|
7
11
|
import { DisassociateResourceShareCommandInput, DisassociateResourceShareCommandOutput } from "./commands/DisassociateResourceShareCommand";
|
|
8
12
|
import { DisassociateResourceSharePermissionCommandInput, DisassociateResourceSharePermissionCommandOutput } from "./commands/DisassociateResourceSharePermissionCommand";
|
|
@@ -13,254 +17,251 @@ import { GetResourceShareAssociationsCommandInput, GetResourceShareAssociationsC
|
|
|
13
17
|
import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCommandOutput } from "./commands/GetResourceShareInvitationsCommand";
|
|
14
18
|
import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "./commands/GetResourceSharesCommand";
|
|
15
19
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
|
|
20
|
+
import { ListPermissionAssociationsCommandInput, ListPermissionAssociationsCommandOutput } from "./commands/ListPermissionAssociationsCommand";
|
|
16
21
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
|
|
17
22
|
import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "./commands/ListPermissionVersionsCommand";
|
|
18
23
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
|
|
24
|
+
import { ListReplacePermissionAssociationsWorkCommandInput, ListReplacePermissionAssociationsWorkCommandOutput } from "./commands/ListReplacePermissionAssociationsWorkCommand";
|
|
19
25
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
20
26
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
|
|
21
27
|
import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "./commands/ListResourceTypesCommand";
|
|
28
|
+
import { PromotePermissionCreatedFromPolicyCommandInput, PromotePermissionCreatedFromPolicyCommandOutput } from "./commands/PromotePermissionCreatedFromPolicyCommand";
|
|
22
29
|
import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
|
|
23
30
|
import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "./commands/RejectResourceShareInvitationCommand";
|
|
31
|
+
import { ReplacePermissionAssociationsCommandInput, ReplacePermissionAssociationsCommandOutput } from "./commands/ReplacePermissionAssociationsCommand";
|
|
32
|
+
import { SetDefaultPermissionVersionCommandInput, SetDefaultPermissionVersionCommandOutput } from "./commands/SetDefaultPermissionVersionCommand";
|
|
24
33
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
25
34
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
26
35
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
27
36
|
import { RAMClient } from "./RAMClient";
|
|
28
|
-
|
|
29
|
-
* @public
|
|
30
|
-
* <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
|
|
31
|
-
* descriptions and syntax for each of the actions and data types in RAM. RAM is a
|
|
32
|
-
* service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you
|
|
33
|
-
* have multiple Amazon Web Services accounts, you can use RAM to share those resources with other
|
|
34
|
-
* accounts. If you use Organizations to manage your accounts, then you share your resources
|
|
35
|
-
* with your organization or organizational units (OUs). For supported resource types, you
|
|
36
|
-
* can also share resources with individual Identity and Access Management (IAM) roles an users. </p>
|
|
37
|
-
* <p>To learn more about RAM, see the following resources:</p>
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
|
|
42
|
-
* </p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <a href="https://docs.aws.amazon.com/ram/latest/userguide/">Resource Access Manager User
|
|
47
|
-
* Guide</a>
|
|
48
|
-
* </p>
|
|
49
|
-
* </li>
|
|
50
|
-
* </ul>
|
|
51
|
-
*/
|
|
52
|
-
export declare class RAM extends RAMClient {
|
|
37
|
+
export interface RAM {
|
|
53
38
|
/**
|
|
54
|
-
* @
|
|
55
|
-
* <p>Accepts an invitation to a resource share from another Amazon Web Services account. After you accept the
|
|
56
|
-
* invitation, the resources included in the resource share are available to interact with in the
|
|
57
|
-
* relevant Amazon Web Services Management Consoles and tools.</p>
|
|
39
|
+
* @see {@link AcceptResourceShareInvitationCommand}
|
|
58
40
|
*/
|
|
59
41
|
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options?: __HttpHandlerOptions): Promise<AcceptResourceShareInvitationCommandOutput>;
|
|
60
42
|
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
|
|
61
43
|
acceptResourceShareInvitation(args: AcceptResourceShareInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptResourceShareInvitationCommandOutput) => void): void;
|
|
62
44
|
/**
|
|
63
|
-
* @
|
|
64
|
-
* <p>Adds the specified list of principals and list of resources to a resource share. Principals that
|
|
65
|
-
* already have access to this resource share immediately receive access to the added resources.
|
|
66
|
-
* Newly added principals immediately receive access to the resources shared in this resource share. </p>
|
|
45
|
+
* @see {@link AssociateResourceShareCommand}
|
|
67
46
|
*/
|
|
68
47
|
associateResourceShare(args: AssociateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<AssociateResourceShareCommandOutput>;
|
|
69
48
|
associateResourceShare(args: AssociateResourceShareCommandInput, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
|
|
70
49
|
associateResourceShare(args: AssociateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceShareCommandOutput) => void): void;
|
|
71
50
|
/**
|
|
72
|
-
* @
|
|
73
|
-
* <p>Adds or replaces the RAM permission for a resource type included in a resource share. You can
|
|
74
|
-
* have exactly one permission associated with each resource type in the resource share. You can add
|
|
75
|
-
* a new RAM permission only if there are currently no resources of that resource type
|
|
76
|
-
* currently in the resource share.</p>
|
|
51
|
+
* @see {@link AssociateResourceSharePermissionCommand}
|
|
77
52
|
*/
|
|
78
53
|
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options?: __HttpHandlerOptions): Promise<AssociateResourceSharePermissionCommandOutput>;
|
|
79
54
|
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
|
|
80
55
|
associateResourceSharePermission(args: AssociateResourceSharePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void): void;
|
|
81
56
|
/**
|
|
82
|
-
* @
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
*
|
|
89
|
-
|
|
90
|
-
|
|
57
|
+
* @see {@link CreatePermissionCommand}
|
|
58
|
+
*/
|
|
59
|
+
createPermission(args: CreatePermissionCommandInput, options?: __HttpHandlerOptions): Promise<CreatePermissionCommandOutput>;
|
|
60
|
+
createPermission(args: CreatePermissionCommandInput, cb: (err: any, data?: CreatePermissionCommandOutput) => void): void;
|
|
61
|
+
createPermission(args: CreatePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePermissionCommandOutput) => void): void;
|
|
62
|
+
/**
|
|
63
|
+
* @see {@link CreatePermissionVersionCommand}
|
|
64
|
+
*/
|
|
65
|
+
createPermissionVersion(args: CreatePermissionVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreatePermissionVersionCommandOutput>;
|
|
66
|
+
createPermissionVersion(args: CreatePermissionVersionCommandInput, cb: (err: any, data?: CreatePermissionVersionCommandOutput) => void): void;
|
|
67
|
+
createPermissionVersion(args: CreatePermissionVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePermissionVersionCommandOutput) => void): void;
|
|
68
|
+
/**
|
|
69
|
+
* @see {@link CreateResourceShareCommand}
|
|
91
70
|
*/
|
|
92
71
|
createResourceShare(args: CreateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceShareCommandOutput>;
|
|
93
72
|
createResourceShare(args: CreateResourceShareCommandInput, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
|
|
94
73
|
createResourceShare(args: CreateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
|
|
95
74
|
/**
|
|
96
|
-
* @
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
75
|
+
* @see {@link DeletePermissionCommand}
|
|
76
|
+
*/
|
|
77
|
+
deletePermission(args: DeletePermissionCommandInput, options?: __HttpHandlerOptions): Promise<DeletePermissionCommandOutput>;
|
|
78
|
+
deletePermission(args: DeletePermissionCommandInput, cb: (err: any, data?: DeletePermissionCommandOutput) => void): void;
|
|
79
|
+
deletePermission(args: DeletePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePermissionCommandOutput) => void): void;
|
|
80
|
+
/**
|
|
81
|
+
* @see {@link DeletePermissionVersionCommand}
|
|
82
|
+
*/
|
|
83
|
+
deletePermissionVersion(args: DeletePermissionVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeletePermissionVersionCommandOutput>;
|
|
84
|
+
deletePermissionVersion(args: DeletePermissionVersionCommandInput, cb: (err: any, data?: DeletePermissionVersionCommandOutput) => void): void;
|
|
85
|
+
deletePermissionVersion(args: DeletePermissionVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePermissionVersionCommandOutput) => void): void;
|
|
86
|
+
/**
|
|
87
|
+
* @see {@link DeleteResourceShareCommand}
|
|
100
88
|
*/
|
|
101
89
|
deleteResourceShare(args: DeleteResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceShareCommandOutput>;
|
|
102
90
|
deleteResourceShare(args: DeleteResourceShareCommandInput, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
|
|
103
91
|
deleteResourceShare(args: DeleteResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceShareCommandOutput) => void): void;
|
|
104
92
|
/**
|
|
105
|
-
* @
|
|
106
|
-
* <p>Disassociates the specified principals or resources from the specified resource share.</p>
|
|
93
|
+
* @see {@link DisassociateResourceShareCommand}
|
|
107
94
|
*/
|
|
108
95
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateResourceShareCommandOutput>;
|
|
109
96
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
|
|
110
97
|
disassociateResourceShare(args: DisassociateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceShareCommandOutput) => void): void;
|
|
111
98
|
/**
|
|
112
|
-
* @
|
|
113
|
-
* <p>Disassociates an RAM permission from a resource share. Permission changes take effect
|
|
114
|
-
* immediately. You can remove a RAM permission from a resource share only if there are currently
|
|
115
|
-
* no resources of the relevant resource type currently attached to the resource share.</p>
|
|
99
|
+
* @see {@link DisassociateResourceSharePermissionCommand}
|
|
116
100
|
*/
|
|
117
101
|
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateResourceSharePermissionCommandOutput>;
|
|
118
102
|
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
|
|
119
103
|
disassociateResourceSharePermission(args: DisassociateResourceSharePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateResourceSharePermissionCommandOutput) => void): void;
|
|
120
104
|
/**
|
|
121
|
-
* @
|
|
122
|
-
* <p>Enables resource sharing within your organization in Organizations. Calling this operation
|
|
123
|
-
* enables RAM to retrieve information about the organization and its structure. This
|
|
124
|
-
* lets you share resources with all of the accounts in an organization by specifying the
|
|
125
|
-
* organization's ID, or all of the accounts in an organizational unit (OU) by specifying
|
|
126
|
-
* the OU's ID. Until you enable sharing within the organization, you can specify only
|
|
127
|
-
* individual Amazon Web Services accounts, or for supported resource types, IAM users and
|
|
128
|
-
* roles.</p>
|
|
129
|
-
* <p>You must call this operation from an IAM user or role in the organization's
|
|
130
|
-
* management account.</p>
|
|
105
|
+
* @see {@link EnableSharingWithAwsOrganizationCommand}
|
|
131
106
|
*/
|
|
132
107
|
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<EnableSharingWithAwsOrganizationCommandOutput>;
|
|
133
108
|
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
|
|
134
109
|
enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSharingWithAwsOrganizationCommandOutput) => void): void;
|
|
135
110
|
/**
|
|
136
|
-
* @
|
|
137
|
-
* <p>Gets the contents of an RAM permission in JSON format.</p>
|
|
111
|
+
* @see {@link GetPermissionCommand}
|
|
138
112
|
*/
|
|
139
113
|
getPermission(args: GetPermissionCommandInput, options?: __HttpHandlerOptions): Promise<GetPermissionCommandOutput>;
|
|
140
114
|
getPermission(args: GetPermissionCommandInput, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
|
|
141
115
|
getPermission(args: GetPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPermissionCommandOutput) => void): void;
|
|
142
116
|
/**
|
|
143
|
-
* @
|
|
144
|
-
* <p>Retrieves the resource policies for the specified resources that you own and have
|
|
145
|
-
* shared.</p>
|
|
117
|
+
* @see {@link GetResourcePoliciesCommand}
|
|
146
118
|
*/
|
|
147
119
|
getResourcePolicies(args: GetResourcePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePoliciesCommandOutput>;
|
|
148
120
|
getResourcePolicies(args: GetResourcePoliciesCommandInput, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
149
121
|
getResourcePolicies(args: GetResourcePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
150
122
|
/**
|
|
151
|
-
* @
|
|
152
|
-
* <p>Retrieves the resource and principal associations for resource shares that you own.</p>
|
|
123
|
+
* @see {@link GetResourceShareAssociationsCommand}
|
|
153
124
|
*/
|
|
154
125
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceShareAssociationsCommandOutput>;
|
|
155
126
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
|
|
156
127
|
getResourceShareAssociations(args: GetResourceShareAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceShareAssociationsCommandOutput) => void): void;
|
|
157
128
|
/**
|
|
158
|
-
* @
|
|
159
|
-
* <p>Retrieves details about invitations that you have received for resource shares.</p>
|
|
129
|
+
* @see {@link GetResourceShareInvitationsCommand}
|
|
160
130
|
*/
|
|
161
131
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceShareInvitationsCommandOutput>;
|
|
162
132
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
|
|
163
133
|
getResourceShareInvitations(args: GetResourceShareInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceShareInvitationsCommandOutput) => void): void;
|
|
164
134
|
/**
|
|
165
|
-
* @
|
|
166
|
-
* <p>Retrieves details about the resource shares that you own or that are shared with you.</p>
|
|
135
|
+
* @see {@link GetResourceSharesCommand}
|
|
167
136
|
*/
|
|
168
137
|
getResourceShares(args: GetResourceSharesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceSharesCommandOutput>;
|
|
169
138
|
getResourceShares(args: GetResourceSharesCommandInput, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
|
|
170
139
|
getResourceShares(args: GetResourceSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceSharesCommandOutput) => void): void;
|
|
171
140
|
/**
|
|
172
|
-
* @
|
|
173
|
-
* <p>Lists the resources in a resource share that is shared with you but for which the invitation is
|
|
174
|
-
* still <code>PENDING</code>. That means that you haven't accepted or rejected the
|
|
175
|
-
* invitation and the invitation hasn't expired.</p>
|
|
141
|
+
* @see {@link ListPendingInvitationResourcesCommand}
|
|
176
142
|
*/
|
|
177
143
|
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListPendingInvitationResourcesCommandOutput>;
|
|
178
144
|
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
|
|
179
145
|
listPendingInvitationResources(args: ListPendingInvitationResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void): void;
|
|
180
146
|
/**
|
|
181
|
-
* @
|
|
182
|
-
|
|
183
|
-
|
|
147
|
+
* @see {@link ListPermissionAssociationsCommand}
|
|
148
|
+
*/
|
|
149
|
+
listPermissionAssociations(args: ListPermissionAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionAssociationsCommandOutput>;
|
|
150
|
+
listPermissionAssociations(args: ListPermissionAssociationsCommandInput, cb: (err: any, data?: ListPermissionAssociationsCommandOutput) => void): void;
|
|
151
|
+
listPermissionAssociations(args: ListPermissionAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionAssociationsCommandOutput) => void): void;
|
|
152
|
+
/**
|
|
153
|
+
* @see {@link ListPermissionsCommand}
|
|
184
154
|
*/
|
|
185
155
|
listPermissions(args: ListPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionsCommandOutput>;
|
|
186
156
|
listPermissions(args: ListPermissionsCommandInput, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
187
157
|
listPermissions(args: ListPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionsCommandOutput) => void): void;
|
|
188
158
|
/**
|
|
189
|
-
* @
|
|
190
|
-
* <p>Lists the available versions of the specified RAM permission.</p>
|
|
159
|
+
* @see {@link ListPermissionVersionsCommand}
|
|
191
160
|
*/
|
|
192
161
|
listPermissionVersions(args: ListPermissionVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPermissionVersionsCommandOutput>;
|
|
193
162
|
listPermissionVersions(args: ListPermissionVersionsCommandInput, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
194
163
|
listPermissionVersions(args: ListPermissionVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPermissionVersionsCommandOutput) => void): void;
|
|
195
164
|
/**
|
|
196
|
-
* @
|
|
197
|
-
* <p>Lists the principals that you are sharing resources with or that are sharing resources
|
|
198
|
-
* with you.</p>
|
|
165
|
+
* @see {@link ListPrincipalsCommand}
|
|
199
166
|
*/
|
|
200
167
|
listPrincipals(args: ListPrincipalsCommandInput, options?: __HttpHandlerOptions): Promise<ListPrincipalsCommandOutput>;
|
|
201
168
|
listPrincipals(args: ListPrincipalsCommandInput, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
202
169
|
listPrincipals(args: ListPrincipalsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPrincipalsCommandOutput) => void): void;
|
|
203
170
|
/**
|
|
204
|
-
* @
|
|
205
|
-
|
|
206
|
-
|
|
171
|
+
* @see {@link ListReplacePermissionAssociationsWorkCommand}
|
|
172
|
+
*/
|
|
173
|
+
listReplacePermissionAssociationsWork(args: ListReplacePermissionAssociationsWorkCommandInput, options?: __HttpHandlerOptions): Promise<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
174
|
+
listReplacePermissionAssociationsWork(args: ListReplacePermissionAssociationsWorkCommandInput, cb: (err: any, data?: ListReplacePermissionAssociationsWorkCommandOutput) => void): void;
|
|
175
|
+
listReplacePermissionAssociationsWork(args: ListReplacePermissionAssociationsWorkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReplacePermissionAssociationsWorkCommandOutput) => void): void;
|
|
176
|
+
/**
|
|
177
|
+
* @see {@link ListResourcesCommand}
|
|
207
178
|
*/
|
|
208
179
|
listResources(args: ListResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesCommandOutput>;
|
|
209
180
|
listResources(args: ListResourcesCommandInput, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
210
181
|
listResources(args: ListResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesCommandOutput) => void): void;
|
|
211
182
|
/**
|
|
212
|
-
* @
|
|
213
|
-
* <p>Lists the RAM permissions that are associated with a resource share.</p>
|
|
183
|
+
* @see {@link ListResourceSharePermissionsCommand}
|
|
214
184
|
*/
|
|
215
185
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceSharePermissionsCommandOutput>;
|
|
216
186
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
|
|
217
187
|
listResourceSharePermissions(args: ListResourceSharePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceSharePermissionsCommandOutput) => void): void;
|
|
218
188
|
/**
|
|
219
|
-
* @
|
|
220
|
-
* <p>Lists the resource types that can be shared by RAM.</p>
|
|
189
|
+
* @see {@link ListResourceTypesCommand}
|
|
221
190
|
*/
|
|
222
191
|
listResourceTypes(args: ListResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceTypesCommandOutput>;
|
|
223
192
|
listResourceTypes(args: ListResourceTypesCommandInput, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
|
|
224
193
|
listResourceTypes(args: ListResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceTypesCommandOutput) => void): void;
|
|
225
194
|
/**
|
|
226
|
-
* @
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
*
|
|
195
|
+
* @see {@link PromotePermissionCreatedFromPolicyCommand}
|
|
196
|
+
*/
|
|
197
|
+
promotePermissionCreatedFromPolicy(args: PromotePermissionCreatedFromPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PromotePermissionCreatedFromPolicyCommandOutput>;
|
|
198
|
+
promotePermissionCreatedFromPolicy(args: PromotePermissionCreatedFromPolicyCommandInput, cb: (err: any, data?: PromotePermissionCreatedFromPolicyCommandOutput) => void): void;
|
|
199
|
+
promotePermissionCreatedFromPolicy(args: PromotePermissionCreatedFromPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PromotePermissionCreatedFromPolicyCommandOutput) => void): void;
|
|
200
|
+
/**
|
|
201
|
+
* @see {@link PromoteResourceShareCreatedFromPolicyCommand}
|
|
233
202
|
*/
|
|
234
203
|
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PromoteResourceShareCreatedFromPolicyCommandOutput>;
|
|
235
204
|
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
|
|
236
205
|
promoteResourceShareCreatedFromPolicy(args: PromoteResourceShareCreatedFromPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PromoteResourceShareCreatedFromPolicyCommandOutput) => void): void;
|
|
237
206
|
/**
|
|
238
|
-
* @
|
|
239
|
-
* <p>Rejects an invitation to a resource share from another Amazon Web Services account.</p>
|
|
207
|
+
* @see {@link RejectResourceShareInvitationCommand}
|
|
240
208
|
*/
|
|
241
209
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options?: __HttpHandlerOptions): Promise<RejectResourceShareInvitationCommandOutput>;
|
|
242
210
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
|
|
243
211
|
rejectResourceShareInvitation(args: RejectResourceShareInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void): void;
|
|
244
212
|
/**
|
|
245
|
-
* @
|
|
246
|
-
|
|
247
|
-
|
|
213
|
+
* @see {@link ReplacePermissionAssociationsCommand}
|
|
214
|
+
*/
|
|
215
|
+
replacePermissionAssociations(args: ReplacePermissionAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ReplacePermissionAssociationsCommandOutput>;
|
|
216
|
+
replacePermissionAssociations(args: ReplacePermissionAssociationsCommandInput, cb: (err: any, data?: ReplacePermissionAssociationsCommandOutput) => void): void;
|
|
217
|
+
replacePermissionAssociations(args: ReplacePermissionAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReplacePermissionAssociationsCommandOutput) => void): void;
|
|
218
|
+
/**
|
|
219
|
+
* @see {@link SetDefaultPermissionVersionCommand}
|
|
220
|
+
*/
|
|
221
|
+
setDefaultPermissionVersion(args: SetDefaultPermissionVersionCommandInput, options?: __HttpHandlerOptions): Promise<SetDefaultPermissionVersionCommandOutput>;
|
|
222
|
+
setDefaultPermissionVersion(args: SetDefaultPermissionVersionCommandInput, cb: (err: any, data?: SetDefaultPermissionVersionCommandOutput) => void): void;
|
|
223
|
+
setDefaultPermissionVersion(args: SetDefaultPermissionVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetDefaultPermissionVersionCommandOutput) => void): void;
|
|
224
|
+
/**
|
|
225
|
+
* @see {@link TagResourceCommand}
|
|
248
226
|
*/
|
|
249
227
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
250
228
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
251
229
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
252
230
|
/**
|
|
253
|
-
* @
|
|
254
|
-
* <p>Removes the specified tag key and value pairs from the specified resource share.</p>
|
|
231
|
+
* @see {@link UntagResourceCommand}
|
|
255
232
|
*/
|
|
256
233
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
257
234
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
258
235
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
259
236
|
/**
|
|
260
|
-
* @
|
|
261
|
-
* <p>Modifies some of the properties of the specified resource share.</p>
|
|
237
|
+
* @see {@link UpdateResourceShareCommand}
|
|
262
238
|
*/
|
|
263
239
|
updateResourceShare(args: UpdateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourceShareCommandOutput>;
|
|
264
240
|
updateResourceShare(args: UpdateResourceShareCommandInput, cb: (err: any, data?: UpdateResourceShareCommandOutput) => void): void;
|
|
265
241
|
updateResourceShare(args: UpdateResourceShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceShareCommandOutput) => void): void;
|
|
266
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
* <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
|
|
246
|
+
* descriptions and syntax for each of the actions and data types in RAM. RAM is a
|
|
247
|
+
* service that helps you securely share your Amazon Web Services resources to other Amazon Web Services accounts. If
|
|
248
|
+
* you use Organizations to manage your accounts, then you can share your resources with your
|
|
249
|
+
* entire organization or to organizational units (OUs). For supported resource types, you
|
|
250
|
+
* can also share resources with individual Identity and Access Management (IAM) roles and users. </p>
|
|
251
|
+
* <p>To learn more about RAM, see the following resources:</p>
|
|
252
|
+
* <ul>
|
|
253
|
+
* <li>
|
|
254
|
+
* <p>
|
|
255
|
+
* <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
|
|
256
|
+
* </p>
|
|
257
|
+
* </li>
|
|
258
|
+
* <li>
|
|
259
|
+
* <p>
|
|
260
|
+
* <a href="https://docs.aws.amazon.com/ram/latest/userguide/">Resource Access Manager User
|
|
261
|
+
* Guide</a>
|
|
262
|
+
* </p>
|
|
263
|
+
* </li>
|
|
264
|
+
* </ul>
|
|
265
|
+
*/
|
|
266
|
+
export declare class RAM extends RAMClient implements RAM {
|
|
267
|
+
}
|
|
@@ -10,7 +10,11 @@ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as
|
|
|
10
10
|
import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "./commands/AcceptResourceShareInvitationCommand";
|
|
11
11
|
import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "./commands/AssociateResourceShareCommand";
|
|
12
12
|
import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "./commands/AssociateResourceSharePermissionCommand";
|
|
13
|
+
import { CreatePermissionCommandInput, CreatePermissionCommandOutput } from "./commands/CreatePermissionCommand";
|
|
14
|
+
import { CreatePermissionVersionCommandInput, CreatePermissionVersionCommandOutput } from "./commands/CreatePermissionVersionCommand";
|
|
13
15
|
import { CreateResourceShareCommandInput, CreateResourceShareCommandOutput } from "./commands/CreateResourceShareCommand";
|
|
16
|
+
import { DeletePermissionCommandInput, DeletePermissionCommandOutput } from "./commands/DeletePermissionCommand";
|
|
17
|
+
import { DeletePermissionVersionCommandInput, DeletePermissionVersionCommandOutput } from "./commands/DeletePermissionVersionCommand";
|
|
14
18
|
import { DeleteResourceShareCommandInput, DeleteResourceShareCommandOutput } from "./commands/DeleteResourceShareCommand";
|
|
15
19
|
import { DisassociateResourceShareCommandInput, DisassociateResourceShareCommandOutput } from "./commands/DisassociateResourceShareCommand";
|
|
16
20
|
import { DisassociateResourceSharePermissionCommandInput, DisassociateResourceSharePermissionCommandOutput } from "./commands/DisassociateResourceSharePermissionCommand";
|
|
@@ -21,14 +25,19 @@ import { GetResourceShareAssociationsCommandInput, GetResourceShareAssociationsC
|
|
|
21
25
|
import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCommandOutput } from "./commands/GetResourceShareInvitationsCommand";
|
|
22
26
|
import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "./commands/GetResourceSharesCommand";
|
|
23
27
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "./commands/ListPendingInvitationResourcesCommand";
|
|
28
|
+
import { ListPermissionAssociationsCommandInput, ListPermissionAssociationsCommandOutput } from "./commands/ListPermissionAssociationsCommand";
|
|
24
29
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "./commands/ListPermissionsCommand";
|
|
25
30
|
import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "./commands/ListPermissionVersionsCommand";
|
|
26
31
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "./commands/ListPrincipalsCommand";
|
|
32
|
+
import { ListReplacePermissionAssociationsWorkCommandInput, ListReplacePermissionAssociationsWorkCommandOutput } from "./commands/ListReplacePermissionAssociationsWorkCommand";
|
|
27
33
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./commands/ListResourcesCommand";
|
|
28
34
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "./commands/ListResourceSharePermissionsCommand";
|
|
29
35
|
import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "./commands/ListResourceTypesCommand";
|
|
36
|
+
import { PromotePermissionCreatedFromPolicyCommandInput, PromotePermissionCreatedFromPolicyCommandOutput } from "./commands/PromotePermissionCreatedFromPolicyCommand";
|
|
30
37
|
import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "./commands/PromoteResourceShareCreatedFromPolicyCommand";
|
|
31
38
|
import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "./commands/RejectResourceShareInvitationCommand";
|
|
39
|
+
import { ReplacePermissionAssociationsCommandInput, ReplacePermissionAssociationsCommandOutput } from "./commands/ReplacePermissionAssociationsCommand";
|
|
40
|
+
import { SetDefaultPermissionVersionCommandInput, SetDefaultPermissionVersionCommandOutput } from "./commands/SetDefaultPermissionVersionCommand";
|
|
32
41
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
33
42
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
34
43
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
@@ -36,11 +45,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
36
45
|
/**
|
|
37
46
|
* @public
|
|
38
47
|
*/
|
|
39
|
-
export type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreateResourceShareCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionVersionsCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
|
|
48
|
+
export type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreatePermissionCommandInput | CreatePermissionVersionCommandInput | CreateResourceShareCommandInput | DeletePermissionCommandInput | DeletePermissionVersionCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionAssociationsCommandInput | ListPermissionVersionsCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListReplacePermissionAssociationsWorkCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | PromotePermissionCreatedFromPolicyCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | ReplacePermissionAssociationsCommandInput | SetDefaultPermissionVersionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
|
|
40
49
|
/**
|
|
41
50
|
* @public
|
|
42
51
|
*/
|
|
43
|
-
export type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreateResourceShareCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionVersionsCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
|
|
52
|
+
export type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreatePermissionCommandOutput | CreatePermissionVersionCommandOutput | CreateResourceShareCommandOutput | DeletePermissionCommandOutput | DeletePermissionVersionCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionAssociationsCommandOutput | ListPermissionVersionsCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListReplacePermissionAssociationsWorkCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | PromotePermissionCreatedFromPolicyCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | ReplacePermissionAssociationsCommandOutput | SetDefaultPermissionVersionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
|
|
44
53
|
/**
|
|
45
54
|
* @public
|
|
46
55
|
*/
|
|
@@ -170,11 +179,10 @@ export interface RAMClientResolvedConfig extends RAMClientResolvedConfigType {
|
|
|
170
179
|
* @public
|
|
171
180
|
* <p>This is the <i>Resource Access Manager API Reference</i>. This documentation provides
|
|
172
181
|
* descriptions and syntax for each of the actions and data types in RAM. RAM is a
|
|
173
|
-
* service that helps you securely share your Amazon Web Services resources
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
* with
|
|
177
|
-
* can also share resources with individual Identity and Access Management (IAM) roles an users. </p>
|
|
182
|
+
* service that helps you securely share your Amazon Web Services resources to other Amazon Web Services accounts. If
|
|
183
|
+
* you use Organizations to manage your accounts, then you can share your resources with your
|
|
184
|
+
* entire organization or to organizational units (OUs). For supported resource types, you
|
|
185
|
+
* can also share resources with individual Identity and Access Management (IAM) roles and users. </p>
|
|
178
186
|
* <p>To learn more about RAM, see the following resources:</p>
|
|
179
187
|
* <ul>
|
|
180
188
|
* <li>
|
|
@@ -43,36 +43,40 @@ export interface AcceptResourceShareInvitationCommandOutput extends AcceptResour
|
|
|
43
43
|
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
46
|
-
* <p>The client token input parameter
|
|
47
|
-
* operation, but at least one of the other input
|
|
48
|
-
* call.</p>
|
|
46
|
+
* <p>The operation failed because the client token input parameter matched one that was
|
|
47
|
+
* used with a previous call to the operation, but at least one of the other input
|
|
48
|
+
* parameters is different from the previous call.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link InvalidClientTokenException} (client fault)
|
|
51
|
-
* <p>The client token
|
|
51
|
+
* <p>The operation failed because the specified client token isn't valid.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link MalformedArnException} (client fault)
|
|
54
|
-
* <p>The
|
|
54
|
+
* <p>The operation failed because the specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> has a format that isn't
|
|
55
|
+
* valid.</p>
|
|
55
56
|
*
|
|
56
57
|
* @throws {@link OperationNotPermittedException} (client fault)
|
|
57
|
-
* <p>The requested operation
|
|
58
|
+
* <p>The operation failed because the requested operation isn't permitted.</p>
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link ResourceShareInvitationAlreadyAcceptedException} (client fault)
|
|
60
|
-
* <p>The specified invitation was already accepted.</p>
|
|
61
|
+
* <p>The operation failed because the specified invitation was already accepted.</p>
|
|
61
62
|
*
|
|
62
63
|
* @throws {@link ResourceShareInvitationAlreadyRejectedException} (client fault)
|
|
63
|
-
* <p>The specified invitation was already rejected.</p>
|
|
64
|
+
* <p>The operation failed because the specified invitation was already rejected.</p>
|
|
64
65
|
*
|
|
65
66
|
* @throws {@link ResourceShareInvitationArnNotFoundException} (client fault)
|
|
66
|
-
* <p>The specified Amazon Resource Name (ARN) for an invitation was not
|
|
67
|
+
* <p>The operation failed because the specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> for an invitation was not
|
|
68
|
+
* found.</p>
|
|
67
69
|
*
|
|
68
70
|
* @throws {@link ResourceShareInvitationExpiredException} (client fault)
|
|
69
|
-
* <p>The specified invitation is
|
|
71
|
+
* <p>The operation failed because the specified invitation is past its expiration date and
|
|
72
|
+
* time.</p>
|
|
70
73
|
*
|
|
71
74
|
* @throws {@link ServerInternalException} (server fault)
|
|
72
|
-
* <p>The service could not respond to the request due to an
|
|
75
|
+
* <p>The operation failed because the service could not respond to the request due to an
|
|
76
|
+
* internal problem. Try again later.</p>
|
|
73
77
|
*
|
|
74
78
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
75
|
-
* <p>The service
|
|
79
|
+
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
76
80
|
*
|
|
77
81
|
*
|
|
78
82
|
*/
|
|
@@ -49,40 +49,45 @@ export interface AssociateResourceShareCommandOutput extends AssociateResourceSh
|
|
|
49
49
|
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
52
|
-
* <p>The client token input parameter
|
|
53
|
-
* operation, but at least one of the other input
|
|
54
|
-
* call.</p>
|
|
52
|
+
* <p>The operation failed because the client token input parameter matched one that was
|
|
53
|
+
* used with a previous call to the operation, but at least one of the other input
|
|
54
|
+
* parameters is different from the previous call.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link InvalidClientTokenException} (client fault)
|
|
57
|
-
* <p>The client token
|
|
57
|
+
* <p>The operation failed because the specified client token isn't valid.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InvalidParameterException} (client fault)
|
|
60
|
-
* <p>
|
|
60
|
+
* <p>The operation failed because a parameter you specified isn't valid.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link InvalidStateTransitionException} (client fault)
|
|
63
|
-
* <p>The requested
|
|
63
|
+
* <p>The operation failed because the requested operation isn't valid for the resource
|
|
64
|
+
* share in its current state.</p>
|
|
64
65
|
*
|
|
65
66
|
* @throws {@link MalformedArnException} (client fault)
|
|
66
|
-
* <p>The
|
|
67
|
+
* <p>The operation failed because the specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> has a format that isn't
|
|
68
|
+
* valid.</p>
|
|
67
69
|
*
|
|
68
70
|
* @throws {@link OperationNotPermittedException} (client fault)
|
|
69
|
-
* <p>The requested operation
|
|
71
|
+
* <p>The operation failed because the requested operation isn't permitted.</p>
|
|
70
72
|
*
|
|
71
73
|
* @throws {@link ResourceShareLimitExceededException} (client fault)
|
|
72
|
-
* <p>
|
|
74
|
+
* <p>The operation failed because it would exceed the limit for resource shares for your account. To
|
|
75
|
+
* view the limits for your Amazon Web Services account, see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in the Service Quotas
|
|
76
|
+
* console</a>.</p>
|
|
73
77
|
*
|
|
74
78
|
* @throws {@link ServerInternalException} (server fault)
|
|
75
|
-
* <p>The service could not respond to the request due to an
|
|
79
|
+
* <p>The operation failed because the service could not respond to the request due to an
|
|
80
|
+
* internal problem. Try again later.</p>
|
|
76
81
|
*
|
|
77
82
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
78
|
-
* <p>The service
|
|
83
|
+
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
79
84
|
*
|
|
80
85
|
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
-
* <p>
|
|
82
|
-
* again later.</p>
|
|
86
|
+
* <p>The operation failed because it exceeded the rate at which you are allowed to perform
|
|
87
|
+
* this operation. Please try again later.</p>
|
|
83
88
|
*
|
|
84
89
|
* @throws {@link UnknownResourceException} (client fault)
|
|
85
|
-
* <p>
|
|
90
|
+
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
86
91
|
*
|
|
87
92
|
*
|
|
88
93
|
*/
|
|
@@ -47,25 +47,27 @@ export interface AssociateResourceSharePermissionCommandOutput extends Associate
|
|
|
47
47
|
* @see {@link RAMClientResolvedConfig | config} for RAMClient's `config` shape.
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link InvalidClientTokenException} (client fault)
|
|
50
|
-
* <p>The client token
|
|
50
|
+
* <p>The operation failed because the specified client token isn't valid.</p>
|
|
51
51
|
*
|
|
52
52
|
* @throws {@link InvalidParameterException} (client fault)
|
|
53
|
-
* <p>
|
|
53
|
+
* <p>The operation failed because a parameter you specified isn't valid.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link MalformedArnException} (client fault)
|
|
56
|
-
* <p>The
|
|
56
|
+
* <p>The operation failed because the specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> has a format that isn't
|
|
57
|
+
* valid.</p>
|
|
57
58
|
*
|
|
58
59
|
* @throws {@link OperationNotPermittedException} (client fault)
|
|
59
|
-
* <p>The requested operation
|
|
60
|
+
* <p>The operation failed because the requested operation isn't permitted.</p>
|
|
60
61
|
*
|
|
61
62
|
* @throws {@link ServerInternalException} (server fault)
|
|
62
|
-
* <p>The service could not respond to the request due to an
|
|
63
|
+
* <p>The operation failed because the service could not respond to the request due to an
|
|
64
|
+
* internal problem. Try again later.</p>
|
|
63
65
|
*
|
|
64
66
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
65
|
-
* <p>The service
|
|
67
|
+
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
66
68
|
*
|
|
67
69
|
* @throws {@link UnknownResourceException} (client fault)
|
|
68
|
-
* <p>
|
|
70
|
+
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
69
71
|
*
|
|
70
72
|
*
|
|
71
73
|
*/
|