@aws-sdk/client-ram 3.315.0 → 3.319.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 +976 -129
- 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 +949 -121
- 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 +8 -8
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListPermissionAssociationsCommandInput, ListPermissionAssociationsCommandOutput } from "../commands/ListPermissionAssociationsCommand";
|
|
3
|
+
import { RAMPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListPermissionAssociations(config: RAMPaginationConfiguration, input: ListPermissionAssociationsCommandInput, ...additionalArguments: any): Paginator<ListPermissionAssociationsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListReplacePermissionAssociationsWorkCommandInput, ListReplacePermissionAssociationsWorkCommandOutput } from "../commands/ListReplacePermissionAssociationsWorkCommand";
|
|
3
|
+
import { RAMPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListReplacePermissionAssociationsWork(config: RAMPaginationConfiguration, input: ListReplacePermissionAssociationsWorkCommandInput, ...additionalArguments: any): Paginator<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
@@ -4,9 +4,11 @@ export * from "./GetResourceShareInvitationsPaginator";
|
|
|
4
4
|
export * from "./GetResourceSharesPaginator";
|
|
5
5
|
export * from "./Interfaces";
|
|
6
6
|
export * from "./ListPendingInvitationResourcesPaginator";
|
|
7
|
+
export * from "./ListPermissionAssociationsPaginator";
|
|
7
8
|
export * from "./ListPermissionVersionsPaginator";
|
|
8
9
|
export * from "./ListPermissionsPaginator";
|
|
9
10
|
export * from "./ListPrincipalsPaginator";
|
|
11
|
+
export * from "./ListReplacePermissionAssociationsWorkPaginator";
|
|
10
12
|
export * from "./ListResourceSharePermissionsPaginator";
|
|
11
13
|
export * from "./ListResourceTypesPaginator";
|
|
12
14
|
export * from "./ListResourcesPaginator";
|
|
@@ -3,7 +3,11 @@ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
|
3
3
|
import { AcceptResourceShareInvitationCommandInput, AcceptResourceShareInvitationCommandOutput } from "../commands/AcceptResourceShareInvitationCommand";
|
|
4
4
|
import { AssociateResourceShareCommandInput, AssociateResourceShareCommandOutput } from "../commands/AssociateResourceShareCommand";
|
|
5
5
|
import { AssociateResourceSharePermissionCommandInput, AssociateResourceSharePermissionCommandOutput } from "../commands/AssociateResourceSharePermissionCommand";
|
|
6
|
+
import { CreatePermissionCommandInput, CreatePermissionCommandOutput } from "../commands/CreatePermissionCommand";
|
|
7
|
+
import { CreatePermissionVersionCommandInput, CreatePermissionVersionCommandOutput } from "../commands/CreatePermissionVersionCommand";
|
|
6
8
|
import { CreateResourceShareCommandInput, CreateResourceShareCommandOutput } from "../commands/CreateResourceShareCommand";
|
|
9
|
+
import { DeletePermissionCommandInput, DeletePermissionCommandOutput } from "../commands/DeletePermissionCommand";
|
|
10
|
+
import { DeletePermissionVersionCommandInput, DeletePermissionVersionCommandOutput } from "../commands/DeletePermissionVersionCommand";
|
|
7
11
|
import { DeleteResourceShareCommandInput, DeleteResourceShareCommandOutput } from "../commands/DeleteResourceShareCommand";
|
|
8
12
|
import { DisassociateResourceShareCommandInput, DisassociateResourceShareCommandOutput } from "../commands/DisassociateResourceShareCommand";
|
|
9
13
|
import { DisassociateResourceSharePermissionCommandInput, DisassociateResourceSharePermissionCommandOutput } from "../commands/DisassociateResourceSharePermissionCommand";
|
|
@@ -14,14 +18,19 @@ import { GetResourceShareAssociationsCommandInput, GetResourceShareAssociationsC
|
|
|
14
18
|
import { GetResourceShareInvitationsCommandInput, GetResourceShareInvitationsCommandOutput } from "../commands/GetResourceShareInvitationsCommand";
|
|
15
19
|
import { GetResourceSharesCommandInput, GetResourceSharesCommandOutput } from "../commands/GetResourceSharesCommand";
|
|
16
20
|
import { ListPendingInvitationResourcesCommandInput, ListPendingInvitationResourcesCommandOutput } from "../commands/ListPendingInvitationResourcesCommand";
|
|
21
|
+
import { ListPermissionAssociationsCommandInput, ListPermissionAssociationsCommandOutput } from "../commands/ListPermissionAssociationsCommand";
|
|
17
22
|
import { ListPermissionsCommandInput, ListPermissionsCommandOutput } from "../commands/ListPermissionsCommand";
|
|
18
23
|
import { ListPermissionVersionsCommandInput, ListPermissionVersionsCommandOutput } from "../commands/ListPermissionVersionsCommand";
|
|
19
24
|
import { ListPrincipalsCommandInput, ListPrincipalsCommandOutput } from "../commands/ListPrincipalsCommand";
|
|
25
|
+
import { ListReplacePermissionAssociationsWorkCommandInput, ListReplacePermissionAssociationsWorkCommandOutput } from "../commands/ListReplacePermissionAssociationsWorkCommand";
|
|
20
26
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "../commands/ListResourcesCommand";
|
|
21
27
|
import { ListResourceSharePermissionsCommandInput, ListResourceSharePermissionsCommandOutput } from "../commands/ListResourceSharePermissionsCommand";
|
|
22
28
|
import { ListResourceTypesCommandInput, ListResourceTypesCommandOutput } from "../commands/ListResourceTypesCommand";
|
|
29
|
+
import { PromotePermissionCreatedFromPolicyCommandInput, PromotePermissionCreatedFromPolicyCommandOutput } from "../commands/PromotePermissionCreatedFromPolicyCommand";
|
|
23
30
|
import { PromoteResourceShareCreatedFromPolicyCommandInput, PromoteResourceShareCreatedFromPolicyCommandOutput } from "../commands/PromoteResourceShareCreatedFromPolicyCommand";
|
|
24
31
|
import { RejectResourceShareInvitationCommandInput, RejectResourceShareInvitationCommandOutput } from "../commands/RejectResourceShareInvitationCommand";
|
|
32
|
+
import { ReplacePermissionAssociationsCommandInput, ReplacePermissionAssociationsCommandOutput } from "../commands/ReplacePermissionAssociationsCommand";
|
|
33
|
+
import { SetDefaultPermissionVersionCommandInput, SetDefaultPermissionVersionCommandOutput } from "../commands/SetDefaultPermissionVersionCommand";
|
|
25
34
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
26
35
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
27
36
|
import { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "../commands/UpdateResourceShareCommand";
|
|
@@ -37,10 +46,26 @@ export declare const se_AssociateResourceShareCommand: (input: AssociateResource
|
|
|
37
46
|
* serializeAws_restJson1AssociateResourceSharePermissionCommand
|
|
38
47
|
*/
|
|
39
48
|
export declare const se_AssociateResourceSharePermissionCommand: (input: AssociateResourceSharePermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
49
|
+
/**
|
|
50
|
+
* serializeAws_restJson1CreatePermissionCommand
|
|
51
|
+
*/
|
|
52
|
+
export declare const se_CreatePermissionCommand: (input: CreatePermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
53
|
+
/**
|
|
54
|
+
* serializeAws_restJson1CreatePermissionVersionCommand
|
|
55
|
+
*/
|
|
56
|
+
export declare const se_CreatePermissionVersionCommand: (input: CreatePermissionVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
57
|
/**
|
|
41
58
|
* serializeAws_restJson1CreateResourceShareCommand
|
|
42
59
|
*/
|
|
43
60
|
export declare const se_CreateResourceShareCommand: (input: CreateResourceShareCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
|
+
/**
|
|
62
|
+
* serializeAws_restJson1DeletePermissionCommand
|
|
63
|
+
*/
|
|
64
|
+
export declare const se_DeletePermissionCommand: (input: DeletePermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
|
+
/**
|
|
66
|
+
* serializeAws_restJson1DeletePermissionVersionCommand
|
|
67
|
+
*/
|
|
68
|
+
export declare const se_DeletePermissionVersionCommand: (input: DeletePermissionVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
69
|
/**
|
|
45
70
|
* serializeAws_restJson1DeleteResourceShareCommand
|
|
46
71
|
*/
|
|
@@ -81,6 +106,10 @@ export declare const se_GetResourceSharesCommand: (input: GetResourceSharesComma
|
|
|
81
106
|
* serializeAws_restJson1ListPendingInvitationResourcesCommand
|
|
82
107
|
*/
|
|
83
108
|
export declare const se_ListPendingInvitationResourcesCommand: (input: ListPendingInvitationResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
109
|
+
/**
|
|
110
|
+
* serializeAws_restJson1ListPermissionAssociationsCommand
|
|
111
|
+
*/
|
|
112
|
+
export declare const se_ListPermissionAssociationsCommand: (input: ListPermissionAssociationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
113
|
/**
|
|
85
114
|
* serializeAws_restJson1ListPermissionsCommand
|
|
86
115
|
*/
|
|
@@ -93,6 +122,10 @@ export declare const se_ListPermissionVersionsCommand: (input: ListPermissionVer
|
|
|
93
122
|
* serializeAws_restJson1ListPrincipalsCommand
|
|
94
123
|
*/
|
|
95
124
|
export declare const se_ListPrincipalsCommand: (input: ListPrincipalsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
125
|
+
/**
|
|
126
|
+
* serializeAws_restJson1ListReplacePermissionAssociationsWorkCommand
|
|
127
|
+
*/
|
|
128
|
+
export declare const se_ListReplacePermissionAssociationsWorkCommand: (input: ListReplacePermissionAssociationsWorkCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
129
|
/**
|
|
97
130
|
* serializeAws_restJson1ListResourcesCommand
|
|
98
131
|
*/
|
|
@@ -105,6 +138,10 @@ export declare const se_ListResourceSharePermissionsCommand: (input: ListResourc
|
|
|
105
138
|
* serializeAws_restJson1ListResourceTypesCommand
|
|
106
139
|
*/
|
|
107
140
|
export declare const se_ListResourceTypesCommand: (input: ListResourceTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
141
|
+
/**
|
|
142
|
+
* serializeAws_restJson1PromotePermissionCreatedFromPolicyCommand
|
|
143
|
+
*/
|
|
144
|
+
export declare const se_PromotePermissionCreatedFromPolicyCommand: (input: PromotePermissionCreatedFromPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
108
145
|
/**
|
|
109
146
|
* serializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand
|
|
110
147
|
*/
|
|
@@ -113,6 +150,14 @@ export declare const se_PromoteResourceShareCreatedFromPolicyCommand: (input: Pr
|
|
|
113
150
|
* serializeAws_restJson1RejectResourceShareInvitationCommand
|
|
114
151
|
*/
|
|
115
152
|
export declare const se_RejectResourceShareInvitationCommand: (input: RejectResourceShareInvitationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
153
|
+
/**
|
|
154
|
+
* serializeAws_restJson1ReplacePermissionAssociationsCommand
|
|
155
|
+
*/
|
|
156
|
+
export declare const se_ReplacePermissionAssociationsCommand: (input: ReplacePermissionAssociationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
157
|
+
/**
|
|
158
|
+
* serializeAws_restJson1SetDefaultPermissionVersionCommand
|
|
159
|
+
*/
|
|
160
|
+
export declare const se_SetDefaultPermissionVersionCommand: (input: SetDefaultPermissionVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
116
161
|
/**
|
|
117
162
|
* serializeAws_restJson1TagResourceCommand
|
|
118
163
|
*/
|
|
@@ -137,10 +182,26 @@ export declare const de_AssociateResourceShareCommand: (output: __HttpResponse,
|
|
|
137
182
|
* deserializeAws_restJson1AssociateResourceSharePermissionCommand
|
|
138
183
|
*/
|
|
139
184
|
export declare const de_AssociateResourceSharePermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateResourceSharePermissionCommandOutput>;
|
|
185
|
+
/**
|
|
186
|
+
* deserializeAws_restJson1CreatePermissionCommand
|
|
187
|
+
*/
|
|
188
|
+
export declare const de_CreatePermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePermissionCommandOutput>;
|
|
189
|
+
/**
|
|
190
|
+
* deserializeAws_restJson1CreatePermissionVersionCommand
|
|
191
|
+
*/
|
|
192
|
+
export declare const de_CreatePermissionVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePermissionVersionCommandOutput>;
|
|
140
193
|
/**
|
|
141
194
|
* deserializeAws_restJson1CreateResourceShareCommand
|
|
142
195
|
*/
|
|
143
196
|
export declare const de_CreateResourceShareCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateResourceShareCommandOutput>;
|
|
197
|
+
/**
|
|
198
|
+
* deserializeAws_restJson1DeletePermissionCommand
|
|
199
|
+
*/
|
|
200
|
+
export declare const de_DeletePermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePermissionCommandOutput>;
|
|
201
|
+
/**
|
|
202
|
+
* deserializeAws_restJson1DeletePermissionVersionCommand
|
|
203
|
+
*/
|
|
204
|
+
export declare const de_DeletePermissionVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePermissionVersionCommandOutput>;
|
|
144
205
|
/**
|
|
145
206
|
* deserializeAws_restJson1DeleteResourceShareCommand
|
|
146
207
|
*/
|
|
@@ -181,6 +242,10 @@ export declare const de_GetResourceSharesCommand: (output: __HttpResponse, conte
|
|
|
181
242
|
* deserializeAws_restJson1ListPendingInvitationResourcesCommand
|
|
182
243
|
*/
|
|
183
244
|
export declare const de_ListPendingInvitationResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPendingInvitationResourcesCommandOutput>;
|
|
245
|
+
/**
|
|
246
|
+
* deserializeAws_restJson1ListPermissionAssociationsCommand
|
|
247
|
+
*/
|
|
248
|
+
export declare const de_ListPermissionAssociationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPermissionAssociationsCommandOutput>;
|
|
184
249
|
/**
|
|
185
250
|
* deserializeAws_restJson1ListPermissionsCommand
|
|
186
251
|
*/
|
|
@@ -193,6 +258,10 @@ export declare const de_ListPermissionVersionsCommand: (output: __HttpResponse,
|
|
|
193
258
|
* deserializeAws_restJson1ListPrincipalsCommand
|
|
194
259
|
*/
|
|
195
260
|
export declare const de_ListPrincipalsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPrincipalsCommandOutput>;
|
|
261
|
+
/**
|
|
262
|
+
* deserializeAws_restJson1ListReplacePermissionAssociationsWorkCommand
|
|
263
|
+
*/
|
|
264
|
+
export declare const de_ListReplacePermissionAssociationsWorkCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
196
265
|
/**
|
|
197
266
|
* deserializeAws_restJson1ListResourcesCommand
|
|
198
267
|
*/
|
|
@@ -205,6 +274,10 @@ export declare const de_ListResourceSharePermissionsCommand: (output: __HttpResp
|
|
|
205
274
|
* deserializeAws_restJson1ListResourceTypesCommand
|
|
206
275
|
*/
|
|
207
276
|
export declare const de_ListResourceTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourceTypesCommandOutput>;
|
|
277
|
+
/**
|
|
278
|
+
* deserializeAws_restJson1PromotePermissionCreatedFromPolicyCommand
|
|
279
|
+
*/
|
|
280
|
+
export declare const de_PromotePermissionCreatedFromPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PromotePermissionCreatedFromPolicyCommandOutput>;
|
|
208
281
|
/**
|
|
209
282
|
* deserializeAws_restJson1PromoteResourceShareCreatedFromPolicyCommand
|
|
210
283
|
*/
|
|
@@ -213,6 +286,14 @@ export declare const de_PromoteResourceShareCreatedFromPolicyCommand: (output: _
|
|
|
213
286
|
* deserializeAws_restJson1RejectResourceShareInvitationCommand
|
|
214
287
|
*/
|
|
215
288
|
export declare const de_RejectResourceShareInvitationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RejectResourceShareInvitationCommandOutput>;
|
|
289
|
+
/**
|
|
290
|
+
* deserializeAws_restJson1ReplacePermissionAssociationsCommand
|
|
291
|
+
*/
|
|
292
|
+
export declare const de_ReplacePermissionAssociationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReplacePermissionAssociationsCommandOutput>;
|
|
293
|
+
/**
|
|
294
|
+
* deserializeAws_restJson1SetDefaultPermissionVersionCommand
|
|
295
|
+
*/
|
|
296
|
+
export declare const de_SetDefaultPermissionVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetDefaultPermissionVersionCommandOutput>;
|
|
216
297
|
/**
|
|
217
298
|
* deserializeAws_restJson1TagResourceCommand
|
|
218
299
|
*/
|
|
@@ -11,10 +11,26 @@ import {
|
|
|
11
11
|
AssociateResourceSharePermissionCommandInput,
|
|
12
12
|
AssociateResourceSharePermissionCommandOutput,
|
|
13
13
|
} from "./commands/AssociateResourceSharePermissionCommand";
|
|
14
|
+
import {
|
|
15
|
+
CreatePermissionCommandInput,
|
|
16
|
+
CreatePermissionCommandOutput,
|
|
17
|
+
} from "./commands/CreatePermissionCommand";
|
|
18
|
+
import {
|
|
19
|
+
CreatePermissionVersionCommandInput,
|
|
20
|
+
CreatePermissionVersionCommandOutput,
|
|
21
|
+
} from "./commands/CreatePermissionVersionCommand";
|
|
14
22
|
import {
|
|
15
23
|
CreateResourceShareCommandInput,
|
|
16
24
|
CreateResourceShareCommandOutput,
|
|
17
25
|
} from "./commands/CreateResourceShareCommand";
|
|
26
|
+
import {
|
|
27
|
+
DeletePermissionCommandInput,
|
|
28
|
+
DeletePermissionCommandOutput,
|
|
29
|
+
} from "./commands/DeletePermissionCommand";
|
|
30
|
+
import {
|
|
31
|
+
DeletePermissionVersionCommandInput,
|
|
32
|
+
DeletePermissionVersionCommandOutput,
|
|
33
|
+
} from "./commands/DeletePermissionVersionCommand";
|
|
18
34
|
import {
|
|
19
35
|
DeleteResourceShareCommandInput,
|
|
20
36
|
DeleteResourceShareCommandOutput,
|
|
@@ -55,6 +71,10 @@ import {
|
|
|
55
71
|
ListPendingInvitationResourcesCommandInput,
|
|
56
72
|
ListPendingInvitationResourcesCommandOutput,
|
|
57
73
|
} from "./commands/ListPendingInvitationResourcesCommand";
|
|
74
|
+
import {
|
|
75
|
+
ListPermissionAssociationsCommandInput,
|
|
76
|
+
ListPermissionAssociationsCommandOutput,
|
|
77
|
+
} from "./commands/ListPermissionAssociationsCommand";
|
|
58
78
|
import {
|
|
59
79
|
ListPermissionsCommandInput,
|
|
60
80
|
ListPermissionsCommandOutput,
|
|
@@ -67,6 +87,10 @@ import {
|
|
|
67
87
|
ListPrincipalsCommandInput,
|
|
68
88
|
ListPrincipalsCommandOutput,
|
|
69
89
|
} from "./commands/ListPrincipalsCommand";
|
|
90
|
+
import {
|
|
91
|
+
ListReplacePermissionAssociationsWorkCommandInput,
|
|
92
|
+
ListReplacePermissionAssociationsWorkCommandOutput,
|
|
93
|
+
} from "./commands/ListReplacePermissionAssociationsWorkCommand";
|
|
70
94
|
import {
|
|
71
95
|
ListResourcesCommandInput,
|
|
72
96
|
ListResourcesCommandOutput,
|
|
@@ -79,6 +103,10 @@ import {
|
|
|
79
103
|
ListResourceTypesCommandInput,
|
|
80
104
|
ListResourceTypesCommandOutput,
|
|
81
105
|
} from "./commands/ListResourceTypesCommand";
|
|
106
|
+
import {
|
|
107
|
+
PromotePermissionCreatedFromPolicyCommandInput,
|
|
108
|
+
PromotePermissionCreatedFromPolicyCommandOutput,
|
|
109
|
+
} from "./commands/PromotePermissionCreatedFromPolicyCommand";
|
|
82
110
|
import {
|
|
83
111
|
PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
84
112
|
PromoteResourceShareCreatedFromPolicyCommandOutput,
|
|
@@ -87,6 +115,14 @@ import {
|
|
|
87
115
|
RejectResourceShareInvitationCommandInput,
|
|
88
116
|
RejectResourceShareInvitationCommandOutput,
|
|
89
117
|
} from "./commands/RejectResourceShareInvitationCommand";
|
|
118
|
+
import {
|
|
119
|
+
ReplacePermissionAssociationsCommandInput,
|
|
120
|
+
ReplacePermissionAssociationsCommandOutput,
|
|
121
|
+
} from "./commands/ReplacePermissionAssociationsCommand";
|
|
122
|
+
import {
|
|
123
|
+
SetDefaultPermissionVersionCommandInput,
|
|
124
|
+
SetDefaultPermissionVersionCommandOutput,
|
|
125
|
+
} from "./commands/SetDefaultPermissionVersionCommand";
|
|
90
126
|
import {
|
|
91
127
|
TagResourceCommandInput,
|
|
92
128
|
TagResourceCommandOutput,
|
|
@@ -100,7 +136,7 @@ import {
|
|
|
100
136
|
UpdateResourceShareCommandOutput,
|
|
101
137
|
} from "./commands/UpdateResourceShareCommand";
|
|
102
138
|
import { RAMClient } from "./RAMClient";
|
|
103
|
-
export
|
|
139
|
+
export interface RAM {
|
|
104
140
|
acceptResourceShareInvitation(
|
|
105
141
|
args: AcceptResourceShareInvitationCommandInput,
|
|
106
142
|
options?: __HttpHandlerOptions
|
|
@@ -140,6 +176,32 @@ export declare class RAM extends RAMClient {
|
|
|
140
176
|
options: __HttpHandlerOptions,
|
|
141
177
|
cb: (err: any, data?: AssociateResourceSharePermissionCommandOutput) => void
|
|
142
178
|
): void;
|
|
179
|
+
createPermission(
|
|
180
|
+
args: CreatePermissionCommandInput,
|
|
181
|
+
options?: __HttpHandlerOptions
|
|
182
|
+
): Promise<CreatePermissionCommandOutput>;
|
|
183
|
+
createPermission(
|
|
184
|
+
args: CreatePermissionCommandInput,
|
|
185
|
+
cb: (err: any, data?: CreatePermissionCommandOutput) => void
|
|
186
|
+
): void;
|
|
187
|
+
createPermission(
|
|
188
|
+
args: CreatePermissionCommandInput,
|
|
189
|
+
options: __HttpHandlerOptions,
|
|
190
|
+
cb: (err: any, data?: CreatePermissionCommandOutput) => void
|
|
191
|
+
): void;
|
|
192
|
+
createPermissionVersion(
|
|
193
|
+
args: CreatePermissionVersionCommandInput,
|
|
194
|
+
options?: __HttpHandlerOptions
|
|
195
|
+
): Promise<CreatePermissionVersionCommandOutput>;
|
|
196
|
+
createPermissionVersion(
|
|
197
|
+
args: CreatePermissionVersionCommandInput,
|
|
198
|
+
cb: (err: any, data?: CreatePermissionVersionCommandOutput) => void
|
|
199
|
+
): void;
|
|
200
|
+
createPermissionVersion(
|
|
201
|
+
args: CreatePermissionVersionCommandInput,
|
|
202
|
+
options: __HttpHandlerOptions,
|
|
203
|
+
cb: (err: any, data?: CreatePermissionVersionCommandOutput) => void
|
|
204
|
+
): void;
|
|
143
205
|
createResourceShare(
|
|
144
206
|
args: CreateResourceShareCommandInput,
|
|
145
207
|
options?: __HttpHandlerOptions
|
|
@@ -153,6 +215,32 @@ export declare class RAM extends RAMClient {
|
|
|
153
215
|
options: __HttpHandlerOptions,
|
|
154
216
|
cb: (err: any, data?: CreateResourceShareCommandOutput) => void
|
|
155
217
|
): void;
|
|
218
|
+
deletePermission(
|
|
219
|
+
args: DeletePermissionCommandInput,
|
|
220
|
+
options?: __HttpHandlerOptions
|
|
221
|
+
): Promise<DeletePermissionCommandOutput>;
|
|
222
|
+
deletePermission(
|
|
223
|
+
args: DeletePermissionCommandInput,
|
|
224
|
+
cb: (err: any, data?: DeletePermissionCommandOutput) => void
|
|
225
|
+
): void;
|
|
226
|
+
deletePermission(
|
|
227
|
+
args: DeletePermissionCommandInput,
|
|
228
|
+
options: __HttpHandlerOptions,
|
|
229
|
+
cb: (err: any, data?: DeletePermissionCommandOutput) => void
|
|
230
|
+
): void;
|
|
231
|
+
deletePermissionVersion(
|
|
232
|
+
args: DeletePermissionVersionCommandInput,
|
|
233
|
+
options?: __HttpHandlerOptions
|
|
234
|
+
): Promise<DeletePermissionVersionCommandOutput>;
|
|
235
|
+
deletePermissionVersion(
|
|
236
|
+
args: DeletePermissionVersionCommandInput,
|
|
237
|
+
cb: (err: any, data?: DeletePermissionVersionCommandOutput) => void
|
|
238
|
+
): void;
|
|
239
|
+
deletePermissionVersion(
|
|
240
|
+
args: DeletePermissionVersionCommandInput,
|
|
241
|
+
options: __HttpHandlerOptions,
|
|
242
|
+
cb: (err: any, data?: DeletePermissionVersionCommandOutput) => void
|
|
243
|
+
): void;
|
|
156
244
|
deleteResourceShare(
|
|
157
245
|
args: DeleteResourceShareCommandInput,
|
|
158
246
|
options?: __HttpHandlerOptions
|
|
@@ -289,6 +377,19 @@ export declare class RAM extends RAMClient {
|
|
|
289
377
|
options: __HttpHandlerOptions,
|
|
290
378
|
cb: (err: any, data?: ListPendingInvitationResourcesCommandOutput) => void
|
|
291
379
|
): void;
|
|
380
|
+
listPermissionAssociations(
|
|
381
|
+
args: ListPermissionAssociationsCommandInput,
|
|
382
|
+
options?: __HttpHandlerOptions
|
|
383
|
+
): Promise<ListPermissionAssociationsCommandOutput>;
|
|
384
|
+
listPermissionAssociations(
|
|
385
|
+
args: ListPermissionAssociationsCommandInput,
|
|
386
|
+
cb: (err: any, data?: ListPermissionAssociationsCommandOutput) => void
|
|
387
|
+
): void;
|
|
388
|
+
listPermissionAssociations(
|
|
389
|
+
args: ListPermissionAssociationsCommandInput,
|
|
390
|
+
options: __HttpHandlerOptions,
|
|
391
|
+
cb: (err: any, data?: ListPermissionAssociationsCommandOutput) => void
|
|
392
|
+
): void;
|
|
292
393
|
listPermissions(
|
|
293
394
|
args: ListPermissionsCommandInput,
|
|
294
395
|
options?: __HttpHandlerOptions
|
|
@@ -328,6 +429,25 @@ export declare class RAM extends RAMClient {
|
|
|
328
429
|
options: __HttpHandlerOptions,
|
|
329
430
|
cb: (err: any, data?: ListPrincipalsCommandOutput) => void
|
|
330
431
|
): void;
|
|
432
|
+
listReplacePermissionAssociationsWork(
|
|
433
|
+
args: ListReplacePermissionAssociationsWorkCommandInput,
|
|
434
|
+
options?: __HttpHandlerOptions
|
|
435
|
+
): Promise<ListReplacePermissionAssociationsWorkCommandOutput>;
|
|
436
|
+
listReplacePermissionAssociationsWork(
|
|
437
|
+
args: ListReplacePermissionAssociationsWorkCommandInput,
|
|
438
|
+
cb: (
|
|
439
|
+
err: any,
|
|
440
|
+
data?: ListReplacePermissionAssociationsWorkCommandOutput
|
|
441
|
+
) => void
|
|
442
|
+
): void;
|
|
443
|
+
listReplacePermissionAssociationsWork(
|
|
444
|
+
args: ListReplacePermissionAssociationsWorkCommandInput,
|
|
445
|
+
options: __HttpHandlerOptions,
|
|
446
|
+
cb: (
|
|
447
|
+
err: any,
|
|
448
|
+
data?: ListReplacePermissionAssociationsWorkCommandOutput
|
|
449
|
+
) => void
|
|
450
|
+
): void;
|
|
331
451
|
listResources(
|
|
332
452
|
args: ListResourcesCommandInput,
|
|
333
453
|
options?: __HttpHandlerOptions
|
|
@@ -367,6 +487,25 @@ export declare class RAM extends RAMClient {
|
|
|
367
487
|
options: __HttpHandlerOptions,
|
|
368
488
|
cb: (err: any, data?: ListResourceTypesCommandOutput) => void
|
|
369
489
|
): void;
|
|
490
|
+
promotePermissionCreatedFromPolicy(
|
|
491
|
+
args: PromotePermissionCreatedFromPolicyCommandInput,
|
|
492
|
+
options?: __HttpHandlerOptions
|
|
493
|
+
): Promise<PromotePermissionCreatedFromPolicyCommandOutput>;
|
|
494
|
+
promotePermissionCreatedFromPolicy(
|
|
495
|
+
args: PromotePermissionCreatedFromPolicyCommandInput,
|
|
496
|
+
cb: (
|
|
497
|
+
err: any,
|
|
498
|
+
data?: PromotePermissionCreatedFromPolicyCommandOutput
|
|
499
|
+
) => void
|
|
500
|
+
): void;
|
|
501
|
+
promotePermissionCreatedFromPolicy(
|
|
502
|
+
args: PromotePermissionCreatedFromPolicyCommandInput,
|
|
503
|
+
options: __HttpHandlerOptions,
|
|
504
|
+
cb: (
|
|
505
|
+
err: any,
|
|
506
|
+
data?: PromotePermissionCreatedFromPolicyCommandOutput
|
|
507
|
+
) => void
|
|
508
|
+
): void;
|
|
370
509
|
promoteResourceShareCreatedFromPolicy(
|
|
371
510
|
args: PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
372
511
|
options?: __HttpHandlerOptions
|
|
@@ -399,6 +538,32 @@ export declare class RAM extends RAMClient {
|
|
|
399
538
|
options: __HttpHandlerOptions,
|
|
400
539
|
cb: (err: any, data?: RejectResourceShareInvitationCommandOutput) => void
|
|
401
540
|
): void;
|
|
541
|
+
replacePermissionAssociations(
|
|
542
|
+
args: ReplacePermissionAssociationsCommandInput,
|
|
543
|
+
options?: __HttpHandlerOptions
|
|
544
|
+
): Promise<ReplacePermissionAssociationsCommandOutput>;
|
|
545
|
+
replacePermissionAssociations(
|
|
546
|
+
args: ReplacePermissionAssociationsCommandInput,
|
|
547
|
+
cb: (err: any, data?: ReplacePermissionAssociationsCommandOutput) => void
|
|
548
|
+
): void;
|
|
549
|
+
replacePermissionAssociations(
|
|
550
|
+
args: ReplacePermissionAssociationsCommandInput,
|
|
551
|
+
options: __HttpHandlerOptions,
|
|
552
|
+
cb: (err: any, data?: ReplacePermissionAssociationsCommandOutput) => void
|
|
553
|
+
): void;
|
|
554
|
+
setDefaultPermissionVersion(
|
|
555
|
+
args: SetDefaultPermissionVersionCommandInput,
|
|
556
|
+
options?: __HttpHandlerOptions
|
|
557
|
+
): Promise<SetDefaultPermissionVersionCommandOutput>;
|
|
558
|
+
setDefaultPermissionVersion(
|
|
559
|
+
args: SetDefaultPermissionVersionCommandInput,
|
|
560
|
+
cb: (err: any, data?: SetDefaultPermissionVersionCommandOutput) => void
|
|
561
|
+
): void;
|
|
562
|
+
setDefaultPermissionVersion(
|
|
563
|
+
args: SetDefaultPermissionVersionCommandInput,
|
|
564
|
+
options: __HttpHandlerOptions,
|
|
565
|
+
cb: (err: any, data?: SetDefaultPermissionVersionCommandOutput) => void
|
|
566
|
+
): void;
|
|
402
567
|
tagResource(
|
|
403
568
|
args: TagResourceCommandInput,
|
|
404
569
|
options?: __HttpHandlerOptions
|
|
@@ -439,3 +604,4 @@ export declare class RAM extends RAMClient {
|
|
|
439
604
|
cb: (err: any, data?: UpdateResourceShareCommandOutput) => void
|
|
440
605
|
): void;
|
|
441
606
|
}
|
|
607
|
+
export declare class RAM extends RAMClient implements RAM {}
|
|
@@ -56,10 +56,26 @@ import {
|
|
|
56
56
|
AssociateResourceSharePermissionCommandInput,
|
|
57
57
|
AssociateResourceSharePermissionCommandOutput,
|
|
58
58
|
} from "./commands/AssociateResourceSharePermissionCommand";
|
|
59
|
+
import {
|
|
60
|
+
CreatePermissionCommandInput,
|
|
61
|
+
CreatePermissionCommandOutput,
|
|
62
|
+
} from "./commands/CreatePermissionCommand";
|
|
63
|
+
import {
|
|
64
|
+
CreatePermissionVersionCommandInput,
|
|
65
|
+
CreatePermissionVersionCommandOutput,
|
|
66
|
+
} from "./commands/CreatePermissionVersionCommand";
|
|
59
67
|
import {
|
|
60
68
|
CreateResourceShareCommandInput,
|
|
61
69
|
CreateResourceShareCommandOutput,
|
|
62
70
|
} from "./commands/CreateResourceShareCommand";
|
|
71
|
+
import {
|
|
72
|
+
DeletePermissionCommandInput,
|
|
73
|
+
DeletePermissionCommandOutput,
|
|
74
|
+
} from "./commands/DeletePermissionCommand";
|
|
75
|
+
import {
|
|
76
|
+
DeletePermissionVersionCommandInput,
|
|
77
|
+
DeletePermissionVersionCommandOutput,
|
|
78
|
+
} from "./commands/DeletePermissionVersionCommand";
|
|
63
79
|
import {
|
|
64
80
|
DeleteResourceShareCommandInput,
|
|
65
81
|
DeleteResourceShareCommandOutput,
|
|
@@ -100,6 +116,10 @@ import {
|
|
|
100
116
|
ListPendingInvitationResourcesCommandInput,
|
|
101
117
|
ListPendingInvitationResourcesCommandOutput,
|
|
102
118
|
} from "./commands/ListPendingInvitationResourcesCommand";
|
|
119
|
+
import {
|
|
120
|
+
ListPermissionAssociationsCommandInput,
|
|
121
|
+
ListPermissionAssociationsCommandOutput,
|
|
122
|
+
} from "./commands/ListPermissionAssociationsCommand";
|
|
103
123
|
import {
|
|
104
124
|
ListPermissionsCommandInput,
|
|
105
125
|
ListPermissionsCommandOutput,
|
|
@@ -112,6 +132,10 @@ import {
|
|
|
112
132
|
ListPrincipalsCommandInput,
|
|
113
133
|
ListPrincipalsCommandOutput,
|
|
114
134
|
} from "./commands/ListPrincipalsCommand";
|
|
135
|
+
import {
|
|
136
|
+
ListReplacePermissionAssociationsWorkCommandInput,
|
|
137
|
+
ListReplacePermissionAssociationsWorkCommandOutput,
|
|
138
|
+
} from "./commands/ListReplacePermissionAssociationsWorkCommand";
|
|
115
139
|
import {
|
|
116
140
|
ListResourcesCommandInput,
|
|
117
141
|
ListResourcesCommandOutput,
|
|
@@ -124,6 +148,10 @@ import {
|
|
|
124
148
|
ListResourceTypesCommandInput,
|
|
125
149
|
ListResourceTypesCommandOutput,
|
|
126
150
|
} from "./commands/ListResourceTypesCommand";
|
|
151
|
+
import {
|
|
152
|
+
PromotePermissionCreatedFromPolicyCommandInput,
|
|
153
|
+
PromotePermissionCreatedFromPolicyCommandOutput,
|
|
154
|
+
} from "./commands/PromotePermissionCreatedFromPolicyCommand";
|
|
127
155
|
import {
|
|
128
156
|
PromoteResourceShareCreatedFromPolicyCommandInput,
|
|
129
157
|
PromoteResourceShareCreatedFromPolicyCommandOutput,
|
|
@@ -132,6 +160,14 @@ import {
|
|
|
132
160
|
RejectResourceShareInvitationCommandInput,
|
|
133
161
|
RejectResourceShareInvitationCommandOutput,
|
|
134
162
|
} from "./commands/RejectResourceShareInvitationCommand";
|
|
163
|
+
import {
|
|
164
|
+
ReplacePermissionAssociationsCommandInput,
|
|
165
|
+
ReplacePermissionAssociationsCommandOutput,
|
|
166
|
+
} from "./commands/ReplacePermissionAssociationsCommand";
|
|
167
|
+
import {
|
|
168
|
+
SetDefaultPermissionVersionCommandInput,
|
|
169
|
+
SetDefaultPermissionVersionCommandOutput,
|
|
170
|
+
} from "./commands/SetDefaultPermissionVersionCommand";
|
|
135
171
|
import {
|
|
136
172
|
TagResourceCommandInput,
|
|
137
173
|
TagResourceCommandOutput,
|
|
@@ -153,7 +189,11 @@ export type ServiceInputTypes =
|
|
|
153
189
|
| AcceptResourceShareInvitationCommandInput
|
|
154
190
|
| AssociateResourceShareCommandInput
|
|
155
191
|
| AssociateResourceSharePermissionCommandInput
|
|
192
|
+
| CreatePermissionCommandInput
|
|
193
|
+
| CreatePermissionVersionCommandInput
|
|
156
194
|
| CreateResourceShareCommandInput
|
|
195
|
+
| DeletePermissionCommandInput
|
|
196
|
+
| DeletePermissionVersionCommandInput
|
|
157
197
|
| DeleteResourceShareCommandInput
|
|
158
198
|
| DisassociateResourceShareCommandInput
|
|
159
199
|
| DisassociateResourceSharePermissionCommandInput
|
|
@@ -164,14 +204,19 @@ export type ServiceInputTypes =
|
|
|
164
204
|
| GetResourceShareInvitationsCommandInput
|
|
165
205
|
| GetResourceSharesCommandInput
|
|
166
206
|
| ListPendingInvitationResourcesCommandInput
|
|
207
|
+
| ListPermissionAssociationsCommandInput
|
|
167
208
|
| ListPermissionVersionsCommandInput
|
|
168
209
|
| ListPermissionsCommandInput
|
|
169
210
|
| ListPrincipalsCommandInput
|
|
211
|
+
| ListReplacePermissionAssociationsWorkCommandInput
|
|
170
212
|
| ListResourceSharePermissionsCommandInput
|
|
171
213
|
| ListResourceTypesCommandInput
|
|
172
214
|
| ListResourcesCommandInput
|
|
215
|
+
| PromotePermissionCreatedFromPolicyCommandInput
|
|
173
216
|
| PromoteResourceShareCreatedFromPolicyCommandInput
|
|
174
217
|
| RejectResourceShareInvitationCommandInput
|
|
218
|
+
| ReplacePermissionAssociationsCommandInput
|
|
219
|
+
| SetDefaultPermissionVersionCommandInput
|
|
175
220
|
| TagResourceCommandInput
|
|
176
221
|
| UntagResourceCommandInput
|
|
177
222
|
| UpdateResourceShareCommandInput;
|
|
@@ -179,7 +224,11 @@ export type ServiceOutputTypes =
|
|
|
179
224
|
| AcceptResourceShareInvitationCommandOutput
|
|
180
225
|
| AssociateResourceShareCommandOutput
|
|
181
226
|
| AssociateResourceSharePermissionCommandOutput
|
|
227
|
+
| CreatePermissionCommandOutput
|
|
228
|
+
| CreatePermissionVersionCommandOutput
|
|
182
229
|
| CreateResourceShareCommandOutput
|
|
230
|
+
| DeletePermissionCommandOutput
|
|
231
|
+
| DeletePermissionVersionCommandOutput
|
|
183
232
|
| DeleteResourceShareCommandOutput
|
|
184
233
|
| DisassociateResourceShareCommandOutput
|
|
185
234
|
| DisassociateResourceSharePermissionCommandOutput
|
|
@@ -190,14 +239,19 @@ export type ServiceOutputTypes =
|
|
|
190
239
|
| GetResourceShareInvitationsCommandOutput
|
|
191
240
|
| GetResourceSharesCommandOutput
|
|
192
241
|
| ListPendingInvitationResourcesCommandOutput
|
|
242
|
+
| ListPermissionAssociationsCommandOutput
|
|
193
243
|
| ListPermissionVersionsCommandOutput
|
|
194
244
|
| ListPermissionsCommandOutput
|
|
195
245
|
| ListPrincipalsCommandOutput
|
|
246
|
+
| ListReplacePermissionAssociationsWorkCommandOutput
|
|
196
247
|
| ListResourceSharePermissionsCommandOutput
|
|
197
248
|
| ListResourceTypesCommandOutput
|
|
198
249
|
| ListResourcesCommandOutput
|
|
250
|
+
| PromotePermissionCreatedFromPolicyCommandOutput
|
|
199
251
|
| PromoteResourceShareCreatedFromPolicyCommandOutput
|
|
200
252
|
| RejectResourceShareInvitationCommandOutput
|
|
253
|
+
| ReplacePermissionAssociationsCommandOutput
|
|
254
|
+
| SetDefaultPermissionVersionCommandOutput
|
|
201
255
|
| TagResourceCommandOutput
|
|
202
256
|
| UntagResourceCommandOutput
|
|
203
257
|
| UpdateResourceShareCommandOutput;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
CreatePermissionRequest,
|
|
11
|
+
CreatePermissionResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
RAMClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../RAMClient";
|
|
18
|
+
export interface CreatePermissionCommandInput extends CreatePermissionRequest {}
|
|
19
|
+
export interface CreatePermissionCommandOutput
|
|
20
|
+
extends CreatePermissionResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class CreatePermissionCommand extends $Command<
|
|
23
|
+
CreatePermissionCommandInput,
|
|
24
|
+
CreatePermissionCommandOutput,
|
|
25
|
+
RAMClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: CreatePermissionCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: CreatePermissionCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: RAMClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<CreatePermissionCommandInput, CreatePermissionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|