@aws-sdk/client-ram 3.529.1 → 3.535.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/RAM.d.ts +7 -1
- package/dist-types/RAMClient.d.ts +1 -1
- package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +2 -1
- package/dist-types/commands/AssociateResourceShareCommand.d.ts +2 -1
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +2 -1
- package/dist-types/commands/CreatePermissionCommand.d.ts +2 -1
- package/dist-types/commands/CreatePermissionVersionCommand.d.ts +2 -1
- package/dist-types/commands/CreateResourceShareCommand.d.ts +2 -1
- package/dist-types/commands/DeletePermissionCommand.d.ts +2 -1
- package/dist-types/commands/DeletePermissionVersionCommand.d.ts +2 -1
- package/dist-types/commands/DeleteResourceShareCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateResourceShareCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +2 -1
- package/dist-types/commands/EnableSharingWithAwsOrganizationCommand.d.ts +2 -1
- package/dist-types/commands/GetPermissionCommand.d.ts +2 -1
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +2 -1
- package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +2 -1
- package/dist-types/commands/GetResourceSharesCommand.d.ts +2 -1
- package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +2 -1
- package/dist-types/commands/ListPermissionAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListPermissionsCommand.d.ts +2 -1
- package/dist-types/commands/ListPrincipalsCommand.d.ts +2 -1
- package/dist-types/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +2 -1
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +2 -1
- package/dist-types/commands/ListResourceTypesCommand.d.ts +2 -1
- package/dist-types/commands/ListResourcesCommand.d.ts +2 -1
- package/dist-types/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +2 -1
- package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +2 -1
- package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +2 -1
- package/dist-types/commands/ReplacePermissionAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/SetDefaultPermissionVersionCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateResourceShareCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +330 -330
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/RAM.d.ts +6 -0
- package/dist-types/ts3.4/commands/AcceptResourceShareInvitationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AssociateResourceShareCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AssociateResourceSharePermissionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreatePermissionVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateResourceShareCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePermissionVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteResourceShareCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisassociateResourceShareCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisassociateResourceSharePermissionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EnableSharingWithAwsOrganizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPermissionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetResourceShareAssociationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetResourceShareInvitationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetResourceSharesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPendingInvitationResourcesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPermissionAssociationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPermissionVersionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListPrincipalsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListResourceSharePermissionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListResourceTypesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RejectResourceShareInvitationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ReplacePermissionAssociationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetDefaultPermissionVersionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateResourceShareCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +40 -40
|
@@ -5,12 +5,11 @@ import { RAMServiceException as __BaseException } from "./RAMServiceException";
|
|
|
5
5
|
*/
|
|
6
6
|
export interface AcceptResourceShareInvitationRequest {
|
|
7
7
|
/**
|
|
8
|
-
* @public
|
|
9
8
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the invitation that you want to accept.</p>
|
|
9
|
+
* @public
|
|
10
10
|
*/
|
|
11
11
|
resourceShareInvitationArn: string | undefined;
|
|
12
12
|
/**
|
|
13
|
-
* @public
|
|
14
13
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
15
14
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
16
15
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -22,6 +21,7 @@ export interface AcceptResourceShareInvitationRequest {
|
|
|
22
21
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
23
22
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
24
23
|
* error.</p>
|
|
24
|
+
* @public
|
|
25
25
|
*/
|
|
26
26
|
clientToken?: string;
|
|
27
27
|
}
|
|
@@ -53,22 +53,21 @@ export declare const ResourceShareAssociationStatus: {
|
|
|
53
53
|
*/
|
|
54
54
|
export type ResourceShareAssociationStatus = (typeof ResourceShareAssociationStatus)[keyof typeof ResourceShareAssociationStatus];
|
|
55
55
|
/**
|
|
56
|
-
* @public
|
|
57
56
|
* <p>Describes an association between a resource share and either a principal or a resource.</p>
|
|
57
|
+
* @public
|
|
58
58
|
*/
|
|
59
59
|
export interface ResourceShareAssociation {
|
|
60
60
|
/**
|
|
61
|
-
* @public
|
|
62
61
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share.</p>
|
|
62
|
+
* @public
|
|
63
63
|
*/
|
|
64
64
|
resourceShareArn?: string;
|
|
65
65
|
/**
|
|
66
|
-
* @public
|
|
67
66
|
* <p>The name of the resource share.</p>
|
|
67
|
+
* @public
|
|
68
68
|
*/
|
|
69
69
|
resourceShareName?: string;
|
|
70
70
|
/**
|
|
71
|
-
* @public
|
|
72
71
|
* <p>The associated entity. This can be either of the following:</p>
|
|
73
72
|
* <ul>
|
|
74
73
|
* <li>
|
|
@@ -95,37 +94,38 @@ export interface ResourceShareAssociation {
|
|
|
95
94
|
* </ul>
|
|
96
95
|
* </li>
|
|
97
96
|
* </ul>
|
|
97
|
+
* @public
|
|
98
98
|
*/
|
|
99
99
|
associatedEntity?: string;
|
|
100
100
|
/**
|
|
101
|
-
* @public
|
|
102
101
|
* <p>The type of entity included in this association.</p>
|
|
102
|
+
* @public
|
|
103
103
|
*/
|
|
104
104
|
associationType?: ResourceShareAssociationType;
|
|
105
105
|
/**
|
|
106
|
-
* @public
|
|
107
106
|
* <p>The current status of the association.</p>
|
|
107
|
+
* @public
|
|
108
108
|
*/
|
|
109
109
|
status?: ResourceShareAssociationStatus;
|
|
110
110
|
/**
|
|
111
|
-
* @public
|
|
112
111
|
* <p>A message about the status of the association.</p>
|
|
112
|
+
* @public
|
|
113
113
|
*/
|
|
114
114
|
statusMessage?: string;
|
|
115
115
|
/**
|
|
116
|
-
* @public
|
|
117
116
|
* <p>The date and time when the association was created.</p>
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
creationTime?: Date;
|
|
120
120
|
/**
|
|
121
|
-
* @public
|
|
122
121
|
* <p>The date and time when the association was last updated.</p>
|
|
122
|
+
* @public
|
|
123
123
|
*/
|
|
124
124
|
lastUpdatedTime?: Date;
|
|
125
125
|
/**
|
|
126
|
-
* @public
|
|
127
126
|
* <p>Indicates whether the principal belongs to the same organization in Organizations as the
|
|
128
127
|
* Amazon Web Services account that owns the resource share.</p>
|
|
128
|
+
* @public
|
|
129
129
|
*/
|
|
130
130
|
external?: boolean;
|
|
131
131
|
}
|
|
@@ -144,55 +144,55 @@ export declare const ResourceShareInvitationStatus: {
|
|
|
144
144
|
*/
|
|
145
145
|
export type ResourceShareInvitationStatus = (typeof ResourceShareInvitationStatus)[keyof typeof ResourceShareInvitationStatus];
|
|
146
146
|
/**
|
|
147
|
-
* @public
|
|
148
147
|
* <p>Describes an invitation for an Amazon Web Services account to join a resource share.</p>
|
|
148
|
+
* @public
|
|
149
149
|
*/
|
|
150
150
|
export interface ResourceShareInvitation {
|
|
151
151
|
/**
|
|
152
|
-
* @public
|
|
153
152
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the invitation.</p>
|
|
153
|
+
* @public
|
|
154
154
|
*/
|
|
155
155
|
resourceShareInvitationArn?: string;
|
|
156
156
|
/**
|
|
157
|
-
* @public
|
|
158
157
|
* <p>The name of the resource share.</p>
|
|
158
|
+
* @public
|
|
159
159
|
*/
|
|
160
160
|
resourceShareName?: string;
|
|
161
161
|
/**
|
|
162
|
-
* @public
|
|
163
162
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share</p>
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
resourceShareArn?: string;
|
|
166
166
|
/**
|
|
167
|
-
* @public
|
|
168
167
|
* <p>The ID of the Amazon Web Services account that sent the invitation.</p>
|
|
168
|
+
* @public
|
|
169
169
|
*/
|
|
170
170
|
senderAccountId?: string;
|
|
171
171
|
/**
|
|
172
|
-
* @public
|
|
173
172
|
* <p>The ID of the Amazon Web Services account that received the invitation.</p>
|
|
173
|
+
* @public
|
|
174
174
|
*/
|
|
175
175
|
receiverAccountId?: string;
|
|
176
176
|
/**
|
|
177
|
-
* @public
|
|
178
177
|
* <p>The date and time when the invitation was sent.</p>
|
|
178
|
+
* @public
|
|
179
179
|
*/
|
|
180
180
|
invitationTimestamp?: Date;
|
|
181
181
|
/**
|
|
182
|
-
* @public
|
|
183
182
|
* <p>The current status of the invitation.</p>
|
|
183
|
+
* @public
|
|
184
184
|
*/
|
|
185
185
|
status?: ResourceShareInvitationStatus;
|
|
186
186
|
/**
|
|
187
|
-
* @public
|
|
188
187
|
* @deprecated
|
|
189
188
|
*
|
|
190
189
|
* <p>To view the resources associated with a pending resource share invitation, use <a>ListPendingInvitationResources</a>.</p>
|
|
190
|
+
* @public
|
|
191
191
|
*/
|
|
192
192
|
resourceShareAssociations?: ResourceShareAssociation[];
|
|
193
193
|
/**
|
|
194
|
-
* @public
|
|
195
194
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the IAM user or role that received the invitation.</p>
|
|
195
|
+
* @public
|
|
196
196
|
*/
|
|
197
197
|
receiverArn?: string;
|
|
198
198
|
}
|
|
@@ -201,24 +201,24 @@ export interface ResourceShareInvitation {
|
|
|
201
201
|
*/
|
|
202
202
|
export interface AcceptResourceShareInvitationResponse {
|
|
203
203
|
/**
|
|
204
|
-
* @public
|
|
205
204
|
* <p>An object that contains information about the specified invitation.</p>
|
|
205
|
+
* @public
|
|
206
206
|
*/
|
|
207
207
|
resourceShareInvitation?: ResourceShareInvitation;
|
|
208
208
|
/**
|
|
209
|
-
* @public
|
|
210
209
|
* <p>The idempotency identifier associated with this request. If you
|
|
211
210
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
212
211
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
213
212
|
* parameters must also have the same values that you used in the first call.</p>
|
|
213
|
+
* @public
|
|
214
214
|
*/
|
|
215
215
|
clientToken?: string;
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
|
-
* @public
|
|
219
218
|
* <p>The operation failed because the client token input parameter matched one that was
|
|
220
219
|
* used with a previous call to the operation, but at least one of the other input
|
|
221
220
|
* parameters is different from the previous call.</p>
|
|
221
|
+
* @public
|
|
222
222
|
*/
|
|
223
223
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
224
224
|
readonly name: "IdempotentParameterMismatchException";
|
|
@@ -229,8 +229,8 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
|
|
|
229
229
|
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
230
230
|
}
|
|
231
231
|
/**
|
|
232
|
-
* @public
|
|
233
232
|
* <p>The operation failed because the specified client token isn't valid.</p>
|
|
233
|
+
* @public
|
|
234
234
|
*/
|
|
235
235
|
export declare class InvalidClientTokenException extends __BaseException {
|
|
236
236
|
readonly name: "InvalidClientTokenException";
|
|
@@ -241,9 +241,9 @@ export declare class InvalidClientTokenException extends __BaseException {
|
|
|
241
241
|
constructor(opts: __ExceptionOptionType<InvalidClientTokenException, __BaseException>);
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
|
-
* @public
|
|
245
244
|
* <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
|
|
246
245
|
* valid.</p>
|
|
246
|
+
* @public
|
|
247
247
|
*/
|
|
248
248
|
export declare class MalformedArnException extends __BaseException {
|
|
249
249
|
readonly name: "MalformedArnException";
|
|
@@ -254,8 +254,8 @@ export declare class MalformedArnException extends __BaseException {
|
|
|
254
254
|
constructor(opts: __ExceptionOptionType<MalformedArnException, __BaseException>);
|
|
255
255
|
}
|
|
256
256
|
/**
|
|
257
|
-
* @public
|
|
258
257
|
* <p>The operation failed because the requested operation isn't permitted.</p>
|
|
258
|
+
* @public
|
|
259
259
|
*/
|
|
260
260
|
export declare class OperationNotPermittedException extends __BaseException {
|
|
261
261
|
readonly name: "OperationNotPermittedException";
|
|
@@ -266,8 +266,8 @@ export declare class OperationNotPermittedException extends __BaseException {
|
|
|
266
266
|
constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
|
|
267
267
|
}
|
|
268
268
|
/**
|
|
269
|
-
* @public
|
|
270
269
|
* <p>The operation failed because the specified invitation was already accepted.</p>
|
|
270
|
+
* @public
|
|
271
271
|
*/
|
|
272
272
|
export declare class ResourceShareInvitationAlreadyAcceptedException extends __BaseException {
|
|
273
273
|
readonly name: "ResourceShareInvitationAlreadyAcceptedException";
|
|
@@ -278,8 +278,8 @@ export declare class ResourceShareInvitationAlreadyAcceptedException extends __B
|
|
|
278
278
|
constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyAcceptedException, __BaseException>);
|
|
279
279
|
}
|
|
280
280
|
/**
|
|
281
|
-
* @public
|
|
282
281
|
* <p>The operation failed because the specified invitation was already rejected.</p>
|
|
282
|
+
* @public
|
|
283
283
|
*/
|
|
284
284
|
export declare class ResourceShareInvitationAlreadyRejectedException extends __BaseException {
|
|
285
285
|
readonly name: "ResourceShareInvitationAlreadyRejectedException";
|
|
@@ -290,9 +290,9 @@ export declare class ResourceShareInvitationAlreadyRejectedException extends __B
|
|
|
290
290
|
constructor(opts: __ExceptionOptionType<ResourceShareInvitationAlreadyRejectedException, __BaseException>);
|
|
291
291
|
}
|
|
292
292
|
/**
|
|
293
|
-
* @public
|
|
294
293
|
* <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
|
|
295
294
|
* found.</p>
|
|
295
|
+
* @public
|
|
296
296
|
*/
|
|
297
297
|
export declare class ResourceShareInvitationArnNotFoundException extends __BaseException {
|
|
298
298
|
readonly name: "ResourceShareInvitationArnNotFoundException";
|
|
@@ -303,9 +303,9 @@ export declare class ResourceShareInvitationArnNotFoundException extends __BaseE
|
|
|
303
303
|
constructor(opts: __ExceptionOptionType<ResourceShareInvitationArnNotFoundException, __BaseException>);
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
|
-
* @public
|
|
307
306
|
* <p>The operation failed because the specified invitation is past its expiration date and
|
|
308
307
|
* time.</p>
|
|
308
|
+
* @public
|
|
309
309
|
*/
|
|
310
310
|
export declare class ResourceShareInvitationExpiredException extends __BaseException {
|
|
311
311
|
readonly name: "ResourceShareInvitationExpiredException";
|
|
@@ -316,9 +316,9 @@ export declare class ResourceShareInvitationExpiredException extends __BaseExcep
|
|
|
316
316
|
constructor(opts: __ExceptionOptionType<ResourceShareInvitationExpiredException, __BaseException>);
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
|
-
* @public
|
|
320
319
|
* <p>The operation failed because the service could not respond to the request due to an
|
|
321
320
|
* internal problem. Try again later.</p>
|
|
321
|
+
* @public
|
|
322
322
|
*/
|
|
323
323
|
export declare class ServerInternalException extends __BaseException {
|
|
324
324
|
readonly name: "ServerInternalException";
|
|
@@ -329,8 +329,8 @@ export declare class ServerInternalException extends __BaseException {
|
|
|
329
329
|
constructor(opts: __ExceptionOptionType<ServerInternalException, __BaseException>);
|
|
330
330
|
}
|
|
331
331
|
/**
|
|
332
|
-
* @public
|
|
333
332
|
* <p>The operation failed because the service isn't available. Try again later.</p>
|
|
333
|
+
* @public
|
|
334
334
|
*/
|
|
335
335
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
336
336
|
readonly name: "ServiceUnavailableException";
|
|
@@ -345,19 +345,18 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
345
345
|
*/
|
|
346
346
|
export interface AssociateResourceShareRequest {
|
|
347
347
|
/**
|
|
348
|
-
* @public
|
|
349
348
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share that you want to add principals or resources
|
|
350
349
|
* to.</p>
|
|
350
|
+
* @public
|
|
351
351
|
*/
|
|
352
352
|
resourceShareArn: string | undefined;
|
|
353
353
|
/**
|
|
354
|
-
* @public
|
|
355
354
|
* <p>Specifies a list of <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> of the resources that you want to share. This can be
|
|
356
355
|
* <code>null</code> if you want to add only principals.</p>
|
|
356
|
+
* @public
|
|
357
357
|
*/
|
|
358
358
|
resourceArns?: string[];
|
|
359
359
|
/**
|
|
360
|
-
* @public
|
|
361
360
|
* <p>Specifies a list of principals to whom you want to the resource share. This can be
|
|
362
361
|
* <code>null</code> if you want to add only resources.</p>
|
|
363
362
|
* <p>What the principals can do with the resources in the share is determined by the RAM
|
|
@@ -394,10 +393,10 @@ export interface AssociateResourceShareRequest {
|
|
|
394
393
|
* For more information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and users</a> in the <i>Resource Access Manager User
|
|
395
394
|
* Guide</i>.</p>
|
|
396
395
|
* </note>
|
|
396
|
+
* @public
|
|
397
397
|
*/
|
|
398
398
|
principals?: string[];
|
|
399
399
|
/**
|
|
400
|
-
* @public
|
|
401
400
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
402
401
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
403
402
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -409,12 +408,13 @@ export interface AssociateResourceShareRequest {
|
|
|
409
408
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
410
409
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
411
410
|
* error.</p>
|
|
411
|
+
* @public
|
|
412
412
|
*/
|
|
413
413
|
clientToken?: string;
|
|
414
414
|
/**
|
|
415
|
-
* @public
|
|
416
415
|
* <p>Specifies from which source accounts the service principal
|
|
417
416
|
* has access to the resources in this resource share.</p>
|
|
417
|
+
* @public
|
|
418
418
|
*/
|
|
419
419
|
sources?: string[];
|
|
420
420
|
}
|
|
@@ -423,22 +423,22 @@ export interface AssociateResourceShareRequest {
|
|
|
423
423
|
*/
|
|
424
424
|
export interface AssociateResourceShareResponse {
|
|
425
425
|
/**
|
|
426
|
-
* @public
|
|
427
426
|
* <p>An array of objects that contain information about the associations.</p>
|
|
427
|
+
* @public
|
|
428
428
|
*/
|
|
429
429
|
resourceShareAssociations?: ResourceShareAssociation[];
|
|
430
430
|
/**
|
|
431
|
-
* @public
|
|
432
431
|
* <p>The idempotency identifier associated with this request. If you
|
|
433
432
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
434
433
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
435
434
|
* parameters must also have the same values that you used in the first call.</p>
|
|
435
|
+
* @public
|
|
436
436
|
*/
|
|
437
437
|
clientToken?: string;
|
|
438
438
|
}
|
|
439
439
|
/**
|
|
440
|
-
* @public
|
|
441
440
|
* <p>The operation failed because a parameter you specified isn't valid.</p>
|
|
441
|
+
* @public
|
|
442
442
|
*/
|
|
443
443
|
export declare class InvalidParameterException extends __BaseException {
|
|
444
444
|
readonly name: "InvalidParameterException";
|
|
@@ -449,9 +449,9 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
449
449
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
|
-
* @public
|
|
453
452
|
* <p>The operation failed because the requested operation isn't valid for the resource
|
|
454
453
|
* share in its current state.</p>
|
|
454
|
+
* @public
|
|
455
455
|
*/
|
|
456
456
|
export declare class InvalidStateTransitionException extends __BaseException {
|
|
457
457
|
readonly name: "InvalidStateTransitionException";
|
|
@@ -462,10 +462,10 @@ export declare class InvalidStateTransitionException extends __BaseException {
|
|
|
462
462
|
constructor(opts: __ExceptionOptionType<InvalidStateTransitionException, __BaseException>);
|
|
463
463
|
}
|
|
464
464
|
/**
|
|
465
|
-
* @public
|
|
466
465
|
* <p>The operation failed because it would exceed the limit for resource shares for your account. To
|
|
467
466
|
* 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
|
|
468
467
|
* console</a>.</p>
|
|
468
|
+
* @public
|
|
469
469
|
*/
|
|
470
470
|
export declare class ResourceShareLimitExceededException extends __BaseException {
|
|
471
471
|
readonly name: "ResourceShareLimitExceededException";
|
|
@@ -476,9 +476,9 @@ export declare class ResourceShareLimitExceededException extends __BaseException
|
|
|
476
476
|
constructor(opts: __ExceptionOptionType<ResourceShareLimitExceededException, __BaseException>);
|
|
477
477
|
}
|
|
478
478
|
/**
|
|
479
|
-
* @public
|
|
480
479
|
* <p>The operation failed because it exceeded the rate at which you are allowed to perform
|
|
481
480
|
* this operation. Please try again later.</p>
|
|
481
|
+
* @public
|
|
482
482
|
*/
|
|
483
483
|
export declare class ThrottlingException extends __BaseException {
|
|
484
484
|
readonly name: "ThrottlingException";
|
|
@@ -489,8 +489,8 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
489
489
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
490
490
|
}
|
|
491
491
|
/**
|
|
492
|
-
* @public
|
|
493
492
|
* <p>The operation failed because a specified resource couldn't be found.</p>
|
|
493
|
+
* @public
|
|
494
494
|
*/
|
|
495
495
|
export declare class UnknownResourceException extends __BaseException {
|
|
496
496
|
readonly name: "UnknownResourceException";
|
|
@@ -505,20 +505,19 @@ export declare class UnknownResourceException extends __BaseException {
|
|
|
505
505
|
*/
|
|
506
506
|
export interface AssociateResourceSharePermissionRequest {
|
|
507
507
|
/**
|
|
508
|
-
* @public
|
|
509
508
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share to which you want to add or replace
|
|
510
509
|
* permissions.</p>
|
|
510
|
+
* @public
|
|
511
511
|
*/
|
|
512
512
|
resourceShareArn: string | undefined;
|
|
513
513
|
/**
|
|
514
|
-
* @public
|
|
515
514
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the RAM permission to associate with the resource share.
|
|
516
515
|
* To find the ARN for a permission, use either the <a>ListPermissions</a> operation or go to the <a href="https://console.aws.amazon.com/ram/home#Permissions:">Permissions library</a> page in the RAM console and
|
|
517
516
|
* then choose the name of the permission. The ARN is displayed on the detail page.</p>
|
|
517
|
+
* @public
|
|
518
518
|
*/
|
|
519
519
|
permissionArn: string | undefined;
|
|
520
520
|
/**
|
|
521
|
-
* @public
|
|
522
521
|
* <p>Specifies whether the specified permission should replace the existing permission
|
|
523
522
|
* associated with the resource share. Use <code>true</code> to replace the current permissions. Use
|
|
524
523
|
* <code>false</code> to add the permission to a resource share that currently doesn't
|
|
@@ -529,10 +528,10 @@ export interface AssociateResourceSharePermissionRequest {
|
|
|
529
528
|
* <code>true</code> then the operation returns an error. This helps prevent
|
|
530
529
|
* accidental overwriting of a permission.</p>
|
|
531
530
|
* </note>
|
|
531
|
+
* @public
|
|
532
532
|
*/
|
|
533
533
|
replace?: boolean;
|
|
534
534
|
/**
|
|
535
|
-
* @public
|
|
536
535
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
537
536
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
538
537
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -544,10 +543,10 @@ export interface AssociateResourceSharePermissionRequest {
|
|
|
544
543
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
545
544
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
546
545
|
* error.</p>
|
|
546
|
+
* @public
|
|
547
547
|
*/
|
|
548
548
|
clientToken?: string;
|
|
549
549
|
/**
|
|
550
|
-
* @public
|
|
551
550
|
* <p>Specifies the version of the RAM permission to associate with the resource share. You can
|
|
552
551
|
* specify <i>only</i> the version that is currently set as the default
|
|
553
552
|
* version for the permission. If you also set the <code>replace</code> pararameter to
|
|
@@ -558,6 +557,7 @@ export interface AssociateResourceSharePermissionRequest {
|
|
|
558
557
|
* the version that is currently set as the default version for the permission. This
|
|
559
558
|
* parameter is supported for backwards compatibility.</p>
|
|
560
559
|
* </note>
|
|
560
|
+
* @public
|
|
561
561
|
*/
|
|
562
562
|
permissionVersion?: number;
|
|
563
563
|
}
|
|
@@ -566,40 +566,40 @@ export interface AssociateResourceSharePermissionRequest {
|
|
|
566
566
|
*/
|
|
567
567
|
export interface AssociateResourceSharePermissionResponse {
|
|
568
568
|
/**
|
|
569
|
-
* @public
|
|
570
569
|
* <p>A return value of <code>true</code> indicates that the request succeeded.
|
|
571
570
|
* A value of <code>false</code> indicates that the request failed.</p>
|
|
571
|
+
* @public
|
|
572
572
|
*/
|
|
573
573
|
returnValue?: boolean;
|
|
574
574
|
/**
|
|
575
|
-
* @public
|
|
576
575
|
* <p>The idempotency identifier associated with this request. If you
|
|
577
576
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
578
577
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
579
578
|
* parameters must also have the same values that you used in the first call.</p>
|
|
579
|
+
* @public
|
|
580
580
|
*/
|
|
581
581
|
clientToken?: string;
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
584
|
-
* @public
|
|
585
584
|
* <p>A structure containing a tag. A tag is metadata that you can attach to your resources
|
|
586
585
|
* to help organize and categorize them. You can also use them to help you secure your
|
|
587
586
|
* resources. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources
|
|
588
587
|
* using tags</a>.</p>
|
|
589
588
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the
|
|
590
589
|
* <i>Amazon Web Services General Reference Guide</i>.</p>
|
|
590
|
+
* @public
|
|
591
591
|
*/
|
|
592
592
|
export interface Tag {
|
|
593
593
|
/**
|
|
594
|
-
* @public
|
|
595
594
|
* <p>The key, or name, attached to the tag. Every tag must have a key. Key names are case
|
|
596
595
|
* sensitive.</p>
|
|
596
|
+
* @public
|
|
597
597
|
*/
|
|
598
598
|
key?: string;
|
|
599
599
|
/**
|
|
600
|
-
* @public
|
|
601
600
|
* <p>The string value attached to the tag. The value can be an empty string. Key values are
|
|
602
601
|
* case sensitive.</p>
|
|
602
|
+
* @public
|
|
603
603
|
*/
|
|
604
604
|
value?: string;
|
|
605
605
|
}
|
|
@@ -608,13 +608,12 @@ export interface Tag {
|
|
|
608
608
|
*/
|
|
609
609
|
export interface CreatePermissionRequest {
|
|
610
610
|
/**
|
|
611
|
-
* @public
|
|
612
611
|
* <p>Specifies the name of the customer managed permission. The name must be unique within the
|
|
613
612
|
* Amazon Web Services Region.</p>
|
|
613
|
+
* @public
|
|
614
614
|
*/
|
|
615
615
|
name: string | undefined;
|
|
616
616
|
/**
|
|
617
|
-
* @public
|
|
618
617
|
* <p>Specifies the name of the resource type that this customer managed permission applies to.</p>
|
|
619
618
|
* <p>The format is
|
|
620
619
|
* <code>
|
|
@@ -623,10 +622,10 @@ export interface CreatePermissionRequest {
|
|
|
623
622
|
* and is not case sensitive. For example, to specify an Amazon EC2 Subnet, you can use the
|
|
624
623
|
* string <code>ec2:subnet</code>. To see the list of valid values for this parameter,
|
|
625
624
|
* query the <a>ListResourceTypes</a> operation.</p>
|
|
625
|
+
* @public
|
|
626
626
|
*/
|
|
627
627
|
resourceType: string | undefined;
|
|
628
628
|
/**
|
|
629
|
-
* @public
|
|
630
629
|
* <p>A string in JSON format string that contains the following elements of a
|
|
631
630
|
* resource-based policy:</p>
|
|
632
631
|
* <ul>
|
|
@@ -659,10 +658,10 @@ export interface CreatePermissionRequest {
|
|
|
659
658
|
* <code>Resource</code> comes from the ARN of the specific resource that you are sharing.
|
|
660
659
|
* The <code>Principal</code> comes from the list of identities added to the resource
|
|
661
660
|
* share.</p>
|
|
661
|
+
* @public
|
|
662
662
|
*/
|
|
663
663
|
policyTemplate: string | undefined;
|
|
664
664
|
/**
|
|
665
|
-
* @public
|
|
666
665
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
667
666
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
668
667
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -674,12 +673,13 @@ export interface CreatePermissionRequest {
|
|
|
674
673
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
675
674
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
676
675
|
* error.</p>
|
|
676
|
+
* @public
|
|
677
677
|
*/
|
|
678
678
|
clientToken?: string;
|
|
679
679
|
/**
|
|
680
|
-
* @public
|
|
681
680
|
* <p>Specifies a list of one or more tag key and value pairs to attach to the
|
|
682
681
|
* permission.</p>
|
|
682
|
+
* @public
|
|
683
683
|
*/
|
|
684
684
|
tags?: Tag[];
|
|
685
685
|
}
|
|
@@ -709,62 +709,61 @@ export declare const PermissionType: {
|
|
|
709
709
|
*/
|
|
710
710
|
export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
|
|
711
711
|
/**
|
|
712
|
-
* @public
|
|
713
712
|
* <p>Information about an RAM permission.</p>
|
|
713
|
+
* @public
|
|
714
714
|
*/
|
|
715
715
|
export interface ResourceSharePermissionSummary {
|
|
716
716
|
/**
|
|
717
|
-
* @public
|
|
718
717
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the permission you want information about.</p>
|
|
718
|
+
* @public
|
|
719
719
|
*/
|
|
720
720
|
arn?: string;
|
|
721
721
|
/**
|
|
722
|
-
* @public
|
|
723
722
|
* <p>The version of the permission associated with this resource share.</p>
|
|
723
|
+
* @public
|
|
724
724
|
*/
|
|
725
725
|
version?: string;
|
|
726
726
|
/**
|
|
727
|
-
* @public
|
|
728
727
|
* <p>Specifies whether the version of the managed permission used by this resource share is the default version for
|
|
729
728
|
* this managed permission.</p>
|
|
729
|
+
* @public
|
|
730
730
|
*/
|
|
731
731
|
defaultVersion?: boolean;
|
|
732
732
|
/**
|
|
733
|
-
* @public
|
|
734
733
|
* <p>The name of this managed permission.</p>
|
|
734
|
+
* @public
|
|
735
735
|
*/
|
|
736
736
|
name?: string;
|
|
737
737
|
/**
|
|
738
|
-
* @public
|
|
739
738
|
* <p>The type of resource to which this permission applies. This takes the form of:
|
|
740
739
|
* <code>service-code</code>:<code>resource-code</code>, and is case-insensitive. For
|
|
741
740
|
* example, an Amazon EC2 Subnet would be represented by the string
|
|
742
741
|
* <code>ec2:subnet</code>.</p>
|
|
742
|
+
* @public
|
|
743
743
|
*/
|
|
744
744
|
resourceType?: string;
|
|
745
745
|
/**
|
|
746
|
-
* @public
|
|
747
746
|
* <p>The current status of the permission.</p>
|
|
747
|
+
* @public
|
|
748
748
|
*/
|
|
749
749
|
status?: string;
|
|
750
750
|
/**
|
|
751
|
-
* @public
|
|
752
751
|
* <p>The date and time when the permission was created.</p>
|
|
752
|
+
* @public
|
|
753
753
|
*/
|
|
754
754
|
creationTime?: Date;
|
|
755
755
|
/**
|
|
756
|
-
* @public
|
|
757
756
|
* <p>The date and time when the permission was last updated.</p>
|
|
757
|
+
* @public
|
|
758
758
|
*/
|
|
759
759
|
lastUpdatedTime?: Date;
|
|
760
760
|
/**
|
|
761
|
-
* @public
|
|
762
761
|
* <p>Specifies whether the managed permission associated with this resource share is the default managed permission for all
|
|
763
762
|
* resources of this resource type.</p>
|
|
763
|
+
* @public
|
|
764
764
|
*/
|
|
765
765
|
isResourceTypeDefault?: boolean;
|
|
766
766
|
/**
|
|
767
|
-
* @public
|
|
768
767
|
* <p>The type of managed permission. This can be one of the following values:</p>
|
|
769
768
|
* <ul>
|
|
770
769
|
* <li>
|
|
@@ -779,10 +778,10 @@ export interface ResourceSharePermissionSummary {
|
|
|
779
778
|
* new versions that have different permissions.</p>
|
|
780
779
|
* </li>
|
|
781
780
|
* </ul>
|
|
781
|
+
* @public
|
|
782
782
|
*/
|
|
783
783
|
permissionType?: PermissionType;
|
|
784
784
|
/**
|
|
785
|
-
* @public
|
|
786
785
|
* <p>Indicates what features are available for this resource share. This parameter can have one of
|
|
787
786
|
* the following values:</p>
|
|
788
787
|
* <ul>
|
|
@@ -812,11 +811,12 @@ export interface ResourceSharePermissionSummary {
|
|
|
812
811
|
* complete.</p>
|
|
813
812
|
* </li>
|
|
814
813
|
* </ul>
|
|
814
|
+
* @public
|
|
815
815
|
*/
|
|
816
816
|
featureSet?: PermissionFeatureSet;
|
|
817
817
|
/**
|
|
818
|
-
* @public
|
|
819
818
|
* <p>A list of the tag key value pairs currently attached to the permission.</p>
|
|
819
|
+
* @public
|
|
820
820
|
*/
|
|
821
821
|
tags?: Tag[];
|
|
822
822
|
}
|
|
@@ -825,22 +825,22 @@ export interface ResourceSharePermissionSummary {
|
|
|
825
825
|
*/
|
|
826
826
|
export interface CreatePermissionResponse {
|
|
827
827
|
/**
|
|
828
|
-
* @public
|
|
829
828
|
* <p>A structure with information about this customer managed permission.</p>
|
|
829
|
+
* @public
|
|
830
830
|
*/
|
|
831
831
|
permission?: ResourceSharePermissionSummary;
|
|
832
832
|
/**
|
|
833
|
-
* @public
|
|
834
833
|
* <p>The idempotency identifier associated with this request. If you
|
|
835
834
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
836
835
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
837
836
|
* parameters must also have the same values that you used in the first call.</p>
|
|
837
|
+
* @public
|
|
838
838
|
*/
|
|
839
839
|
clientToken?: string;
|
|
840
840
|
}
|
|
841
841
|
/**
|
|
842
|
-
* @public
|
|
843
842
|
* <p>The operation failed because a policy you specified isn't valid.</p>
|
|
843
|
+
* @public
|
|
844
844
|
*/
|
|
845
845
|
export declare class InvalidPolicyException extends __BaseException {
|
|
846
846
|
readonly name: "InvalidPolicyException";
|
|
@@ -851,8 +851,8 @@ export declare class InvalidPolicyException extends __BaseException {
|
|
|
851
851
|
constructor(opts: __ExceptionOptionType<InvalidPolicyException, __BaseException>);
|
|
852
852
|
}
|
|
853
853
|
/**
|
|
854
|
-
* @public
|
|
855
854
|
* <p>The operation failed because the policy template that you provided isn't valid.</p>
|
|
855
|
+
* @public
|
|
856
856
|
*/
|
|
857
857
|
export declare class MalformedPolicyTemplateException extends __BaseException {
|
|
858
858
|
readonly name: "MalformedPolicyTemplateException";
|
|
@@ -863,9 +863,9 @@ export declare class MalformedPolicyTemplateException extends __BaseException {
|
|
|
863
863
|
constructor(opts: __ExceptionOptionType<MalformedPolicyTemplateException, __BaseException>);
|
|
864
864
|
}
|
|
865
865
|
/**
|
|
866
|
-
* @public
|
|
867
866
|
* <p>The operation failed because a permission with the specified name already exists in
|
|
868
867
|
* the requested Amazon Web Services Region. Choose a different name.</p>
|
|
868
|
+
* @public
|
|
869
869
|
*/
|
|
870
870
|
export declare class PermissionAlreadyExistsException extends __BaseException {
|
|
871
871
|
readonly name: "PermissionAlreadyExistsException";
|
|
@@ -876,10 +876,10 @@ export declare class PermissionAlreadyExistsException extends __BaseException {
|
|
|
876
876
|
constructor(opts: __ExceptionOptionType<PermissionAlreadyExistsException, __BaseException>);
|
|
877
877
|
}
|
|
878
878
|
/**
|
|
879
|
-
* @public
|
|
880
879
|
* <p>The operation failed because it would exceed the maximum number of permissions you can
|
|
881
880
|
* create in each Amazon Web Services Region. To 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
|
|
882
881
|
* Service Quotas console</a>.</p>
|
|
882
|
+
* @public
|
|
883
883
|
*/
|
|
884
884
|
export declare class PermissionLimitExceededException extends __BaseException {
|
|
885
885
|
readonly name: "PermissionLimitExceededException";
|
|
@@ -894,12 +894,11 @@ export declare class PermissionLimitExceededException extends __BaseException {
|
|
|
894
894
|
*/
|
|
895
895
|
export interface CreatePermissionVersionRequest {
|
|
896
896
|
/**
|
|
897
|
-
* @public
|
|
898
897
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the customer managed permission you're creating a new version for.</p>
|
|
898
|
+
* @public
|
|
899
899
|
*/
|
|
900
900
|
permissionArn: string | undefined;
|
|
901
901
|
/**
|
|
902
|
-
* @public
|
|
903
902
|
* <p>A string in JSON format string that contains the following elements of a
|
|
904
903
|
* resource-based policy:</p>
|
|
905
904
|
* <ul>
|
|
@@ -932,10 +931,10 @@ export interface CreatePermissionVersionRequest {
|
|
|
932
931
|
* <code>Resource</code> comes from the ARN of the specific resource that you are sharing.
|
|
933
932
|
* The <code>Principal</code> comes from the list of identities added to the resource
|
|
934
933
|
* share.</p>
|
|
934
|
+
* @public
|
|
935
935
|
*/
|
|
936
936
|
policyTemplate: string | undefined;
|
|
937
937
|
/**
|
|
938
|
-
* @public
|
|
939
938
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
940
939
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
941
940
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -947,6 +946,7 @@ export interface CreatePermissionVersionRequest {
|
|
|
947
946
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
948
947
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
949
948
|
* error.</p>
|
|
949
|
+
* @public
|
|
950
950
|
*/
|
|
951
951
|
clientToken?: string;
|
|
952
952
|
}
|
|
@@ -965,61 +965,60 @@ export declare const PermissionStatus: {
|
|
|
965
965
|
*/
|
|
966
966
|
export type PermissionStatus = (typeof PermissionStatus)[keyof typeof PermissionStatus];
|
|
967
967
|
/**
|
|
968
|
-
* @public
|
|
969
968
|
* <p>Information about a RAM managed permission.</p>
|
|
969
|
+
* @public
|
|
970
970
|
*/
|
|
971
971
|
export interface ResourceSharePermissionDetail {
|
|
972
972
|
/**
|
|
973
|
-
* @public
|
|
974
973
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of this RAM managed permission.</p>
|
|
974
|
+
* @public
|
|
975
975
|
*/
|
|
976
976
|
arn?: string;
|
|
977
977
|
/**
|
|
978
|
-
* @public
|
|
979
978
|
* <p>The version of the permission described in this response.</p>
|
|
979
|
+
* @public
|
|
980
980
|
*/
|
|
981
981
|
version?: string;
|
|
982
982
|
/**
|
|
983
|
-
* @public
|
|
984
983
|
* <p>Specifies whether the version of the permission represented in this response is the
|
|
985
984
|
* default version for this permission.</p>
|
|
985
|
+
* @public
|
|
986
986
|
*/
|
|
987
987
|
defaultVersion?: boolean;
|
|
988
988
|
/**
|
|
989
|
-
* @public
|
|
990
989
|
* <p>The name of this permission.</p>
|
|
990
|
+
* @public
|
|
991
991
|
*/
|
|
992
992
|
name?: string;
|
|
993
993
|
/**
|
|
994
|
-
* @public
|
|
995
994
|
* <p>The resource type to which this permission applies.</p>
|
|
995
|
+
* @public
|
|
996
996
|
*/
|
|
997
997
|
resourceType?: string;
|
|
998
998
|
/**
|
|
999
|
-
* @public
|
|
1000
999
|
* <p>The permission's effect and actions in JSON format. The <code>effect</code> indicates
|
|
1001
1000
|
* whether the specified actions are allowed or denied. The <code>actions</code> list the
|
|
1002
1001
|
* operations to which the principal is granted or denied access.</p>
|
|
1002
|
+
* @public
|
|
1003
1003
|
*/
|
|
1004
1004
|
permission?: string;
|
|
1005
1005
|
/**
|
|
1006
|
-
* @public
|
|
1007
1006
|
* <p>The date and time when the permission was created.</p>
|
|
1007
|
+
* @public
|
|
1008
1008
|
*/
|
|
1009
1009
|
creationTime?: Date;
|
|
1010
1010
|
/**
|
|
1011
|
-
* @public
|
|
1012
1011
|
* <p>The date and time when the permission was last updated.</p>
|
|
1012
|
+
* @public
|
|
1013
1013
|
*/
|
|
1014
1014
|
lastUpdatedTime?: Date;
|
|
1015
1015
|
/**
|
|
1016
|
-
* @public
|
|
1017
1016
|
* <p>Specifies whether the version of the permission represented in this response is the
|
|
1018
1017
|
* default version for all resources of this resource type.</p>
|
|
1018
|
+
* @public
|
|
1019
1019
|
*/
|
|
1020
1020
|
isResourceTypeDefault?: boolean;
|
|
1021
1021
|
/**
|
|
1022
|
-
* @public
|
|
1023
1022
|
* <p>The type of managed permission. This can be one of the following values:</p>
|
|
1024
1023
|
* <ul>
|
|
1025
1024
|
* <li>
|
|
@@ -1034,10 +1033,10 @@ export interface ResourceSharePermissionDetail {
|
|
|
1034
1033
|
* new versions that have different permissions.</p>
|
|
1035
1034
|
* </li>
|
|
1036
1035
|
* </ul>
|
|
1036
|
+
* @public
|
|
1037
1037
|
*/
|
|
1038
1038
|
permissionType?: PermissionType;
|
|
1039
1039
|
/**
|
|
1040
|
-
* @public
|
|
1041
1040
|
* <p>Indicates what features are available for this resource share. This parameter can have one of
|
|
1042
1041
|
* the following values:</p>
|
|
1043
1042
|
* <ul>
|
|
@@ -1067,10 +1066,10 @@ export interface ResourceSharePermissionDetail {
|
|
|
1067
1066
|
* complete.</p>
|
|
1068
1067
|
* </li>
|
|
1069
1068
|
* </ul>
|
|
1069
|
+
* @public
|
|
1070
1070
|
*/
|
|
1071
1071
|
featureSet?: PermissionFeatureSet;
|
|
1072
1072
|
/**
|
|
1073
|
-
* @public
|
|
1074
1073
|
* <p>The current status of the association between the permission and the resource share.
|
|
1075
1074
|
* The following are the possible values:</p>
|
|
1076
1075
|
* <ul>
|
|
@@ -1094,11 +1093,12 @@ export interface ResourceSharePermissionDetail {
|
|
|
1094
1093
|
* <code>DELETED</code> – This permission or version is deleted.</p>
|
|
1095
1094
|
* </li>
|
|
1096
1095
|
* </ul>
|
|
1096
|
+
* @public
|
|
1097
1097
|
*/
|
|
1098
1098
|
status?: PermissionStatus;
|
|
1099
1099
|
/**
|
|
1100
|
-
* @public
|
|
1101
1100
|
* <p>The tag key and value pairs attached to the resource share.</p>
|
|
1101
|
+
* @public
|
|
1102
1102
|
*/
|
|
1103
1103
|
tags?: Tag[];
|
|
1104
1104
|
}
|
|
@@ -1107,24 +1107,24 @@ export interface ResourceSharePermissionDetail {
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
export interface CreatePermissionVersionResponse {
|
|
1109
1109
|
/**
|
|
1110
|
-
* @public
|
|
1111
1110
|
* <p>Information about a RAM managed permission.</p>
|
|
1111
|
+
* @public
|
|
1112
1112
|
*/
|
|
1113
1113
|
permission?: ResourceSharePermissionDetail;
|
|
1114
1114
|
/**
|
|
1115
|
-
* @public
|
|
1116
1115
|
* <p>The idempotency identifier associated with this request. If you
|
|
1117
1116
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
1118
1117
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
1119
1118
|
* parameters must also have the same values that you used in the first call.</p>
|
|
1119
|
+
* @public
|
|
1120
1120
|
*/
|
|
1121
1121
|
clientToken?: string;
|
|
1122
1122
|
}
|
|
1123
1123
|
/**
|
|
1124
|
-
* @public
|
|
1125
1124
|
* <p>The operation failed because it would exceed the limit for the number of versions you
|
|
1126
1125
|
* can have for a permission. To 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
|
|
1127
1126
|
* Service Quotas console</a>.</p>
|
|
1127
|
+
* @public
|
|
1128
1128
|
*/
|
|
1129
1129
|
export declare class PermissionVersionsLimitExceededException extends __BaseException {
|
|
1130
1130
|
readonly name: "PermissionVersionsLimitExceededException";
|
|
@@ -1139,18 +1139,17 @@ export declare class PermissionVersionsLimitExceededException extends __BaseExce
|
|
|
1139
1139
|
*/
|
|
1140
1140
|
export interface CreateResourceShareRequest {
|
|
1141
1141
|
/**
|
|
1142
|
-
* @public
|
|
1143
1142
|
* <p>Specifies the name of the resource share.</p>
|
|
1143
|
+
* @public
|
|
1144
1144
|
*/
|
|
1145
1145
|
name: string | undefined;
|
|
1146
1146
|
/**
|
|
1147
|
-
* @public
|
|
1148
1147
|
* <p>Specifies a list of one or more ARNs of the resources to associate with the
|
|
1149
1148
|
* resource share.</p>
|
|
1149
|
+
* @public
|
|
1150
1150
|
*/
|
|
1151
1151
|
resourceArns?: string[];
|
|
1152
1152
|
/**
|
|
1153
|
-
* @public
|
|
1154
1153
|
* <p>Specifies a list of one or more principals to associate with the resource share.</p>
|
|
1155
1154
|
* <p>You can include the following values:</p>
|
|
1156
1155
|
* <ul>
|
|
@@ -1184,25 +1183,25 @@ export interface CreateResourceShareRequest {
|
|
|
1184
1183
|
* For more information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and users</a> in the <i>Resource Access Manager User
|
|
1185
1184
|
* Guide</i>.</p>
|
|
1186
1185
|
* </note>
|
|
1186
|
+
* @public
|
|
1187
1187
|
*/
|
|
1188
1188
|
principals?: string[];
|
|
1189
1189
|
/**
|
|
1190
|
-
* @public
|
|
1191
1190
|
* <p>Specifies one or more tags to attach to the resource share itself. It doesn't attach the tags to
|
|
1192
1191
|
* the resources associated with the resource share.</p>
|
|
1192
|
+
* @public
|
|
1193
1193
|
*/
|
|
1194
1194
|
tags?: Tag[];
|
|
1195
1195
|
/**
|
|
1196
|
-
* @public
|
|
1197
1196
|
* <p>Specifies whether principals outside your organization in Organizations can be associated
|
|
1198
1197
|
* with a resource share. A value of <code>true</code> lets you share with individual Amazon Web Services accounts
|
|
1199
1198
|
* that are <i>not</i> in your organization. A value of <code>false</code>
|
|
1200
1199
|
* only has meaning if your account is a member of an Amazon Web Services Organization. The default value
|
|
1201
1200
|
* is <code>true</code>.</p>
|
|
1201
|
+
* @public
|
|
1202
1202
|
*/
|
|
1203
1203
|
allowExternalPrincipals?: boolean;
|
|
1204
1204
|
/**
|
|
1205
|
-
* @public
|
|
1206
1205
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
1207
1206
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
1208
1207
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -1214,20 +1213,21 @@ export interface CreateResourceShareRequest {
|
|
|
1214
1213
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
1215
1214
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
1216
1215
|
* error.</p>
|
|
1216
|
+
* @public
|
|
1217
1217
|
*/
|
|
1218
1218
|
clientToken?: string;
|
|
1219
1219
|
/**
|
|
1220
|
-
* @public
|
|
1221
1220
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> of the RAM permission to associate with the resource share. If you do
|
|
1222
1221
|
* not specify an ARN for the permission, RAM automatically attaches the default version
|
|
1223
1222
|
* of the permission for each resource type. You can associate only one permission with
|
|
1224
1223
|
* each resource type included in the resource share.</p>
|
|
1224
|
+
* @public
|
|
1225
1225
|
*/
|
|
1226
1226
|
permissionArns?: string[];
|
|
1227
1227
|
/**
|
|
1228
|
-
* @public
|
|
1229
1228
|
* <p>Specifies from which source accounts the service principal
|
|
1230
1229
|
* has access to the resources in this resource share.</p>
|
|
1230
|
+
* @public
|
|
1231
1231
|
*/
|
|
1232
1232
|
sources?: string[];
|
|
1233
1233
|
}
|
|
@@ -1260,27 +1260,26 @@ export declare const ResourceShareStatus: {
|
|
|
1260
1260
|
*/
|
|
1261
1261
|
export type ResourceShareStatus = (typeof ResourceShareStatus)[keyof typeof ResourceShareStatus];
|
|
1262
1262
|
/**
|
|
1263
|
-
* @public
|
|
1264
1263
|
* <p>Describes a resource share in RAM.</p>
|
|
1264
|
+
* @public
|
|
1265
1265
|
*/
|
|
1266
1266
|
export interface ResourceShare {
|
|
1267
1267
|
/**
|
|
1268
|
-
* @public
|
|
1269
1268
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share</p>
|
|
1269
|
+
* @public
|
|
1270
1270
|
*/
|
|
1271
1271
|
resourceShareArn?: string;
|
|
1272
1272
|
/**
|
|
1273
|
-
* @public
|
|
1274
1273
|
* <p>The name of the resource share.</p>
|
|
1274
|
+
* @public
|
|
1275
1275
|
*/
|
|
1276
1276
|
name?: string;
|
|
1277
1277
|
/**
|
|
1278
|
-
* @public
|
|
1279
1278
|
* <p>The ID of the Amazon Web Services account that owns the resource share.</p>
|
|
1279
|
+
* @public
|
|
1280
1280
|
*/
|
|
1281
1281
|
owningAccountId?: string;
|
|
1282
1282
|
/**
|
|
1283
|
-
* @public
|
|
1284
1283
|
* <p>Indicates whether principals outside your organization in Organizations can be associated
|
|
1285
1284
|
* with a resource share.</p>
|
|
1286
1285
|
* <ul>
|
|
@@ -1296,35 +1295,35 @@ export interface ResourceShare {
|
|
|
1296
1295
|
* share.</p>
|
|
1297
1296
|
* </li>
|
|
1298
1297
|
* </ul>
|
|
1298
|
+
* @public
|
|
1299
1299
|
*/
|
|
1300
1300
|
allowExternalPrincipals?: boolean;
|
|
1301
1301
|
/**
|
|
1302
|
-
* @public
|
|
1303
1302
|
* <p>The current status of the resource share.</p>
|
|
1303
|
+
* @public
|
|
1304
1304
|
*/
|
|
1305
1305
|
status?: ResourceShareStatus;
|
|
1306
1306
|
/**
|
|
1307
|
-
* @public
|
|
1308
1307
|
* <p>A message about the status of the resource share.</p>
|
|
1308
|
+
* @public
|
|
1309
1309
|
*/
|
|
1310
1310
|
statusMessage?: string;
|
|
1311
1311
|
/**
|
|
1312
|
-
* @public
|
|
1313
1312
|
* <p>The tag key and value pairs attached to the resource share.</p>
|
|
1313
|
+
* @public
|
|
1314
1314
|
*/
|
|
1315
1315
|
tags?: Tag[];
|
|
1316
1316
|
/**
|
|
1317
|
-
* @public
|
|
1318
1317
|
* <p>The date and time when the resource share was created.</p>
|
|
1318
|
+
* @public
|
|
1319
1319
|
*/
|
|
1320
1320
|
creationTime?: Date;
|
|
1321
1321
|
/**
|
|
1322
|
-
* @public
|
|
1323
1322
|
* <p>The date and time when the resource share was last updated.</p>
|
|
1323
|
+
* @public
|
|
1324
1324
|
*/
|
|
1325
1325
|
lastUpdatedTime?: Date;
|
|
1326
1326
|
/**
|
|
1327
|
-
* @public
|
|
1328
1327
|
* <p>Indicates what features are available for this resource share. This parameter can have one of
|
|
1329
1328
|
* the following values:</p>
|
|
1330
1329
|
* <ul>
|
|
@@ -1354,6 +1353,7 @@ export interface ResourceShare {
|
|
|
1354
1353
|
* complete.</p>
|
|
1355
1354
|
* </li>
|
|
1356
1355
|
* </ul>
|
|
1356
|
+
* @public
|
|
1357
1357
|
*/
|
|
1358
1358
|
featureSet?: ResourceShareFeatureSet;
|
|
1359
1359
|
}
|
|
@@ -1362,23 +1362,23 @@ export interface ResourceShare {
|
|
|
1362
1362
|
*/
|
|
1363
1363
|
export interface CreateResourceShareResponse {
|
|
1364
1364
|
/**
|
|
1365
|
-
* @public
|
|
1366
1365
|
* <p>An object with information about the new resource share.</p>
|
|
1366
|
+
* @public
|
|
1367
1367
|
*/
|
|
1368
1368
|
resourceShare?: ResourceShare;
|
|
1369
1369
|
/**
|
|
1370
|
-
* @public
|
|
1371
1370
|
* <p>The idempotency identifier associated with this request. If you
|
|
1372
1371
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
1373
1372
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
1374
1373
|
* parameters must also have the same values that you used in the first call.</p>
|
|
1374
|
+
* @public
|
|
1375
1375
|
*/
|
|
1376
1376
|
clientToken?: string;
|
|
1377
1377
|
}
|
|
1378
1378
|
/**
|
|
1379
|
-
* @public
|
|
1380
1379
|
* <p>The operation failed because it would exceed the limit for tags for your
|
|
1381
1380
|
* Amazon Web Services account.</p>
|
|
1381
|
+
* @public
|
|
1382
1382
|
*/
|
|
1383
1383
|
export declare class TagLimitExceededException extends __BaseException {
|
|
1384
1384
|
readonly name: "TagLimitExceededException";
|
|
@@ -1389,9 +1389,9 @@ export declare class TagLimitExceededException extends __BaseException {
|
|
|
1389
1389
|
constructor(opts: __ExceptionOptionType<TagLimitExceededException, __BaseException>);
|
|
1390
1390
|
}
|
|
1391
1391
|
/**
|
|
1392
|
-
* @public
|
|
1393
1392
|
* <p>The operation failed because the specified tag key is a reserved word and can't be
|
|
1394
1393
|
* used.</p>
|
|
1394
|
+
* @public
|
|
1395
1395
|
*/
|
|
1396
1396
|
export declare class TagPolicyViolationException extends __BaseException {
|
|
1397
1397
|
readonly name: "TagPolicyViolationException";
|
|
@@ -1406,12 +1406,11 @@ export declare class TagPolicyViolationException extends __BaseException {
|
|
|
1406
1406
|
*/
|
|
1407
1407
|
export interface DeletePermissionRequest {
|
|
1408
1408
|
/**
|
|
1409
|
-
* @public
|
|
1410
1409
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the customer managed permission that you want to delete.</p>
|
|
1410
|
+
* @public
|
|
1411
1411
|
*/
|
|
1412
1412
|
permissionArn: string | undefined;
|
|
1413
1413
|
/**
|
|
1414
|
-
* @public
|
|
1415
1414
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
1416
1415
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
1417
1416
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -1423,6 +1422,7 @@ export interface DeletePermissionRequest {
|
|
|
1423
1422
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
1424
1423
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
1425
1424
|
* error.</p>
|
|
1425
|
+
* @public
|
|
1426
1426
|
*/
|
|
1427
1427
|
clientToken?: string;
|
|
1428
1428
|
}
|
|
@@ -1431,22 +1431,22 @@ export interface DeletePermissionRequest {
|
|
|
1431
1431
|
*/
|
|
1432
1432
|
export interface DeletePermissionResponse {
|
|
1433
1433
|
/**
|
|
1434
|
-
* @public
|
|
1435
1434
|
* <p>A boolean that indicates whether the delete operations succeeded.</p>
|
|
1435
|
+
* @public
|
|
1436
1436
|
*/
|
|
1437
1437
|
returnValue?: boolean;
|
|
1438
1438
|
/**
|
|
1439
|
-
* @public
|
|
1440
1439
|
* <p>The idempotency identifier associated with this request. If you
|
|
1441
1440
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
1442
1441
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
1443
1442
|
* parameters must also have the same values that you used in the first call.</p>
|
|
1443
|
+
* @public
|
|
1444
1444
|
*/
|
|
1445
1445
|
clientToken?: string;
|
|
1446
1446
|
/**
|
|
1447
|
-
* @public
|
|
1448
1447
|
* <p>This operation is performed asynchronously, and this response parameter indicates the
|
|
1449
1448
|
* current status.</p>
|
|
1449
|
+
* @public
|
|
1450
1450
|
*/
|
|
1451
1451
|
permissionStatus?: PermissionStatus;
|
|
1452
1452
|
}
|
|
@@ -1455,12 +1455,11 @@ export interface DeletePermissionResponse {
|
|
|
1455
1455
|
*/
|
|
1456
1456
|
export interface DeletePermissionVersionRequest {
|
|
1457
1457
|
/**
|
|
1458
|
-
* @public
|
|
1459
1458
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the permission with the version you want to delete.</p>
|
|
1459
|
+
* @public
|
|
1460
1460
|
*/
|
|
1461
1461
|
permissionArn: string | undefined;
|
|
1462
1462
|
/**
|
|
1463
|
-
* @public
|
|
1464
1463
|
* <p>Specifies the version number to delete.</p>
|
|
1465
1464
|
* <p>You can't delete the default version for a customer managed permission.</p>
|
|
1466
1465
|
* <p>You can't delete a version if it's the only version of the permission. You must either
|
|
@@ -1469,10 +1468,10 @@ export interface DeletePermissionVersionRequest {
|
|
|
1469
1468
|
* the default, you must first use <a>SetDefaultPermissionVersion</a> to set a
|
|
1470
1469
|
* different version as the default for the customer managed permission, and then use <a>AssociateResourceSharePermission</a> to update your resource shares to use
|
|
1471
1470
|
* the new default version.</p>
|
|
1471
|
+
* @public
|
|
1472
1472
|
*/
|
|
1473
1473
|
permissionVersion: number | undefined;
|
|
1474
1474
|
/**
|
|
1475
|
-
* @public
|
|
1476
1475
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
1477
1476
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
1478
1477
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -1484,6 +1483,7 @@ export interface DeletePermissionVersionRequest {
|
|
|
1484
1483
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
1485
1484
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
1486
1485
|
* error.</p>
|
|
1486
|
+
* @public
|
|
1487
1487
|
*/
|
|
1488
1488
|
clientToken?: string;
|
|
1489
1489
|
}
|
|
@@ -1492,22 +1492,22 @@ export interface DeletePermissionVersionRequest {
|
|
|
1492
1492
|
*/
|
|
1493
1493
|
export interface DeletePermissionVersionResponse {
|
|
1494
1494
|
/**
|
|
1495
|
-
* @public
|
|
1496
1495
|
* <p>A boolean value that indicates whether the operation is successful.</p>
|
|
1496
|
+
* @public
|
|
1497
1497
|
*/
|
|
1498
1498
|
returnValue?: boolean;
|
|
1499
1499
|
/**
|
|
1500
|
-
* @public
|
|
1501
1500
|
* <p>The idempotency identifier associated with this request. If you
|
|
1502
1501
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
1503
1502
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
1504
1503
|
* parameters must also have the same values that you used in the first call.</p>
|
|
1504
|
+
* @public
|
|
1505
1505
|
*/
|
|
1506
1506
|
clientToken?: string;
|
|
1507
1507
|
/**
|
|
1508
|
-
* @public
|
|
1509
1508
|
* <p>This operation is performed asynchronously, and this response parameter indicates the
|
|
1510
1509
|
* current status.</p>
|
|
1510
|
+
* @public
|
|
1511
1511
|
*/
|
|
1512
1512
|
permissionStatus?: PermissionStatus;
|
|
1513
1513
|
}
|
|
@@ -1516,12 +1516,11 @@ export interface DeletePermissionVersionResponse {
|
|
|
1516
1516
|
*/
|
|
1517
1517
|
export interface DeleteResourceShareRequest {
|
|
1518
1518
|
/**
|
|
1519
|
-
* @public
|
|
1520
1519
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share to delete.</p>
|
|
1520
|
+
* @public
|
|
1521
1521
|
*/
|
|
1522
1522
|
resourceShareArn: string | undefined;
|
|
1523
1523
|
/**
|
|
1524
|
-
* @public
|
|
1525
1524
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
1526
1525
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
1527
1526
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -1533,6 +1532,7 @@ export interface DeleteResourceShareRequest {
|
|
|
1533
1532
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
1534
1533
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
1535
1534
|
* error.</p>
|
|
1535
|
+
* @public
|
|
1536
1536
|
*/
|
|
1537
1537
|
clientToken?: string;
|
|
1538
1538
|
}
|
|
@@ -1541,17 +1541,17 @@ export interface DeleteResourceShareRequest {
|
|
|
1541
1541
|
*/
|
|
1542
1542
|
export interface DeleteResourceShareResponse {
|
|
1543
1543
|
/**
|
|
1544
|
-
* @public
|
|
1545
1544
|
* <p>A return value of <code>true</code> indicates that the request succeeded.
|
|
1546
1545
|
* A value of <code>false</code> indicates that the request failed.</p>
|
|
1546
|
+
* @public
|
|
1547
1547
|
*/
|
|
1548
1548
|
returnValue?: boolean;
|
|
1549
1549
|
/**
|
|
1550
|
-
* @public
|
|
1551
1550
|
* <p>The idempotency identifier associated with this request. If you
|
|
1552
1551
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
1553
1552
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
1554
1553
|
* parameters must also have the same values that you used in the first call.</p>
|
|
1554
|
+
* @public
|
|
1555
1555
|
*/
|
|
1556
1556
|
clientToken?: string;
|
|
1557
1557
|
}
|
|
@@ -1560,20 +1560,19 @@ export interface DeleteResourceShareResponse {
|
|
|
1560
1560
|
*/
|
|
1561
1561
|
export interface DisassociateResourceShareRequest {
|
|
1562
1562
|
/**
|
|
1563
|
-
* @public
|
|
1564
1563
|
* <p>Specifies <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share that you want to remove resources or principals
|
|
1565
1564
|
* from.</p>
|
|
1565
|
+
* @public
|
|
1566
1566
|
*/
|
|
1567
1567
|
resourceShareArn: string | undefined;
|
|
1568
1568
|
/**
|
|
1569
|
-
* @public
|
|
1570
1569
|
* <p>Specifies a list of <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> for one or more resources that you want to remove from
|
|
1571
1570
|
* the resource share. After the operation runs, these resources are no longer shared with principals
|
|
1572
1571
|
* associated with the resource share.</p>
|
|
1572
|
+
* @public
|
|
1573
1573
|
*/
|
|
1574
1574
|
resourceArns?: string[];
|
|
1575
1575
|
/**
|
|
1576
|
-
* @public
|
|
1577
1576
|
* <p>Specifies a list of one or more principals that no longer are to have access to the
|
|
1578
1577
|
* resources in this resource share.</p>
|
|
1579
1578
|
* <p>You can include the following values:</p>
|
|
@@ -1608,10 +1607,10 @@ export interface DisassociateResourceShareRequest {
|
|
|
1608
1607
|
* For more information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and users</a> in the <i>Resource Access Manager User
|
|
1609
1608
|
* Guide</i>.</p>
|
|
1610
1609
|
* </note>
|
|
1610
|
+
* @public
|
|
1611
1611
|
*/
|
|
1612
1612
|
principals?: string[];
|
|
1613
1613
|
/**
|
|
1614
|
-
* @public
|
|
1615
1614
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
1616
1615
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
1617
1616
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -1623,12 +1622,13 @@ export interface DisassociateResourceShareRequest {
|
|
|
1623
1622
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
1624
1623
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
1625
1624
|
* error.</p>
|
|
1625
|
+
* @public
|
|
1626
1626
|
*/
|
|
1627
1627
|
clientToken?: string;
|
|
1628
1628
|
/**
|
|
1629
|
-
* @public
|
|
1630
1629
|
* <p>Specifies from which source accounts the
|
|
1631
1630
|
* service principal no longer has access to the resources in this resource share.</p>
|
|
1631
|
+
* @public
|
|
1632
1632
|
*/
|
|
1633
1633
|
sources?: string[];
|
|
1634
1634
|
}
|
|
@@ -1637,17 +1637,17 @@ export interface DisassociateResourceShareRequest {
|
|
|
1637
1637
|
*/
|
|
1638
1638
|
export interface DisassociateResourceShareResponse {
|
|
1639
1639
|
/**
|
|
1640
|
-
* @public
|
|
1641
1640
|
* <p>An array of objects with information about the updated associations for this
|
|
1642
1641
|
* resource share.</p>
|
|
1642
|
+
* @public
|
|
1643
1643
|
*/
|
|
1644
1644
|
resourceShareAssociations?: ResourceShareAssociation[];
|
|
1645
1645
|
/**
|
|
1646
|
-
* @public
|
|
1647
1646
|
* <p>The idempotency identifier associated with this request. If you
|
|
1648
1647
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
1649
1648
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
1650
1649
|
* parameters must also have the same values that you used in the first call.</p>
|
|
1650
|
+
* @public
|
|
1651
1651
|
*/
|
|
1652
1652
|
clientToken?: string;
|
|
1653
1653
|
}
|
|
@@ -1656,18 +1656,17 @@ export interface DisassociateResourceShareResponse {
|
|
|
1656
1656
|
*/
|
|
1657
1657
|
export interface DisassociateResourceSharePermissionRequest {
|
|
1658
1658
|
/**
|
|
1659
|
-
* @public
|
|
1660
1659
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share that you want to remove the managed permission from.</p>
|
|
1660
|
+
* @public
|
|
1661
1661
|
*/
|
|
1662
1662
|
resourceShareArn: string | undefined;
|
|
1663
1663
|
/**
|
|
1664
|
-
* @public
|
|
1665
1664
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the managed permission to disassociate from the resource share. Changes to permissions take
|
|
1666
1665
|
* effect immediately.</p>
|
|
1666
|
+
* @public
|
|
1667
1667
|
*/
|
|
1668
1668
|
permissionArn: string | undefined;
|
|
1669
1669
|
/**
|
|
1670
|
-
* @public
|
|
1671
1670
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
1672
1671
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
1673
1672
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -1679,6 +1678,7 @@ export interface DisassociateResourceSharePermissionRequest {
|
|
|
1679
1678
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
1680
1679
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
1681
1680
|
* error.</p>
|
|
1681
|
+
* @public
|
|
1682
1682
|
*/
|
|
1683
1683
|
clientToken?: string;
|
|
1684
1684
|
}
|
|
@@ -1687,17 +1687,17 @@ export interface DisassociateResourceSharePermissionRequest {
|
|
|
1687
1687
|
*/
|
|
1688
1688
|
export interface DisassociateResourceSharePermissionResponse {
|
|
1689
1689
|
/**
|
|
1690
|
-
* @public
|
|
1691
1690
|
* <p>A return value of <code>true</code> indicates that the request succeeded.
|
|
1692
1691
|
* A value of <code>false</code> indicates that the request failed.</p>
|
|
1692
|
+
* @public
|
|
1693
1693
|
*/
|
|
1694
1694
|
returnValue?: boolean;
|
|
1695
1695
|
/**
|
|
1696
|
-
* @public
|
|
1697
1696
|
* <p>The idempotency identifier associated with this request. If you
|
|
1698
1697
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
1699
1698
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
1700
1699
|
* parameters must also have the same values that you used in the first call.</p>
|
|
1700
|
+
* @public
|
|
1701
1701
|
*/
|
|
1702
1702
|
clientToken?: string;
|
|
1703
1703
|
}
|
|
@@ -1711,9 +1711,9 @@ export interface EnableSharingWithAwsOrganizationRequest {
|
|
|
1711
1711
|
*/
|
|
1712
1712
|
export interface EnableSharingWithAwsOrganizationResponse {
|
|
1713
1713
|
/**
|
|
1714
|
-
* @public
|
|
1715
1714
|
* <p>A return value of <code>true</code> indicates that the request succeeded.
|
|
1716
1715
|
* A value of <code>false</code> indicates that the request failed.</p>
|
|
1716
|
+
* @public
|
|
1717
1717
|
*/
|
|
1718
1718
|
returnValue?: boolean;
|
|
1719
1719
|
}
|
|
@@ -1722,17 +1722,17 @@ export interface EnableSharingWithAwsOrganizationResponse {
|
|
|
1722
1722
|
*/
|
|
1723
1723
|
export interface GetPermissionRequest {
|
|
1724
1724
|
/**
|
|
1725
|
-
* @public
|
|
1726
1725
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the permission whose contents you want to retrieve.
|
|
1727
1726
|
* To find the ARN for a permission, use either the <a>ListPermissions</a> operation or go to the <a href="https://console.aws.amazon.com/ram/home#Permissions:">Permissions library</a> page in the RAM console and
|
|
1728
1727
|
* then choose the name of the permission. The ARN is displayed on the detail page.</p>
|
|
1728
|
+
* @public
|
|
1729
1729
|
*/
|
|
1730
1730
|
permissionArn: string | undefined;
|
|
1731
1731
|
/**
|
|
1732
|
-
* @public
|
|
1733
1732
|
* <p>Specifies the version number of the RAM permission to retrieve. If you don't specify
|
|
1734
1733
|
* this parameter, the operation retrieves the default version.</p>
|
|
1735
1734
|
* <p>To see the list of available versions, use <a>ListPermissionVersions</a>.</p>
|
|
1735
|
+
* @public
|
|
1736
1736
|
*/
|
|
1737
1737
|
permissionVersion?: number;
|
|
1738
1738
|
}
|
|
@@ -1741,8 +1741,8 @@ export interface GetPermissionRequest {
|
|
|
1741
1741
|
*/
|
|
1742
1742
|
export interface GetPermissionResponse {
|
|
1743
1743
|
/**
|
|
1744
|
-
* @public
|
|
1745
1744
|
* <p>An object with details about the permission.</p>
|
|
1745
|
+
* @public
|
|
1746
1746
|
*/
|
|
1747
1747
|
permission?: ResourceSharePermissionDetail;
|
|
1748
1748
|
}
|
|
@@ -1751,26 +1751,25 @@ export interface GetPermissionResponse {
|
|
|
1751
1751
|
*/
|
|
1752
1752
|
export interface GetResourcePoliciesRequest {
|
|
1753
1753
|
/**
|
|
1754
|
-
* @public
|
|
1755
1754
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> of the resources whose policies you want to retrieve.</p>
|
|
1755
|
+
* @public
|
|
1756
1756
|
*/
|
|
1757
1757
|
resourceArns: string[] | undefined;
|
|
1758
1758
|
/**
|
|
1759
|
-
* @public
|
|
1760
1759
|
* <p>Specifies the principal.</p>
|
|
1760
|
+
* @public
|
|
1761
1761
|
*/
|
|
1762
1762
|
principal?: string;
|
|
1763
1763
|
/**
|
|
1764
|
-
* @public
|
|
1765
1764
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
1766
1765
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
1767
1766
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
1768
1767
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
1769
1768
|
* next page of results.</p>
|
|
1769
|
+
* @public
|
|
1770
1770
|
*/
|
|
1771
1771
|
nextToken?: string;
|
|
1772
1772
|
/**
|
|
1773
|
-
* @public
|
|
1774
1773
|
* <p>Specifies the total number of results that you want included on each page
|
|
1775
1774
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
1776
1775
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -1780,6 +1779,7 @@ export interface GetResourcePoliciesRequest {
|
|
|
1780
1779
|
* return fewer results than the maximum even when there are more results available. You
|
|
1781
1780
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
1782
1781
|
* of the results.</p>
|
|
1782
|
+
* @public
|
|
1783
1783
|
*/
|
|
1784
1784
|
maxResults?: number;
|
|
1785
1785
|
}
|
|
@@ -1788,25 +1788,25 @@ export interface GetResourcePoliciesRequest {
|
|
|
1788
1788
|
*/
|
|
1789
1789
|
export interface GetResourcePoliciesResponse {
|
|
1790
1790
|
/**
|
|
1791
|
-
* @public
|
|
1792
1791
|
* <p>An array of resource policy documents in JSON format.</p>
|
|
1792
|
+
* @public
|
|
1793
1793
|
*/
|
|
1794
1794
|
policies?: string[];
|
|
1795
1795
|
/**
|
|
1796
|
-
* @public
|
|
1797
1796
|
* <p>If present, this value indicates that more output is available than
|
|
1798
1797
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
1799
1798
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
1800
1799
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
1801
1800
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
1801
|
+
* @public
|
|
1802
1802
|
*/
|
|
1803
1803
|
nextToken?: string;
|
|
1804
1804
|
}
|
|
1805
1805
|
/**
|
|
1806
|
-
* @public
|
|
1807
1806
|
* <p>The operation failed because the specified value for <code>NextToken</code> isn't
|
|
1808
1807
|
* valid. You must specify a value you received in the <code>NextToken</code> response of a
|
|
1809
1808
|
* previous call to this operation.</p>
|
|
1809
|
+
* @public
|
|
1810
1810
|
*/
|
|
1811
1811
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
1812
1812
|
readonly name: "InvalidNextTokenException";
|
|
@@ -1817,8 +1817,8 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
1817
1817
|
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
1818
1818
|
}
|
|
1819
1819
|
/**
|
|
1820
|
-
* @public
|
|
1821
1820
|
* <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> was not found.</p>
|
|
1821
|
+
* @public
|
|
1822
1822
|
*/
|
|
1823
1823
|
export declare class ResourceArnNotFoundException extends __BaseException {
|
|
1824
1824
|
readonly name: "ResourceArnNotFoundException";
|
|
@@ -1833,7 +1833,6 @@ export declare class ResourceArnNotFoundException extends __BaseException {
|
|
|
1833
1833
|
*/
|
|
1834
1834
|
export interface GetResourceShareAssociationsRequest {
|
|
1835
1835
|
/**
|
|
1836
|
-
* @public
|
|
1837
1836
|
* <p>Specifies whether you want to retrieve the associations that involve a specified
|
|
1838
1837
|
* resource or principal.</p>
|
|
1839
1838
|
* <ul>
|
|
@@ -1848,46 +1847,46 @@ export interface GetResourceShareAssociationsRequest {
|
|
|
1848
1847
|
* to see.</p>
|
|
1849
1848
|
* </li>
|
|
1850
1849
|
* </ul>
|
|
1850
|
+
* @public
|
|
1851
1851
|
*/
|
|
1852
1852
|
associationType: ResourceShareAssociationType | undefined;
|
|
1853
1853
|
/**
|
|
1854
|
-
* @public
|
|
1855
1854
|
* <p>Specifies a list of <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> of the resource share whose associations you want to
|
|
1856
1855
|
* retrieve.</p>
|
|
1856
|
+
* @public
|
|
1857
1857
|
*/
|
|
1858
1858
|
resourceShareArns?: string[];
|
|
1859
1859
|
/**
|
|
1860
|
-
* @public
|
|
1861
1860
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of a resource whose resource shares you want to retrieve.</p>
|
|
1862
1861
|
* <p>You cannot specify this parameter if the association type is
|
|
1863
1862
|
* <code>PRINCIPAL</code>.</p>
|
|
1863
|
+
* @public
|
|
1864
1864
|
*/
|
|
1865
1865
|
resourceArn?: string;
|
|
1866
1866
|
/**
|
|
1867
|
-
* @public
|
|
1868
1867
|
* <p>Specifies the ID of the principal whose resource shares you want to retrieve. This can be an
|
|
1869
1868
|
* Amazon Web Services account ID, an organization ID, an organizational unit ID, or the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of an
|
|
1870
1869
|
* individual IAM role or user.</p>
|
|
1871
1870
|
* <p>You cannot specify this parameter if the association type is
|
|
1872
1871
|
* <code>RESOURCE</code>.</p>
|
|
1872
|
+
* @public
|
|
1873
1873
|
*/
|
|
1874
1874
|
principal?: string;
|
|
1875
1875
|
/**
|
|
1876
|
-
* @public
|
|
1877
1876
|
* <p>Specifies that you want to retrieve only associations that have this status.</p>
|
|
1877
|
+
* @public
|
|
1878
1878
|
*/
|
|
1879
1879
|
associationStatus?: ResourceShareAssociationStatus;
|
|
1880
1880
|
/**
|
|
1881
|
-
* @public
|
|
1882
1881
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
1883
1882
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
1884
1883
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
1885
1884
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
1886
1885
|
* next page of results.</p>
|
|
1886
|
+
* @public
|
|
1887
1887
|
*/
|
|
1888
1888
|
nextToken?: string;
|
|
1889
1889
|
/**
|
|
1890
|
-
* @public
|
|
1891
1890
|
* <p>Specifies the total number of results that you want included on each page
|
|
1892
1891
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
1893
1892
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -1897,6 +1896,7 @@ export interface GetResourceShareAssociationsRequest {
|
|
|
1897
1896
|
* return fewer results than the maximum even when there are more results available. You
|
|
1898
1897
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
1899
1898
|
* of the results.</p>
|
|
1899
|
+
* @public
|
|
1900
1900
|
*/
|
|
1901
1901
|
maxResults?: number;
|
|
1902
1902
|
}
|
|
@@ -1905,17 +1905,17 @@ export interface GetResourceShareAssociationsRequest {
|
|
|
1905
1905
|
*/
|
|
1906
1906
|
export interface GetResourceShareAssociationsResponse {
|
|
1907
1907
|
/**
|
|
1908
|
-
* @public
|
|
1909
1908
|
* <p>An array of objects that contain the details about the associations.</p>
|
|
1909
|
+
* @public
|
|
1910
1910
|
*/
|
|
1911
1911
|
resourceShareAssociations?: ResourceShareAssociation[];
|
|
1912
1912
|
/**
|
|
1913
|
-
* @public
|
|
1914
1913
|
* <p>If present, this value indicates that more output is available than
|
|
1915
1914
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
1916
1915
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
1917
1916
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
1918
1917
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
1918
|
+
* @public
|
|
1919
1919
|
*/
|
|
1920
1920
|
nextToken?: string;
|
|
1921
1921
|
}
|
|
@@ -1924,28 +1924,27 @@ export interface GetResourceShareAssociationsResponse {
|
|
|
1924
1924
|
*/
|
|
1925
1925
|
export interface GetResourceShareInvitationsRequest {
|
|
1926
1926
|
/**
|
|
1927
|
-
* @public
|
|
1928
1927
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> of the resource share invitations you want information about.</p>
|
|
1928
|
+
* @public
|
|
1929
1929
|
*/
|
|
1930
1930
|
resourceShareInvitationArns?: string[];
|
|
1931
1931
|
/**
|
|
1932
|
-
* @public
|
|
1933
1932
|
* <p>Specifies that you want details about invitations only for the resource shares described by this
|
|
1934
1933
|
* list of <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>
|
|
1935
1934
|
* </p>
|
|
1935
|
+
* @public
|
|
1936
1936
|
*/
|
|
1937
1937
|
resourceShareArns?: string[];
|
|
1938
1938
|
/**
|
|
1939
|
-
* @public
|
|
1940
1939
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
1941
1940
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
1942
1941
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
1943
1942
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
1944
1943
|
* next page of results.</p>
|
|
1944
|
+
* @public
|
|
1945
1945
|
*/
|
|
1946
1946
|
nextToken?: string;
|
|
1947
1947
|
/**
|
|
1948
|
-
* @public
|
|
1949
1948
|
* <p>Specifies the total number of results that you want included on each page
|
|
1950
1949
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
1951
1950
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -1955,6 +1954,7 @@ export interface GetResourceShareInvitationsRequest {
|
|
|
1955
1954
|
* return fewer results than the maximum even when there are more results available. You
|
|
1956
1955
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
1957
1956
|
* of the results.</p>
|
|
1957
|
+
* @public
|
|
1958
1958
|
*/
|
|
1959
1959
|
maxResults?: number;
|
|
1960
1960
|
}
|
|
@@ -1963,24 +1963,24 @@ export interface GetResourceShareInvitationsRequest {
|
|
|
1963
1963
|
*/
|
|
1964
1964
|
export interface GetResourceShareInvitationsResponse {
|
|
1965
1965
|
/**
|
|
1966
|
-
* @public
|
|
1967
1966
|
* <p>An array of objects that contain the details about the invitations.</p>
|
|
1967
|
+
* @public
|
|
1968
1968
|
*/
|
|
1969
1969
|
resourceShareInvitations?: ResourceShareInvitation[];
|
|
1970
1970
|
/**
|
|
1971
|
-
* @public
|
|
1972
1971
|
* <p>If present, this value indicates that more output is available than
|
|
1973
1972
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
1974
1973
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
1975
1974
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
1976
1975
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
1976
|
+
* @public
|
|
1977
1977
|
*/
|
|
1978
1978
|
nextToken?: string;
|
|
1979
1979
|
}
|
|
1980
1980
|
/**
|
|
1981
|
-
* @public
|
|
1982
1981
|
* <p>The operation failed because the specified value for <code>MaxResults</code> isn't
|
|
1983
1982
|
* valid.</p>
|
|
1983
|
+
* @public
|
|
1984
1984
|
*/
|
|
1985
1985
|
export declare class InvalidMaxResultsException extends __BaseException {
|
|
1986
1986
|
readonly name: "InvalidMaxResultsException";
|
|
@@ -2003,20 +2003,20 @@ export declare const ResourceOwner: {
|
|
|
2003
2003
|
*/
|
|
2004
2004
|
export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
|
|
2005
2005
|
/**
|
|
2006
|
-
* @public
|
|
2007
2006
|
* <p>A tag key and optional list of possible values that you can use to filter results for
|
|
2008
2007
|
* tagged resources.</p>
|
|
2008
|
+
* @public
|
|
2009
2009
|
*/
|
|
2010
2010
|
export interface TagFilter {
|
|
2011
2011
|
/**
|
|
2012
|
-
* @public
|
|
2013
2012
|
* <p>The tag key. This must have a valid string value and can't be empty.</p>
|
|
2013
|
+
* @public
|
|
2014
2014
|
*/
|
|
2015
2015
|
tagKey?: string;
|
|
2016
2016
|
/**
|
|
2017
|
-
* @public
|
|
2018
2017
|
* <p>A list of zero or more tag values. If no values are provided, then the filter matches
|
|
2019
2018
|
* any tag with the specified key, regardless of its value.</p>
|
|
2019
|
+
* @public
|
|
2020
2020
|
*/
|
|
2021
2021
|
tagValues?: string[];
|
|
2022
2022
|
}
|
|
@@ -2025,18 +2025,17 @@ export interface TagFilter {
|
|
|
2025
2025
|
*/
|
|
2026
2026
|
export interface GetResourceSharesRequest {
|
|
2027
2027
|
/**
|
|
2028
|
-
* @public
|
|
2029
2028
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> of individual resource shares that you want information about.</p>
|
|
2029
|
+
* @public
|
|
2030
2030
|
*/
|
|
2031
2031
|
resourceShareArns?: string[];
|
|
2032
2032
|
/**
|
|
2033
|
-
* @public
|
|
2034
2033
|
* <p>Specifies that you want to retrieve details of only those resource shares that have this
|
|
2035
2034
|
* status.</p>
|
|
2035
|
+
* @public
|
|
2036
2036
|
*/
|
|
2037
2037
|
resourceShareStatus?: ResourceShareStatus;
|
|
2038
2038
|
/**
|
|
2039
|
-
* @public
|
|
2040
2039
|
* <p>Specifies that you want to retrieve details of only those resource shares that match the
|
|
2041
2040
|
* following:</p>
|
|
2042
2041
|
* <ul>
|
|
@@ -2055,31 +2054,31 @@ export interface GetResourceSharesRequest {
|
|
|
2055
2054
|
* that other accounts share with your account</p>
|
|
2056
2055
|
* </li>
|
|
2057
2056
|
* </ul>
|
|
2057
|
+
* @public
|
|
2058
2058
|
*/
|
|
2059
2059
|
resourceOwner: ResourceOwner | undefined;
|
|
2060
2060
|
/**
|
|
2061
|
-
* @public
|
|
2062
2061
|
* <p>Specifies the name of an individual resource share that you want to retrieve details
|
|
2063
2062
|
* about.</p>
|
|
2063
|
+
* @public
|
|
2064
2064
|
*/
|
|
2065
2065
|
name?: string;
|
|
2066
2066
|
/**
|
|
2067
|
-
* @public
|
|
2068
2067
|
* <p>Specifies that you want to retrieve details of only those resource shares that match the
|
|
2069
2068
|
* specified tag keys and values.</p>
|
|
2069
|
+
* @public
|
|
2070
2070
|
*/
|
|
2071
2071
|
tagFilters?: TagFilter[];
|
|
2072
2072
|
/**
|
|
2073
|
-
* @public
|
|
2074
2073
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
2075
2074
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
2076
2075
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
2077
2076
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
2078
2077
|
* next page of results.</p>
|
|
2078
|
+
* @public
|
|
2079
2079
|
*/
|
|
2080
2080
|
nextToken?: string;
|
|
2081
2081
|
/**
|
|
2082
|
-
* @public
|
|
2083
2082
|
* <p>Specifies the total number of results that you want included on each page
|
|
2084
2083
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
2085
2084
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -2089,18 +2088,19 @@ export interface GetResourceSharesRequest {
|
|
|
2089
2088
|
* return fewer results than the maximum even when there are more results available. You
|
|
2090
2089
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
2091
2090
|
* of the results.</p>
|
|
2091
|
+
* @public
|
|
2092
2092
|
*/
|
|
2093
2093
|
maxResults?: number;
|
|
2094
2094
|
/**
|
|
2095
|
-
* @public
|
|
2096
2095
|
* <p>Specifies that you want to retrieve details of only those resource shares that use the managed permission with
|
|
2097
2096
|
* this <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a>.</p>
|
|
2097
|
+
* @public
|
|
2098
2098
|
*/
|
|
2099
2099
|
permissionArn?: string;
|
|
2100
2100
|
/**
|
|
2101
|
-
* @public
|
|
2102
2101
|
* <p>Specifies that you want to retrieve details for only those resource shares that use the
|
|
2103
2102
|
* specified version of the managed permission.</p>
|
|
2103
|
+
* @public
|
|
2104
2104
|
*/
|
|
2105
2105
|
permissionVersion?: number;
|
|
2106
2106
|
}
|
|
@@ -2109,17 +2109,17 @@ export interface GetResourceSharesRequest {
|
|
|
2109
2109
|
*/
|
|
2110
2110
|
export interface GetResourceSharesResponse {
|
|
2111
2111
|
/**
|
|
2112
|
-
* @public
|
|
2113
2112
|
* <p>An array of objects that contain the information about the resource shares.</p>
|
|
2113
|
+
* @public
|
|
2114
2114
|
*/
|
|
2115
2115
|
resourceShares?: ResourceShare[];
|
|
2116
2116
|
/**
|
|
2117
|
-
* @public
|
|
2118
2117
|
* <p>If present, this value indicates that more output is available than
|
|
2119
2118
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
2120
2119
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
2121
2120
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
2122
2121
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
2122
|
+
* @public
|
|
2123
2123
|
*/
|
|
2124
2124
|
nextToken?: string;
|
|
2125
2125
|
}
|
|
@@ -2141,21 +2141,20 @@ export type ResourceRegionScopeFilter = (typeof ResourceRegionScopeFilter)[keyof
|
|
|
2141
2141
|
*/
|
|
2142
2142
|
export interface ListPendingInvitationResourcesRequest {
|
|
2143
2143
|
/**
|
|
2144
|
-
* @public
|
|
2145
2144
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the invitation. You can use <a>GetResourceShareInvitations</a> to find the ARN of the invitation.</p>
|
|
2145
|
+
* @public
|
|
2146
2146
|
*/
|
|
2147
2147
|
resourceShareInvitationArn: string | undefined;
|
|
2148
2148
|
/**
|
|
2149
|
-
* @public
|
|
2150
2149
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
2151
2150
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
2152
2151
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
2153
2152
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
2154
2153
|
* next page of results.</p>
|
|
2154
|
+
* @public
|
|
2155
2155
|
*/
|
|
2156
2156
|
nextToken?: string;
|
|
2157
2157
|
/**
|
|
2158
|
-
* @public
|
|
2159
2158
|
* <p>Specifies the total number of results that you want included on each page
|
|
2160
2159
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
2161
2160
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -2165,10 +2164,10 @@ export interface ListPendingInvitationResourcesRequest {
|
|
|
2165
2164
|
* return fewer results than the maximum even when there are more results available. You
|
|
2166
2165
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
2167
2166
|
* of the results.</p>
|
|
2167
|
+
* @public
|
|
2168
2168
|
*/
|
|
2169
2169
|
maxResults?: number;
|
|
2170
2170
|
/**
|
|
2171
|
-
* @public
|
|
2172
2171
|
* <p>Specifies that you want the results to include only
|
|
2173
2172
|
* resources that have the specified scope.</p>
|
|
2174
2173
|
* <ul>
|
|
@@ -2189,6 +2188,7 @@ export interface ListPendingInvitationResourcesRequest {
|
|
|
2189
2188
|
* </li>
|
|
2190
2189
|
* </ul>
|
|
2191
2190
|
* <p>The default value is <code>ALL</code>.</p>
|
|
2191
|
+
* @public
|
|
2192
2192
|
*/
|
|
2193
2193
|
resourceRegionScope?: ResourceRegionScopeFilter;
|
|
2194
2194
|
}
|
|
@@ -2220,57 +2220,56 @@ export declare const ResourceStatus: {
|
|
|
2220
2220
|
*/
|
|
2221
2221
|
export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
2222
2222
|
/**
|
|
2223
|
-
* @public
|
|
2224
2223
|
* <p>Describes a resource associated with a resource share in RAM.</p>
|
|
2224
|
+
* @public
|
|
2225
2225
|
*/
|
|
2226
2226
|
export interface Resource {
|
|
2227
2227
|
/**
|
|
2228
|
-
* @public
|
|
2229
2228
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource.</p>
|
|
2229
|
+
* @public
|
|
2230
2230
|
*/
|
|
2231
2231
|
arn?: string;
|
|
2232
2232
|
/**
|
|
2233
|
-
* @public
|
|
2234
2233
|
* <p>The resource type. This takes the form of:
|
|
2235
2234
|
* <code>service-code</code>:<code>resource-code</code>, and is case-insensitive. For
|
|
2236
2235
|
* example, an Amazon EC2 Subnet would be represented by the string
|
|
2237
2236
|
* <code>ec2:subnet</code>.</p>
|
|
2237
|
+
* @public
|
|
2238
2238
|
*/
|
|
2239
2239
|
type?: string;
|
|
2240
2240
|
/**
|
|
2241
|
-
* @public
|
|
2242
2241
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share this resource is associated with.</p>
|
|
2242
|
+
* @public
|
|
2243
2243
|
*/
|
|
2244
2244
|
resourceShareArn?: string;
|
|
2245
2245
|
/**
|
|
2246
|
-
* @public
|
|
2247
2246
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource group. This value is available only if the resource is
|
|
2248
2247
|
* part of a resource group.</p>
|
|
2248
|
+
* @public
|
|
2249
2249
|
*/
|
|
2250
2250
|
resourceGroupArn?: string;
|
|
2251
2251
|
/**
|
|
2252
|
-
* @public
|
|
2253
2252
|
* <p>The current status of the resource.</p>
|
|
2253
|
+
* @public
|
|
2254
2254
|
*/
|
|
2255
2255
|
status?: ResourceStatus;
|
|
2256
2256
|
/**
|
|
2257
|
-
* @public
|
|
2258
2257
|
* <p>A message about the status of the resource.</p>
|
|
2258
|
+
* @public
|
|
2259
2259
|
*/
|
|
2260
2260
|
statusMessage?: string;
|
|
2261
2261
|
/**
|
|
2262
|
-
* @public
|
|
2263
2262
|
* <p>The date and time when the resource was associated with the resource share.</p>
|
|
2263
|
+
* @public
|
|
2264
2264
|
*/
|
|
2265
2265
|
creationTime?: Date;
|
|
2266
2266
|
/**
|
|
2267
|
-
* @public
|
|
2268
2267
|
* <p>The date an time when the association between the resource and the resource share was
|
|
2269
2268
|
* last updated.</p>
|
|
2269
|
+
* @public
|
|
2270
2270
|
*/
|
|
2271
2271
|
lastUpdatedTime?: Date;
|
|
2272
2272
|
/**
|
|
2273
|
-
* @public
|
|
2274
2273
|
* <p>Specifies the scope of visibility of this resource:</p>
|
|
2275
2274
|
* <ul>
|
|
2276
2275
|
* <li>
|
|
@@ -2285,6 +2284,7 @@ export interface Resource {
|
|
|
2285
2284
|
* from any Amazon Web Services Region.</p>
|
|
2286
2285
|
* </li>
|
|
2287
2286
|
* </ul>
|
|
2287
|
+
* @public
|
|
2288
2288
|
*/
|
|
2289
2289
|
resourceRegionScope?: ResourceRegionScope;
|
|
2290
2290
|
}
|
|
@@ -2293,24 +2293,24 @@ export interface Resource {
|
|
|
2293
2293
|
*/
|
|
2294
2294
|
export interface ListPendingInvitationResourcesResponse {
|
|
2295
2295
|
/**
|
|
2296
|
-
* @public
|
|
2297
2296
|
* <p>An array of objects that contain the information about the resources included the
|
|
2298
2297
|
* specified resource share.</p>
|
|
2298
|
+
* @public
|
|
2299
2299
|
*/
|
|
2300
2300
|
resources?: Resource[];
|
|
2301
2301
|
/**
|
|
2302
|
-
* @public
|
|
2303
2302
|
* <p>If present, this value indicates that more output is available than
|
|
2304
2303
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
2305
2304
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
2306
2305
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
2307
2306
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
2307
|
+
* @public
|
|
2308
2308
|
*/
|
|
2309
2309
|
nextToken?: string;
|
|
2310
2310
|
}
|
|
2311
2311
|
/**
|
|
2312
|
-
* @public
|
|
2313
2312
|
* <p>The operation failed because a required input parameter is missing.</p>
|
|
2313
|
+
* @public
|
|
2314
2314
|
*/
|
|
2315
2315
|
export declare class MissingRequiredParameterException extends __BaseException {
|
|
2316
2316
|
readonly name: "MissingRequiredParameterException";
|
|
@@ -2325,55 +2325,54 @@ export declare class MissingRequiredParameterException extends __BaseException {
|
|
|
2325
2325
|
*/
|
|
2326
2326
|
export interface ListPermissionAssociationsRequest {
|
|
2327
2327
|
/**
|
|
2328
|
-
* @public
|
|
2329
2328
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the managed permission.</p>
|
|
2329
|
+
* @public
|
|
2330
2330
|
*/
|
|
2331
2331
|
permissionArn?: string;
|
|
2332
2332
|
/**
|
|
2333
|
-
* @public
|
|
2334
2333
|
* <p>Specifies that you want to list only those associations with resource shares that use this
|
|
2335
2334
|
* version of the managed permission. If you don't provide a value for this parameter, then the operation
|
|
2336
2335
|
* returns information about associations with resource shares that use any version of the
|
|
2337
2336
|
* managed permission.</p>
|
|
2337
|
+
* @public
|
|
2338
2338
|
*/
|
|
2339
2339
|
permissionVersion?: number;
|
|
2340
2340
|
/**
|
|
2341
|
-
* @public
|
|
2342
2341
|
* <p>Specifies that you want to list only those associations with resource shares that match this
|
|
2343
2342
|
* status.</p>
|
|
2343
|
+
* @public
|
|
2344
2344
|
*/
|
|
2345
2345
|
associationStatus?: ResourceShareAssociationStatus;
|
|
2346
2346
|
/**
|
|
2347
|
-
* @public
|
|
2348
2347
|
* <p>Specifies that you want to list only those associations with resource shares that include at
|
|
2349
2348
|
* least one resource of this resource type.</p>
|
|
2349
|
+
* @public
|
|
2350
2350
|
*/
|
|
2351
2351
|
resourceType?: string;
|
|
2352
2352
|
/**
|
|
2353
|
-
* @public
|
|
2354
2353
|
* <p>Specifies that you want to list only those associations with resource shares that have a
|
|
2355
2354
|
* <code>featureSet</code> with this value.</p>
|
|
2355
|
+
* @public
|
|
2356
2356
|
*/
|
|
2357
2357
|
featureSet?: PermissionFeatureSet;
|
|
2358
2358
|
/**
|
|
2359
|
-
* @public
|
|
2360
2359
|
* <p>When <code>true</code>, specifies that you want to list only those associations with
|
|
2361
2360
|
* resource shares that use the default version of the specified managed permission.</p>
|
|
2362
2361
|
* <p>When <code>false</code> (the default value), lists associations with resource shares that use
|
|
2363
2362
|
* any version of the specified managed permission.</p>
|
|
2363
|
+
* @public
|
|
2364
2364
|
*/
|
|
2365
2365
|
defaultVersion?: boolean;
|
|
2366
2366
|
/**
|
|
2367
|
-
* @public
|
|
2368
2367
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
2369
2368
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
2370
2369
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
2371
2370
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
2372
2371
|
* next page of results.</p>
|
|
2372
|
+
* @public
|
|
2373
2373
|
*/
|
|
2374
2374
|
nextToken?: string;
|
|
2375
2375
|
/**
|
|
2376
|
-
* @public
|
|
2377
2376
|
* <p>Specifies the total number of results that you want included on each page
|
|
2378
2377
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
2379
2378
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -2383,37 +2382,37 @@ export interface ListPermissionAssociationsRequest {
|
|
|
2383
2382
|
* return fewer results than the maximum even when there are more results available. You
|
|
2384
2383
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
2385
2384
|
* of the results.</p>
|
|
2385
|
+
* @public
|
|
2386
2386
|
*/
|
|
2387
2387
|
maxResults?: number;
|
|
2388
2388
|
}
|
|
2389
2389
|
/**
|
|
2390
|
-
* @public
|
|
2391
2390
|
* <p>An object that describes a managed permission associated with a resource share.</p>
|
|
2391
|
+
* @public
|
|
2392
2392
|
*/
|
|
2393
2393
|
export interface AssociatedPermission {
|
|
2394
2394
|
/**
|
|
2395
|
-
* @public
|
|
2396
2395
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the associated managed permission.</p>
|
|
2396
|
+
* @public
|
|
2397
2397
|
*/
|
|
2398
2398
|
arn?: string;
|
|
2399
2399
|
/**
|
|
2400
|
-
* @public
|
|
2401
2400
|
* <p>The version of the permission currently associated with the resource share.</p>
|
|
2401
|
+
* @public
|
|
2402
2402
|
*/
|
|
2403
2403
|
permissionVersion?: string;
|
|
2404
2404
|
/**
|
|
2405
|
-
* @public
|
|
2406
2405
|
* <p>Indicates whether the associated resource share is using the default version of the
|
|
2407
2406
|
* permission.</p>
|
|
2407
|
+
* @public
|
|
2408
2408
|
*/
|
|
2409
2409
|
defaultVersion?: boolean;
|
|
2410
2410
|
/**
|
|
2411
|
-
* @public
|
|
2412
2411
|
* <p>The resource type to which this permission applies.</p>
|
|
2412
|
+
* @public
|
|
2413
2413
|
*/
|
|
2414
2414
|
resourceType?: string;
|
|
2415
2415
|
/**
|
|
2416
|
-
* @public
|
|
2417
2416
|
* <p>The current status of the association between the permission and the resource share.
|
|
2418
2417
|
* The following are the possible values:</p>
|
|
2419
2418
|
* <ul>
|
|
@@ -2437,10 +2436,10 @@ export interface AssociatedPermission {
|
|
|
2437
2436
|
* <code>DELETED</code> – This permission or version is deleted.</p>
|
|
2438
2437
|
* </li>
|
|
2439
2438
|
* </ul>
|
|
2439
|
+
* @public
|
|
2440
2440
|
*/
|
|
2441
2441
|
status?: string;
|
|
2442
2442
|
/**
|
|
2443
|
-
* @public
|
|
2444
2443
|
* <p>Indicates what features are available for this resource share. This parameter can have one of
|
|
2445
2444
|
* the following values:</p>
|
|
2446
2445
|
* <ul>
|
|
@@ -2470,17 +2469,18 @@ export interface AssociatedPermission {
|
|
|
2470
2469
|
* complete.</p>
|
|
2471
2470
|
* </li>
|
|
2472
2471
|
* </ul>
|
|
2472
|
+
* @public
|
|
2473
2473
|
*/
|
|
2474
2474
|
featureSet?: PermissionFeatureSet;
|
|
2475
2475
|
/**
|
|
2476
|
-
* @public
|
|
2477
2476
|
* <p>The date and time when the association between the permission and the resource share
|
|
2478
2477
|
* was last updated.</p>
|
|
2478
|
+
* @public
|
|
2479
2479
|
*/
|
|
2480
2480
|
lastUpdatedTime?: Date;
|
|
2481
2481
|
/**
|
|
2482
|
-
* @public
|
|
2483
2482
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of a resource share associated with this permission.</p>
|
|
2483
|
+
* @public
|
|
2484
2484
|
*/
|
|
2485
2485
|
resourceShareArn?: string;
|
|
2486
2486
|
}
|
|
@@ -2489,17 +2489,17 @@ export interface AssociatedPermission {
|
|
|
2489
2489
|
*/
|
|
2490
2490
|
export interface ListPermissionAssociationsResponse {
|
|
2491
2491
|
/**
|
|
2492
|
-
* @public
|
|
2493
2492
|
* <p>A structure with information about this customer managed permission.</p>
|
|
2493
|
+
* @public
|
|
2494
2494
|
*/
|
|
2495
2495
|
permissions?: AssociatedPermission[];
|
|
2496
2496
|
/**
|
|
2497
|
-
* @public
|
|
2498
2497
|
* <p>If present, this value indicates that more output is available than
|
|
2499
2498
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
2500
2499
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
2501
2500
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
2502
2501
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
2502
|
+
* @public
|
|
2503
2503
|
*/
|
|
2504
2504
|
nextToken?: string;
|
|
2505
2505
|
}
|
|
@@ -2521,25 +2521,24 @@ export type PermissionTypeFilter = (typeof PermissionTypeFilter)[keyof typeof Pe
|
|
|
2521
2521
|
*/
|
|
2522
2522
|
export interface ListPermissionsRequest {
|
|
2523
2523
|
/**
|
|
2524
|
-
* @public
|
|
2525
2524
|
* <p>Specifies that you want to list only those permissions that apply to the specified
|
|
2526
2525
|
* resource type. This parameter is not case sensitive.</p>
|
|
2527
2526
|
* <p>For example, to list only permissions that apply to Amazon EC2 subnets, specify
|
|
2528
2527
|
* <code>ec2:subnet</code>. You can use the <a>ListResourceTypes</a>
|
|
2529
2528
|
* operation to get the specific string required.</p>
|
|
2529
|
+
* @public
|
|
2530
2530
|
*/
|
|
2531
2531
|
resourceType?: string;
|
|
2532
2532
|
/**
|
|
2533
|
-
* @public
|
|
2534
2533
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
2535
2534
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
2536
2535
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
2537
2536
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
2538
2537
|
* next page of results.</p>
|
|
2538
|
+
* @public
|
|
2539
2539
|
*/
|
|
2540
2540
|
nextToken?: string;
|
|
2541
2541
|
/**
|
|
2542
|
-
* @public
|
|
2543
2542
|
* <p>Specifies the total number of results that you want included on each page
|
|
2544
2543
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
2545
2544
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -2549,10 +2548,10 @@ export interface ListPermissionsRequest {
|
|
|
2549
2548
|
* return fewer results than the maximum even when there are more results available. You
|
|
2550
2549
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
2551
2550
|
* of the results.</p>
|
|
2551
|
+
* @public
|
|
2552
2552
|
*/
|
|
2553
2553
|
maxResults?: number;
|
|
2554
2554
|
/**
|
|
2555
|
-
* @public
|
|
2556
2555
|
* <p>Specifies that you want to list only permissions of this type:</p>
|
|
2557
2556
|
* <ul>
|
|
2558
2557
|
* <li>
|
|
@@ -2569,6 +2568,7 @@ export interface ListPermissionsRequest {
|
|
|
2569
2568
|
* </li>
|
|
2570
2569
|
* </ul>
|
|
2571
2570
|
* <p>If you don't specify this parameter, the default is <code>All</code>.</p>
|
|
2571
|
+
* @public
|
|
2572
2572
|
*/
|
|
2573
2573
|
permissionType?: PermissionTypeFilter;
|
|
2574
2574
|
}
|
|
@@ -2577,17 +2577,17 @@ export interface ListPermissionsRequest {
|
|
|
2577
2577
|
*/
|
|
2578
2578
|
export interface ListPermissionsResponse {
|
|
2579
2579
|
/**
|
|
2580
|
-
* @public
|
|
2581
2580
|
* <p>An array of objects with information about the permissions.</p>
|
|
2581
|
+
* @public
|
|
2582
2582
|
*/
|
|
2583
2583
|
permissions?: ResourceSharePermissionSummary[];
|
|
2584
2584
|
/**
|
|
2585
|
-
* @public
|
|
2586
2585
|
* <p>If present, this value indicates that more output is available than
|
|
2587
2586
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
2588
2587
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
2589
2588
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
2590
2589
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
2590
|
+
* @public
|
|
2591
2591
|
*/
|
|
2592
2592
|
nextToken?: string;
|
|
2593
2593
|
}
|
|
@@ -2596,23 +2596,22 @@ export interface ListPermissionsResponse {
|
|
|
2596
2596
|
*/
|
|
2597
2597
|
export interface ListPermissionVersionsRequest {
|
|
2598
2598
|
/**
|
|
2599
|
-
* @public
|
|
2600
2599
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the RAM permission whose versions you want to list. You
|
|
2601
2600
|
* can use the <code>permissionVersion</code> parameter on the <a>AssociateResourceSharePermission</a> operation to specify a non-default
|
|
2602
2601
|
* version to attach.</p>
|
|
2602
|
+
* @public
|
|
2603
2603
|
*/
|
|
2604
2604
|
permissionArn: string | undefined;
|
|
2605
2605
|
/**
|
|
2606
|
-
* @public
|
|
2607
2606
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
2608
2607
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
2609
2608
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
2610
2609
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
2611
2610
|
* next page of results.</p>
|
|
2611
|
+
* @public
|
|
2612
2612
|
*/
|
|
2613
2613
|
nextToken?: string;
|
|
2614
2614
|
/**
|
|
2615
|
-
* @public
|
|
2616
2615
|
* <p>Specifies the total number of results that you want included on each page
|
|
2617
2616
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
2618
2617
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -2622,6 +2621,7 @@ export interface ListPermissionVersionsRequest {
|
|
|
2622
2621
|
* return fewer results than the maximum even when there are more results available. You
|
|
2623
2622
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
2624
2623
|
* of the results.</p>
|
|
2624
|
+
* @public
|
|
2625
2625
|
*/
|
|
2626
2626
|
maxResults?: number;
|
|
2627
2627
|
}
|
|
@@ -2630,17 +2630,17 @@ export interface ListPermissionVersionsRequest {
|
|
|
2630
2630
|
*/
|
|
2631
2631
|
export interface ListPermissionVersionsResponse {
|
|
2632
2632
|
/**
|
|
2633
|
-
* @public
|
|
2634
2633
|
* <p>An array of objects that contain details for each of the available versions.</p>
|
|
2634
|
+
* @public
|
|
2635
2635
|
*/
|
|
2636
2636
|
permissions?: ResourceSharePermissionSummary[];
|
|
2637
2637
|
/**
|
|
2638
|
-
* @public
|
|
2639
2638
|
* <p>If present, this value indicates that more output is available than
|
|
2640
2639
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
2641
2640
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
2642
2641
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
2643
2642
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
2643
|
+
* @public
|
|
2644
2644
|
*/
|
|
2645
2645
|
nextToken?: string;
|
|
2646
2646
|
}
|
|
@@ -2649,7 +2649,6 @@ export interface ListPermissionVersionsResponse {
|
|
|
2649
2649
|
*/
|
|
2650
2650
|
export interface ListPrincipalsRequest {
|
|
2651
2651
|
/**
|
|
2652
|
-
* @public
|
|
2653
2652
|
* <p>Specifies that you want to list information for only resource shares that match the
|
|
2654
2653
|
* following:</p>
|
|
2655
2654
|
* <ul>
|
|
@@ -2668,16 +2667,16 @@ export interface ListPrincipalsRequest {
|
|
|
2668
2667
|
* principals that are sharing resources with your account</p>
|
|
2669
2668
|
* </li>
|
|
2670
2669
|
* </ul>
|
|
2670
|
+
* @public
|
|
2671
2671
|
*/
|
|
2672
2672
|
resourceOwner: ResourceOwner | undefined;
|
|
2673
2673
|
/**
|
|
2674
|
-
* @public
|
|
2675
2674
|
* <p>Specifies that you want to list principal information for the resource share with the specified
|
|
2676
2675
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a>.</p>
|
|
2676
|
+
* @public
|
|
2677
2677
|
*/
|
|
2678
2678
|
resourceArn?: string;
|
|
2679
2679
|
/**
|
|
2680
|
-
* @public
|
|
2681
2680
|
* <p>Specifies that you want to list information for only the listed principals.</p>
|
|
2682
2681
|
* <p>You can include the following values:</p>
|
|
2683
2682
|
* <ul>
|
|
@@ -2711,33 +2710,33 @@ export interface ListPrincipalsRequest {
|
|
|
2711
2710
|
* For more information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and users</a> in the <i>Resource Access Manager User
|
|
2712
2711
|
* Guide</i>.</p>
|
|
2713
2712
|
* </note>
|
|
2713
|
+
* @public
|
|
2714
2714
|
*/
|
|
2715
2715
|
principals?: string[];
|
|
2716
2716
|
/**
|
|
2717
|
-
* @public
|
|
2718
2717
|
* <p>Specifies that you want to list information for only principals associated with resource shares
|
|
2719
2718
|
* that include the specified resource type.</p>
|
|
2720
2719
|
* <p>For a list of valid values, query the <a>ListResourceTypes</a>
|
|
2721
2720
|
* operation.</p>
|
|
2721
|
+
* @public
|
|
2722
2722
|
*/
|
|
2723
2723
|
resourceType?: string;
|
|
2724
2724
|
/**
|
|
2725
|
-
* @public
|
|
2726
2725
|
* <p>Specifies that you want to list information for only principals associated with the
|
|
2727
2726
|
* resource shares specified by a list the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
|
|
2727
|
+
* @public
|
|
2728
2728
|
*/
|
|
2729
2729
|
resourceShareArns?: string[];
|
|
2730
2730
|
/**
|
|
2731
|
-
* @public
|
|
2732
2731
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
2733
2732
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
2734
2733
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
2735
2734
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
2736
2735
|
* next page of results.</p>
|
|
2736
|
+
* @public
|
|
2737
2737
|
*/
|
|
2738
2738
|
nextToken?: string;
|
|
2739
2739
|
/**
|
|
2740
|
-
* @public
|
|
2741
2740
|
* <p>Specifies the total number of results that you want included on each page
|
|
2742
2741
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
2743
2742
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -2747,37 +2746,37 @@ export interface ListPrincipalsRequest {
|
|
|
2747
2746
|
* return fewer results than the maximum even when there are more results available. You
|
|
2748
2747
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
2749
2748
|
* of the results.</p>
|
|
2749
|
+
* @public
|
|
2750
2750
|
*/
|
|
2751
2751
|
maxResults?: number;
|
|
2752
2752
|
}
|
|
2753
2753
|
/**
|
|
2754
|
-
* @public
|
|
2755
2754
|
* <p>Describes a principal for use with Resource Access Manager.</p>
|
|
2755
|
+
* @public
|
|
2756
2756
|
*/
|
|
2757
2757
|
export interface Principal {
|
|
2758
2758
|
/**
|
|
2759
|
-
* @public
|
|
2760
2759
|
* <p>The ID of the principal that can be associated with a resource share.</p>
|
|
2760
|
+
* @public
|
|
2761
2761
|
*/
|
|
2762
2762
|
id?: string;
|
|
2763
2763
|
/**
|
|
2764
|
-
* @public
|
|
2765
2764
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of a resource share the principal is associated with.</p>
|
|
2765
|
+
* @public
|
|
2766
2766
|
*/
|
|
2767
2767
|
resourceShareArn?: string;
|
|
2768
2768
|
/**
|
|
2769
|
-
* @public
|
|
2770
2769
|
* <p>The date and time when the principal was associated with the resource share.</p>
|
|
2770
|
+
* @public
|
|
2771
2771
|
*/
|
|
2772
2772
|
creationTime?: Date;
|
|
2773
2773
|
/**
|
|
2774
|
-
* @public
|
|
2775
2774
|
* <p>The date and time when the association between the resource share and the principal
|
|
2776
2775
|
* was last updated.</p>
|
|
2776
|
+
* @public
|
|
2777
2777
|
*/
|
|
2778
2778
|
lastUpdatedTime?: Date;
|
|
2779
2779
|
/**
|
|
2780
|
-
* @public
|
|
2781
2780
|
* <p>Indicates the relationship between the Amazon Web Services account the principal belongs to and the
|
|
2782
2781
|
* account that owns the resource share:</p>
|
|
2783
2782
|
* <ul>
|
|
@@ -2792,6 +2791,7 @@ export interface Principal {
|
|
|
2792
2791
|
* organization.</p>
|
|
2793
2792
|
* </li>
|
|
2794
2793
|
* </ul>
|
|
2794
|
+
* @public
|
|
2795
2795
|
*/
|
|
2796
2796
|
external?: boolean;
|
|
2797
2797
|
}
|
|
@@ -2800,17 +2800,17 @@ export interface Principal {
|
|
|
2800
2800
|
*/
|
|
2801
2801
|
export interface ListPrincipalsResponse {
|
|
2802
2802
|
/**
|
|
2803
|
-
* @public
|
|
2804
2803
|
* <p>An array of objects that contain the details about the principals.</p>
|
|
2804
|
+
* @public
|
|
2805
2805
|
*/
|
|
2806
2806
|
principals?: Principal[];
|
|
2807
2807
|
/**
|
|
2808
|
-
* @public
|
|
2809
2808
|
* <p>If present, this value indicates that more output is available than
|
|
2810
2809
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
2811
2810
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
2812
2811
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
2813
2812
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
2813
|
+
* @public
|
|
2814
2814
|
*/
|
|
2815
2815
|
nextToken?: string;
|
|
2816
2816
|
}
|
|
@@ -2832,28 +2832,27 @@ export type ReplacePermissionAssociationsWorkStatus = (typeof ReplacePermissionA
|
|
|
2832
2832
|
*/
|
|
2833
2833
|
export interface ListReplacePermissionAssociationsWorkRequest {
|
|
2834
2834
|
/**
|
|
2835
|
-
* @public
|
|
2836
2835
|
* <p>A list of IDs. These values come from the <code>id</code>field of the
|
|
2837
2836
|
* <code>replacePermissionAssociationsWork</code>structure returned by the <a>ReplacePermissionAssociations</a> operation. </p>
|
|
2837
|
+
* @public
|
|
2838
2838
|
*/
|
|
2839
2839
|
workIds?: string[];
|
|
2840
2840
|
/**
|
|
2841
|
-
* @public
|
|
2842
2841
|
* <p>Specifies that you want to see only the details about requests with a status that
|
|
2843
2842
|
* matches this value.</p>
|
|
2843
|
+
* @public
|
|
2844
2844
|
*/
|
|
2845
2845
|
status?: ReplacePermissionAssociationsWorkStatus;
|
|
2846
2846
|
/**
|
|
2847
|
-
* @public
|
|
2848
2847
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
2849
2848
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
2850
2849
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
2851
2850
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
2852
2851
|
* next page of results.</p>
|
|
2852
|
+
* @public
|
|
2853
2853
|
*/
|
|
2854
2854
|
nextToken?: string;
|
|
2855
2855
|
/**
|
|
2856
|
-
* @public
|
|
2857
2856
|
* <p>Specifies the total number of results that you want included on each page
|
|
2858
2857
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
2859
2858
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -2863,45 +2862,45 @@ export interface ListReplacePermissionAssociationsWorkRequest {
|
|
|
2863
2862
|
* return fewer results than the maximum even when there are more results available. You
|
|
2864
2863
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
2865
2864
|
* of the results.</p>
|
|
2865
|
+
* @public
|
|
2866
2866
|
*/
|
|
2867
2867
|
maxResults?: number;
|
|
2868
2868
|
}
|
|
2869
2869
|
/**
|
|
2870
|
-
* @public
|
|
2871
2870
|
* <p>A structure that represents the background work that RAM performs when you invoke
|
|
2872
2871
|
* the <a>ReplacePermissionAssociations</a> operation.</p>
|
|
2872
|
+
* @public
|
|
2873
2873
|
*/
|
|
2874
2874
|
export interface ReplacePermissionAssociationsWork {
|
|
2875
2875
|
/**
|
|
2876
|
-
* @public
|
|
2877
2876
|
* <p>The unique identifier for the background task associated with one <a>ReplacePermissionAssociations</a> request.</p>
|
|
2877
|
+
* @public
|
|
2878
2878
|
*/
|
|
2879
2879
|
id?: string;
|
|
2880
2880
|
/**
|
|
2881
|
-
* @public
|
|
2882
2881
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the managed permission that this background task is replacing.</p>
|
|
2882
|
+
* @public
|
|
2883
2883
|
*/
|
|
2884
2884
|
fromPermissionArn?: string;
|
|
2885
2885
|
/**
|
|
2886
|
-
* @public
|
|
2887
2886
|
* <p>The version of the managed permission that this background task is replacing.</p>
|
|
2887
|
+
* @public
|
|
2888
2888
|
*/
|
|
2889
2889
|
fromPermissionVersion?: string;
|
|
2890
2890
|
/**
|
|
2891
|
-
* @public
|
|
2892
2891
|
* <p>The ARN of the managed permission that this background task is associating with the resource shares in place
|
|
2893
2892
|
* of the managed permission and version specified in <code>fromPermissionArn</code> and
|
|
2894
2893
|
* <code>fromPermissionVersion</code>.</p>
|
|
2894
|
+
* @public
|
|
2895
2895
|
*/
|
|
2896
2896
|
toPermissionArn?: string;
|
|
2897
2897
|
/**
|
|
2898
|
-
* @public
|
|
2899
2898
|
* <p>The version of the managed permission that this background task is associating with the resource shares. This
|
|
2900
2899
|
* is always the version that is currently the default for this managed permission.</p>
|
|
2900
|
+
* @public
|
|
2901
2901
|
*/
|
|
2902
2902
|
toPermissionVersion?: string;
|
|
2903
2903
|
/**
|
|
2904
|
-
* @public
|
|
2905
2904
|
* <p>Specifies the current status of the background tasks for the specified ID. The output
|
|
2906
2905
|
* is one of the following strings:</p>
|
|
2907
2906
|
* <ul>
|
|
@@ -2921,22 +2920,23 @@ export interface ReplacePermissionAssociationsWork {
|
|
|
2921
2920
|
* </p>
|
|
2922
2921
|
* </li>
|
|
2923
2922
|
* </ul>
|
|
2923
|
+
* @public
|
|
2924
2924
|
*/
|
|
2925
2925
|
status?: ReplacePermissionAssociationsWorkStatus;
|
|
2926
2926
|
/**
|
|
2927
|
-
* @public
|
|
2928
2927
|
* <p>Specifies the reason for a <code>FAILED</code> status. This field is present only when
|
|
2929
2928
|
* there <code>status</code> is <code>FAILED</code>.</p>
|
|
2929
|
+
* @public
|
|
2930
2930
|
*/
|
|
2931
2931
|
statusMessage?: string;
|
|
2932
2932
|
/**
|
|
2933
|
-
* @public
|
|
2934
2933
|
* <p>The date and time when this asynchronous background task was created.</p>
|
|
2934
|
+
* @public
|
|
2935
2935
|
*/
|
|
2936
2936
|
creationTime?: Date;
|
|
2937
2937
|
/**
|
|
2938
|
-
* @public
|
|
2939
2938
|
* <p>The date and time when the status of this background task was last updated.</p>
|
|
2939
|
+
* @public
|
|
2940
2940
|
*/
|
|
2941
2941
|
lastUpdatedTime?: Date;
|
|
2942
2942
|
}
|
|
@@ -2945,23 +2945,23 @@ export interface ReplacePermissionAssociationsWork {
|
|
|
2945
2945
|
*/
|
|
2946
2946
|
export interface ListReplacePermissionAssociationsWorkResponse {
|
|
2947
2947
|
/**
|
|
2948
|
-
* @public
|
|
2949
2948
|
* <p>An array of data structures that provide details of the matching work IDs.</p>
|
|
2949
|
+
* @public
|
|
2950
2950
|
*/
|
|
2951
2951
|
replacePermissionAssociationsWorks?: ReplacePermissionAssociationsWork[];
|
|
2952
2952
|
/**
|
|
2953
|
-
* @public
|
|
2954
2953
|
* <p>If present, this value indicates that more output is available than
|
|
2955
2954
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
2956
2955
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
2957
2956
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
2958
2957
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
2958
|
+
* @public
|
|
2959
2959
|
*/
|
|
2960
2960
|
nextToken?: string;
|
|
2961
2961
|
}
|
|
2962
2962
|
/**
|
|
2963
|
-
* @public
|
|
2964
2963
|
* <p>The operation failed because the specified resource type isn't valid.</p>
|
|
2964
|
+
* @public
|
|
2965
2965
|
*/
|
|
2966
2966
|
export declare class InvalidResourceTypeException extends __BaseException {
|
|
2967
2967
|
readonly name: "InvalidResourceTypeException";
|
|
@@ -2976,7 +2976,6 @@ export declare class InvalidResourceTypeException extends __BaseException {
|
|
|
2976
2976
|
*/
|
|
2977
2977
|
export interface ListResourcesRequest {
|
|
2978
2978
|
/**
|
|
2979
|
-
* @public
|
|
2980
2979
|
* <p>Specifies that you want to list only the resource shares that match the following:</p>
|
|
2981
2980
|
* <ul>
|
|
2982
2981
|
* <li>
|
|
@@ -2994,44 +2993,44 @@ export interface ListResourcesRequest {
|
|
|
2994
2993
|
* resources that other accounts share with your account</p>
|
|
2995
2994
|
* </li>
|
|
2996
2995
|
* </ul>
|
|
2996
|
+
* @public
|
|
2997
2997
|
*/
|
|
2998
2998
|
resourceOwner: ResourceOwner | undefined;
|
|
2999
2999
|
/**
|
|
3000
|
-
* @public
|
|
3001
3000
|
* <p>Specifies that you want to list only the resource shares that are associated with the specified
|
|
3002
3001
|
* principal.</p>
|
|
3002
|
+
* @public
|
|
3003
3003
|
*/
|
|
3004
3004
|
principal?: string;
|
|
3005
3005
|
/**
|
|
3006
|
-
* @public
|
|
3007
3006
|
* <p>Specifies that you want to list only the resource shares that include resources of the specified
|
|
3008
3007
|
* resource type.</p>
|
|
3009
3008
|
* <p>For valid values, query the <a>ListResourceTypes</a> operation.</p>
|
|
3009
|
+
* @public
|
|
3010
3010
|
*/
|
|
3011
3011
|
resourceType?: string;
|
|
3012
3012
|
/**
|
|
3013
|
-
* @public
|
|
3014
3013
|
* <p>Specifies that you want to list only the resource shares that include resources with the
|
|
3015
3014
|
* specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
|
|
3015
|
+
* @public
|
|
3016
3016
|
*/
|
|
3017
3017
|
resourceArns?: string[];
|
|
3018
3018
|
/**
|
|
3019
|
-
* @public
|
|
3020
3019
|
* <p>Specifies that you want to list only resources in the resource shares identified by the
|
|
3021
3020
|
* specified <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a>.</p>
|
|
3021
|
+
* @public
|
|
3022
3022
|
*/
|
|
3023
3023
|
resourceShareArns?: string[];
|
|
3024
3024
|
/**
|
|
3025
|
-
* @public
|
|
3026
3025
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
3027
3026
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
3028
3027
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
3029
3028
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
3030
3029
|
* next page of results.</p>
|
|
3030
|
+
* @public
|
|
3031
3031
|
*/
|
|
3032
3032
|
nextToken?: string;
|
|
3033
3033
|
/**
|
|
3034
|
-
* @public
|
|
3035
3034
|
* <p>Specifies the total number of results that you want included on each page
|
|
3036
3035
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
3037
3036
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -3041,10 +3040,10 @@ export interface ListResourcesRequest {
|
|
|
3041
3040
|
* return fewer results than the maximum even when there are more results available. You
|
|
3042
3041
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
3043
3042
|
* of the results.</p>
|
|
3043
|
+
* @public
|
|
3044
3044
|
*/
|
|
3045
3045
|
maxResults?: number;
|
|
3046
3046
|
/**
|
|
3047
|
-
* @public
|
|
3048
3047
|
* <p>Specifies that you want the results to include only
|
|
3049
3048
|
* resources that have the specified scope.</p>
|
|
3050
3049
|
* <ul>
|
|
@@ -3065,6 +3064,7 @@ export interface ListResourcesRequest {
|
|
|
3065
3064
|
* </li>
|
|
3066
3065
|
* </ul>
|
|
3067
3066
|
* <p>The default value is <code>ALL</code>.</p>
|
|
3067
|
+
* @public
|
|
3068
3068
|
*/
|
|
3069
3069
|
resourceRegionScope?: ResourceRegionScopeFilter;
|
|
3070
3070
|
}
|
|
@@ -3073,17 +3073,17 @@ export interface ListResourcesRequest {
|
|
|
3073
3073
|
*/
|
|
3074
3074
|
export interface ListResourcesResponse {
|
|
3075
3075
|
/**
|
|
3076
|
-
* @public
|
|
3077
3076
|
* <p>An array of objects that contain information about the resources.</p>
|
|
3077
|
+
* @public
|
|
3078
3078
|
*/
|
|
3079
3079
|
resources?: Resource[];
|
|
3080
3080
|
/**
|
|
3081
|
-
* @public
|
|
3082
3081
|
* <p>If present, this value indicates that more output is available than
|
|
3083
3082
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
3084
3083
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
3085
3084
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
3086
3085
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
3086
|
+
* @public
|
|
3087
3087
|
*/
|
|
3088
3088
|
nextToken?: string;
|
|
3089
3089
|
}
|
|
@@ -3092,22 +3092,21 @@ export interface ListResourcesResponse {
|
|
|
3092
3092
|
*/
|
|
3093
3093
|
export interface ListResourceSharePermissionsRequest {
|
|
3094
3094
|
/**
|
|
3095
|
-
* @public
|
|
3096
3095
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share for which you want to retrieve the associated
|
|
3097
3096
|
* permissions.</p>
|
|
3097
|
+
* @public
|
|
3098
3098
|
*/
|
|
3099
3099
|
resourceShareArn: string | undefined;
|
|
3100
3100
|
/**
|
|
3101
|
-
* @public
|
|
3102
3101
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
3103
3102
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
3104
3103
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
3105
3104
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
3106
3105
|
* next page of results.</p>
|
|
3106
|
+
* @public
|
|
3107
3107
|
*/
|
|
3108
3108
|
nextToken?: string;
|
|
3109
3109
|
/**
|
|
3110
|
-
* @public
|
|
3111
3110
|
* <p>Specifies the total number of results that you want included on each page
|
|
3112
3111
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
3113
3112
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -3117,6 +3116,7 @@ export interface ListResourceSharePermissionsRequest {
|
|
|
3117
3116
|
* return fewer results than the maximum even when there are more results available. You
|
|
3118
3117
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
3119
3118
|
* of the results.</p>
|
|
3119
|
+
* @public
|
|
3120
3120
|
*/
|
|
3121
3121
|
maxResults?: number;
|
|
3122
3122
|
}
|
|
@@ -3125,17 +3125,17 @@ export interface ListResourceSharePermissionsRequest {
|
|
|
3125
3125
|
*/
|
|
3126
3126
|
export interface ListResourceSharePermissionsResponse {
|
|
3127
3127
|
/**
|
|
3128
|
-
* @public
|
|
3129
3128
|
* <p>An array of objects that describe the permissions associated with the resource share.</p>
|
|
3129
|
+
* @public
|
|
3130
3130
|
*/
|
|
3131
3131
|
permissions?: ResourceSharePermissionSummary[];
|
|
3132
3132
|
/**
|
|
3133
|
-
* @public
|
|
3134
3133
|
* <p>If present, this value indicates that more output is available than
|
|
3135
3134
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
3136
3135
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
3137
3136
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
3138
3137
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
3138
|
+
* @public
|
|
3139
3139
|
*/
|
|
3140
3140
|
nextToken?: string;
|
|
3141
3141
|
}
|
|
@@ -3144,16 +3144,15 @@ export interface ListResourceSharePermissionsResponse {
|
|
|
3144
3144
|
*/
|
|
3145
3145
|
export interface ListResourceTypesRequest {
|
|
3146
3146
|
/**
|
|
3147
|
-
* @public
|
|
3148
3147
|
* <p>Specifies that you want to receive the next page of results. Valid
|
|
3149
3148
|
* only if you received a <code>NextToken</code> response in the previous request. If you
|
|
3150
3149
|
* did, it indicates that more output is available. Set this parameter to the value
|
|
3151
3150
|
* provided by the previous call's <code>NextToken</code> response to request the
|
|
3152
3151
|
* next page of results.</p>
|
|
3152
|
+
* @public
|
|
3153
3153
|
*/
|
|
3154
3154
|
nextToken?: string;
|
|
3155
3155
|
/**
|
|
3156
|
-
* @public
|
|
3157
3156
|
* <p>Specifies the total number of results that you want included on each page
|
|
3158
3157
|
* of the response. If you do not include this parameter, it defaults to a value that is
|
|
3159
3158
|
* specific to the operation. If additional items exist beyond the number you specify, the
|
|
@@ -3163,10 +3162,10 @@ export interface ListResourceTypesRequest {
|
|
|
3163
3162
|
* return fewer results than the maximum even when there are more results available. You
|
|
3164
3163
|
* should check <code>NextToken</code> after every operation to ensure that you receive all
|
|
3165
3164
|
* of the results.</p>
|
|
3165
|
+
* @public
|
|
3166
3166
|
*/
|
|
3167
3167
|
maxResults?: number;
|
|
3168
3168
|
/**
|
|
3169
|
-
* @public
|
|
3170
3169
|
* <p>Specifies that you want the results to include only
|
|
3171
3170
|
* resources that have the specified scope.</p>
|
|
3172
3171
|
* <ul>
|
|
@@ -3187,30 +3186,30 @@ export interface ListResourceTypesRequest {
|
|
|
3187
3186
|
* </li>
|
|
3188
3187
|
* </ul>
|
|
3189
3188
|
* <p>The default value is <code>ALL</code>.</p>
|
|
3189
|
+
* @public
|
|
3190
3190
|
*/
|
|
3191
3191
|
resourceRegionScope?: ResourceRegionScopeFilter;
|
|
3192
3192
|
}
|
|
3193
3193
|
/**
|
|
3194
|
-
* @public
|
|
3195
3194
|
* <p>Information about a shareable resource type and the Amazon Web Services service to which resources
|
|
3196
3195
|
* of that type belong.</p>
|
|
3196
|
+
* @public
|
|
3197
3197
|
*/
|
|
3198
3198
|
export interface ServiceNameAndResourceType {
|
|
3199
3199
|
/**
|
|
3200
|
-
* @public
|
|
3201
3200
|
* <p>The type of the resource. This takes the form of:
|
|
3202
3201
|
* <code>service-code</code>:<code>resource-code</code>, and is case-insensitive. For
|
|
3203
3202
|
* example, an Amazon EC2 Subnet would be represented by the string
|
|
3204
3203
|
* <code>ec2:subnet</code>.</p>
|
|
3204
|
+
* @public
|
|
3205
3205
|
*/
|
|
3206
3206
|
resourceType?: string;
|
|
3207
3207
|
/**
|
|
3208
|
-
* @public
|
|
3209
3208
|
* <p>The name of the Amazon Web Services service to which resources of this type belong.</p>
|
|
3209
|
+
* @public
|
|
3210
3210
|
*/
|
|
3211
3211
|
serviceName?: string;
|
|
3212
3212
|
/**
|
|
3213
|
-
* @public
|
|
3214
3213
|
* <p>Specifies the scope of visibility of resources of this type:</p>
|
|
3215
3214
|
* <ul>
|
|
3216
3215
|
* <li>
|
|
@@ -3225,6 +3224,7 @@ export interface ServiceNameAndResourceType {
|
|
|
3225
3224
|
* from any Amazon Web Services Region.</p>
|
|
3226
3225
|
* </li>
|
|
3227
3226
|
* </ul>
|
|
3227
|
+
* @public
|
|
3228
3228
|
*/
|
|
3229
3229
|
resourceRegionScope?: ResourceRegionScope;
|
|
3230
3230
|
}
|
|
@@ -3233,18 +3233,18 @@ export interface ServiceNameAndResourceType {
|
|
|
3233
3233
|
*/
|
|
3234
3234
|
export interface ListResourceTypesResponse {
|
|
3235
3235
|
/**
|
|
3236
|
-
* @public
|
|
3237
3236
|
* <p>An array of objects that contain information about the resource types that can be
|
|
3238
3237
|
* shared using RAM.</p>
|
|
3238
|
+
* @public
|
|
3239
3239
|
*/
|
|
3240
3240
|
resourceTypes?: ServiceNameAndResourceType[];
|
|
3241
3241
|
/**
|
|
3242
|
-
* @public
|
|
3243
3242
|
* <p>If present, this value indicates that more output is available than
|
|
3244
3243
|
* is included in the current response. Use this value in the <code>NextToken</code>
|
|
3245
3244
|
* request parameter in a subsequent call to the operation to get the next part of the
|
|
3246
3245
|
* output. You should repeat this until the <code>NextToken</code> response element comes
|
|
3247
3246
|
* back as <code>null</code>. This indicates that this is the last page of results.</p>
|
|
3247
|
+
* @public
|
|
3248
3248
|
*/
|
|
3249
3249
|
nextToken?: string;
|
|
3250
3250
|
}
|
|
@@ -3253,18 +3253,17 @@ export interface ListResourceTypesResponse {
|
|
|
3253
3253
|
*/
|
|
3254
3254
|
export interface PromotePermissionCreatedFromPolicyRequest {
|
|
3255
3255
|
/**
|
|
3256
|
-
* @public
|
|
3257
3256
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the <code>CREATED_FROM_POLICY</code> permission that you
|
|
3258
3257
|
* want to promote. You can get this <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> by calling the <a>ListResourceSharePermissions</a> operation.</p>
|
|
3258
|
+
* @public
|
|
3259
3259
|
*/
|
|
3260
3260
|
permissionArn: string | undefined;
|
|
3261
3261
|
/**
|
|
3262
|
-
* @public
|
|
3263
3262
|
* <p>Specifies a name for the promoted customer managed permission.</p>
|
|
3263
|
+
* @public
|
|
3264
3264
|
*/
|
|
3265
3265
|
name: string | undefined;
|
|
3266
3266
|
/**
|
|
3267
|
-
* @public
|
|
3268
3267
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
3269
3268
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
3270
3269
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -3276,6 +3275,7 @@ export interface PromotePermissionCreatedFromPolicyRequest {
|
|
|
3276
3275
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
3277
3276
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
3278
3277
|
* error.</p>
|
|
3278
|
+
* @public
|
|
3279
3279
|
*/
|
|
3280
3280
|
clientToken?: string;
|
|
3281
3281
|
}
|
|
@@ -3284,16 +3284,16 @@ export interface PromotePermissionCreatedFromPolicyRequest {
|
|
|
3284
3284
|
*/
|
|
3285
3285
|
export interface PromotePermissionCreatedFromPolicyResponse {
|
|
3286
3286
|
/**
|
|
3287
|
-
* @public
|
|
3288
3287
|
* <p>Information about an RAM permission.</p>
|
|
3288
|
+
* @public
|
|
3289
3289
|
*/
|
|
3290
3290
|
permission?: ResourceSharePermissionSummary;
|
|
3291
3291
|
/**
|
|
3292
|
-
* @public
|
|
3293
3292
|
* <p>The idempotency identifier associated with this request. If you
|
|
3294
3293
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
3295
3294
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
3296
3295
|
* parameters must also have the same values that you used in the first call.</p>
|
|
3296
|
+
* @public
|
|
3297
3297
|
*/
|
|
3298
3298
|
clientToken?: string;
|
|
3299
3299
|
}
|
|
@@ -3302,8 +3302,8 @@ export interface PromotePermissionCreatedFromPolicyResponse {
|
|
|
3302
3302
|
*/
|
|
3303
3303
|
export interface PromoteResourceShareCreatedFromPolicyRequest {
|
|
3304
3304
|
/**
|
|
3305
|
-
* @public
|
|
3306
3305
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share to promote.</p>
|
|
3306
|
+
* @public
|
|
3307
3307
|
*/
|
|
3308
3308
|
resourceShareArn: string | undefined;
|
|
3309
3309
|
}
|
|
@@ -3312,16 +3312,16 @@ export interface PromoteResourceShareCreatedFromPolicyRequest {
|
|
|
3312
3312
|
*/
|
|
3313
3313
|
export interface PromoteResourceShareCreatedFromPolicyResponse {
|
|
3314
3314
|
/**
|
|
3315
|
-
* @public
|
|
3316
3315
|
* <p>A return value of <code>true</code> indicates that the request succeeded.
|
|
3317
3316
|
* A value of <code>false</code> indicates that the request failed.</p>
|
|
3317
|
+
* @public
|
|
3318
3318
|
*/
|
|
3319
3319
|
returnValue?: boolean;
|
|
3320
3320
|
}
|
|
3321
3321
|
/**
|
|
3322
|
-
* @public
|
|
3323
3322
|
* <p>There isn't an existing managed permission defined in RAM that has the same IAM permissions as
|
|
3324
3323
|
* the resource-based policy attached to the resource. You should first run <a>PromotePermissionCreatedFromPolicy</a> to create that managed permission.</p>
|
|
3324
|
+
* @public
|
|
3325
3325
|
*/
|
|
3326
3326
|
export declare class UnmatchedPolicyPermissionException extends __BaseException {
|
|
3327
3327
|
readonly name: "UnmatchedPolicyPermissionException";
|
|
@@ -3336,12 +3336,11 @@ export declare class UnmatchedPolicyPermissionException extends __BaseException
|
|
|
3336
3336
|
*/
|
|
3337
3337
|
export interface RejectResourceShareInvitationRequest {
|
|
3338
3338
|
/**
|
|
3339
|
-
* @public
|
|
3340
3339
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the invitation that you want to reject.</p>
|
|
3340
|
+
* @public
|
|
3341
3341
|
*/
|
|
3342
3342
|
resourceShareInvitationArn: string | undefined;
|
|
3343
3343
|
/**
|
|
3344
|
-
* @public
|
|
3345
3344
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
3346
3345
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
3347
3346
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -3353,6 +3352,7 @@ export interface RejectResourceShareInvitationRequest {
|
|
|
3353
3352
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
3354
3353
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
3355
3354
|
* error.</p>
|
|
3355
|
+
* @public
|
|
3356
3356
|
*/
|
|
3357
3357
|
clientToken?: string;
|
|
3358
3358
|
}
|
|
@@ -3361,16 +3361,16 @@ export interface RejectResourceShareInvitationRequest {
|
|
|
3361
3361
|
*/
|
|
3362
3362
|
export interface RejectResourceShareInvitationResponse {
|
|
3363
3363
|
/**
|
|
3364
|
-
* @public
|
|
3365
3364
|
* <p>An object that contains the details about the rejected invitation.</p>
|
|
3365
|
+
* @public
|
|
3366
3366
|
*/
|
|
3367
3367
|
resourceShareInvitation?: ResourceShareInvitation;
|
|
3368
3368
|
/**
|
|
3369
|
-
* @public
|
|
3370
3369
|
* <p>The idempotency identifier associated with this request. If you
|
|
3371
3370
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
3372
3371
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
3373
3372
|
* parameters must also have the same values that you used in the first call.</p>
|
|
3373
|
+
* @public
|
|
3374
3374
|
*/
|
|
3375
3375
|
clientToken?: string;
|
|
3376
3376
|
}
|
|
@@ -3379,27 +3379,26 @@ export interface RejectResourceShareInvitationResponse {
|
|
|
3379
3379
|
*/
|
|
3380
3380
|
export interface ReplacePermissionAssociationsRequest {
|
|
3381
3381
|
/**
|
|
3382
|
-
* @public
|
|
3383
3382
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the managed permission that you want to replace.</p>
|
|
3383
|
+
* @public
|
|
3384
3384
|
*/
|
|
3385
3385
|
fromPermissionArn: string | undefined;
|
|
3386
3386
|
/**
|
|
3387
|
-
* @public
|
|
3388
3387
|
* <p>Specifies that you want to updated the permissions for only those resource shares that use the
|
|
3389
3388
|
* specified version of the managed permission.</p>
|
|
3389
|
+
* @public
|
|
3390
3390
|
*/
|
|
3391
3391
|
fromPermissionVersion?: number;
|
|
3392
3392
|
/**
|
|
3393
|
-
* @public
|
|
3394
3393
|
* <p>Specifies the ARN of the managed permission that you want to associate with resource
|
|
3395
3394
|
* shares in place of the one specified by <code>fromPerssionArn</code> and
|
|
3396
3395
|
* <code>fromPermissionVersion</code>.</p>
|
|
3397
3396
|
* <p>The operation always associates the version that is currently the default for the
|
|
3398
3397
|
* specified managed permission.</p>
|
|
3398
|
+
* @public
|
|
3399
3399
|
*/
|
|
3400
3400
|
toPermissionArn: string | undefined;
|
|
3401
3401
|
/**
|
|
3402
|
-
* @public
|
|
3403
3402
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
3404
3403
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
3405
3404
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -3411,6 +3410,7 @@ export interface ReplacePermissionAssociationsRequest {
|
|
|
3411
3410
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
3412
3411
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
3413
3412
|
* error.</p>
|
|
3413
|
+
* @public
|
|
3414
3414
|
*/
|
|
3415
3415
|
clientToken?: string;
|
|
3416
3416
|
}
|
|
@@ -3419,18 +3419,18 @@ export interface ReplacePermissionAssociationsRequest {
|
|
|
3419
3419
|
*/
|
|
3420
3420
|
export interface ReplacePermissionAssociationsResponse {
|
|
3421
3421
|
/**
|
|
3422
|
-
* @public
|
|
3423
3422
|
* <p>Specifies a data structure that you can use to track the asynchronous tasks that RAM
|
|
3424
3423
|
* performs to complete this operation. You can use the <a>ListReplacePermissionAssociationsWork</a> operation and pass the
|
|
3425
3424
|
* <code>id</code> value returned in this structure.</p>
|
|
3425
|
+
* @public
|
|
3426
3426
|
*/
|
|
3427
3427
|
replacePermissionAssociationsWork?: ReplacePermissionAssociationsWork;
|
|
3428
3428
|
/**
|
|
3429
|
-
* @public
|
|
3430
3429
|
* <p>The idempotency identifier associated with this request. If you
|
|
3431
3430
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
3432
3431
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
3433
3432
|
* parameters must also have the same values that you used in the first call.</p>
|
|
3433
|
+
* @public
|
|
3434
3434
|
*/
|
|
3435
3435
|
clientToken?: string;
|
|
3436
3436
|
}
|
|
@@ -3439,18 +3439,17 @@ export interface ReplacePermissionAssociationsResponse {
|
|
|
3439
3439
|
*/
|
|
3440
3440
|
export interface SetDefaultPermissionVersionRequest {
|
|
3441
3441
|
/**
|
|
3442
|
-
* @public
|
|
3443
3442
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the customer managed permission whose default version you want to change.</p>
|
|
3443
|
+
* @public
|
|
3444
3444
|
*/
|
|
3445
3445
|
permissionArn: string | undefined;
|
|
3446
3446
|
/**
|
|
3447
|
-
* @public
|
|
3448
3447
|
* <p>Specifies the version number that you want to designate as the default for customer managed permission. To
|
|
3449
3448
|
* see a list of all available version numbers, use <a>ListPermissionVersions</a>.</p>
|
|
3449
|
+
* @public
|
|
3450
3450
|
*/
|
|
3451
3451
|
permissionVersion: number | undefined;
|
|
3452
3452
|
/**
|
|
3453
|
-
* @public
|
|
3454
3453
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
3455
3454
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
3456
3455
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -3462,6 +3461,7 @@ export interface SetDefaultPermissionVersionRequest {
|
|
|
3462
3461
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
3463
3462
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
3464
3463
|
* error.</p>
|
|
3464
|
+
* @public
|
|
3465
3465
|
*/
|
|
3466
3466
|
clientToken?: string;
|
|
3467
3467
|
}
|
|
@@ -3470,16 +3470,16 @@ export interface SetDefaultPermissionVersionRequest {
|
|
|
3470
3470
|
*/
|
|
3471
3471
|
export interface SetDefaultPermissionVersionResponse {
|
|
3472
3472
|
/**
|
|
3473
|
-
* @public
|
|
3474
3473
|
* <p>A boolean value that indicates whether the operation was successful.</p>
|
|
3474
|
+
* @public
|
|
3475
3475
|
*/
|
|
3476
3476
|
returnValue?: boolean;
|
|
3477
3477
|
/**
|
|
3478
|
-
* @public
|
|
3479
3478
|
* <p>The idempotency identifier associated with this request. If you
|
|
3480
3479
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
3481
3480
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
3482
3481
|
* parameters must also have the same values that you used in the first call.</p>
|
|
3482
|
+
* @public
|
|
3483
3483
|
*/
|
|
3484
3484
|
clientToken?: string;
|
|
3485
3485
|
}
|
|
@@ -3488,23 +3488,23 @@ export interface SetDefaultPermissionVersionResponse {
|
|
|
3488
3488
|
*/
|
|
3489
3489
|
export interface TagResourceRequest {
|
|
3490
3490
|
/**
|
|
3491
|
-
* @public
|
|
3492
3491
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share that you want to add tags to. You must specify
|
|
3493
3492
|
* <i>either</i>
|
|
3494
3493
|
* <code>resourceShareArn</code>, or <code>resourceArn</code>, but not both.</p>
|
|
3494
|
+
* @public
|
|
3495
3495
|
*/
|
|
3496
3496
|
resourceShareArn?: string;
|
|
3497
3497
|
/**
|
|
3498
|
-
* @public
|
|
3499
3498
|
* <p>A list of one or more tag key and value pairs. The tag key must be present and not be
|
|
3500
3499
|
* an empty string. The tag value must be present but can be an empty string.</p>
|
|
3500
|
+
* @public
|
|
3501
3501
|
*/
|
|
3502
3502
|
tags: Tag[] | undefined;
|
|
3503
3503
|
/**
|
|
3504
|
-
* @public
|
|
3505
3504
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the managed permission that you want to add tags to. You must specify
|
|
3506
3505
|
* <i>either</i>
|
|
3507
3506
|
* <code>resourceArn</code>, or <code>resourceShareArn</code>, but not both.</p>
|
|
3507
|
+
* @public
|
|
3508
3508
|
*/
|
|
3509
3509
|
resourceArn?: string;
|
|
3510
3510
|
}
|
|
@@ -3518,22 +3518,22 @@ export interface TagResourceResponse {
|
|
|
3518
3518
|
*/
|
|
3519
3519
|
export interface UntagResourceRequest {
|
|
3520
3520
|
/**
|
|
3521
|
-
* @public
|
|
3522
3521
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share that you want to remove tags from. The tags are
|
|
3523
3522
|
* removed from the resource share, not the resources in the resource share. You must specify either
|
|
3524
3523
|
* <code>resourceShareArn</code>, or <code>resourceArn</code>, but not both.</p>
|
|
3524
|
+
* @public
|
|
3525
3525
|
*/
|
|
3526
3526
|
resourceShareArn?: string;
|
|
3527
3527
|
/**
|
|
3528
|
-
* @public
|
|
3529
3528
|
* <p>Specifies a list of one or more tag keys that you want to remove.</p>
|
|
3529
|
+
* @public
|
|
3530
3530
|
*/
|
|
3531
3531
|
tagKeys: string[] | undefined;
|
|
3532
3532
|
/**
|
|
3533
|
-
* @public
|
|
3534
3533
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the managed permission that you want to remove tags from. You must
|
|
3535
3534
|
* specify either <code>resourceArn</code>, or <code>resourceShareArn</code>, but not
|
|
3536
3535
|
* both.</p>
|
|
3536
|
+
* @public
|
|
3537
3537
|
*/
|
|
3538
3538
|
resourceArn?: string;
|
|
3539
3539
|
}
|
|
@@ -3547,23 +3547,22 @@ export interface UntagResourceResponse {
|
|
|
3547
3547
|
*/
|
|
3548
3548
|
export interface UpdateResourceShareRequest {
|
|
3549
3549
|
/**
|
|
3550
|
-
* @public
|
|
3551
3550
|
* <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource share that you want to modify.</p>
|
|
3551
|
+
* @public
|
|
3552
3552
|
*/
|
|
3553
3553
|
resourceShareArn: string | undefined;
|
|
3554
3554
|
/**
|
|
3555
|
-
* @public
|
|
3556
3555
|
* <p>If specified, the new name that you want to attach to the resource share.</p>
|
|
3556
|
+
* @public
|
|
3557
3557
|
*/
|
|
3558
3558
|
name?: string;
|
|
3559
3559
|
/**
|
|
3560
|
-
* @public
|
|
3561
3560
|
* <p>Specifies whether principals outside your organization in Organizations can be associated
|
|
3562
3561
|
* with a resource share.</p>
|
|
3562
|
+
* @public
|
|
3563
3563
|
*/
|
|
3564
3564
|
allowExternalPrincipals?: boolean;
|
|
3565
3565
|
/**
|
|
3566
|
-
* @public
|
|
3567
3566
|
* <p>Specifies a unique, case-sensitive identifier that you provide to
|
|
3568
3567
|
* ensure the idempotency of the request. This lets you safely retry the request without
|
|
3569
3568
|
* accidentally performing the same operation a second time. Passing the same value to a
|
|
@@ -3575,6 +3574,7 @@ export interface UpdateResourceShareRequest {
|
|
|
3575
3574
|
* <p>If you retry the operation with the same <code>ClientToken</code>, but with
|
|
3576
3575
|
* different parameters, the retry fails with an <code>IdempotentParameterMismatch</code>
|
|
3577
3576
|
* error.</p>
|
|
3577
|
+
* @public
|
|
3578
3578
|
*/
|
|
3579
3579
|
clientToken?: string;
|
|
3580
3580
|
}
|
|
@@ -3583,16 +3583,16 @@ export interface UpdateResourceShareRequest {
|
|
|
3583
3583
|
*/
|
|
3584
3584
|
export interface UpdateResourceShareResponse {
|
|
3585
3585
|
/**
|
|
3586
|
-
* @public
|
|
3587
3586
|
* <p>Information about the resource share.</p>
|
|
3587
|
+
* @public
|
|
3588
3588
|
*/
|
|
3589
3589
|
resourceShare?: ResourceShare;
|
|
3590
3590
|
/**
|
|
3591
|
-
* @public
|
|
3592
3591
|
* <p>The idempotency identifier associated with this request. If you
|
|
3593
3592
|
* want to repeat the same operation in an idempotent manner then you must include this
|
|
3594
3593
|
* value in the <code>clientToken</code> request parameter of that later call. All other
|
|
3595
3594
|
* parameters must also have the same values that you used in the first call.</p>
|
|
3595
|
+
* @public
|
|
3596
3596
|
*/
|
|
3597
3597
|
clientToken?: string;
|
|
3598
3598
|
}
|