@aws-sdk/client-ram 3.300.0 → 3.303.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-cjs/models/models_0.js +49 -58
- package/dist-es/models/models_0.js +49 -58
- package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +1 -1
- package/dist-types/commands/AssociateResourceShareCommand.d.ts +3 -3
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourceShareCommand.d.ts +6 -6
- package/dist-types/commands/DeleteResourceShareCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateResourceShareCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +1 -1
- package/dist-types/commands/GetPermissionCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +2 -2
- package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +3 -3
- package/dist-types/commands/GetResourceSharesCommand.d.ts +5 -5
- package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPrincipalsCommand.d.ts +3 -3
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListResourcesCommand.d.ts +3 -3
- package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +1 -1
- package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateResourceShareCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +94 -49
- package/dist-types/ts3.4/models/models_0.d.ts +66 -49
- package/package.json +34 -34
|
@@ -2,26 +2,23 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TagLimitExceededException = exports.InvalidResourceTypeException = exports.MissingRequiredParameterException = exports.ResourceStatus = exports.ResourceRegionScope = exports.ResourceRegionScopeFilter = exports.ResourceOwner = exports.InvalidMaxResultsException = exports.ResourceArnNotFoundException = exports.InvalidNextTokenException = exports.TagPolicyViolationException = exports.ResourceShareStatus = exports.ResourceShareFeatureSet = exports.UnknownResourceException = exports.ThrottlingException = exports.ResourceShareLimitExceededException = exports.InvalidStateTransitionException = exports.InvalidParameterException = exports.ServiceUnavailableException = exports.ServerInternalException = exports.ResourceShareInvitationExpiredException = exports.ResourceShareInvitationArnNotFoundException = exports.ResourceShareInvitationAlreadyRejectedException = exports.ResourceShareInvitationAlreadyAcceptedException = exports.OperationNotPermittedException = exports.MalformedArnException = exports.InvalidClientTokenException = exports.IdempotentParameterMismatchException = exports.ResourceShareInvitationStatus = exports.ResourceShareAssociationStatus = exports.ResourceShareAssociationType = void 0;
|
|
4
4
|
const RAMServiceException_1 = require("./RAMServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
ResourceShareInvitationStatus["PENDING"] = "PENDING";
|
|
23
|
-
ResourceShareInvitationStatus["REJECTED"] = "REJECTED";
|
|
24
|
-
})(ResourceShareInvitationStatus = exports.ResourceShareInvitationStatus || (exports.ResourceShareInvitationStatus = {}));
|
|
5
|
+
exports.ResourceShareAssociationType = {
|
|
6
|
+
PRINCIPAL: "PRINCIPAL",
|
|
7
|
+
RESOURCE: "RESOURCE",
|
|
8
|
+
};
|
|
9
|
+
exports.ResourceShareAssociationStatus = {
|
|
10
|
+
ASSOCIATED: "ASSOCIATED",
|
|
11
|
+
ASSOCIATING: "ASSOCIATING",
|
|
12
|
+
DISASSOCIATED: "DISASSOCIATED",
|
|
13
|
+
DISASSOCIATING: "DISASSOCIATING",
|
|
14
|
+
FAILED: "FAILED",
|
|
15
|
+
};
|
|
16
|
+
exports.ResourceShareInvitationStatus = {
|
|
17
|
+
ACCEPTED: "ACCEPTED",
|
|
18
|
+
EXPIRED: "EXPIRED",
|
|
19
|
+
PENDING: "PENDING",
|
|
20
|
+
REJECTED: "REJECTED",
|
|
21
|
+
};
|
|
25
22
|
class IdempotentParameterMismatchException extends RAMServiceException_1.RAMServiceException {
|
|
26
23
|
constructor(opts) {
|
|
27
24
|
super({
|
|
@@ -217,20 +214,18 @@ class UnknownResourceException extends RAMServiceException_1.RAMServiceException
|
|
|
217
214
|
}
|
|
218
215
|
}
|
|
219
216
|
exports.UnknownResourceException = UnknownResourceException;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
ResourceShareStatus["PENDING"] = "PENDING";
|
|
233
|
-
})(ResourceShareStatus = exports.ResourceShareStatus || (exports.ResourceShareStatus = {}));
|
|
217
|
+
exports.ResourceShareFeatureSet = {
|
|
218
|
+
CREATED_FROM_POLICY: "CREATED_FROM_POLICY",
|
|
219
|
+
PROMOTING_TO_STANDARD: "PROMOTING_TO_STANDARD",
|
|
220
|
+
STANDARD: "STANDARD",
|
|
221
|
+
};
|
|
222
|
+
exports.ResourceShareStatus = {
|
|
223
|
+
ACTIVE: "ACTIVE",
|
|
224
|
+
DELETED: "DELETED",
|
|
225
|
+
DELETING: "DELETING",
|
|
226
|
+
FAILED: "FAILED",
|
|
227
|
+
PENDING: "PENDING",
|
|
228
|
+
};
|
|
234
229
|
class TagPolicyViolationException extends RAMServiceException_1.RAMServiceException {
|
|
235
230
|
constructor(opts) {
|
|
236
231
|
super({
|
|
@@ -283,30 +278,26 @@ class InvalidMaxResultsException extends RAMServiceException_1.RAMServiceExcepti
|
|
|
283
278
|
}
|
|
284
279
|
}
|
|
285
280
|
exports.InvalidMaxResultsException = InvalidMaxResultsException;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
ResourceStatus["PENDING"] = "PENDING";
|
|
307
|
-
ResourceStatus["UNAVAILABLE"] = "UNAVAILABLE";
|
|
308
|
-
ResourceStatus["ZONAL_RESOURCE_INACCESSIBLE"] = "ZONAL_RESOURCE_INACCESSIBLE";
|
|
309
|
-
})(ResourceStatus = exports.ResourceStatus || (exports.ResourceStatus = {}));
|
|
281
|
+
exports.ResourceOwner = {
|
|
282
|
+
OTHER_ACCOUNTS: "OTHER-ACCOUNTS",
|
|
283
|
+
SELF: "SELF",
|
|
284
|
+
};
|
|
285
|
+
exports.ResourceRegionScopeFilter = {
|
|
286
|
+
ALL: "ALL",
|
|
287
|
+
GLOBAL: "GLOBAL",
|
|
288
|
+
REGIONAL: "REGIONAL",
|
|
289
|
+
};
|
|
290
|
+
exports.ResourceRegionScope = {
|
|
291
|
+
GLOBAL: "GLOBAL",
|
|
292
|
+
REGIONAL: "REGIONAL",
|
|
293
|
+
};
|
|
294
|
+
exports.ResourceStatus = {
|
|
295
|
+
AVAILABLE: "AVAILABLE",
|
|
296
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
297
|
+
PENDING: "PENDING",
|
|
298
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
299
|
+
ZONAL_RESOURCE_INACCESSIBLE: "ZONAL_RESOURCE_INACCESSIBLE",
|
|
300
|
+
};
|
|
310
301
|
class MissingRequiredParameterException extends RAMServiceException_1.RAMServiceException {
|
|
311
302
|
constructor(opts) {
|
|
312
303
|
super({
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
import { RAMServiceException as __BaseException } from "./RAMServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
ResourceShareInvitationStatus["PENDING"] = "PENDING";
|
|
20
|
-
ResourceShareInvitationStatus["REJECTED"] = "REJECTED";
|
|
21
|
-
})(ResourceShareInvitationStatus || (ResourceShareInvitationStatus = {}));
|
|
2
|
+
export const ResourceShareAssociationType = {
|
|
3
|
+
PRINCIPAL: "PRINCIPAL",
|
|
4
|
+
RESOURCE: "RESOURCE",
|
|
5
|
+
};
|
|
6
|
+
export const ResourceShareAssociationStatus = {
|
|
7
|
+
ASSOCIATED: "ASSOCIATED",
|
|
8
|
+
ASSOCIATING: "ASSOCIATING",
|
|
9
|
+
DISASSOCIATED: "DISASSOCIATED",
|
|
10
|
+
DISASSOCIATING: "DISASSOCIATING",
|
|
11
|
+
FAILED: "FAILED",
|
|
12
|
+
};
|
|
13
|
+
export const ResourceShareInvitationStatus = {
|
|
14
|
+
ACCEPTED: "ACCEPTED",
|
|
15
|
+
EXPIRED: "EXPIRED",
|
|
16
|
+
PENDING: "PENDING",
|
|
17
|
+
REJECTED: "REJECTED",
|
|
18
|
+
};
|
|
22
19
|
export class IdempotentParameterMismatchException extends __BaseException {
|
|
23
20
|
constructor(opts) {
|
|
24
21
|
super({
|
|
@@ -199,20 +196,18 @@ export class UnknownResourceException extends __BaseException {
|
|
|
199
196
|
Object.setPrototypeOf(this, UnknownResourceException.prototype);
|
|
200
197
|
}
|
|
201
198
|
}
|
|
202
|
-
export
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
ResourceShareStatus["PENDING"] = "PENDING";
|
|
215
|
-
})(ResourceShareStatus || (ResourceShareStatus = {}));
|
|
199
|
+
export const ResourceShareFeatureSet = {
|
|
200
|
+
CREATED_FROM_POLICY: "CREATED_FROM_POLICY",
|
|
201
|
+
PROMOTING_TO_STANDARD: "PROMOTING_TO_STANDARD",
|
|
202
|
+
STANDARD: "STANDARD",
|
|
203
|
+
};
|
|
204
|
+
export const ResourceShareStatus = {
|
|
205
|
+
ACTIVE: "ACTIVE",
|
|
206
|
+
DELETED: "DELETED",
|
|
207
|
+
DELETING: "DELETING",
|
|
208
|
+
FAILED: "FAILED",
|
|
209
|
+
PENDING: "PENDING",
|
|
210
|
+
};
|
|
216
211
|
export class TagPolicyViolationException extends __BaseException {
|
|
217
212
|
constructor(opts) {
|
|
218
213
|
super({
|
|
@@ -261,30 +256,26 @@ export class InvalidMaxResultsException extends __BaseException {
|
|
|
261
256
|
Object.setPrototypeOf(this, InvalidMaxResultsException.prototype);
|
|
262
257
|
}
|
|
263
258
|
}
|
|
264
|
-
export
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
ResourceStatus["PENDING"] = "PENDING";
|
|
285
|
-
ResourceStatus["UNAVAILABLE"] = "UNAVAILABLE";
|
|
286
|
-
ResourceStatus["ZONAL_RESOURCE_INACCESSIBLE"] = "ZONAL_RESOURCE_INACCESSIBLE";
|
|
287
|
-
})(ResourceStatus || (ResourceStatus = {}));
|
|
259
|
+
export const ResourceOwner = {
|
|
260
|
+
OTHER_ACCOUNTS: "OTHER-ACCOUNTS",
|
|
261
|
+
SELF: "SELF",
|
|
262
|
+
};
|
|
263
|
+
export const ResourceRegionScopeFilter = {
|
|
264
|
+
ALL: "ALL",
|
|
265
|
+
GLOBAL: "GLOBAL",
|
|
266
|
+
REGIONAL: "REGIONAL",
|
|
267
|
+
};
|
|
268
|
+
export const ResourceRegionScope = {
|
|
269
|
+
GLOBAL: "GLOBAL",
|
|
270
|
+
REGIONAL: "REGIONAL",
|
|
271
|
+
};
|
|
272
|
+
export const ResourceStatus = {
|
|
273
|
+
AVAILABLE: "AVAILABLE",
|
|
274
|
+
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
275
|
+
PENDING: "PENDING",
|
|
276
|
+
UNAVAILABLE: "UNAVAILABLE",
|
|
277
|
+
ZONAL_RESOURCE_INACCESSIBLE: "ZONAL_RESOURCE_INACCESSIBLE",
|
|
278
|
+
};
|
|
288
279
|
export class MissingRequiredParameterException extends __BaseException {
|
|
289
280
|
constructor(opts) {
|
|
290
281
|
super({
|
|
@@ -28,7 +28,7 @@ export interface AcceptResourceShareInvitationCommandOutput extends AcceptResour
|
|
|
28
28
|
* import { RAMClient, AcceptResourceShareInvitationCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, AcceptResourceShareInvitationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // AcceptResourceShareInvitationRequest
|
|
32
32
|
* resourceShareInvitationArn: "STRING_VALUE", // required
|
|
33
33
|
* clientToken: "STRING_VALUE",
|
|
34
34
|
* };
|
|
@@ -28,12 +28,12 @@ export interface AssociateResourceShareCommandOutput extends AssociateResourceSh
|
|
|
28
28
|
* import { RAMClient, AssociateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, AssociateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // AssociateResourceShareRequest
|
|
32
32
|
* resourceShareArn: "STRING_VALUE", // required
|
|
33
|
-
* resourceArns: [
|
|
33
|
+
* resourceArns: [ // ResourceArnList
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
|
-
* principals: [
|
|
36
|
+
* principals: [ // PrincipalArnOrIdList
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* clientToken: "STRING_VALUE",
|
|
@@ -29,7 +29,7 @@ export interface AssociateResourceSharePermissionCommandOutput extends Associate
|
|
|
29
29
|
* import { RAMClient, AssociateResourceSharePermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
30
30
|
* // const { RAMClient, AssociateResourceSharePermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
31
31
|
* const client = new RAMClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // AssociateResourceSharePermissionRequest
|
|
33
33
|
* resourceShareArn: "STRING_VALUE", // required
|
|
34
34
|
* permissionArn: "STRING_VALUE", // required
|
|
35
35
|
* replace: true || false,
|
|
@@ -33,23 +33,23 @@ export interface CreateResourceShareCommandOutput extends CreateResourceShareRes
|
|
|
33
33
|
* import { RAMClient, CreateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
34
34
|
* // const { RAMClient, CreateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
35
35
|
* const client = new RAMClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // CreateResourceShareRequest
|
|
37
37
|
* name: "STRING_VALUE", // required
|
|
38
|
-
* resourceArns: [
|
|
38
|
+
* resourceArns: [ // ResourceArnList
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
|
-
* principals: [
|
|
41
|
+
* principals: [ // PrincipalArnOrIdList
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
|
-
* tags: [
|
|
45
|
-
* {
|
|
44
|
+
* tags: [ // TagList
|
|
45
|
+
* { // Tag
|
|
46
46
|
* key: "STRING_VALUE",
|
|
47
47
|
* value: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
49
|
* ],
|
|
50
50
|
* allowExternalPrincipals: true || false,
|
|
51
51
|
* clientToken: "STRING_VALUE",
|
|
52
|
-
* permissionArns: [
|
|
52
|
+
* permissionArns: [ // PermissionArnList
|
|
53
53
|
* "STRING_VALUE",
|
|
54
54
|
* ],
|
|
55
55
|
* };
|
|
@@ -28,7 +28,7 @@ export interface DeleteResourceShareCommandOutput extends DeleteResourceShareRes
|
|
|
28
28
|
* import { RAMClient, DeleteResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, DeleteResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteResourceShareRequest
|
|
32
32
|
* resourceShareArn: "STRING_VALUE", // required
|
|
33
33
|
* clientToken: "STRING_VALUE",
|
|
34
34
|
* };
|
|
@@ -26,12 +26,12 @@ export interface DisassociateResourceShareCommandOutput extends DisassociateReso
|
|
|
26
26
|
* import { RAMClient, DisassociateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, DisassociateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DisassociateResourceShareRequest
|
|
30
30
|
* resourceShareArn: "STRING_VALUE", // required
|
|
31
|
-
* resourceArns: [
|
|
31
|
+
* resourceArns: [ // ResourceArnList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* principals: [
|
|
34
|
+
* principals: [ // PrincipalArnOrIdList
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* clientToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ export interface DisassociateResourceSharePermissionCommandOutput extends Disass
|
|
|
28
28
|
* import { RAMClient, DisassociateResourceSharePermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, DisassociateResourceSharePermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DisassociateResourceSharePermissionRequest
|
|
32
32
|
* resourceShareArn: "STRING_VALUE", // required
|
|
33
33
|
* permissionArn: "STRING_VALUE", // required
|
|
34
34
|
* clientToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface GetPermissionCommandOutput extends GetPermissionResponse, __Met
|
|
|
26
26
|
* import { RAMClient, GetPermissionCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, GetPermissionCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetPermissionRequest
|
|
30
30
|
* permissionArn: "STRING_VALUE", // required
|
|
31
31
|
* permissionVersion: Number("int"),
|
|
32
32
|
* };
|
|
@@ -27,8 +27,8 @@ export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesRes
|
|
|
27
27
|
* import { RAMClient, GetResourcePoliciesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, GetResourcePoliciesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* resourceArns: [ // required
|
|
30
|
+
* const input = { // GetResourcePoliciesRequest
|
|
31
|
+
* resourceArns: [ // ResourceArnList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* principal: "STRING_VALUE",
|
|
@@ -26,9 +26,9 @@ export interface GetResourceShareAssociationsCommandOutput extends GetResourceSh
|
|
|
26
26
|
* import { RAMClient, GetResourceShareAssociationsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, GetResourceShareAssociationsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetResourceShareAssociationsRequest
|
|
30
30
|
* associationType: "PRINCIPAL" || "RESOURCE", // required
|
|
31
|
-
* resourceShareArns: [
|
|
31
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* resourceArn: "STRING_VALUE",
|
|
@@ -26,11 +26,11 @@ export interface GetResourceShareInvitationsCommandOutput extends GetResourceSha
|
|
|
26
26
|
* import { RAMClient, GetResourceShareInvitationsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, GetResourceShareInvitationsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* resourceShareInvitationArns: [
|
|
29
|
+
* const input = { // GetResourceShareInvitationsRequest
|
|
30
|
+
* resourceShareInvitationArns: [ // ResourceShareInvitationArnList
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
|
-
* resourceShareArns: [
|
|
33
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,17 +26,17 @@ export interface GetResourceSharesCommandOutput extends GetResourceSharesRespons
|
|
|
26
26
|
* import { RAMClient, GetResourceSharesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, GetResourceSharesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* resourceShareArns: [
|
|
29
|
+
* const input = { // GetResourceSharesRequest
|
|
30
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* resourceShareStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING" || "DELETED",
|
|
34
34
|
* resourceOwner: "SELF" || "OTHER-ACCOUNTS", // required
|
|
35
35
|
* name: "STRING_VALUE",
|
|
36
|
-
* tagFilters: [
|
|
37
|
-
* {
|
|
36
|
+
* tagFilters: [ // TagFilters
|
|
37
|
+
* { // TagFilter
|
|
38
38
|
* tagKey: "STRING_VALUE",
|
|
39
|
-
* tagValues: [
|
|
39
|
+
* tagValues: [ // TagValueList
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* },
|
|
@@ -28,7 +28,7 @@ export interface ListPendingInvitationResourcesCommandOutput extends ListPending
|
|
|
28
28
|
* import { RAMClient, ListPendingInvitationResourcesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
29
29
|
* // const { RAMClient, ListPendingInvitationResourcesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
30
30
|
* const client = new RAMClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // ListPendingInvitationResourcesRequest
|
|
32
32
|
* resourceShareInvitationArn: "STRING_VALUE", // required
|
|
33
33
|
* nextToken: "STRING_VALUE",
|
|
34
34
|
* maxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListPermissionVersionsCommandOutput extends ListPermissionVersi
|
|
|
26
26
|
* import { RAMClient, ListPermissionVersionsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, ListPermissionVersionsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListPermissionVersionsRequest
|
|
30
30
|
* permissionArn: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
@@ -27,7 +27,7 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
|
|
|
27
27
|
* import { RAMClient, ListPermissionsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, ListPermissionsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListPermissionsRequest
|
|
31
31
|
* resourceType: "STRING_VALUE",
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
33
33
|
* maxResults: Number("int"),
|
|
@@ -27,14 +27,14 @@ export interface ListPrincipalsCommandOutput extends ListPrincipalsResponse, __M
|
|
|
27
27
|
* import { RAMClient, ListPrincipalsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, ListPrincipalsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListPrincipalsRequest
|
|
31
31
|
* resourceOwner: "SELF" || "OTHER-ACCOUNTS", // required
|
|
32
32
|
* resourceArn: "STRING_VALUE",
|
|
33
|
-
* principals: [
|
|
33
|
+
* principals: [ // PrincipalArnOrIdList
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* resourceType: "STRING_VALUE",
|
|
37
|
-
* resourceShareArns: [
|
|
37
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface ListResourceSharePermissionsCommandOutput extends ListResourceS
|
|
|
26
26
|
* import { RAMClient, ListResourceSharePermissionsCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, ListResourceSharePermissionsCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListResourceSharePermissionsRequest
|
|
30
30
|
* resourceShareArn: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListResourceTypesCommandOutput extends ListResourceTypesRespons
|
|
|
26
26
|
* import { RAMClient, ListResourceTypesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, ListResourceTypesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListResourceTypesRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* resourceRegionScope: "ALL" || "REGIONAL" || "GLOBAL",
|
|
@@ -27,14 +27,14 @@ export interface ListResourcesCommandOutput extends ListResourcesResponse, __Met
|
|
|
27
27
|
* import { RAMClient, ListResourcesCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, ListResourcesCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListResourcesRequest
|
|
31
31
|
* resourceOwner: "SELF" || "OTHER-ACCOUNTS", // required
|
|
32
32
|
* principal: "STRING_VALUE",
|
|
33
33
|
* resourceType: "STRING_VALUE",
|
|
34
|
-
* resourceArns: [
|
|
34
|
+
* resourceArns: [ // ResourceArnList
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* resourceShareArns: [
|
|
37
|
+
* resourceShareArns: [ // ResourceShareArnList
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* nextToken: "STRING_VALUE",
|
|
@@ -31,7 +31,7 @@ export interface PromoteResourceShareCreatedFromPolicyCommandOutput extends Prom
|
|
|
31
31
|
* import { RAMClient, PromoteResourceShareCreatedFromPolicyCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
32
32
|
* // const { RAMClient, PromoteResourceShareCreatedFromPolicyCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
33
33
|
* const client = new RAMClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // PromoteResourceShareCreatedFromPolicyRequest
|
|
35
35
|
* resourceShareArn: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new PromoteResourceShareCreatedFromPolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface RejectResourceShareInvitationCommandOutput extends RejectResour
|
|
|
26
26
|
* import { RAMClient, RejectResourceShareInvitationCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, RejectResourceShareInvitationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // RejectResourceShareInvitationRequest
|
|
30
30
|
* resourceShareInvitationArn: "STRING_VALUE", // required
|
|
31
31
|
* clientToken: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -27,10 +27,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
27
27
|
* import { RAMClient, TagResourceCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
28
28
|
* // const { RAMClient, TagResourceCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
29
29
|
* const client = new RAMClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // TagResourceRequest
|
|
31
31
|
* resourceShareArn: "STRING_VALUE", // required
|
|
32
|
-
* tags: [ // required
|
|
33
|
-
* {
|
|
32
|
+
* tags: [ // TagList // required
|
|
33
|
+
* { // Tag
|
|
34
34
|
* key: "STRING_VALUE",
|
|
35
35
|
* value: "STRING_VALUE",
|
|
36
36
|
* },
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { RAMClient, UntagResourceCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, UntagResourceCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceShareArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,7 +26,7 @@ export interface UpdateResourceShareCommandOutput extends UpdateResourceShareRes
|
|
|
26
26
|
* import { RAMClient, UpdateResourceShareCommand } from "@aws-sdk/client-ram"; // ES Modules import
|
|
27
27
|
* // const { RAMClient, UpdateResourceShareCommand } = require("@aws-sdk/client-ram"); // CommonJS import
|
|
28
28
|
* const client = new RAMClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateResourceShareRequest
|
|
30
30
|
* resourceShareArn: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE",
|
|
32
32
|
* allowExternalPrincipals: true || false,
|
|
@@ -22,21 +22,31 @@ export interface AcceptResourceShareInvitationRequest {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
25
|
+
* @enum
|
|
25
26
|
*/
|
|
26
|
-
export declare
|
|
27
|
-
PRINCIPAL
|
|
28
|
-
RESOURCE
|
|
29
|
-
}
|
|
27
|
+
export declare const ResourceShareAssociationType: {
|
|
28
|
+
readonly PRINCIPAL: "PRINCIPAL";
|
|
29
|
+
readonly RESOURCE: "RESOURCE";
|
|
30
|
+
};
|
|
30
31
|
/**
|
|
31
32
|
* @public
|
|
32
33
|
*/
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
export type ResourceShareAssociationType = (typeof ResourceShareAssociationType)[keyof typeof ResourceShareAssociationType];
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
* @enum
|
|
38
|
+
*/
|
|
39
|
+
export declare const ResourceShareAssociationStatus: {
|
|
40
|
+
readonly ASSOCIATED: "ASSOCIATED";
|
|
41
|
+
readonly ASSOCIATING: "ASSOCIATING";
|
|
42
|
+
readonly DISASSOCIATED: "DISASSOCIATED";
|
|
43
|
+
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
44
|
+
readonly FAILED: "FAILED";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type ResourceShareAssociationStatus = (typeof ResourceShareAssociationStatus)[keyof typeof ResourceShareAssociationStatus];
|
|
40
50
|
/**
|
|
41
51
|
* @public
|
|
42
52
|
* <p>Describes an association with a resource share and either a principal or a resource.</p>
|
|
@@ -107,13 +117,18 @@ export interface ResourceShareAssociation {
|
|
|
107
117
|
}
|
|
108
118
|
/**
|
|
109
119
|
* @public
|
|
120
|
+
* @enum
|
|
110
121
|
*/
|
|
111
|
-
export declare
|
|
112
|
-
ACCEPTED
|
|
113
|
-
EXPIRED
|
|
114
|
-
PENDING
|
|
115
|
-
REJECTED
|
|
116
|
-
}
|
|
122
|
+
export declare const ResourceShareInvitationStatus: {
|
|
123
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
124
|
+
readonly EXPIRED: "EXPIRED";
|
|
125
|
+
readonly PENDING: "PENDING";
|
|
126
|
+
readonly REJECTED: "REJECTED";
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export type ResourceShareInvitationStatus = (typeof ResourceShareInvitationStatus)[keyof typeof ResourceShareInvitationStatus];
|
|
117
132
|
/**
|
|
118
133
|
* @public
|
|
119
134
|
* <p>Describes an invitation for an Amazon Web Services account to join a resource share.</p>
|
|
@@ -606,22 +621,32 @@ export interface CreateResourceShareRequest {
|
|
|
606
621
|
}
|
|
607
622
|
/**
|
|
608
623
|
* @public
|
|
624
|
+
* @enum
|
|
609
625
|
*/
|
|
610
|
-
export declare
|
|
611
|
-
CREATED_FROM_POLICY
|
|
612
|
-
PROMOTING_TO_STANDARD
|
|
613
|
-
STANDARD
|
|
614
|
-
}
|
|
626
|
+
export declare const ResourceShareFeatureSet: {
|
|
627
|
+
readonly CREATED_FROM_POLICY: "CREATED_FROM_POLICY";
|
|
628
|
+
readonly PROMOTING_TO_STANDARD: "PROMOTING_TO_STANDARD";
|
|
629
|
+
readonly STANDARD: "STANDARD";
|
|
630
|
+
};
|
|
615
631
|
/**
|
|
616
632
|
* @public
|
|
617
633
|
*/
|
|
618
|
-
export
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
634
|
+
export type ResourceShareFeatureSet = (typeof ResourceShareFeatureSet)[keyof typeof ResourceShareFeatureSet];
|
|
635
|
+
/**
|
|
636
|
+
* @public
|
|
637
|
+
* @enum
|
|
638
|
+
*/
|
|
639
|
+
export declare const ResourceShareStatus: {
|
|
640
|
+
readonly ACTIVE: "ACTIVE";
|
|
641
|
+
readonly DELETED: "DELETED";
|
|
642
|
+
readonly DELETING: "DELETING";
|
|
643
|
+
readonly FAILED: "FAILED";
|
|
644
|
+
readonly PENDING: "PENDING";
|
|
645
|
+
};
|
|
646
|
+
/**
|
|
647
|
+
* @public
|
|
648
|
+
*/
|
|
649
|
+
export type ResourceShareStatus = (typeof ResourceShareStatus)[keyof typeof ResourceShareStatus];
|
|
625
650
|
/**
|
|
626
651
|
* @public
|
|
627
652
|
* <p>Describes a resource share in RAM.</p>
|
|
@@ -1184,11 +1209,16 @@ export declare class InvalidMaxResultsException extends __BaseException {
|
|
|
1184
1209
|
}
|
|
1185
1210
|
/**
|
|
1186
1211
|
* @public
|
|
1212
|
+
* @enum
|
|
1187
1213
|
*/
|
|
1188
|
-
export declare
|
|
1189
|
-
OTHER_ACCOUNTS
|
|
1190
|
-
SELF
|
|
1191
|
-
}
|
|
1214
|
+
export declare const ResourceOwner: {
|
|
1215
|
+
readonly OTHER_ACCOUNTS: "OTHER-ACCOUNTS";
|
|
1216
|
+
readonly SELF: "SELF";
|
|
1217
|
+
};
|
|
1218
|
+
/**
|
|
1219
|
+
* @public
|
|
1220
|
+
*/
|
|
1221
|
+
export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
|
|
1192
1222
|
/**
|
|
1193
1223
|
* @public
|
|
1194
1224
|
* <p>A tag key and optional list of possible values that you can use to filter results for
|
|
@@ -1294,12 +1324,17 @@ export interface GetResourceSharesResponse {
|
|
|
1294
1324
|
}
|
|
1295
1325
|
/**
|
|
1296
1326
|
* @public
|
|
1327
|
+
* @enum
|
|
1297
1328
|
*/
|
|
1298
|
-
export declare
|
|
1299
|
-
ALL
|
|
1300
|
-
GLOBAL
|
|
1301
|
-
REGIONAL
|
|
1302
|
-
}
|
|
1329
|
+
export declare const ResourceRegionScopeFilter: {
|
|
1330
|
+
readonly ALL: "ALL";
|
|
1331
|
+
readonly GLOBAL: "GLOBAL";
|
|
1332
|
+
readonly REGIONAL: "REGIONAL";
|
|
1333
|
+
};
|
|
1334
|
+
/**
|
|
1335
|
+
* @public
|
|
1336
|
+
*/
|
|
1337
|
+
export type ResourceRegionScopeFilter = (typeof ResourceRegionScopeFilter)[keyof typeof ResourceRegionScopeFilter];
|
|
1303
1338
|
/**
|
|
1304
1339
|
* @public
|
|
1305
1340
|
*/
|
|
@@ -1354,21 +1389,31 @@ export interface ListPendingInvitationResourcesRequest {
|
|
|
1354
1389
|
}
|
|
1355
1390
|
/**
|
|
1356
1391
|
* @public
|
|
1392
|
+
* @enum
|
|
1357
1393
|
*/
|
|
1358
|
-
export declare
|
|
1359
|
-
GLOBAL
|
|
1360
|
-
REGIONAL
|
|
1361
|
-
}
|
|
1394
|
+
export declare const ResourceRegionScope: {
|
|
1395
|
+
readonly GLOBAL: "GLOBAL";
|
|
1396
|
+
readonly REGIONAL: "REGIONAL";
|
|
1397
|
+
};
|
|
1362
1398
|
/**
|
|
1363
1399
|
* @public
|
|
1364
1400
|
*/
|
|
1365
|
-
export
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1401
|
+
export type ResourceRegionScope = (typeof ResourceRegionScope)[keyof typeof ResourceRegionScope];
|
|
1402
|
+
/**
|
|
1403
|
+
* @public
|
|
1404
|
+
* @enum
|
|
1405
|
+
*/
|
|
1406
|
+
export declare const ResourceStatus: {
|
|
1407
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
1408
|
+
readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
1409
|
+
readonly PENDING: "PENDING";
|
|
1410
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
1411
|
+
readonly ZONAL_RESOURCE_INACCESSIBLE: "ZONAL_RESOURCE_INACCESSIBLE";
|
|
1412
|
+
};
|
|
1413
|
+
/**
|
|
1414
|
+
* @public
|
|
1415
|
+
*/
|
|
1416
|
+
export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
1372
1417
|
/**
|
|
1373
1418
|
* @public
|
|
1374
1419
|
* <p>Describes a resource associated with a resource share in RAM.</p>
|
|
@@ -4,17 +4,21 @@ export interface AcceptResourceShareInvitationRequest {
|
|
|
4
4
|
resourceShareInvitationArn: string | undefined;
|
|
5
5
|
clientToken?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare
|
|
8
|
-
PRINCIPAL
|
|
9
|
-
RESOURCE
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
export declare const ResourceShareAssociationType: {
|
|
8
|
+
readonly PRINCIPAL: "PRINCIPAL";
|
|
9
|
+
readonly RESOURCE: "RESOURCE";
|
|
10
|
+
};
|
|
11
|
+
export type ResourceShareAssociationType =
|
|
12
|
+
(typeof ResourceShareAssociationType)[keyof typeof ResourceShareAssociationType];
|
|
13
|
+
export declare const ResourceShareAssociationStatus: {
|
|
14
|
+
readonly ASSOCIATED: "ASSOCIATED";
|
|
15
|
+
readonly ASSOCIATING: "ASSOCIATING";
|
|
16
|
+
readonly DISASSOCIATED: "DISASSOCIATED";
|
|
17
|
+
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
18
|
+
readonly FAILED: "FAILED";
|
|
19
|
+
};
|
|
20
|
+
export type ResourceShareAssociationStatus =
|
|
21
|
+
(typeof ResourceShareAssociationStatus)[keyof typeof ResourceShareAssociationStatus];
|
|
18
22
|
export interface ResourceShareAssociation {
|
|
19
23
|
resourceShareArn?: string;
|
|
20
24
|
resourceShareName?: string;
|
|
@@ -26,12 +30,14 @@ export interface ResourceShareAssociation {
|
|
|
26
30
|
lastUpdatedTime?: Date;
|
|
27
31
|
external?: boolean;
|
|
28
32
|
}
|
|
29
|
-
export declare
|
|
30
|
-
ACCEPTED
|
|
31
|
-
EXPIRED
|
|
32
|
-
PENDING
|
|
33
|
-
REJECTED
|
|
34
|
-
}
|
|
33
|
+
export declare const ResourceShareInvitationStatus: {
|
|
34
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
35
|
+
readonly EXPIRED: "EXPIRED";
|
|
36
|
+
readonly PENDING: "PENDING";
|
|
37
|
+
readonly REJECTED: "REJECTED";
|
|
38
|
+
};
|
|
39
|
+
export type ResourceShareInvitationStatus =
|
|
40
|
+
(typeof ResourceShareInvitationStatus)[keyof typeof ResourceShareInvitationStatus];
|
|
35
41
|
export interface ResourceShareInvitation {
|
|
36
42
|
resourceShareInvitationArn?: string;
|
|
37
43
|
resourceShareName?: string;
|
|
@@ -207,18 +213,22 @@ export interface CreateResourceShareRequest {
|
|
|
207
213
|
clientToken?: string;
|
|
208
214
|
permissionArns?: string[];
|
|
209
215
|
}
|
|
210
|
-
export declare
|
|
211
|
-
CREATED_FROM_POLICY
|
|
212
|
-
PROMOTING_TO_STANDARD
|
|
213
|
-
STANDARD
|
|
214
|
-
}
|
|
215
|
-
export
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
216
|
+
export declare const ResourceShareFeatureSet: {
|
|
217
|
+
readonly CREATED_FROM_POLICY: "CREATED_FROM_POLICY";
|
|
218
|
+
readonly PROMOTING_TO_STANDARD: "PROMOTING_TO_STANDARD";
|
|
219
|
+
readonly STANDARD: "STANDARD";
|
|
220
|
+
};
|
|
221
|
+
export type ResourceShareFeatureSet =
|
|
222
|
+
(typeof ResourceShareFeatureSet)[keyof typeof ResourceShareFeatureSet];
|
|
223
|
+
export declare const ResourceShareStatus: {
|
|
224
|
+
readonly ACTIVE: "ACTIVE";
|
|
225
|
+
readonly DELETED: "DELETED";
|
|
226
|
+
readonly DELETING: "DELETING";
|
|
227
|
+
readonly FAILED: "FAILED";
|
|
228
|
+
readonly PENDING: "PENDING";
|
|
229
|
+
};
|
|
230
|
+
export type ResourceShareStatus =
|
|
231
|
+
(typeof ResourceShareStatus)[keyof typeof ResourceShareStatus];
|
|
222
232
|
export interface ResourceShare {
|
|
223
233
|
resourceShareArn?: string;
|
|
224
234
|
name?: string;
|
|
@@ -345,10 +355,11 @@ export declare class InvalidMaxResultsException extends __BaseException {
|
|
|
345
355
|
opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>
|
|
346
356
|
);
|
|
347
357
|
}
|
|
348
|
-
export declare
|
|
349
|
-
OTHER_ACCOUNTS
|
|
350
|
-
SELF
|
|
351
|
-
}
|
|
358
|
+
export declare const ResourceOwner: {
|
|
359
|
+
readonly OTHER_ACCOUNTS: "OTHER-ACCOUNTS";
|
|
360
|
+
readonly SELF: "SELF";
|
|
361
|
+
};
|
|
362
|
+
export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
|
|
352
363
|
export interface TagFilter {
|
|
353
364
|
tagKey?: string;
|
|
354
365
|
tagValues?: string[];
|
|
@@ -367,28 +378,34 @@ export interface GetResourceSharesResponse {
|
|
|
367
378
|
resourceShares?: ResourceShare[];
|
|
368
379
|
nextToken?: string;
|
|
369
380
|
}
|
|
370
|
-
export declare
|
|
371
|
-
ALL
|
|
372
|
-
GLOBAL
|
|
373
|
-
REGIONAL
|
|
374
|
-
}
|
|
381
|
+
export declare const ResourceRegionScopeFilter: {
|
|
382
|
+
readonly ALL: "ALL";
|
|
383
|
+
readonly GLOBAL: "GLOBAL";
|
|
384
|
+
readonly REGIONAL: "REGIONAL";
|
|
385
|
+
};
|
|
386
|
+
export type ResourceRegionScopeFilter =
|
|
387
|
+
(typeof ResourceRegionScopeFilter)[keyof typeof ResourceRegionScopeFilter];
|
|
375
388
|
export interface ListPendingInvitationResourcesRequest {
|
|
376
389
|
resourceShareInvitationArn: string | undefined;
|
|
377
390
|
nextToken?: string;
|
|
378
391
|
maxResults?: number;
|
|
379
392
|
resourceRegionScope?: ResourceRegionScopeFilter | string;
|
|
380
393
|
}
|
|
381
|
-
export declare
|
|
382
|
-
GLOBAL
|
|
383
|
-
REGIONAL
|
|
384
|
-
}
|
|
385
|
-
export
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
394
|
+
export declare const ResourceRegionScope: {
|
|
395
|
+
readonly GLOBAL: "GLOBAL";
|
|
396
|
+
readonly REGIONAL: "REGIONAL";
|
|
397
|
+
};
|
|
398
|
+
export type ResourceRegionScope =
|
|
399
|
+
(typeof ResourceRegionScope)[keyof typeof ResourceRegionScope];
|
|
400
|
+
export declare const ResourceStatus: {
|
|
401
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
402
|
+
readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
|
|
403
|
+
readonly PENDING: "PENDING";
|
|
404
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
405
|
+
readonly ZONAL_RESOURCE_INACCESSIBLE: "ZONAL_RESOURCE_INACCESSIBLE";
|
|
406
|
+
};
|
|
407
|
+
export type ResourceStatus =
|
|
408
|
+
(typeof ResourceStatus)[keyof typeof ResourceStatus];
|
|
392
409
|
export interface Resource {
|
|
393
410
|
arn?: string;
|
|
394
411
|
type?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ram",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ram Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|