@aws-sdk/client-ram 3.245.0 → 3.247.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,7 +16,6 @@ have multiple Amazon Web Services accounts, you can use RAM to share those resou
16
16
  accounts. If you use Organizations to manage your accounts, then you share your resources
17
17
  with your organization or organizational units (OUs). For supported resource types, you
18
18
  can also share resources with individual Identity and Access Management (IAM) roles an users. </p>
19
-
20
19
  <p>To learn more about RAM, see the following resources:</p>
21
20
  <ul>
22
21
  <li>
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://ram-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ram-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://ram.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ram.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const u = "fn", v = "argv", w = "ref";
5
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = "stringEquals", j = { "required": true, "default": false, "type": "Boolean" }, k = { [w]: "Region" }, l = { [w]: "Endpoint" }, m = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, n = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, o = {}, p = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [{ [w]: d }, "supportsFIPS"] }] }, q = { [w]: d }, r = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [q, "supportsDualStack"] }] }, s = [m], t = [n];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [k], assign: d }], type: e, rules: [{ conditions: [{ [u]: "isSet", [v]: [l] }], type: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: l, properties: o, headers: o }, type: g }] }] }, { conditions: [m, n], type: e, rules: [{ conditions: [p, r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://ram-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ conditions: [{ [u]: i, [v]: ["aws-us-gov", { [u]: h, [v]: [q, "name"] }] }], endpoint: { url: "https://ram.{Region}.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://ram-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://ram.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [u]: i, [v]: [k, "us-gov-east-1"] }], endpoint: { url: "https://ram.us-gov-east-1.amazonaws.com", properties: o, headers: o }, type: g }, { conditions: [{ [u]: i, [v]: [k, "us-gov-west-1"] }], endpoint: { url: "https://ram.us-gov-west-1.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://ram.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,8 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetResourcePoliciesResponseFilterSensitiveLog = exports.GetResourcePoliciesRequestFilterSensitiveLog = exports.GetPermissionResponseFilterSensitiveLog = exports.ResourceSharePermissionDetailFilterSensitiveLog = exports.GetPermissionRequestFilterSensitiveLog = exports.EnableSharingWithAwsOrganizationResponseFilterSensitiveLog = exports.EnableSharingWithAwsOrganizationRequestFilterSensitiveLog = exports.DisassociateResourceSharePermissionResponseFilterSensitiveLog = exports.DisassociateResourceSharePermissionRequestFilterSensitiveLog = exports.DisassociateResourceShareResponseFilterSensitiveLog = exports.DisassociateResourceShareRequestFilterSensitiveLog = exports.DeleteResourceShareResponseFilterSensitiveLog = exports.DeleteResourceShareRequestFilterSensitiveLog = exports.CreateResourceShareResponseFilterSensitiveLog = exports.ResourceShareFilterSensitiveLog = exports.CreateResourceShareRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.AssociateResourceSharePermissionResponseFilterSensitiveLog = exports.AssociateResourceSharePermissionRequestFilterSensitiveLog = exports.AssociateResourceShareResponseFilterSensitiveLog = exports.AssociateResourceShareRequestFilterSensitiveLog = exports.AcceptResourceShareInvitationResponseFilterSensitiveLog = exports.ResourceShareInvitationFilterSensitiveLog = exports.ResourceShareAssociationFilterSensitiveLog = exports.AcceptResourceShareInvitationRequestFilterSensitiveLog = exports.TagLimitExceededException = exports.InvalidResourceTypeException = exports.MissingRequiredParameterException = exports.ResourceRegionScope = exports.ResourceRegionScopeFilter = exports.ResourceOwner = exports.InvalidMaxResultsException = exports.ResourceArnNotFoundException = exports.InvalidNextTokenException = exports.TagPolicyViolationException = 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 = void 0;
4
- exports.UpdateResourceShareResponseFilterSensitiveLog = exports.UpdateResourceShareRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RejectResourceShareInvitationResponseFilterSensitiveLog = exports.RejectResourceShareInvitationRequestFilterSensitiveLog = exports.PromoteResourceShareCreatedFromPolicyResponseFilterSensitiveLog = exports.PromoteResourceShareCreatedFromPolicyRequestFilterSensitiveLog = exports.ListResourceTypesResponseFilterSensitiveLog = exports.ServiceNameAndResourceTypeFilterSensitiveLog = exports.ListResourceTypesRequestFilterSensitiveLog = exports.ListResourceSharePermissionsResponseFilterSensitiveLog = exports.ListResourceSharePermissionsRequestFilterSensitiveLog = exports.ListResourcesResponseFilterSensitiveLog = exports.ListResourcesRequestFilterSensitiveLog = exports.ListPrincipalsResponseFilterSensitiveLog = exports.PrincipalFilterSensitiveLog = exports.ListPrincipalsRequestFilterSensitiveLog = exports.ListPermissionVersionsResponseFilterSensitiveLog = exports.ListPermissionVersionsRequestFilterSensitiveLog = exports.ListPermissionsResponseFilterSensitiveLog = exports.ResourceSharePermissionSummaryFilterSensitiveLog = exports.ListPermissionsRequestFilterSensitiveLog = exports.ListPendingInvitationResourcesResponseFilterSensitiveLog = exports.ResourceFilterSensitiveLog = exports.ListPendingInvitationResourcesRequestFilterSensitiveLog = exports.GetResourceSharesResponseFilterSensitiveLog = exports.GetResourceSharesRequestFilterSensitiveLog = exports.TagFilterFilterSensitiveLog = exports.GetResourceShareInvitationsResponseFilterSensitiveLog = exports.GetResourceShareInvitationsRequestFilterSensitiveLog = exports.GetResourceShareAssociationsResponseFilterSensitiveLog = exports.GetResourceShareAssociationsRequestFilterSensitiveLog = void 0;
3
+ exports.EnableSharingWithAwsOrganizationRequestFilterSensitiveLog = exports.DisassociateResourceSharePermissionResponseFilterSensitiveLog = exports.DisassociateResourceSharePermissionRequestFilterSensitiveLog = exports.DisassociateResourceShareResponseFilterSensitiveLog = exports.DisassociateResourceShareRequestFilterSensitiveLog = exports.DeleteResourceShareResponseFilterSensitiveLog = exports.DeleteResourceShareRequestFilterSensitiveLog = exports.CreateResourceShareResponseFilterSensitiveLog = exports.ResourceShareFilterSensitiveLog = exports.CreateResourceShareRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.AssociateResourceSharePermissionResponseFilterSensitiveLog = exports.AssociateResourceSharePermissionRequestFilterSensitiveLog = exports.AssociateResourceShareResponseFilterSensitiveLog = exports.AssociateResourceShareRequestFilterSensitiveLog = exports.AcceptResourceShareInvitationResponseFilterSensitiveLog = exports.ResourceShareInvitationFilterSensitiveLog = exports.ResourceShareAssociationFilterSensitiveLog = exports.AcceptResourceShareInvitationRequestFilterSensitiveLog = 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
+ exports.UpdateResourceShareResponseFilterSensitiveLog = exports.UpdateResourceShareRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RejectResourceShareInvitationResponseFilterSensitiveLog = exports.RejectResourceShareInvitationRequestFilterSensitiveLog = exports.PromoteResourceShareCreatedFromPolicyResponseFilterSensitiveLog = exports.PromoteResourceShareCreatedFromPolicyRequestFilterSensitiveLog = exports.ListResourceTypesResponseFilterSensitiveLog = exports.ServiceNameAndResourceTypeFilterSensitiveLog = exports.ListResourceTypesRequestFilterSensitiveLog = exports.ListResourceSharePermissionsResponseFilterSensitiveLog = exports.ListResourceSharePermissionsRequestFilterSensitiveLog = exports.ListResourcesResponseFilterSensitiveLog = exports.ListResourcesRequestFilterSensitiveLog = exports.ListPrincipalsResponseFilterSensitiveLog = exports.PrincipalFilterSensitiveLog = exports.ListPrincipalsRequestFilterSensitiveLog = exports.ListPermissionVersionsResponseFilterSensitiveLog = exports.ListPermissionVersionsRequestFilterSensitiveLog = exports.ListPermissionsResponseFilterSensitiveLog = exports.ResourceSharePermissionSummaryFilterSensitiveLog = exports.ListPermissionsRequestFilterSensitiveLog = exports.ListPendingInvitationResourcesResponseFilterSensitiveLog = exports.ResourceFilterSensitiveLog = exports.ListPendingInvitationResourcesRequestFilterSensitiveLog = exports.GetResourceSharesResponseFilterSensitiveLog = exports.GetResourceSharesRequestFilterSensitiveLog = exports.TagFilterFilterSensitiveLog = exports.GetResourceShareInvitationsResponseFilterSensitiveLog = exports.GetResourceShareInvitationsRequestFilterSensitiveLog = exports.GetResourceShareAssociationsResponseFilterSensitiveLog = exports.GetResourceShareAssociationsRequestFilterSensitiveLog = exports.GetResourcePoliciesResponseFilterSensitiveLog = exports.GetResourcePoliciesRequestFilterSensitiveLog = exports.GetPermissionResponseFilterSensitiveLog = exports.ResourceSharePermissionDetailFilterSensitiveLog = exports.GetPermissionRequestFilterSensitiveLog = exports.EnableSharingWithAwsOrganizationResponseFilterSensitiveLog = void 0;
5
5
  const RAMServiceException_1 = require("./RAMServiceException");
6
+ var ResourceShareAssociationType;
7
+ (function (ResourceShareAssociationType) {
8
+ ResourceShareAssociationType["PRINCIPAL"] = "PRINCIPAL";
9
+ ResourceShareAssociationType["RESOURCE"] = "RESOURCE";
10
+ })(ResourceShareAssociationType = exports.ResourceShareAssociationType || (exports.ResourceShareAssociationType = {}));
11
+ var ResourceShareAssociationStatus;
12
+ (function (ResourceShareAssociationStatus) {
13
+ ResourceShareAssociationStatus["ASSOCIATED"] = "ASSOCIATED";
14
+ ResourceShareAssociationStatus["ASSOCIATING"] = "ASSOCIATING";
15
+ ResourceShareAssociationStatus["DISASSOCIATED"] = "DISASSOCIATED";
16
+ ResourceShareAssociationStatus["DISASSOCIATING"] = "DISASSOCIATING";
17
+ ResourceShareAssociationStatus["FAILED"] = "FAILED";
18
+ })(ResourceShareAssociationStatus = exports.ResourceShareAssociationStatus || (exports.ResourceShareAssociationStatus = {}));
19
+ var ResourceShareInvitationStatus;
20
+ (function (ResourceShareInvitationStatus) {
21
+ ResourceShareInvitationStatus["ACCEPTED"] = "ACCEPTED";
22
+ ResourceShareInvitationStatus["EXPIRED"] = "EXPIRED";
23
+ ResourceShareInvitationStatus["PENDING"] = "PENDING";
24
+ ResourceShareInvitationStatus["REJECTED"] = "REJECTED";
25
+ })(ResourceShareInvitationStatus = exports.ResourceShareInvitationStatus || (exports.ResourceShareInvitationStatus = {}));
6
26
  class IdempotentParameterMismatchException extends RAMServiceException_1.RAMServiceException {
7
27
  constructor(opts) {
8
28
  super({
@@ -198,6 +218,20 @@ class UnknownResourceException extends RAMServiceException_1.RAMServiceException
198
218
  }
199
219
  }
200
220
  exports.UnknownResourceException = UnknownResourceException;
221
+ var ResourceShareFeatureSet;
222
+ (function (ResourceShareFeatureSet) {
223
+ ResourceShareFeatureSet["CREATED_FROM_POLICY"] = "CREATED_FROM_POLICY";
224
+ ResourceShareFeatureSet["PROMOTING_TO_STANDARD"] = "PROMOTING_TO_STANDARD";
225
+ ResourceShareFeatureSet["STANDARD"] = "STANDARD";
226
+ })(ResourceShareFeatureSet = exports.ResourceShareFeatureSet || (exports.ResourceShareFeatureSet = {}));
227
+ var ResourceShareStatus;
228
+ (function (ResourceShareStatus) {
229
+ ResourceShareStatus["ACTIVE"] = "ACTIVE";
230
+ ResourceShareStatus["DELETED"] = "DELETED";
231
+ ResourceShareStatus["DELETING"] = "DELETING";
232
+ ResourceShareStatus["FAILED"] = "FAILED";
233
+ ResourceShareStatus["PENDING"] = "PENDING";
234
+ })(ResourceShareStatus = exports.ResourceShareStatus || (exports.ResourceShareStatus = {}));
201
235
  class TagPolicyViolationException extends RAMServiceException_1.RAMServiceException {
202
236
  constructor(opts) {
203
237
  super({
@@ -266,6 +300,14 @@ var ResourceRegionScope;
266
300
  ResourceRegionScope["GLOBAL"] = "GLOBAL";
267
301
  ResourceRegionScope["REGIONAL"] = "REGIONAL";
268
302
  })(ResourceRegionScope = exports.ResourceRegionScope || (exports.ResourceRegionScope = {}));
303
+ var ResourceStatus;
304
+ (function (ResourceStatus) {
305
+ ResourceStatus["AVAILABLE"] = "AVAILABLE";
306
+ ResourceStatus["LIMIT_EXCEEDED"] = "LIMIT_EXCEEDED";
307
+ ResourceStatus["PENDING"] = "PENDING";
308
+ ResourceStatus["UNAVAILABLE"] = "UNAVAILABLE";
309
+ ResourceStatus["ZONAL_RESOURCE_INACCESSIBLE"] = "ZONAL_RESOURCE_INACCESSIBLE";
310
+ })(ResourceStatus = exports.ResourceStatus || (exports.ResourceStatus = {}));
269
311
  class MissingRequiredParameterException extends RAMServiceException_1.RAMServiceException {
270
312
  constructor(opts) {
271
313
  super({
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://ram-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://ram-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://ram.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://ram.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const u = "fn", v = "argv", w = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = "stringEquals", j = { "required": true, "default": false, "type": "Boolean" }, k = { [w]: "Region" }, l = { [w]: "Endpoint" }, m = { [u]: "booleanEquals", [v]: [{ [w]: "UseFIPS" }, true] }, n = { [u]: "booleanEquals", [v]: [{ [w]: "UseDualStack" }, true] }, o = {}, p = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [{ [w]: d }, "supportsFIPS"] }] }, q = { [w]: d }, r = { [u]: "booleanEquals", [v]: [true, { [u]: h, [v]: [q, "supportsDualStack"] }] }, s = [m], t = [n];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [u]: "aws.partition", [v]: [k], assign: d }], type: e, rules: [{ conditions: [{ [u]: "isSet", [v]: [l] }], type: e, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: l, properties: o, headers: o }, type: g }] }] }, { conditions: [m, n], type: e, rules: [{ conditions: [p, r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://ram-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ conditions: [{ [u]: i, [v]: ["aws-us-gov", { [u]: h, [v]: [q, "name"] }] }], endpoint: { url: "https://ram.{Region}.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://ram-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [r], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://ram.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [u]: i, [v]: [k, "us-gov-east-1"] }], endpoint: { url: "https://ram.us-gov-east-1.amazonaws.com", properties: o, headers: o }, type: g }, { conditions: [{ [u]: i, [v]: [k, "us-gov-west-1"] }], endpoint: { url: "https://ram.us-gov-west-1.amazonaws.com", properties: o, headers: o }, type: g }, { endpoint: { url: "https://ram.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }] };
4
4
  export const ruleSet = _data;
@@ -1,4 +1,24 @@
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
22
  export class IdempotentParameterMismatchException extends __BaseException {
3
23
  constructor(opts) {
4
24
  super({
@@ -179,6 +199,20 @@ export class UnknownResourceException extends __BaseException {
179
199
  Object.setPrototypeOf(this, UnknownResourceException.prototype);
180
200
  }
181
201
  }
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 = {}));
182
216
  export class TagPolicyViolationException extends __BaseException {
183
217
  constructor(opts) {
184
218
  super({
@@ -243,6 +277,14 @@ export var ResourceRegionScope;
243
277
  ResourceRegionScope["GLOBAL"] = "GLOBAL";
244
278
  ResourceRegionScope["REGIONAL"] = "REGIONAL";
245
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 = {}));
246
288
  export class MissingRequiredParameterException extends __BaseException {
247
289
  constructor(opts) {
248
290
  super({
@@ -33,16 +33,15 @@ import { RAMClient } from "./RAMClient";
33
33
  * accounts. If you use Organizations to manage your accounts, then you share your resources
34
34
  * with your organization or organizational units (OUs). For supported resource types, you
35
35
  * can also share resources with individual Identity and Access Management (IAM) roles an users. </p>
36
- *
37
- * <p>To learn more about RAM, see the following resources:</p>
38
- * <ul>
36
+ * <p>To learn more about RAM, see the following resources:</p>
37
+ * <ul>
39
38
  * <li>
40
- * <p>
41
- * <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
39
+ * <p>
40
+ * <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
42
41
  * </p>
43
42
  * </li>
44
43
  * <li>
45
- * <p>
44
+ * <p>
46
45
  * <a href="https://docs.aws.amazon.com/ram/latest/userguide/">Resource Access Manager User
47
46
  * Guide</a>
48
47
  * </p>
@@ -79,11 +78,11 @@ export declare class RAM extends RAMClient {
79
78
  * <p>Creates a resource share. You can provide a list of the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> for the resources that you
80
79
  * want to share, a list of principals you want to share the resources with, and the
81
80
  * permissions to grant those principals.</p>
82
- * <note>
81
+ * <note>
83
82
  * <p>Sharing a resource makes it available for use by principals outside of the
84
83
  * Amazon Web Services account that created the resource. Sharing doesn't change any permissions or
85
84
  * quotas that apply to the resource in the account that created it.</p>
86
- * </note>
85
+ * </note>
87
86
  */
88
87
  createResourceShare(args: CreateResourceShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceShareCommandOutput>;
89
88
  createResourceShare(args: CreateResourceShareCommandInput, cb: (err: any, data?: CreateResourceShareCommandOutput) => void): void;
@@ -118,7 +117,7 @@ export declare class RAM extends RAMClient {
118
117
  * the OU's ID. Until you enable sharing within the organization, you can specify only
119
118
  * individual Amazon Web Services accounts, or for supported resource types, IAM users and
120
119
  * roles.</p>
121
- * <p>You must call this operation from an IAM user or role in the organization's
120
+ * <p>You must call this operation from an IAM user or role in the organization's
122
121
  * management account.</p>
123
122
  */
124
123
  enableSharingWithAwsOrganization(args: EnableSharingWithAwsOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<EnableSharingWithAwsOrganizationCommandOutput>;
@@ -206,7 +205,7 @@ export declare class RAM extends RAMClient {
206
205
  * <p>When you attach a resource-based permission policy to a resource, it automatically
207
206
  * creates a resource share. However, resource shares created this way are visible only to the resource share owner, and
208
207
  * the resource share can't be modified in RAM.</p>
209
- * <p>You can use this operation to promote the resource share to a full RAM resource share. When you promote
208
+ * <p>You can use this operation to promote the resource share to a full RAM resource share. When you promote
210
209
  * a resource share, you can then manage the resource share in RAM and it becomes visible to all of the
211
210
  * principals you shared it with.</p>
212
211
  */
@@ -155,16 +155,15 @@ export interface RAMClientResolvedConfig extends RAMClientResolvedConfigType {
155
155
  * accounts. If you use Organizations to manage your accounts, then you share your resources
156
156
  * with your organization or organizational units (OUs). For supported resource types, you
157
157
  * can also share resources with individual Identity and Access Management (IAM) roles an users. </p>
158
- *
159
- * <p>To learn more about RAM, see the following resources:</p>
160
- * <ul>
158
+ * <p>To learn more about RAM, see the following resources:</p>
159
+ * <ul>
161
160
  * <li>
162
- * <p>
163
- * <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
161
+ * <p>
162
+ * <a href="http://aws.amazon.com/ram">Resource Access Manager product page</a>
164
163
  * </p>
165
164
  * </li>
166
165
  * <li>
167
- * <p>
166
+ * <p>
168
167
  * <a href="https://docs.aws.amazon.com/ram/latest/userguide/">Resource Access Manager User
169
168
  * Guide</a>
170
169
  * </p>
@@ -11,11 +11,11 @@ export interface CreateResourceShareCommandOutput extends CreateResourceShareRes
11
11
  * <p>Creates a resource share. You can provide a list of the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> for the resources that you
12
12
  * want to share, a list of principals you want to share the resources with, and the
13
13
  * permissions to grant those principals.</p>
14
- * <note>
14
+ * <note>
15
15
  * <p>Sharing a resource makes it available for use by principals outside of the
16
16
  * Amazon Web Services account that created the resource. Sharing doesn't change any permissions or
17
17
  * quotas that apply to the resource in the account that created it.</p>
18
- * </note>
18
+ * </note>
19
19
  * @example
20
20
  * Use a bare-bones client and the command you need to make an API call.
21
21
  * ```javascript
@@ -15,7 +15,7 @@ export interface EnableSharingWithAwsOrganizationCommandOutput extends EnableSha
15
15
  * the OU's ID. Until you enable sharing within the organization, you can specify only
16
16
  * individual Amazon Web Services accounts, or for supported resource types, IAM users and
17
17
  * roles.</p>
18
- * <p>You must call this operation from an IAM user or role in the organization's
18
+ * <p>You must call this operation from an IAM user or role in the organization's
19
19
  * management account.</p>
20
20
  * @example
21
21
  * Use a bare-bones client and the command you need to make an API call.
@@ -11,7 +11,7 @@ export interface PromoteResourceShareCreatedFromPolicyCommandOutput extends Prom
11
11
  * <p>When you attach a resource-based permission policy to a resource, it automatically
12
12
  * creates a resource share. However, resource shares created this way are visible only to the resource share owner, and
13
13
  * the resource share can't be modified in RAM.</p>
14
- * <p>You can use this operation to promote the resource share to a full RAM resource share. When you promote
14
+ * <p>You can use this operation to promote the resource share to a full RAM resource share. When you promote
15
15
  * a resource share, you can then manage the resource share in RAM and it becomes visible to all of the
16
16
  * principals you shared it with.</p>
17
17
  * @example
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -12,13 +12,22 @@ export interface AcceptResourceShareInvitationRequest {
12
12
  * later call to an operation requires that you also pass the same value for all other
13
13
  * parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
14
14
  * value.</a>.</p>
15
- * <p>If you don't provide this value, then Amazon Web Services generates a random one for
15
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
16
16
  * you.</p>
17
17
  */
18
18
  clientToken?: string;
19
19
  }
20
- export declare type ResourceShareAssociationType = "PRINCIPAL" | "RESOURCE";
21
- export declare type ResourceShareAssociationStatus = "ASSOCIATED" | "ASSOCIATING" | "DISASSOCIATED" | "DISASSOCIATING" | "FAILED";
20
+ export declare enum ResourceShareAssociationType {
21
+ PRINCIPAL = "PRINCIPAL",
22
+ RESOURCE = "RESOURCE"
23
+ }
24
+ export declare enum ResourceShareAssociationStatus {
25
+ ASSOCIATED = "ASSOCIATED",
26
+ ASSOCIATING = "ASSOCIATING",
27
+ DISASSOCIATED = "DISASSOCIATED",
28
+ DISASSOCIATING = "DISASSOCIATING",
29
+ FAILED = "FAILED"
30
+ }
22
31
  /**
23
32
  * <p>Describes an association with a resource share and either a principal or a resource.</p>
24
33
  */
@@ -33,28 +42,28 @@ export interface ResourceShareAssociation {
33
42
  resourceShareName?: string;
34
43
  /**
35
44
  * <p>The associated entity. This can be either of the following:</p>
36
- * <ul>
45
+ * <ul>
37
46
  * <li>
38
- * <p>For a resource association, this is the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of the resource.</p>
47
+ * <p>For a resource association, this is the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of the resource.</p>
39
48
  * </li>
40
49
  * <li>
41
- * <p>For principal associations, this is one of the following:</p>
42
- * <ul>
50
+ * <p>For principal associations, this is one of the following:</p>
51
+ * <ul>
43
52
  * <li>
44
- * <p>The ID of an Amazon Web Services account</p>
45
- * </li>
53
+ * <p>The ID of an Amazon Web Services account</p>
54
+ * </li>
46
55
  * <li>
47
- * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations</p>
48
- * </li>
56
+ * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations</p>
57
+ * </li>
49
58
  * <li>
50
- * <p>The ARN of an organizational unit (OU) in Organizations</p>
51
- * </li>
59
+ * <p>The ARN of an organizational unit (OU) in Organizations</p>
60
+ * </li>
52
61
  * <li>
53
- * <p>The ARN of an IAM role</p>
54
- * </li>
62
+ * <p>The ARN of an IAM role</p>
63
+ * </li>
55
64
  * <li>
56
- * <p>The ARN of an IAM user</p>
57
- * </li>
65
+ * <p>The ARN of an IAM user</p>
66
+ * </li>
58
67
  * </ul>
59
68
  * </li>
60
69
  * </ul>
@@ -86,7 +95,12 @@ export interface ResourceShareAssociation {
86
95
  */
87
96
  external?: boolean;
88
97
  }
89
- export declare type ResourceShareInvitationStatus = "ACCEPTED" | "EXPIRED" | "PENDING" | "REJECTED";
98
+ export declare enum ResourceShareInvitationStatus {
99
+ ACCEPTED = "ACCEPTED",
100
+ EXPIRED = "EXPIRED",
101
+ PENDING = "PENDING",
102
+ REJECTED = "REJECTED"
103
+ }
90
104
  /**
91
105
  * <p>Describes an invitation for an Amazon Web Services account to join a resource share.</p>
92
106
  */
@@ -269,36 +283,36 @@ export interface AssociateResourceShareRequest {
269
283
  /**
270
284
  * <p>Specifies a list of principals to whom you want to the resource share. This can be
271
285
  * <code>null</code> if you want to add only resources.</p>
272
- * <p>What the principals can do with the resources in the share is determined by the RAM
286
+ * <p>What the principals can do with the resources in the share is determined by the RAM
273
287
  * permissions that you associate with the resource share. See <a>AssociateResourceSharePermission</a>.</p>
274
- * <p>You can include the following values:</p>
275
- * <ul>
288
+ * <p>You can include the following values:</p>
289
+ * <ul>
276
290
  * <li>
277
- * <p>An Amazon Web Services account ID, for example: <code>123456789012</code>
291
+ * <p>An Amazon Web Services account ID, for example: <code>123456789012</code>
278
292
  * </p>
279
293
  * </li>
280
294
  * <li>
281
- * <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations, for example:
295
+ * <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations, for example:
282
296
  * <code>organizations::123456789012:organization/o-exampleorgid</code>
283
297
  * </p>
284
298
  * </li>
285
299
  * <li>
286
- * <p>An ARN of an organizational unit (OU) in Organizations, for example:
300
+ * <p>An ARN of an organizational unit (OU) in Organizations, for example:
287
301
  * <code>organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123</code>
288
302
  * </p>
289
303
  * </li>
290
304
  * <li>
291
- * <p>An ARN of an IAM role, for example:
305
+ * <p>An ARN of an IAM role, for example:
292
306
  * <code>iam::123456789012:role/rolename</code>
293
307
  * </p>
294
308
  * </li>
295
309
  * <li>
296
- * <p>An ARN of an IAM user, for example:
310
+ * <p>An ARN of an IAM user, for example:
297
311
  * <code>iam::123456789012user/username</code>
298
312
  * </p>
299
313
  * </li>
300
314
  * </ul>
301
- * <note>
315
+ * <note>
302
316
  * <p>Not all resource types can be shared with IAM roles and users.
303
317
  * For more information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and users</a> in the <i>Resource Access Manager User
304
318
  * Guide</i>.</p>
@@ -312,7 +326,7 @@ export interface AssociateResourceShareRequest {
312
326
  * later call to an operation requires that you also pass the same value for all other
313
327
  * parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
314
328
  * value.</a>.</p>
315
- * <p>If you don't provide this value, then Amazon Web Services generates a random one for
329
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
316
330
  * you.</p>
317
331
  */
318
332
  clientToken?: string;
@@ -403,12 +417,12 @@ export interface AssociateResourceSharePermissionRequest {
403
417
  * permission associated with the resource share. Use <code>true</code> to replace the current
404
418
  * permissions. Use <code>false</code> to add the permission to the current permission. The
405
419
  * default value is <code>false</code>.</p>
406
- * <note>
420
+ * <note>
407
421
  * <p>A resource share can have only one permission per resource type. If a resource share already has a
408
422
  * permission for the specified resource type and you don't set <code>replace</code> to
409
423
  * <code>true</code> then the operation returns an error. This helps prevent
410
424
  * accidental overwriting of a permission.</p>
411
- * </note>
425
+ * </note>
412
426
  */
413
427
  replace?: boolean;
414
428
  /**
@@ -418,7 +432,7 @@ export interface AssociateResourceSharePermissionRequest {
418
432
  * later call to an operation requires that you also pass the same value for all other
419
433
  * parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
420
434
  * value.</a>.</p>
421
- * <p>If you don't provide this value, then Amazon Web Services generates a random one for
435
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
422
436
  * you.</p>
423
437
  */
424
438
  clientToken?: string;
@@ -449,7 +463,7 @@ export interface AssociateResourceSharePermissionResponse {
449
463
  * to help organize and categorize them. You can also use them to help you secure your
450
464
  * resources. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources
451
465
  * using tags</a>.</p>
452
- * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the
466
+ * <p>For more information about tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the
453
467
  * <i>Amazon Web Services General Reference Guide</i>.</p>
454
468
  */
455
469
  export interface Tag {
@@ -476,34 +490,34 @@ export interface CreateResourceShareRequest {
476
490
  resourceArns?: string[];
477
491
  /**
478
492
  * <p>Specifies a list of one or more principals to associate with the resource share.</p>
479
- * <p>You can include the following values:</p>
480
- * <ul>
493
+ * <p>You can include the following values:</p>
494
+ * <ul>
481
495
  * <li>
482
- * <p>An Amazon Web Services account ID, for example: <code>123456789012</code>
496
+ * <p>An Amazon Web Services account ID, for example: <code>123456789012</code>
483
497
  * </p>
484
498
  * </li>
485
499
  * <li>
486
- * <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations, for example:
500
+ * <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations, for example:
487
501
  * <code>organizations::123456789012:organization/o-exampleorgid</code>
488
502
  * </p>
489
503
  * </li>
490
504
  * <li>
491
- * <p>An ARN of an organizational unit (OU) in Organizations, for example:
505
+ * <p>An ARN of an organizational unit (OU) in Organizations, for example:
492
506
  * <code>organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123</code>
493
507
  * </p>
494
508
  * </li>
495
509
  * <li>
496
- * <p>An ARN of an IAM role, for example:
510
+ * <p>An ARN of an IAM role, for example:
497
511
  * <code>iam::123456789012:role/rolename</code>
498
512
  * </p>
499
513
  * </li>
500
514
  * <li>
501
- * <p>An ARN of an IAM user, for example:
515
+ * <p>An ARN of an IAM user, for example:
502
516
  * <code>iam::123456789012user/username</code>
503
517
  * </p>
504
518
  * </li>
505
519
  * </ul>
506
- * <note>
520
+ * <note>
507
521
  * <p>Not all resource types can be shared with IAM roles and users.
508
522
  * For more information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and users</a> in the <i>Resource Access Manager User
509
523
  * Guide</i>.</p>
@@ -530,7 +544,7 @@ export interface CreateResourceShareRequest {
530
544
  * later call to an operation requires that you also pass the same value for all other
531
545
  * parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
532
546
  * value.</a>.</p>
533
- * <p>If you don't provide this value, then Amazon Web Services generates a random one for
547
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
534
548
  * you.</p>
535
549
  */
536
550
  clientToken?: string;
@@ -542,8 +556,18 @@ export interface CreateResourceShareRequest {
542
556
  */
543
557
  permissionArns?: string[];
544
558
  }
545
- export declare type ResourceShareFeatureSet = "CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD";
546
- export declare type ResourceShareStatus = "ACTIVE" | "DELETED" | "DELETING" | "FAILED" | "PENDING";
559
+ export declare enum ResourceShareFeatureSet {
560
+ CREATED_FROM_POLICY = "CREATED_FROM_POLICY",
561
+ PROMOTING_TO_STANDARD = "PROMOTING_TO_STANDARD",
562
+ STANDARD = "STANDARD"
563
+ }
564
+ export declare enum ResourceShareStatus {
565
+ ACTIVE = "ACTIVE",
566
+ DELETED = "DELETED",
567
+ DELETING = "DELETING",
568
+ FAILED = "FAILED",
569
+ PENDING = "PENDING"
570
+ }
547
571
  /**
548
572
  * <p>Describes a resource share in RAM.</p>
549
573
  */
@@ -587,21 +611,21 @@ export interface ResourceShare {
587
611
  lastUpdatedTime?: Date;
588
612
  /**
589
613
  * <p>Indicates how the resource share was created. Possible values include:</p>
590
- * <ul>
614
+ * <ul>
591
615
  * <li>
592
- * <p>
616
+ * <p>
593
617
  * <code>CREATED_FROM_POLICY</code> - Indicates that the resource share was created from an
594
618
  * Identity and Access Management (IAM) resource-based permission policy attached to the resource.
595
619
  * This type of resource share is visible only to the Amazon Web Services account that created it. You
596
620
  * can't modify it in RAM unless you promote it. For more information, see <a>PromoteResourceShareCreatedFromPolicy</a>.</p>
597
621
  * </li>
598
622
  * <li>
599
- * <p>
623
+ * <p>
600
624
  * <code>PROMOTING_TO_STANDARD</code> - The resource share is in the process of being
601
625
  * promoted. For more information, see <a>PromoteResourceShareCreatedFromPolicy</a>.</p>
602
626
  * </li>
603
627
  * <li>
604
- * <p>
628
+ * <p>
605
629
  * <code>STANDARD</code> - Indicates that the resource share was created in RAM using the
606
630
  * console or APIs. These resource shares are visible to all principals you share the resource share
607
631
  * with. You can modify these resource shares in RAM using the console or APIs.</p>
@@ -646,7 +670,7 @@ export interface DeleteResourceShareRequest {
646
670
  * later call to an operation requires that you also pass the same value for all other
647
671
  * parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
648
672
  * value.</a>.</p>
649
- * <p>If you don't provide this value, then Amazon Web Services generates a random one for
673
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
650
674
  * you.</p>
651
675
  */
652
676
  clientToken?: string;
@@ -679,34 +703,34 @@ export interface DisassociateResourceShareRequest {
679
703
  /**
680
704
  * <p>Specifies a list of one or more principals that no longer are to have access to the
681
705
  * resources in this resource share.</p>
682
- * <p>You can include the following values:</p>
683
- * <ul>
706
+ * <p>You can include the following values:</p>
707
+ * <ul>
684
708
  * <li>
685
- * <p>An Amazon Web Services account ID, for example: <code>123456789012</code>
709
+ * <p>An Amazon Web Services account ID, for example: <code>123456789012</code>
686
710
  * </p>
687
711
  * </li>
688
712
  * <li>
689
- * <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations, for example:
713
+ * <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations, for example:
690
714
  * <code>organizations::123456789012:organization/o-exampleorgid</code>
691
715
  * </p>
692
716
  * </li>
693
717
  * <li>
694
- * <p>An ARN of an organizational unit (OU) in Organizations, for example:
718
+ * <p>An ARN of an organizational unit (OU) in Organizations, for example:
695
719
  * <code>organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123</code>
696
720
  * </p>
697
721
  * </li>
698
722
  * <li>
699
- * <p>An ARN of an IAM role, for example:
723
+ * <p>An ARN of an IAM role, for example:
700
724
  * <code>iam::123456789012:role/rolename</code>
701
725
  * </p>
702
726
  * </li>
703
727
  * <li>
704
- * <p>An ARN of an IAM user, for example:
728
+ * <p>An ARN of an IAM user, for example:
705
729
  * <code>iam::123456789012user/username</code>
706
730
  * </p>
707
731
  * </li>
708
732
  * </ul>
709
- * <note>
733
+ * <note>
710
734
  * <p>Not all resource types can be shared with IAM roles and users.
711
735
  * For more information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and users</a> in the <i>Resource Access Manager User
712
736
  * Guide</i>.</p>
@@ -720,7 +744,7 @@ export interface DisassociateResourceShareRequest {
720
744
  * later call to an operation requires that you also pass the same value for all other
721
745
  * parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
722
746
  * value.</a>.</p>
723
- * <p>If you don't provide this value, then Amazon Web Services generates a random one for
747
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
724
748
  * you.</p>
725
749
  */
726
750
  clientToken?: string;
@@ -756,7 +780,7 @@ export interface DisassociateResourceSharePermissionRequest {
756
780
  * later call to an operation requires that you also pass the same value for all other
757
781
  * parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
758
782
  * value.</a>.</p>
759
- * <p>If you don't provide this value, then Amazon Web Services generates a random one for
783
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
760
784
  * you.</p>
761
785
  */
762
786
  clientToken?: string;
@@ -918,14 +942,14 @@ export interface GetResourceShareAssociationsRequest {
918
942
  /**
919
943
  * <p>Specifies whether you want to retrieve the associations that involve a specified
920
944
  * resource or principal.</p>
921
- * <ul>
945
+ * <ul>
922
946
  * <li>
923
- * <p>
947
+ * <p>
924
948
  * <code>PRINCIPAL</code> – list the principals that are associated with
925
949
  * the specified resource share.</p>
926
950
  * </li>
927
951
  * <li>
928
- * <p>
952
+ * <p>
929
953
  * <code>RESOURCE</code> – list the resources that are associated with the
930
954
  * specified resource share.</p>
931
955
  * </li>
@@ -939,7 +963,7 @@ export interface GetResourceShareAssociationsRequest {
939
963
  resourceShareArns?: string[];
940
964
  /**
941
965
  * <p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of the resource whose resource shares you want to retrieve.</p>
942
- * <p>You cannot specify this parameter if the association type is
966
+ * <p>You cannot specify this parameter if the association type is
943
967
  * <code>PRINCIPAL</code>.</p>
944
968
  */
945
969
  resourceArn?: string;
@@ -947,7 +971,7 @@ export interface GetResourceShareAssociationsRequest {
947
971
  * <p>Specifies the ID of the principal whose resource shares you want to retrieve. This can be an
948
972
  * Amazon Web Services account ID, an organization ID, an organizational unit ID, or the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an
949
973
  * individual IAM user or role.</p>
950
- * <p>You cannot specify this parameter if the association type is
974
+ * <p>You cannot specify this parameter if the association type is
951
975
  * <code>RESOURCE</code>.</p>
952
976
  */
953
977
  principal?: string;
@@ -1079,16 +1103,16 @@ export interface GetResourceSharesRequest {
1079
1103
  /**
1080
1104
  * <p>Specifies that you want to retrieve details of only those resource shares that match the
1081
1105
  * following:</p>
1082
- * <ul>
1106
+ * <ul>
1083
1107
  * <li>
1084
- * <p>
1108
+ * <p>
1085
1109
  * <b>
1086
1110
  * <code>SELF</code>
1087
1111
  * </b> – resource shares that your
1088
1112
  * account shares with other accounts</p>
1089
1113
  * </li>
1090
1114
  * <li>
1091
- * <p>
1115
+ * <p>
1092
1116
  * <b>
1093
1117
  * <code>OTHER-ACCOUNTS</code>
1094
1118
  * </b> – resource shares
@@ -1180,7 +1204,7 @@ export interface ListPendingInvitationResourcesRequest {
1180
1204
  /**
1181
1205
  * <p>Specifies that you want the results to include only
1182
1206
  * resources that have the specified scope.</p>
1183
- * <ul>
1207
+ * <ul>
1184
1208
  * <li>
1185
1209
  * <p>
1186
1210
  * <code>ALL</code> – the results include both global and
@@ -1197,7 +1221,7 @@ export interface ListPendingInvitationResourcesRequest {
1197
1221
  * resources or resource types.</p>
1198
1222
  * </li>
1199
1223
  * </ul>
1200
- * <p>The default value is <code>ALL</code>.</p>
1224
+ * <p>The default value is <code>ALL</code>.</p>
1201
1225
  */
1202
1226
  resourceRegionScope?: ResourceRegionScopeFilter | string;
1203
1227
  }
@@ -1205,7 +1229,13 @@ export declare enum ResourceRegionScope {
1205
1229
  GLOBAL = "GLOBAL",
1206
1230
  REGIONAL = "REGIONAL"
1207
1231
  }
1208
- export declare type ResourceStatus = "AVAILABLE" | "LIMIT_EXCEEDED" | "PENDING" | "UNAVAILABLE" | "ZONAL_RESOURCE_INACCESSIBLE";
1232
+ export declare enum ResourceStatus {
1233
+ AVAILABLE = "AVAILABLE",
1234
+ LIMIT_EXCEEDED = "LIMIT_EXCEEDED",
1235
+ PENDING = "PENDING",
1236
+ UNAVAILABLE = "UNAVAILABLE",
1237
+ ZONAL_RESOURCE_INACCESSIBLE = "ZONAL_RESOURCE_INACCESSIBLE"
1238
+ }
1209
1239
  /**
1210
1240
  * <p>Describes a resource associated with a resource share in RAM.</p>
1211
1241
  */
@@ -1247,15 +1277,15 @@ export interface Resource {
1247
1277
  lastUpdatedTime?: Date;
1248
1278
  /**
1249
1279
  * <p>Specifies the scope of visibility of this resource:</p>
1250
- * <ul>
1280
+ * <ul>
1251
1281
  * <li>
1252
- * <p>
1282
+ * <p>
1253
1283
  * <b>REGIONAL</b> – The resource can be
1254
1284
  * accessed only by using requests that target the Amazon Web Services Region in which the
1255
1285
  * resource exists.</p>
1256
1286
  * </li>
1257
1287
  * <li>
1258
- * <p>
1288
+ * <p>
1259
1289
  * <b>GLOBAL</b> – The resource can be accessed
1260
1290
  * from any Amazon Web Services Region.</p>
1261
1291
  * </li>
@@ -1422,16 +1452,16 @@ export interface ListPrincipalsRequest {
1422
1452
  /**
1423
1453
  * <p>Specifies that you want to list information for only resource shares that match the
1424
1454
  * following:</p>
1425
- * <ul>
1455
+ * <ul>
1426
1456
  * <li>
1427
- * <p>
1457
+ * <p>
1428
1458
  * <b>
1429
1459
  * <code>SELF</code>
1430
1460
  * </b> – principals that
1431
1461
  * your account is sharing resources with</p>
1432
1462
  * </li>
1433
1463
  * <li>
1434
- * <p>
1464
+ * <p>
1435
1465
  * <b>
1436
1466
  * <code>OTHER-ACCOUNTS</code>
1437
1467
  * </b> –
@@ -1447,34 +1477,34 @@ export interface ListPrincipalsRequest {
1447
1477
  resourceArn?: string;
1448
1478
  /**
1449
1479
  * <p>Specifies that you want to list information for only the listed principals.</p>
1450
- * <p>You can include the following values:</p>
1451
- * <ul>
1480
+ * <p>You can include the following values:</p>
1481
+ * <ul>
1452
1482
  * <li>
1453
- * <p>An Amazon Web Services account ID, for example: <code>123456789012</code>
1483
+ * <p>An Amazon Web Services account ID, for example: <code>123456789012</code>
1454
1484
  * </p>
1455
1485
  * </li>
1456
1486
  * <li>
1457
- * <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations, for example:
1487
+ * <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resoure Name (ARN)</a> of an organization in Organizations, for example:
1458
1488
  * <code>organizations::123456789012:organization/o-exampleorgid</code>
1459
1489
  * </p>
1460
1490
  * </li>
1461
1491
  * <li>
1462
- * <p>An ARN of an organizational unit (OU) in Organizations, for example:
1492
+ * <p>An ARN of an organizational unit (OU) in Organizations, for example:
1463
1493
  * <code>organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123</code>
1464
1494
  * </p>
1465
1495
  * </li>
1466
1496
  * <li>
1467
- * <p>An ARN of an IAM role, for example:
1497
+ * <p>An ARN of an IAM role, for example:
1468
1498
  * <code>iam::123456789012:role/rolename</code>
1469
1499
  * </p>
1470
1500
  * </li>
1471
1501
  * <li>
1472
- * <p>An ARN of an IAM user, for example:
1502
+ * <p>An ARN of an IAM user, for example:
1473
1503
  * <code>iam::123456789012user/username</code>
1474
1504
  * </p>
1475
1505
  * </li>
1476
1506
  * </ul>
1477
- * <note>
1507
+ * <note>
1478
1508
  * <p>Not all resource types can be shared with IAM roles and users.
1479
1509
  * For more information, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types">Sharing with IAM roles and users</a> in the <i>Resource Access Manager User
1480
1510
  * Guide</i>.</p>
@@ -1484,7 +1514,7 @@ export interface ListPrincipalsRequest {
1484
1514
  /**
1485
1515
  * <p>Specifies that you want to list information for only principals associated with resource shares
1486
1516
  * that include the specified resource type.</p>
1487
- * <p>For a list of valid values, query the <a>ListResourceTypes</a>
1517
+ * <p>For a list of valid values, query the <a>ListResourceTypes</a>
1488
1518
  * operation.</p>
1489
1519
  */
1490
1520
  resourceType?: string;
@@ -1568,16 +1598,16 @@ export declare class InvalidResourceTypeException extends __BaseException {
1568
1598
  export interface ListResourcesRequest {
1569
1599
  /**
1570
1600
  * <p>Specifies that you want to list only the resource shares that match the following:</p>
1571
- * <ul>
1601
+ * <ul>
1572
1602
  * <li>
1573
- * <p>
1603
+ * <p>
1574
1604
  * <b>
1575
1605
  * <code>SELF</code>
1576
1606
  * </b> – resources that
1577
1607
  * your account shares with other accounts</p>
1578
1608
  * </li>
1579
1609
  * <li>
1580
- * <p>
1610
+ * <p>
1581
1611
  * <b>
1582
1612
  * <code>OTHER-ACCOUNTS</code>
1583
1613
  * </b> –
@@ -1594,7 +1624,7 @@ export interface ListResourcesRequest {
1594
1624
  /**
1595
1625
  * <p>Specifies that you want to list only the resource shares that include resources of the specified
1596
1626
  * resource type.</p>
1597
- * <p>For valid values, query the <a>ListResourceTypes</a> operation.</p>
1627
+ * <p>For valid values, query the <a>ListResourceTypes</a> operation.</p>
1598
1628
  */
1599
1629
  resourceType?: string;
1600
1630
  /**
@@ -1630,7 +1660,7 @@ export interface ListResourcesRequest {
1630
1660
  /**
1631
1661
  * <p>Specifies that you want the results to include only
1632
1662
  * resources that have the specified scope.</p>
1633
- * <ul>
1663
+ * <ul>
1634
1664
  * <li>
1635
1665
  * <p>
1636
1666
  * <code>ALL</code> – the results include both global and
@@ -1647,7 +1677,7 @@ export interface ListResourcesRequest {
1647
1677
  * resources or resource types.</p>
1648
1678
  * </li>
1649
1679
  * </ul>
1650
- * <p>The default value is <code>ALL</code>.</p>
1680
+ * <p>The default value is <code>ALL</code>.</p>
1651
1681
  */
1652
1682
  resourceRegionScope?: ResourceRegionScopeFilter | string;
1653
1683
  }
@@ -1730,7 +1760,7 @@ export interface ListResourceTypesRequest {
1730
1760
  /**
1731
1761
  * <p>Specifies that you want the results to include only
1732
1762
  * resources that have the specified scope.</p>
1733
- * <ul>
1763
+ * <ul>
1734
1764
  * <li>
1735
1765
  * <p>
1736
1766
  * <code>ALL</code> – the results include both global and
@@ -1747,7 +1777,7 @@ export interface ListResourceTypesRequest {
1747
1777
  * resources or resource types.</p>
1748
1778
  * </li>
1749
1779
  * </ul>
1750
- * <p>The default value is <code>ALL</code>.</p>
1780
+ * <p>The default value is <code>ALL</code>.</p>
1751
1781
  */
1752
1782
  resourceRegionScope?: ResourceRegionScopeFilter | string;
1753
1783
  }
@@ -1766,15 +1796,15 @@ export interface ServiceNameAndResourceType {
1766
1796
  serviceName?: string;
1767
1797
  /**
1768
1798
  * <p>Specifies the scope of visibility of resources of this type:</p>
1769
- * <ul>
1799
+ * <ul>
1770
1800
  * <li>
1771
- * <p>
1801
+ * <p>
1772
1802
  * <b>REGIONAL</b> – The resource can be
1773
1803
  * accessed only by using requests that target the Amazon Web Services Region in which the
1774
1804
  * resource exists.</p>
1775
1805
  * </li>
1776
1806
  * <li>
1777
- * <p>
1807
+ * <p>
1778
1808
  * <b>GLOBAL</b> – The resource can be accessed
1779
1809
  * from any Amazon Web Services Region.</p>
1780
1810
  * </li>
@@ -1822,7 +1852,7 @@ export interface RejectResourceShareInvitationRequest {
1822
1852
  * later call to an operation requires that you also pass the same value for all other
1823
1853
  * parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
1824
1854
  * value.</a>.</p>
1825
- * <p>If you don't provide this value, then Amazon Web Services generates a random one for
1855
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
1826
1856
  * you.</p>
1827
1857
  */
1828
1858
  clientToken?: string;
@@ -1898,7 +1928,7 @@ export interface UpdateResourceShareRequest {
1898
1928
  * later call to an operation requires that you also pass the same value for all other
1899
1929
  * parameters. We recommend that you use a <a href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID type of
1900
1930
  * value.</a>.</p>
1901
- * <p>If you don't provide this value, then Amazon Web Services generates a random one for
1931
+ * <p>If you don't provide this value, then Amazon Web Services generates a random one for
1902
1932
  * you.</p>
1903
1933
  */
1904
1934
  clientToken?: string;
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -4,13 +4,17 @@ export interface AcceptResourceShareInvitationRequest {
4
4
  resourceShareInvitationArn: string | undefined;
5
5
  clientToken?: string;
6
6
  }
7
- export declare type ResourceShareAssociationType = "PRINCIPAL" | "RESOURCE";
8
- export declare type ResourceShareAssociationStatus =
9
- | "ASSOCIATED"
10
- | "ASSOCIATING"
11
- | "DISASSOCIATED"
12
- | "DISASSOCIATING"
13
- | "FAILED";
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
+ }
14
18
  export interface ResourceShareAssociation {
15
19
  resourceShareArn?: string;
16
20
  resourceShareName?: string;
@@ -22,11 +26,12 @@ export interface ResourceShareAssociation {
22
26
  lastUpdatedTime?: Date;
23
27
  external?: boolean;
24
28
  }
25
- export declare type ResourceShareInvitationStatus =
26
- | "ACCEPTED"
27
- | "EXPIRED"
28
- | "PENDING"
29
- | "REJECTED";
29
+ export declare enum ResourceShareInvitationStatus {
30
+ ACCEPTED = "ACCEPTED",
31
+ EXPIRED = "EXPIRED",
32
+ PENDING = "PENDING",
33
+ REJECTED = "REJECTED",
34
+ }
30
35
  export interface ResourceShareInvitation {
31
36
  resourceShareInvitationArn?: string;
32
37
  resourceShareName?: string;
@@ -202,16 +207,18 @@ export interface CreateResourceShareRequest {
202
207
  clientToken?: string;
203
208
  permissionArns?: string[];
204
209
  }
205
- export declare type ResourceShareFeatureSet =
206
- | "CREATED_FROM_POLICY"
207
- | "PROMOTING_TO_STANDARD"
208
- | "STANDARD";
209
- export declare type ResourceShareStatus =
210
- | "ACTIVE"
211
- | "DELETED"
212
- | "DELETING"
213
- | "FAILED"
214
- | "PENDING";
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
+ }
215
222
  export interface ResourceShare {
216
223
  resourceShareArn?: string;
217
224
  name?: string;
@@ -375,12 +382,13 @@ export declare enum ResourceRegionScope {
375
382
  GLOBAL = "GLOBAL",
376
383
  REGIONAL = "REGIONAL",
377
384
  }
378
- export declare type ResourceStatus =
379
- | "AVAILABLE"
380
- | "LIMIT_EXCEEDED"
381
- | "PENDING"
382
- | "UNAVAILABLE"
383
- | "ZONAL_RESOURCE_INACCESSIBLE";
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
+ }
384
392
  export interface Resource {
385
393
  arn?: string;
386
394
  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.245.0",
4
+ "version": "3.247.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",