@aws-sdk/client-iam 3.262.0 → 3.264.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 (119) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-es/endpoint/ruleset.js +3 -3
  3. package/dist-types/IAM.d.ts +384 -351
  4. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +1 -1
  5. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +3 -3
  6. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +3 -3
  7. package/dist-types/commands/AttachRolePolicyCommand.d.ts +4 -4
  8. package/dist-types/commands/AttachUserPolicyCommand.d.ts +3 -3
  9. package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateAccessKeyCommand.d.ts +4 -4
  11. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +15 -14
  15. package/dist-types/commands/CreatePolicyCommand.d.ts +3 -3
  16. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +2 -2
  17. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +5 -5
  18. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +4 -4
  20. package/dist-types/commands/CreateUserCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +3 -3
  22. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +2 -2
  28. package/dist-types/commands/DeletePolicyCommand.d.ts +6 -6
  29. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteRoleCommand.d.ts +21 -4
  31. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +2 -2
  32. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +2 -2
  37. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteUserCommand.d.ts +10 -10
  39. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +2 -2
  40. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +2 -2
  42. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -1
  43. package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -1
  44. package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -1
  45. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +22 -22
  46. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +12 -12
  47. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -2
  48. package/dist-types/commands/GetAccountSummaryCommand.d.ts +1 -1
  49. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -1
  50. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +3 -3
  51. package/dist-types/commands/GetGroupPolicyCommand.d.ts +3 -3
  52. package/dist-types/commands/GetLoginProfileCommand.d.ts +2 -2
  53. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +4 -4
  54. package/dist-types/commands/GetPolicyCommand.d.ts +2 -2
  55. package/dist-types/commands/GetPolicyVersionCommand.d.ts +5 -5
  56. package/dist-types/commands/GetRoleCommand.d.ts +1 -1
  57. package/dist-types/commands/GetRolePolicyCommand.d.ts +4 -4
  58. package/dist-types/commands/GetSAMLProviderCommand.d.ts +2 -2
  59. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -1
  60. package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -1
  61. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +12 -12
  62. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +6 -6
  63. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  64. package/dist-types/commands/GetUserPolicyCommand.d.ts +3 -3
  65. package/dist-types/commands/ListAccessKeysCommand.d.ts +4 -4
  66. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +2 -2
  67. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +2 -2
  68. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +2 -2
  69. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +2 -2
  70. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +2 -2
  71. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  72. package/dist-types/commands/ListGroupsForUserCommand.d.ts +1 -1
  73. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +3 -3
  74. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -1
  75. package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -1
  76. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +2 -2
  77. package/dist-types/commands/ListPoliciesCommand.d.ts +5 -5
  78. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +9 -9
  79. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -1
  80. package/dist-types/commands/ListRolePoliciesCommand.d.ts +2 -2
  81. package/dist-types/commands/ListRolesCommand.d.ts +3 -3
  82. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +2 -2
  83. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +2 -2
  84. package/dist-types/commands/ListServerCertificatesCommand.d.ts +4 -4
  85. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +2 -2
  86. package/dist-types/commands/ListUserPoliciesCommand.d.ts +2 -2
  87. package/dist-types/commands/ListUsersCommand.d.ts +3 -3
  88. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +3 -3
  89. package/dist-types/commands/PutGroupPolicyCommand.d.ts +4 -4
  90. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +3 -3
  91. package/dist-types/commands/PutRolePolicyCommand.d.ts +5 -5
  92. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +2 -2
  93. package/dist-types/commands/PutUserPolicyCommand.d.ts +4 -4
  94. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  95. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +3 -3
  96. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -1
  97. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +2 -2
  98. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +3 -3
  99. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +14 -7
  100. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +17 -10
  101. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +2 -2
  102. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +3 -3
  103. package/dist-types/commands/UpdateGroupCommand.d.ts +4 -4
  104. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +6 -6
  105. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +9 -8
  106. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -1
  107. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +2 -2
  108. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -1
  109. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +5 -5
  110. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +1 -1
  111. package/dist-types/commands/UpdateUserCommand.d.ts +4 -4
  112. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -1
  113. package/dist-types/commands/UploadServerCertificateCommand.d.ts +5 -5
  114. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +4 -4
  115. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  116. package/dist-types/models/models_0.d.ts +319 -282
  117. package/dist-types/models/models_1.d.ts +51 -51
  118. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  119. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const M = "required", N = "type", O = "fn", P = "argv", Q = "ref", R = "url", S = "properties", T = "headers", U = "authSchemes", V = "name", W = "signingRegion", X = "signingName";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = "https://iam-fips.{Region}.api.aws", g = "iam", h = "https://iam.{Region}.api.aws", i = { [M]: false, [N]: "String" }, j = { [M]: true, "default": false, [N]: "Boolean" }, k = { [Q]: "Region" }, l = { [Q]: "Endpoint" }, m = {}, n = { [O]: "getAttr", [P]: [{ [Q]: a }, "name"] }, o = { [U]: [{ [V]: "sigv4", [W]: "us-east-1", [X]: g }] }, p = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [N]: c }, q = { [R]: "https://iam-fips.amazonaws.com", [S]: o, [T]: {} }, r = { [c]: "FIPS is enabled but this partition does not support FIPS", [N]: c }, s = { [c]: "DualStack is enabled but this partition does not support DualStack", [N]: c }, t = { [R]: "https://iam.amazonaws.com", [S]: o, [T]: {} }, u = { [U]: [{ [V]: "sigv4", [W]: "cn-north-1", [X]: g }] }, v = { [R]: "https://iam.cn-north-1.amazonaws.com.cn", [S]: u, [T]: {} }, w = { [U]: [{ [V]: "sigv4", [W]: "us-gov-west-1", [X]: g }] }, x = { [d]: { [R]: "https://iam.us-gov.amazonaws.com", [S]: w, [T]: {} }, [N]: d }, y = { [R]: "https://iam.us-gov.amazonaws.com", [S]: w, [T]: {} }, z = { [U]: [{ [V]: "sigv4", [W]: "us-iso-east-1", [X]: g }] }, A = { [R]: "https://iam.us-iso-east-1.c2s.ic.gov", [S]: z, [T]: {} }, B = { [U]: [{ [V]: "sigv4", [W]: "us-isob-east-1", [X]: g }] }, C = { [R]: "https://iam.us-isob-east-1.sc2s.sgov.gov", [S]: B, [T]: {} }, D = { "conditions": [{ [O]: e, [P]: [k, "aws-us-gov-global"] }], [d]: y, [N]: d }, E = [l], F = [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }], G = [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], H = [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }, { [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], I = [{ [O]: "booleanEquals", [P]: [true, { [O]: "getAttr", [P]: [{ [Q]: a }, "supportsFIPS"] }] }, { [O]: "booleanEquals", [P]: [true, { [O]: "getAttr", [P]: [{ [Q]: a }, "supportsDualStack"] }] }], J = [{ [O]: "booleanEquals", [P]: [true, { [O]: "getAttr", [P]: [{ [Q]: a }, "supportsFIPS"] }] }], K = [{ [O]: "booleanEquals", [P]: [true, { [O]: "getAttr", [P]: [{ [Q]: a }, "supportsDualStack"] }] }], L = [{ [O]: e, [P]: [k, "aws-global"] }];
6
- const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [O]: "aws.partition", [P]: [k], assign: a }], [N]: b, rules: [{ conditions: [{ [O]: "isSet", [P]: E }, { [O]: "parseURL", [P]: E, assign: "url" }], [N]: b, rules: [{ conditions: F, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [N]: c }, { [N]: b, rules: [{ conditions: G, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [N]: c }, { endpoint: { [R]: l, [S]: m, [T]: m }, [N]: d }] }] }, { conditions: [{ [O]: e, [P]: [n, "aws"] }], [N]: b, rules: [{ conditions: H, [N]: b, rules: [{ conditions: I, [N]: b, rules: [{ endpoint: { [R]: f, [S]: o, [T]: m }, [N]: d }] }, p] }, { conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ endpoint: q, [N]: d }] }, r] }, { conditions: G, [N]: b, rules: [{ conditions: K, [N]: b, rules: [{ endpoint: { [R]: h, [S]: o, [T]: m }, [N]: d }] }, s] }, { endpoint: t, [N]: d }] }, { conditions: [{ [O]: e, [P]: [n, "aws-cn"] }], [N]: b, rules: [{ conditions: H, [N]: b, rules: [{ conditions: I, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.api.amazonwebservices.com.cn", [S]: u, [T]: m }, [N]: d }] }, p] }, { conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.amazonaws.com.cn", [S]: u, [T]: m }, [N]: d }] }, r] }, { conditions: G, [N]: b, rules: [{ conditions: K, [N]: b, rules: [{ endpoint: { [R]: "https://iam.{Region}.api.amazonwebservices.com.cn", [S]: u, [T]: m }, [N]: d }] }, s] }, { endpoint: v, [N]: d }] }, { conditions: [{ [O]: e, [P]: [n, "aws-us-gov"] }], [N]: b, rules: [{ conditions: H, [N]: b, rules: [{ conditions: I, [N]: b, rules: [{ endpoint: { [R]: f, [S]: w, [T]: m }, [N]: d }] }, p] }, { conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [x] }, r] }, { conditions: G, [N]: b, rules: [{ conditions: K, [N]: b, rules: [{ endpoint: { [R]: h, [S]: w, [T]: m }, [N]: d }] }, s] }, x] }, { conditions: [{ [O]: e, [P]: [n, "aws-iso"] }], [N]: b, rules: [{ conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.c2s.ic.gov", [S]: z, [T]: m }, [N]: d }] }, r] }, { endpoint: A, [N]: d }] }, { conditions: [{ [O]: e, [P]: [n, "aws-iso-b"] }], [N]: b, rules: [{ conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.sc2s.sgov.gov", [S]: B, [T]: m }, [N]: d }] }, r] }, { endpoint: C, [N]: d }] }, { conditions: H, [N]: b, rules: [{ conditions: I, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [S]: m, [T]: m }, [N]: d }] }, p] }, { conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ [N]: b, rules: [{ conditions: [{ [O]: e, [P]: [k, g] }], endpoint: q, [N]: d }, { conditions: L, endpoint: q, [N]: d }, { conditions: [{ [O]: e, [P]: [k, "iam-govcloud"] }], endpoint: y, [N]: d }, D, { endpoint: { [R]: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", [S]: m, [T]: m }, [N]: d }] }] }, r] }, { conditions: G, [N]: b, rules: [{ conditions: K, [N]: b, rules: [{ endpoint: { [R]: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", [S]: m, [T]: m }, [N]: d }] }, s] }, { [N]: b, rules: [{ conditions: L, endpoint: t, [N]: d }, { conditions: [{ [O]: e, [P]: [k, "aws-cn-global"] }], endpoint: v, [N]: d }, D, { conditions: [{ [O]: e, [P]: [k, "aws-iso-global"] }], endpoint: A, [N]: d }, { conditions: [{ [O]: e, [P]: [k, "aws-iso-b-global"] }], endpoint: C, [N]: d }, { endpoint: { [R]: "https://iam.{Region}.{PartitionResult#dnsSuffix}", [S]: m, [T]: m }, [N]: d }] }] }] };
4
+ const G = "type", H = "rules", I = "conditions", J = "fn", K = "argv", L = "ref", M = "url", N = "properties", O = "headers", P = "authSchemes", Q = "name", R = "signingRegion", S = "signingName";
5
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, [G]: "Boolean" }, j = { [L]: "Region" }, k = { [L]: "Endpoint" }, l = {}, m = { [J]: "getAttr", [K]: [{ [L]: d }, "name"] }, n = { [I]: [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], [G]: e, [H]: [{ [I]: [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }, { [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], [G]: e, [H]: [{ [g]: { [M]: "https://iam-fips.{Region}.api.aws", [N]: {}, [O]: {} }, [G]: g }] }, { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: f }] }, o = { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: f }, p = { [M]: "https://iam-fips.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-east-1", [S]: "iam" }] }, [O]: {} }, q = { [f]: "FIPS is enabled but this partition does not support FIPS", [G]: f }, r = { [I]: [{ [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], [G]: e, [H]: [{ [I]: [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], [G]: e, [H]: [{ [g]: { [M]: "https://iam.{Region}.api.aws", [N]: {}, [O]: {} }, [G]: g }] }, { [f]: "DualStack is enabled but this partition does not support DualStack", [G]: f }] }, s = { [f]: "DualStack is enabled but this partition does not support DualStack", [G]: f }, t = { [M]: "https://iam.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-east-1", [S]: "iam" }] }, [O]: {} }, u = { [M]: "https://iam.cn-north-1.amazonaws.com.cn", [N]: { [P]: [{ [Q]: "sigv4", [R]: "cn-north-1", [S]: "iam" }] }, [O]: {} }, v = { [g]: { [M]: "https://iam.us-gov.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-gov-west-1", [S]: "iam" }] }, [O]: {} }, [G]: g }, w = { [M]: "https://iam.us-iso-east-1.c2s.ic.gov", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-iso-east-1", [S]: "iam" }] }, [O]: {} }, x = { [M]: "https://iam.us-isob-east-1.sc2s.sgov.gov", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-isob-east-1", [S]: "iam" }] }, [O]: {} }, y = { [I]: [{ [J]: h, [K]: [j, "aws-us-gov-global"] }], [g]: { [M]: "https://iam.us-gov.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-gov-west-1", [S]: "iam" }] }, [O]: {} }, [G]: g }, z = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }], A = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], B = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], C = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }, { [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], D = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }], E = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], F = [{ [J]: h, [K]: [j, "aws-global"] }];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, [G]: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, [G]: c } }, [H]: [{ [I]: [{ [J]: "aws.partition", [K]: [j], assign: d }], [G]: e, [H]: [{ [I]: [{ [J]: "isSet", [K]: [k] }], [G]: e, [H]: [{ [I]: z, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: f }, { [G]: e, [H]: [{ [I]: A, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: f }, { endpoint: { [M]: k, [N]: l, [O]: l }, [G]: g }] }] }, { [I]: [{ [J]: h, [K]: [m, "aws"] }], [G]: e, [H]: [n, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: p, [G]: g }] }, q] }, r, { endpoint: t, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-cn"] }], [G]: e, [H]: [{ [I]: B, [G]: e, [H]: [{ [I]: C, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.api.amazonwebservices.com.cn", [N]: l, [O]: l }, [G]: g }] }, o] }, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.amazonaws.com.cn", [N]: l, [O]: l }, [G]: g }] }, q] }, { [I]: A, [G]: e, [H]: [{ [I]: E, [G]: e, [H]: [{ endpoint: { [M]: "https://iam.{Region}.api.amazonwebservices.com.cn", [N]: l, [O]: l }, [G]: g }] }, s] }, { endpoint: u, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-us-gov"] }], [G]: e, [H]: [n, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [v] }, q] }, r, v] }, { [I]: [{ [J]: h, [K]: [m, "aws-iso"] }], [G]: e, [H]: [{ [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.c2s.ic.gov", [N]: l, [O]: l }, [G]: g }] }, q] }, { endpoint: w, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-iso-b"] }], [G]: e, [H]: [{ [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.sc2s.sgov.gov", [N]: l, [O]: l }, [G]: g }] }, q] }, { endpoint: x, [G]: g }] }, { [I]: B, [G]: e, [H]: [{ [I]: C, [G]: e, [H]: [{ [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, o] }, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ [G]: e, [H]: [{ [I]: F, endpoint: p, [G]: g }, y, { endpoint: { [M]: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, q] }, { [I]: A, [G]: e, [H]: [{ [I]: E, [G]: e, [H]: [{ [G]: e, [H]: [{ endpoint: { [M]: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, s] }, { [G]: e, [H]: [{ [I]: F, endpoint: t, [G]: g }, { [I]: [{ [J]: h, [K]: [j, "aws-cn-global"] }], endpoint: u, [G]: g }, y, { [I]: [{ [J]: h, [K]: [j, "aws-iso-global"] }], endpoint: w, [G]: g }, { [I]: [{ [J]: h, [K]: [j, "aws-iso-b-global"] }], endpoint: x, [G]: g }, { endpoint: { [M]: "https://iam.{Region}.{PartitionResult#dnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const M = "required", N = "type", O = "fn", P = "argv", Q = "ref", R = "url", S = "properties", T = "headers", U = "authSchemes", V = "name", W = "signingRegion", X = "signingName";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = "https://iam-fips.{Region}.api.aws", g = "iam", h = "https://iam.{Region}.api.aws", i = { [M]: false, [N]: "String" }, j = { [M]: true, "default": false, [N]: "Boolean" }, k = { [Q]: "Region" }, l = { [Q]: "Endpoint" }, m = {}, n = { [O]: "getAttr", [P]: [{ [Q]: a }, "name"] }, o = { [U]: [{ [V]: "sigv4", [W]: "us-east-1", [X]: g }] }, p = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [N]: c }, q = { [R]: "https://iam-fips.amazonaws.com", [S]: o, [T]: {} }, r = { [c]: "FIPS is enabled but this partition does not support FIPS", [N]: c }, s = { [c]: "DualStack is enabled but this partition does not support DualStack", [N]: c }, t = { [R]: "https://iam.amazonaws.com", [S]: o, [T]: {} }, u = { [U]: [{ [V]: "sigv4", [W]: "cn-north-1", [X]: g }] }, v = { [R]: "https://iam.cn-north-1.amazonaws.com.cn", [S]: u, [T]: {} }, w = { [U]: [{ [V]: "sigv4", [W]: "us-gov-west-1", [X]: g }] }, x = { [d]: { [R]: "https://iam.us-gov.amazonaws.com", [S]: w, [T]: {} }, [N]: d }, y = { [R]: "https://iam.us-gov.amazonaws.com", [S]: w, [T]: {} }, z = { [U]: [{ [V]: "sigv4", [W]: "us-iso-east-1", [X]: g }] }, A = { [R]: "https://iam.us-iso-east-1.c2s.ic.gov", [S]: z, [T]: {} }, B = { [U]: [{ [V]: "sigv4", [W]: "us-isob-east-1", [X]: g }] }, C = { [R]: "https://iam.us-isob-east-1.sc2s.sgov.gov", [S]: B, [T]: {} }, D = { "conditions": [{ [O]: e, [P]: [k, "aws-us-gov-global"] }], [d]: y, [N]: d }, E = [l], F = [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }], G = [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], H = [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }, { [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], I = [{ [O]: "booleanEquals", [P]: [true, { [O]: "getAttr", [P]: [{ [Q]: a }, "supportsFIPS"] }] }, { [O]: "booleanEquals", [P]: [true, { [O]: "getAttr", [P]: [{ [Q]: a }, "supportsDualStack"] }] }], J = [{ [O]: "booleanEquals", [P]: [true, { [O]: "getAttr", [P]: [{ [Q]: a }, "supportsFIPS"] }] }], K = [{ [O]: "booleanEquals", [P]: [true, { [O]: "getAttr", [P]: [{ [Q]: a }, "supportsDualStack"] }] }], L = [{ [O]: e, [P]: [k, "aws-global"] }];
3
- const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [O]: "aws.partition", [P]: [k], assign: a }], [N]: b, rules: [{ conditions: [{ [O]: "isSet", [P]: E }, { [O]: "parseURL", [P]: E, assign: "url" }], [N]: b, rules: [{ conditions: F, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [N]: c }, { [N]: b, rules: [{ conditions: G, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [N]: c }, { endpoint: { [R]: l, [S]: m, [T]: m }, [N]: d }] }] }, { conditions: [{ [O]: e, [P]: [n, "aws"] }], [N]: b, rules: [{ conditions: H, [N]: b, rules: [{ conditions: I, [N]: b, rules: [{ endpoint: { [R]: f, [S]: o, [T]: m }, [N]: d }] }, p] }, { conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ endpoint: q, [N]: d }] }, r] }, { conditions: G, [N]: b, rules: [{ conditions: K, [N]: b, rules: [{ endpoint: { [R]: h, [S]: o, [T]: m }, [N]: d }] }, s] }, { endpoint: t, [N]: d }] }, { conditions: [{ [O]: e, [P]: [n, "aws-cn"] }], [N]: b, rules: [{ conditions: H, [N]: b, rules: [{ conditions: I, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.api.amazonwebservices.com.cn", [S]: u, [T]: m }, [N]: d }] }, p] }, { conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.amazonaws.com.cn", [S]: u, [T]: m }, [N]: d }] }, r] }, { conditions: G, [N]: b, rules: [{ conditions: K, [N]: b, rules: [{ endpoint: { [R]: "https://iam.{Region}.api.amazonwebservices.com.cn", [S]: u, [T]: m }, [N]: d }] }, s] }, { endpoint: v, [N]: d }] }, { conditions: [{ [O]: e, [P]: [n, "aws-us-gov"] }], [N]: b, rules: [{ conditions: H, [N]: b, rules: [{ conditions: I, [N]: b, rules: [{ endpoint: { [R]: f, [S]: w, [T]: m }, [N]: d }] }, p] }, { conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [x] }, r] }, { conditions: G, [N]: b, rules: [{ conditions: K, [N]: b, rules: [{ endpoint: { [R]: h, [S]: w, [T]: m }, [N]: d }] }, s] }, x] }, { conditions: [{ [O]: e, [P]: [n, "aws-iso"] }], [N]: b, rules: [{ conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.c2s.ic.gov", [S]: z, [T]: m }, [N]: d }] }, r] }, { endpoint: A, [N]: d }] }, { conditions: [{ [O]: e, [P]: [n, "aws-iso-b"] }], [N]: b, rules: [{ conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.sc2s.sgov.gov", [S]: B, [T]: m }, [N]: d }] }, r] }, { endpoint: C, [N]: d }] }, { conditions: H, [N]: b, rules: [{ conditions: I, [N]: b, rules: [{ endpoint: { [R]: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [S]: m, [T]: m }, [N]: d }] }, p] }, { conditions: F, [N]: b, rules: [{ conditions: J, [N]: b, rules: [{ [N]: b, rules: [{ conditions: [{ [O]: e, [P]: [k, g] }], endpoint: q, [N]: d }, { conditions: L, endpoint: q, [N]: d }, { conditions: [{ [O]: e, [P]: [k, "iam-govcloud"] }], endpoint: y, [N]: d }, D, { endpoint: { [R]: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", [S]: m, [T]: m }, [N]: d }] }] }, r] }, { conditions: G, [N]: b, rules: [{ conditions: K, [N]: b, rules: [{ endpoint: { [R]: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", [S]: m, [T]: m }, [N]: d }] }, s] }, { [N]: b, rules: [{ conditions: L, endpoint: t, [N]: d }, { conditions: [{ [O]: e, [P]: [k, "aws-cn-global"] }], endpoint: v, [N]: d }, D, { conditions: [{ [O]: e, [P]: [k, "aws-iso-global"] }], endpoint: A, [N]: d }, { conditions: [{ [O]: e, [P]: [k, "aws-iso-b-global"] }], endpoint: C, [N]: d }, { endpoint: { [R]: "https://iam.{Region}.{PartitionResult#dnsSuffix}", [S]: m, [T]: m }, [N]: d }] }] }] };
1
+ const G = "type", H = "rules", I = "conditions", J = "fn", K = "argv", L = "ref", M = "url", N = "properties", O = "headers", P = "authSchemes", Q = "name", R = "signingRegion", S = "signingName";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, [G]: "Boolean" }, j = { [L]: "Region" }, k = { [L]: "Endpoint" }, l = {}, m = { [J]: "getAttr", [K]: [{ [L]: d }, "name"] }, n = { [I]: [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], [G]: e, [H]: [{ [I]: [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }, { [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], [G]: e, [H]: [{ [g]: { [M]: "https://iam-fips.{Region}.api.aws", [N]: {}, [O]: {} }, [G]: g }] }, { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: f }] }, o = { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: f }, p = { [M]: "https://iam-fips.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-east-1", [S]: "iam" }] }, [O]: {} }, q = { [f]: "FIPS is enabled but this partition does not support FIPS", [G]: f }, r = { [I]: [{ [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], [G]: e, [H]: [{ [I]: [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], [G]: e, [H]: [{ [g]: { [M]: "https://iam.{Region}.api.aws", [N]: {}, [O]: {} }, [G]: g }] }, { [f]: "DualStack is enabled but this partition does not support DualStack", [G]: f }] }, s = { [f]: "DualStack is enabled but this partition does not support DualStack", [G]: f }, t = { [M]: "https://iam.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-east-1", [S]: "iam" }] }, [O]: {} }, u = { [M]: "https://iam.cn-north-1.amazonaws.com.cn", [N]: { [P]: [{ [Q]: "sigv4", [R]: "cn-north-1", [S]: "iam" }] }, [O]: {} }, v = { [g]: { [M]: "https://iam.us-gov.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-gov-west-1", [S]: "iam" }] }, [O]: {} }, [G]: g }, w = { [M]: "https://iam.us-iso-east-1.c2s.ic.gov", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-iso-east-1", [S]: "iam" }] }, [O]: {} }, x = { [M]: "https://iam.us-isob-east-1.sc2s.sgov.gov", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-isob-east-1", [S]: "iam" }] }, [O]: {} }, y = { [I]: [{ [J]: h, [K]: [j, "aws-us-gov-global"] }], [g]: { [M]: "https://iam.us-gov.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-gov-west-1", [S]: "iam" }] }, [O]: {} }, [G]: g }, z = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }], A = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], B = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], C = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }, { [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], D = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }], E = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], F = [{ [J]: h, [K]: [j, "aws-global"] }];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, [G]: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, [G]: c } }, [H]: [{ [I]: [{ [J]: "aws.partition", [K]: [j], assign: d }], [G]: e, [H]: [{ [I]: [{ [J]: "isSet", [K]: [k] }], [G]: e, [H]: [{ [I]: z, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: f }, { [G]: e, [H]: [{ [I]: A, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: f }, { endpoint: { [M]: k, [N]: l, [O]: l }, [G]: g }] }] }, { [I]: [{ [J]: h, [K]: [m, "aws"] }], [G]: e, [H]: [n, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: p, [G]: g }] }, q] }, r, { endpoint: t, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-cn"] }], [G]: e, [H]: [{ [I]: B, [G]: e, [H]: [{ [I]: C, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.api.amazonwebservices.com.cn", [N]: l, [O]: l }, [G]: g }] }, o] }, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.amazonaws.com.cn", [N]: l, [O]: l }, [G]: g }] }, q] }, { [I]: A, [G]: e, [H]: [{ [I]: E, [G]: e, [H]: [{ endpoint: { [M]: "https://iam.{Region}.api.amazonwebservices.com.cn", [N]: l, [O]: l }, [G]: g }] }, s] }, { endpoint: u, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-us-gov"] }], [G]: e, [H]: [n, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [v] }, q] }, r, v] }, { [I]: [{ [J]: h, [K]: [m, "aws-iso"] }], [G]: e, [H]: [{ [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.c2s.ic.gov", [N]: l, [O]: l }, [G]: g }] }, q] }, { endpoint: w, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-iso-b"] }], [G]: e, [H]: [{ [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.sc2s.sgov.gov", [N]: l, [O]: l }, [G]: g }] }, q] }, { endpoint: x, [G]: g }] }, { [I]: B, [G]: e, [H]: [{ [I]: C, [G]: e, [H]: [{ [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, o] }, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ [G]: e, [H]: [{ [I]: F, endpoint: p, [G]: g }, y, { endpoint: { [M]: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, q] }, { [I]: A, [G]: e, [H]: [{ [I]: E, [G]: e, [H]: [{ [G]: e, [H]: [{ endpoint: { [M]: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, s] }, { [G]: e, [H]: [{ [I]: F, endpoint: t, [G]: g }, { [I]: [{ [J]: h, [K]: [j, "aws-cn-global"] }], endpoint: u, [G]: g }, y, { [I]: [{ [J]: h, [K]: [j, "aws-iso-global"] }], endpoint: w, [G]: g }, { [I]: [{ [J]: h, [K]: [j, "aws-iso-b-global"] }], endpoint: x, [G]: g }, { endpoint: { [M]: "https://iam.{Region}.{PartitionResult#dnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }] };
4
4
  export const ruleSet = _data;