@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.
Files changed (29) hide show
  1. package/dist-cjs/models/models_0.js +49 -58
  2. package/dist-es/models/models_0.js +49 -58
  3. package/dist-types/commands/AcceptResourceShareInvitationCommand.d.ts +1 -1
  4. package/dist-types/commands/AssociateResourceShareCommand.d.ts +3 -3
  5. package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateResourceShareCommand.d.ts +6 -6
  7. package/dist-types/commands/DeleteResourceShareCommand.d.ts +1 -1
  8. package/dist-types/commands/DisassociateResourceShareCommand.d.ts +3 -3
  9. package/dist-types/commands/DisassociateResourceSharePermissionCommand.d.ts +1 -1
  10. package/dist-types/commands/GetPermissionCommand.d.ts +1 -1
  11. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +2 -2
  12. package/dist-types/commands/GetResourceShareAssociationsCommand.d.ts +2 -2
  13. package/dist-types/commands/GetResourceShareInvitationsCommand.d.ts +3 -3
  14. package/dist-types/commands/GetResourceSharesCommand.d.ts +5 -5
  15. package/dist-types/commands/ListPendingInvitationResourcesCommand.d.ts +1 -1
  16. package/dist-types/commands/ListPermissionVersionsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListPermissionsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListPrincipalsCommand.d.ts +3 -3
  19. package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListResourceTypesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListResourcesCommand.d.ts +3 -3
  22. package/dist-types/commands/PromoteResourceShareCreatedFromPolicyCommand.d.ts +1 -1
  23. package/dist-types/commands/RejectResourceShareInvitationCommand.d.ts +1 -1
  24. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  25. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  26. package/dist-types/commands/UpdateResourceShareCommand.d.ts +1 -1
  27. package/dist-types/models/models_0.d.ts +94 -49
  28. package/dist-types/ts3.4/models/models_0.d.ts +66 -49
  29. 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
- var ResourceShareAssociationType;
6
- (function (ResourceShareAssociationType) {
7
- ResourceShareAssociationType["PRINCIPAL"] = "PRINCIPAL";
8
- ResourceShareAssociationType["RESOURCE"] = "RESOURCE";
9
- })(ResourceShareAssociationType = exports.ResourceShareAssociationType || (exports.ResourceShareAssociationType = {}));
10
- var ResourceShareAssociationStatus;
11
- (function (ResourceShareAssociationStatus) {
12
- ResourceShareAssociationStatus["ASSOCIATED"] = "ASSOCIATED";
13
- ResourceShareAssociationStatus["ASSOCIATING"] = "ASSOCIATING";
14
- ResourceShareAssociationStatus["DISASSOCIATED"] = "DISASSOCIATED";
15
- ResourceShareAssociationStatus["DISASSOCIATING"] = "DISASSOCIATING";
16
- ResourceShareAssociationStatus["FAILED"] = "FAILED";
17
- })(ResourceShareAssociationStatus = exports.ResourceShareAssociationStatus || (exports.ResourceShareAssociationStatus = {}));
18
- var ResourceShareInvitationStatus;
19
- (function (ResourceShareInvitationStatus) {
20
- ResourceShareInvitationStatus["ACCEPTED"] = "ACCEPTED";
21
- ResourceShareInvitationStatus["EXPIRED"] = "EXPIRED";
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
- var ResourceShareFeatureSet;
221
- (function (ResourceShareFeatureSet) {
222
- ResourceShareFeatureSet["CREATED_FROM_POLICY"] = "CREATED_FROM_POLICY";
223
- ResourceShareFeatureSet["PROMOTING_TO_STANDARD"] = "PROMOTING_TO_STANDARD";
224
- ResourceShareFeatureSet["STANDARD"] = "STANDARD";
225
- })(ResourceShareFeatureSet = exports.ResourceShareFeatureSet || (exports.ResourceShareFeatureSet = {}));
226
- var ResourceShareStatus;
227
- (function (ResourceShareStatus) {
228
- ResourceShareStatus["ACTIVE"] = "ACTIVE";
229
- ResourceShareStatus["DELETED"] = "DELETED";
230
- ResourceShareStatus["DELETING"] = "DELETING";
231
- ResourceShareStatus["FAILED"] = "FAILED";
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
- var ResourceOwner;
287
- (function (ResourceOwner) {
288
- ResourceOwner["OTHER_ACCOUNTS"] = "OTHER-ACCOUNTS";
289
- ResourceOwner["SELF"] = "SELF";
290
- })(ResourceOwner = exports.ResourceOwner || (exports.ResourceOwner = {}));
291
- var ResourceRegionScopeFilter;
292
- (function (ResourceRegionScopeFilter) {
293
- ResourceRegionScopeFilter["ALL"] = "ALL";
294
- ResourceRegionScopeFilter["GLOBAL"] = "GLOBAL";
295
- ResourceRegionScopeFilter["REGIONAL"] = "REGIONAL";
296
- })(ResourceRegionScopeFilter = exports.ResourceRegionScopeFilter || (exports.ResourceRegionScopeFilter = {}));
297
- var ResourceRegionScope;
298
- (function (ResourceRegionScope) {
299
- ResourceRegionScope["GLOBAL"] = "GLOBAL";
300
- ResourceRegionScope["REGIONAL"] = "REGIONAL";
301
- })(ResourceRegionScope = exports.ResourceRegionScope || (exports.ResourceRegionScope = {}));
302
- var ResourceStatus;
303
- (function (ResourceStatus) {
304
- ResourceStatus["AVAILABLE"] = "AVAILABLE";
305
- ResourceStatus["LIMIT_EXCEEDED"] = "LIMIT_EXCEEDED";
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 var ResourceShareAssociationType;
3
- (function (ResourceShareAssociationType) {
4
- ResourceShareAssociationType["PRINCIPAL"] = "PRINCIPAL";
5
- ResourceShareAssociationType["RESOURCE"] = "RESOURCE";
6
- })(ResourceShareAssociationType || (ResourceShareAssociationType = {}));
7
- export var ResourceShareAssociationStatus;
8
- (function (ResourceShareAssociationStatus) {
9
- ResourceShareAssociationStatus["ASSOCIATED"] = "ASSOCIATED";
10
- ResourceShareAssociationStatus["ASSOCIATING"] = "ASSOCIATING";
11
- ResourceShareAssociationStatus["DISASSOCIATED"] = "DISASSOCIATED";
12
- ResourceShareAssociationStatus["DISASSOCIATING"] = "DISASSOCIATING";
13
- ResourceShareAssociationStatus["FAILED"] = "FAILED";
14
- })(ResourceShareAssociationStatus || (ResourceShareAssociationStatus = {}));
15
- export var ResourceShareInvitationStatus;
16
- (function (ResourceShareInvitationStatus) {
17
- ResourceShareInvitationStatus["ACCEPTED"] = "ACCEPTED";
18
- ResourceShareInvitationStatus["EXPIRED"] = "EXPIRED";
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 var ResourceShareFeatureSet;
203
- (function (ResourceShareFeatureSet) {
204
- ResourceShareFeatureSet["CREATED_FROM_POLICY"] = "CREATED_FROM_POLICY";
205
- ResourceShareFeatureSet["PROMOTING_TO_STANDARD"] = "PROMOTING_TO_STANDARD";
206
- ResourceShareFeatureSet["STANDARD"] = "STANDARD";
207
- })(ResourceShareFeatureSet || (ResourceShareFeatureSet = {}));
208
- export var ResourceShareStatus;
209
- (function (ResourceShareStatus) {
210
- ResourceShareStatus["ACTIVE"] = "ACTIVE";
211
- ResourceShareStatus["DELETED"] = "DELETED";
212
- ResourceShareStatus["DELETING"] = "DELETING";
213
- ResourceShareStatus["FAILED"] = "FAILED";
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 var ResourceOwner;
265
- (function (ResourceOwner) {
266
- ResourceOwner["OTHER_ACCOUNTS"] = "OTHER-ACCOUNTS";
267
- ResourceOwner["SELF"] = "SELF";
268
- })(ResourceOwner || (ResourceOwner = {}));
269
- export var ResourceRegionScopeFilter;
270
- (function (ResourceRegionScopeFilter) {
271
- ResourceRegionScopeFilter["ALL"] = "ALL";
272
- ResourceRegionScopeFilter["GLOBAL"] = "GLOBAL";
273
- ResourceRegionScopeFilter["REGIONAL"] = "REGIONAL";
274
- })(ResourceRegionScopeFilter || (ResourceRegionScopeFilter = {}));
275
- export var ResourceRegionScope;
276
- (function (ResourceRegionScope) {
277
- ResourceRegionScope["GLOBAL"] = "GLOBAL";
278
- ResourceRegionScope["REGIONAL"] = "REGIONAL";
279
- })(ResourceRegionScope || (ResourceRegionScope = {}));
280
- export var ResourceStatus;
281
- (function (ResourceStatus) {
282
- ResourceStatus["AVAILABLE"] = "AVAILABLE";
283
- ResourceStatus["LIMIT_EXCEEDED"] = "LIMIT_EXCEEDED";
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 enum ResourceShareAssociationType {
27
- PRINCIPAL = "PRINCIPAL",
28
- RESOURCE = "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 declare enum ResourceShareAssociationStatus {
34
- ASSOCIATED = "ASSOCIATED",
35
- ASSOCIATING = "ASSOCIATING",
36
- DISASSOCIATED = "DISASSOCIATED",
37
- DISASSOCIATING = "DISASSOCIATING",
38
- FAILED = "FAILED"
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 enum ResourceShareInvitationStatus {
112
- ACCEPTED = "ACCEPTED",
113
- EXPIRED = "EXPIRED",
114
- PENDING = "PENDING",
115
- REJECTED = "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 enum ResourceShareFeatureSet {
611
- CREATED_FROM_POLICY = "CREATED_FROM_POLICY",
612
- PROMOTING_TO_STANDARD = "PROMOTING_TO_STANDARD",
613
- STANDARD = "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 declare enum ResourceShareStatus {
619
- ACTIVE = "ACTIVE",
620
- DELETED = "DELETED",
621
- DELETING = "DELETING",
622
- FAILED = "FAILED",
623
- PENDING = "PENDING"
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 enum ResourceOwner {
1189
- OTHER_ACCOUNTS = "OTHER-ACCOUNTS",
1190
- SELF = "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 enum ResourceRegionScopeFilter {
1299
- ALL = "ALL",
1300
- GLOBAL = "GLOBAL",
1301
- REGIONAL = "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 enum ResourceRegionScope {
1359
- GLOBAL = "GLOBAL",
1360
- REGIONAL = "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 declare enum ResourceStatus {
1366
- AVAILABLE = "AVAILABLE",
1367
- LIMIT_EXCEEDED = "LIMIT_EXCEEDED",
1368
- PENDING = "PENDING",
1369
- UNAVAILABLE = "UNAVAILABLE",
1370
- ZONAL_RESOURCE_INACCESSIBLE = "ZONAL_RESOURCE_INACCESSIBLE"
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 enum ResourceShareAssociationType {
8
- PRINCIPAL = "PRINCIPAL",
9
- RESOURCE = "RESOURCE",
10
- }
11
- export declare enum ResourceShareAssociationStatus {
12
- ASSOCIATED = "ASSOCIATED",
13
- ASSOCIATING = "ASSOCIATING",
14
- DISASSOCIATED = "DISASSOCIATED",
15
- DISASSOCIATING = "DISASSOCIATING",
16
- FAILED = "FAILED",
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 enum ResourceShareInvitationStatus {
30
- ACCEPTED = "ACCEPTED",
31
- EXPIRED = "EXPIRED",
32
- PENDING = "PENDING",
33
- REJECTED = "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 enum ResourceShareFeatureSet {
211
- CREATED_FROM_POLICY = "CREATED_FROM_POLICY",
212
- PROMOTING_TO_STANDARD = "PROMOTING_TO_STANDARD",
213
- STANDARD = "STANDARD",
214
- }
215
- export declare enum ResourceShareStatus {
216
- ACTIVE = "ACTIVE",
217
- DELETED = "DELETED",
218
- DELETING = "DELETING",
219
- FAILED = "FAILED",
220
- PENDING = "PENDING",
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 enum ResourceOwner {
349
- OTHER_ACCOUNTS = "OTHER-ACCOUNTS",
350
- SELF = "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 enum ResourceRegionScopeFilter {
371
- ALL = "ALL",
372
- GLOBAL = "GLOBAL",
373
- REGIONAL = "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 enum ResourceRegionScope {
382
- GLOBAL = "GLOBAL",
383
- REGIONAL = "REGIONAL",
384
- }
385
- export declare enum ResourceStatus {
386
- AVAILABLE = "AVAILABLE",
387
- LIMIT_EXCEEDED = "LIMIT_EXCEEDED",
388
- PENDING = "PENDING",
389
- UNAVAILABLE = "UNAVAILABLE",
390
- ZONAL_RESOURCE_INACCESSIBLE = "ZONAL_RESOURCE_INACCESSIBLE",
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.300.0",
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
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.295.0",
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",