@aws-sdk/client-iam 3.775.0 → 3.782.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 (169) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-es/endpoint/ruleset.js +3 -3
  3. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +8 -5
  4. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +8 -5
  5. package/dist-types/commands/AddUserToGroupCommand.d.ts +8 -5
  6. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +8 -5
  7. package/dist-types/commands/AttachRolePolicyCommand.d.ts +8 -5
  8. package/dist-types/commands/AttachUserPolicyCommand.d.ts +8 -5
  9. package/dist-types/commands/ChangePasswordCommand.d.ts +8 -5
  10. package/dist-types/commands/CreateAccessKeyCommand.d.ts +10 -10
  11. package/dist-types/commands/CreateAccountAliasCommand.d.ts +7 -4
  12. package/dist-types/commands/CreateGroupCommand.d.ts +10 -10
  13. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +11 -11
  14. package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -10
  15. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +7 -7
  16. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -0
  17. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateRoleCommand.d.ts +13 -13
  19. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +1 -0
  20. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
  21. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -0
  22. package/dist-types/commands/CreateUserCommand.d.ts +10 -10
  23. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +1 -0
  24. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -0
  25. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +8 -5
  26. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +7 -4
  27. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +7 -4
  28. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
  29. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +8 -5
  30. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +7 -4
  31. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +7 -4
  32. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -0
  33. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -0
  34. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -0
  35. package/dist-types/commands/DeleteRoleCommand.d.ts +7 -4
  36. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -0
  37. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +8 -5
  38. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +1 -0
  39. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -0
  40. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +1 -0
  41. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -0
  42. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -0
  43. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +8 -5
  44. package/dist-types/commands/DeleteUserCommand.d.ts +7 -4
  45. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -0
  46. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +8 -5
  47. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +7 -4
  48. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -0
  49. package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -0
  50. package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -0
  51. package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  52. package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +6 -6
  53. package/dist-types/commands/EnableMFADeviceCommand.d.ts +1 -0
  54. package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  55. package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +6 -6
  56. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
  57. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -5
  58. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +5 -5
  59. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +1 -0
  60. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
  61. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +15 -15
  62. package/dist-types/commands/GetAccountSummaryCommand.d.ts +31 -31
  63. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -0
  64. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +1 -0
  65. package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
  66. package/dist-types/commands/GetGroupCommand.d.ts +1 -0
  67. package/dist-types/commands/GetGroupPolicyCommand.d.ts +1 -0
  68. package/dist-types/commands/GetInstanceProfileCommand.d.ts +17 -17
  69. package/dist-types/commands/GetLoginProfileCommand.d.ts +7 -7
  70. package/dist-types/commands/GetMFADeviceCommand.d.ts +1 -0
  71. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +1 -0
  72. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -26
  73. package/dist-types/commands/GetPolicyCommand.d.ts +1 -0
  74. package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -0
  75. package/dist-types/commands/GetRoleCommand.d.ts +15 -15
  76. package/dist-types/commands/GetRolePolicyCommand.d.ts +1 -0
  77. package/dist-types/commands/GetSAMLProviderCommand.d.ts +1 -0
  78. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -0
  79. package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -0
  80. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +17 -17
  81. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +23 -23
  82. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -0
  83. package/dist-types/commands/GetUserCommand.d.ts +10 -10
  84. package/dist-types/commands/GetUserPolicyCommand.d.ts +1 -0
  85. package/dist-types/commands/ListAccessKeysCommand.d.ts +13 -13
  86. package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -5
  87. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -0
  88. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +1 -0
  89. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +1 -0
  90. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +1 -0
  91. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -5
  92. package/dist-types/commands/ListGroupsCommand.d.ts +20 -20
  93. package/dist-types/commands/ListGroupsForUserCommand.d.ts +15 -15
  94. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +1 -0
  95. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
  96. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
  97. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +1 -0
  98. package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -0
  99. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -0
  100. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
  101. package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +6 -6
  102. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -0
  103. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -21
  104. package/dist-types/commands/ListPolicyTagsCommand.d.ts +1 -0
  105. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -0
  106. package/dist-types/commands/ListRolePoliciesCommand.d.ts +1 -0
  107. package/dist-types/commands/ListRoleTagsCommand.d.ts +10 -10
  108. package/dist-types/commands/ListRolesCommand.d.ts +1 -0
  109. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +1 -0
  110. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
  111. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -0
  112. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +1 -0
  113. package/dist-types/commands/ListServerCertificatesCommand.d.ts +1 -0
  114. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +1 -0
  115. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +10 -10
  116. package/dist-types/commands/ListUserPoliciesCommand.d.ts +1 -0
  117. package/dist-types/commands/ListUserTagsCommand.d.ts +10 -10
  118. package/dist-types/commands/ListUsersCommand.d.ts +17 -17
  119. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +7 -7
  120. package/dist-types/commands/PutGroupPolicyCommand.d.ts +9 -6
  121. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -0
  122. package/dist-types/commands/PutRolePolicyCommand.d.ts +9 -6
  123. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -0
  124. package/dist-types/commands/PutUserPolicyCommand.d.ts +9 -6
  125. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -0
  126. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +8 -5
  127. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +8 -5
  128. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -0
  129. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -0
  130. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -0
  131. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +7 -4
  132. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -0
  133. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -0
  134. package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -0
  135. package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -0
  136. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -0
  137. package/dist-types/commands/TagPolicyCommand.d.ts +1 -0
  138. package/dist-types/commands/TagRoleCommand.d.ts +12 -9
  139. package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -0
  140. package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -0
  141. package/dist-types/commands/TagUserCommand.d.ts +12 -9
  142. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -0
  143. package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -0
  144. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -0
  145. package/dist-types/commands/UntagPolicyCommand.d.ts +1 -0
  146. package/dist-types/commands/UntagRoleCommand.d.ts +8 -5
  147. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -0
  148. package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -0
  149. package/dist-types/commands/UntagUserCommand.d.ts +8 -5
  150. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +9 -6
  151. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +8 -5
  152. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +8 -5
  153. package/dist-types/commands/UpdateGroupCommand.d.ts +8 -5
  154. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -5
  155. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +1 -0
  156. package/dist-types/commands/UpdateRoleCommand.d.ts +1 -0
  157. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
  158. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +1 -0
  159. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -0
  160. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +1 -0
  161. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -0
  162. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +9 -6
  163. package/dist-types/commands/UpdateUserCommand.d.ts +8 -5
  164. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -0
  165. package/dist-types/commands/UploadServerCertificateCommand.d.ts +14 -14
  166. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +11 -11
  167. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  168. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
  169. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const C = "required", D = "fn", E = "argv", F = "ref", G = "authSchemes", H = "signingName", I = "signingRegion";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = "iam", k = { [C]: false, "type": "String" }, l = { [C]: true, "default": false, "type": "Boolean" }, m = { [F]: "Endpoint" }, n = { [D]: c, [E]: [{ [F]: "UseFIPS" }, true] }, o = { [D]: c, [E]: [{ [F]: "UseDualStack" }, true] }, p = {}, q = { [D]: h, [E]: [{ [D]: "getAttr", [E]: [{ [F]: g }, "name"] }, "aws"] }, r = { [D]: "getAttr", [E]: [{ [F]: g }, "name"] }, s = { [D]: c, [E]: [{ [F]: "UseFIPS" }, false] }, t = { [D]: c, [E]: [{ [F]: "UseDualStack" }, false] }, u = { [G]: [{ "name": i, [H]: j, [I]: "us-east-1" }] }, v = { [D]: h, [E]: [r, "aws-us-gov"] }, w = { "url": "https://iam.us-gov.amazonaws.com", "properties": { [G]: [{ "name": i, [H]: j, [I]: "us-gov-west-1" }] }, "headers": {} }, x = { [D]: "getAttr", [E]: [{ [F]: g }, "supportsFIPS"] }, y = { [D]: c, [E]: [true, { [D]: "getAttr", [E]: [{ [F]: g }, "supportsDualStack"] }] }, z = [n], A = [o], B = [{ [F]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [D]: b, [E]: [m] }], rules: [{ conditions: z, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: A, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: m, properties: p, headers: p }, type: e }], type: f }, { conditions: [{ [D]: b, [E]: B }], rules: [{ conditions: [{ [D]: "aws.partition", [E]: B, assign: g }], rules: [{ conditions: [q, s, t], endpoint: { url: "https://iam.amazonaws.com", properties: u, headers: p }, type: e }, { conditions: [q, n, t], endpoint: { url: "https://iam-fips.amazonaws.com", properties: u, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-cn"] }, s, t], endpoint: { url: "https://iam.cn-north-1.amazonaws.com.cn", properties: { [G]: [{ name: i, [H]: j, [I]: "cn-north-1" }] }, headers: p }, type: e }, { conditions: [v, s, t], endpoint: w, type: e }, { conditions: [v, n, t], endpoint: w, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-iso"] }, s, t], endpoint: { url: "https://iam.us-iso-east-1.c2s.ic.gov", properties: { [G]: [{ name: i, [H]: j, [I]: "us-iso-east-1" }] }, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-iso-b"] }, s, t], endpoint: { url: "https://iam.us-isob-east-1.sc2s.sgov.gov", properties: { [G]: [{ name: i, [H]: j, [I]: "us-isob-east-1" }] }, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-iso-e"] }, s, t], endpoint: { url: "https://iam.eu-isoe-west-1.cloud.adc-e.uk", properties: { [G]: [{ name: i, [H]: j, [I]: "eu-isoe-west-1" }] }, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-iso-f"] }, s, t], endpoint: { url: "https://iam.us-isof-south-1.csp.hci.ic.gov", properties: { [G]: [{ name: i, [H]: j, [I]: "us-isof-south-1" }] }, headers: p }, type: e }, { conditions: [n, o], rules: [{ conditions: [{ [D]: c, [E]: [a, x] }, y], rules: [{ endpoint: { url: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: z, rules: [{ conditions: [{ [D]: c, [E]: [x, a] }], rules: [{ endpoint: { url: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: A, rules: [{ conditions: [y], rules: [{ endpoint: { url: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://iam.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
+ const H = "required", I = "fn", J = "argv", K = "ref", L = "properties", M = "headers", N = "authSchemes", O = "name", P = "signingRegion";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = { [H]: true, "default": false, "type": "Boolean" }, k = { [H]: false, "type": "String" }, l = { [K]: "Endpoint" }, m = { [I]: c, [J]: [{ [K]: "UseFIPS" }, true] }, n = { [I]: c, [J]: [{ [K]: "UseDualStack" }, true] }, o = {}, p = { [I]: h, [J]: [{ [I]: "getAttr", [J]: [{ [K]: g }, "name"] }, "aws"] }, q = { [I]: "getAttr", [J]: [{ [K]: g }, "name"] }, r = { [I]: c, [J]: [{ [K]: "UseFIPS" }, false] }, s = { [N]: [{ [O]: i, [P]: "us-east-1" }] }, t = { [I]: h, [J]: [q, "aws-cn"] }, u = { [N]: [{ [O]: i, [P]: "cn-north-1" }] }, v = { [I]: c, [J]: [{ [K]: "UseDualStack" }, false] }, w = { [I]: h, [J]: [q, "aws-us-gov"] }, x = { "url": "https://iam.us-gov.api.aws", [L]: { [N]: [{ [O]: i, [P]: "us-gov-west-1" }] }, [M]: {} }, y = { "url": "https://iam.us-gov.amazonaws.com", [L]: { [N]: [{ [O]: i, [P]: "us-gov-west-1" }] }, [M]: {} }, z = { [I]: h, [J]: [q, "aws-iso"] }, A = { [N]: [{ [O]: i, [P]: "us-iso-east-1" }] }, B = { [I]: h, [J]: [q, "aws-iso-b"] }, C = { [N]: [{ [O]: i, [P]: "us-isob-east-1" }] }, D = { [I]: "getAttr", [J]: [{ [K]: g }, "supportsFIPS"] }, E = { [I]: c, [J]: [true, { [I]: "getAttr", [J]: [{ [K]: g }, "supportsDualStack"] }] }, F = { [N]: [{ [O]: i, [P]: "{PartitionResult#implicitGlobalRegion}" }] }, G = [{ [K]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { UseDualStack: j, UseFIPS: j, Endpoint: k, Region: k }, rules: [{ conditions: [{ [I]: b, [J]: [l] }], rules: [{ conditions: [m], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [n], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: l, [L]: o, [M]: o }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [I]: b, [J]: G }], rules: [{ conditions: [{ [I]: "aws.partition", [J]: G, assign: g }], rules: [{ conditions: [p, r, n], endpoint: { url: "https://iam.global.api.aws", [L]: s, [M]: o }, type: e }, { conditions: [p, m, n], endpoint: { url: "https://iam-fips.global.api.aws", [L]: s, [M]: o }, type: e }, { conditions: [t, r, n], endpoint: { url: "https://iam.global.api.amazonwebservices.com.cn", [L]: u, [M]: o }, type: e }, { conditions: [t, r, v], endpoint: { url: "https://iam.cn-north-1.amazonaws.com.cn", [L]: u, [M]: o }, type: e }, { conditions: [w, r, n], endpoint: x, type: e }, { conditions: [w, m, n], endpoint: x, type: e }, { conditions: [w, r, v], endpoint: y, type: e }, { conditions: [w, m, v], endpoint: y, type: e }, { conditions: [z, r, v], endpoint: { url: "https://iam.us-iso-east-1.c2s.ic.gov", [L]: A, [M]: o }, type: e }, { conditions: [z, m, v], endpoint: { url: "https://iam-fips.us-iso-east-1.c2s.ic.gov", [L]: A, [M]: o }, type: e }, { conditions: [B, r, v], endpoint: { url: "https://iam.us-isob-east-1.sc2s.sgov.gov", [L]: C, [M]: o }, type: e }, { conditions: [B, m, v], endpoint: { url: "https://iam-fips.us-isob-east-1.sc2s.sgov.gov", [L]: C, [M]: o }, type: e }, { conditions: [{ [I]: h, [J]: [q, "aws-iso-e"] }, r, v], endpoint: { url: "https://iam.eu-isoe-west-1.cloud.adc-e.uk", [L]: { [N]: [{ [O]: i, [P]: "eu-isoe-west-1" }] }, [M]: o }, type: e }, { conditions: [{ [I]: h, [J]: [q, "aws-iso-f"] }, r, v], endpoint: { url: "https://iam.us-isof-south-1.csp.hci.ic.gov", [L]: { [N]: [{ [O]: i, [P]: "us-isof-south-1" }] }, [M]: o }, type: e }, { conditions: [m, n], rules: [{ conditions: [{ [I]: c, [J]: [a, D] }, E], rules: [{ endpoint: { url: "https://iam-fips.{PartitionResult#dualStackDnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [m, v], rules: [{ conditions: [{ [I]: c, [J]: [D, a] }], rules: [{ endpoint: { url: "https://iam-fips.{PartitionResult#dnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [r, n], rules: [{ conditions: [E], rules: [{ endpoint: { url: "https://iam.{PartitionResult#dualStackDnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://iam.{PartitionResult#dnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const C = "required", D = "fn", E = "argv", F = "ref", G = "authSchemes", H = "signingName", I = "signingRegion";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = "iam", k = { [C]: false, "type": "String" }, l = { [C]: true, "default": false, "type": "Boolean" }, m = { [F]: "Endpoint" }, n = { [D]: c, [E]: [{ [F]: "UseFIPS" }, true] }, o = { [D]: c, [E]: [{ [F]: "UseDualStack" }, true] }, p = {}, q = { [D]: h, [E]: [{ [D]: "getAttr", [E]: [{ [F]: g }, "name"] }, "aws"] }, r = { [D]: "getAttr", [E]: [{ [F]: g }, "name"] }, s = { [D]: c, [E]: [{ [F]: "UseFIPS" }, false] }, t = { [D]: c, [E]: [{ [F]: "UseDualStack" }, false] }, u = { [G]: [{ "name": i, [H]: j, [I]: "us-east-1" }] }, v = { [D]: h, [E]: [r, "aws-us-gov"] }, w = { "url": "https://iam.us-gov.amazonaws.com", "properties": { [G]: [{ "name": i, [H]: j, [I]: "us-gov-west-1" }] }, "headers": {} }, x = { [D]: "getAttr", [E]: [{ [F]: g }, "supportsFIPS"] }, y = { [D]: c, [E]: [true, { [D]: "getAttr", [E]: [{ [F]: g }, "supportsDualStack"] }] }, z = [n], A = [o], B = [{ [F]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [D]: b, [E]: [m] }], rules: [{ conditions: z, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: A, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: m, properties: p, headers: p }, type: e }], type: f }, { conditions: [{ [D]: b, [E]: B }], rules: [{ conditions: [{ [D]: "aws.partition", [E]: B, assign: g }], rules: [{ conditions: [q, s, t], endpoint: { url: "https://iam.amazonaws.com", properties: u, headers: p }, type: e }, { conditions: [q, n, t], endpoint: { url: "https://iam-fips.amazonaws.com", properties: u, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-cn"] }, s, t], endpoint: { url: "https://iam.cn-north-1.amazonaws.com.cn", properties: { [G]: [{ name: i, [H]: j, [I]: "cn-north-1" }] }, headers: p }, type: e }, { conditions: [v, s, t], endpoint: w, type: e }, { conditions: [v, n, t], endpoint: w, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-iso"] }, s, t], endpoint: { url: "https://iam.us-iso-east-1.c2s.ic.gov", properties: { [G]: [{ name: i, [H]: j, [I]: "us-iso-east-1" }] }, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-iso-b"] }, s, t], endpoint: { url: "https://iam.us-isob-east-1.sc2s.sgov.gov", properties: { [G]: [{ name: i, [H]: j, [I]: "us-isob-east-1" }] }, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-iso-e"] }, s, t], endpoint: { url: "https://iam.eu-isoe-west-1.cloud.adc-e.uk", properties: { [G]: [{ name: i, [H]: j, [I]: "eu-isoe-west-1" }] }, headers: p }, type: e }, { conditions: [{ [D]: h, [E]: [r, "aws-iso-f"] }, s, t], endpoint: { url: "https://iam.us-isof-south-1.csp.hci.ic.gov", properties: { [G]: [{ name: i, [H]: j, [I]: "us-isof-south-1" }] }, headers: p }, type: e }, { conditions: [n, o], rules: [{ conditions: [{ [D]: c, [E]: [a, x] }, y], rules: [{ endpoint: { url: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: z, rules: [{ conditions: [{ [D]: c, [E]: [x, a] }], rules: [{ endpoint: { url: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: A, rules: [{ conditions: [y], rules: [{ endpoint: { url: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://iam.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
1
+ const H = "required", I = "fn", J = "argv", K = "ref", L = "properties", M = "headers", N = "authSchemes", O = "name", P = "signingRegion";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = { [H]: true, "default": false, "type": "Boolean" }, k = { [H]: false, "type": "String" }, l = { [K]: "Endpoint" }, m = { [I]: c, [J]: [{ [K]: "UseFIPS" }, true] }, n = { [I]: c, [J]: [{ [K]: "UseDualStack" }, true] }, o = {}, p = { [I]: h, [J]: [{ [I]: "getAttr", [J]: [{ [K]: g }, "name"] }, "aws"] }, q = { [I]: "getAttr", [J]: [{ [K]: g }, "name"] }, r = { [I]: c, [J]: [{ [K]: "UseFIPS" }, false] }, s = { [N]: [{ [O]: i, [P]: "us-east-1" }] }, t = { [I]: h, [J]: [q, "aws-cn"] }, u = { [N]: [{ [O]: i, [P]: "cn-north-1" }] }, v = { [I]: c, [J]: [{ [K]: "UseDualStack" }, false] }, w = { [I]: h, [J]: [q, "aws-us-gov"] }, x = { "url": "https://iam.us-gov.api.aws", [L]: { [N]: [{ [O]: i, [P]: "us-gov-west-1" }] }, [M]: {} }, y = { "url": "https://iam.us-gov.amazonaws.com", [L]: { [N]: [{ [O]: i, [P]: "us-gov-west-1" }] }, [M]: {} }, z = { [I]: h, [J]: [q, "aws-iso"] }, A = { [N]: [{ [O]: i, [P]: "us-iso-east-1" }] }, B = { [I]: h, [J]: [q, "aws-iso-b"] }, C = { [N]: [{ [O]: i, [P]: "us-isob-east-1" }] }, D = { [I]: "getAttr", [J]: [{ [K]: g }, "supportsFIPS"] }, E = { [I]: c, [J]: [true, { [I]: "getAttr", [J]: [{ [K]: g }, "supportsDualStack"] }] }, F = { [N]: [{ [O]: i, [P]: "{PartitionResult#implicitGlobalRegion}" }] }, G = [{ [K]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { UseDualStack: j, UseFIPS: j, Endpoint: k, Region: k }, rules: [{ conditions: [{ [I]: b, [J]: [l] }], rules: [{ conditions: [m], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [n], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: l, [L]: o, [M]: o }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [I]: b, [J]: G }], rules: [{ conditions: [{ [I]: "aws.partition", [J]: G, assign: g }], rules: [{ conditions: [p, r, n], endpoint: { url: "https://iam.global.api.aws", [L]: s, [M]: o }, type: e }, { conditions: [p, m, n], endpoint: { url: "https://iam-fips.global.api.aws", [L]: s, [M]: o }, type: e }, { conditions: [t, r, n], endpoint: { url: "https://iam.global.api.amazonwebservices.com.cn", [L]: u, [M]: o }, type: e }, { conditions: [t, r, v], endpoint: { url: "https://iam.cn-north-1.amazonaws.com.cn", [L]: u, [M]: o }, type: e }, { conditions: [w, r, n], endpoint: x, type: e }, { conditions: [w, m, n], endpoint: x, type: e }, { conditions: [w, r, v], endpoint: y, type: e }, { conditions: [w, m, v], endpoint: y, type: e }, { conditions: [z, r, v], endpoint: { url: "https://iam.us-iso-east-1.c2s.ic.gov", [L]: A, [M]: o }, type: e }, { conditions: [z, m, v], endpoint: { url: "https://iam-fips.us-iso-east-1.c2s.ic.gov", [L]: A, [M]: o }, type: e }, { conditions: [B, r, v], endpoint: { url: "https://iam.us-isob-east-1.sc2s.sgov.gov", [L]: C, [M]: o }, type: e }, { conditions: [B, m, v], endpoint: { url: "https://iam-fips.us-isob-east-1.sc2s.sgov.gov", [L]: C, [M]: o }, type: e }, { conditions: [{ [I]: h, [J]: [q, "aws-iso-e"] }, r, v], endpoint: { url: "https://iam.eu-isoe-west-1.cloud.adc-e.uk", [L]: { [N]: [{ [O]: i, [P]: "eu-isoe-west-1" }] }, [M]: o }, type: e }, { conditions: [{ [I]: h, [J]: [q, "aws-iso-f"] }, r, v], endpoint: { url: "https://iam.us-isof-south-1.csp.hci.ic.gov", [L]: { [N]: [{ [O]: i, [P]: "us-isof-south-1" }] }, [M]: o }, type: e }, { conditions: [m, n], rules: [{ conditions: [{ [I]: c, [J]: [a, D] }, E], rules: [{ endpoint: { url: "https://iam-fips.{PartitionResult#dualStackDnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [m, v], rules: [{ conditions: [{ [I]: c, [J]: [D, a] }], rules: [{ endpoint: { url: "https://iam-fips.{PartitionResult#dnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [r, n], rules: [{ conditions: [E], rules: [{ endpoint: { url: "https://iam.{PartitionResult#dualStackDnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://iam.{PartitionResult#dnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
4
  export const ruleSet = _data;
@@ -72,19 +72,22 @@ declare const AddClientIDToOpenIDConnectProviderCommand_base: {
72
72
  * @throws {@link IAMServiceException}
73
73
  * <p>Base exception class for all service exceptions from IAM service.</p>
74
74
  *
75
- * @public
75
+ *
76
76
  * @example To add a client ID (audience) to an Open-ID Connect (OIDC) provider
77
77
  * ```javascript
78
78
  * // The following add-client-id-to-open-id-connect-provider command adds the client ID my-application-ID to the OIDC provider named server.example.com:
79
79
  * const input = {
80
- * "ClientID": "my-application-ID",
81
- * "OpenIDConnectProviderArn": "arn:aws:iam::123456789012:oidc-provider/server.example.com"
80
+ * ClientID: "my-application-ID",
81
+ * OpenIDConnectProviderArn: "arn:aws:iam::123456789012:oidc-provider/server.example.com"
82
82
  * };
83
83
  * const command = new AddClientIDToOpenIDConnectProviderCommand(input);
84
- * await client.send(command);
85
- * // example id: 028e91f4-e2a6-4d59-9e3b-4965a3fb19be
84
+ * const response = await client.send(command);
85
+ * /* response is
86
+ * { /* metadata only *\/ }
87
+ * *\/
86
88
  * ```
87
89
  *
90
+ * @public
88
91
  */
89
92
  export declare class AddClientIDToOpenIDConnectProviderCommand extends AddClientIDToOpenIDConnectProviderCommand_base {
90
93
  /** @internal type navigation helper, not in runtime. */
@@ -95,19 +95,22 @@ declare const AddRoleToInstanceProfileCommand_base: {
95
95
  * @throws {@link IAMServiceException}
96
96
  * <p>Base exception class for all service exceptions from IAM service.</p>
97
97
  *
98
- * @public
98
+ *
99
99
  * @example To add a role to an instance profile
100
100
  * ```javascript
101
101
  * // The following command adds the role named S3Access to the instance profile named Webserver:
102
102
  * const input = {
103
- * "InstanceProfileName": "Webserver",
104
- * "RoleName": "S3Access"
103
+ * InstanceProfileName: "Webserver",
104
+ * RoleName: "S3Access"
105
105
  * };
106
106
  * const command = new AddRoleToInstanceProfileCommand(input);
107
- * await client.send(command);
108
- * // example id: c107fac3-edb6-4827-8a71-8863ec91c81f
107
+ * const response = await client.send(command);
108
+ * /* response is
109
+ * { /* metadata only *\/ }
110
+ * *\/
109
111
  * ```
110
112
  *
113
+ * @public
111
114
  */
112
115
  export declare class AddRoleToInstanceProfileCommand extends AddRoleToInstanceProfileCommand_base {
113
116
  /** @internal type navigation helper, not in runtime. */
@@ -65,19 +65,22 @@ declare const AddUserToGroupCommand_base: {
65
65
  * @throws {@link IAMServiceException}
66
66
  * <p>Base exception class for all service exceptions from IAM service.</p>
67
67
  *
68
- * @public
68
+ *
69
69
  * @example To add a user to an IAM group
70
70
  * ```javascript
71
71
  * // The following command adds an IAM user named Bob to the IAM group named Admins:
72
72
  * const input = {
73
- * "GroupName": "Admins",
74
- * "UserName": "Bob"
73
+ * GroupName: "Admins",
74
+ * UserName: "Bob"
75
75
  * };
76
76
  * const command = new AddUserToGroupCommand(input);
77
- * await client.send(command);
78
- * // example id: 619c7e6b-09f8-4036-857b-51a6ea5027ca
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* metadata only *\/ }
80
+ * *\/
79
81
  * ```
80
82
  *
83
+ * @public
81
84
  */
82
85
  export declare class AddUserToGroupCommand extends AddUserToGroupCommand_base {
83
86
  /** @internal type navigation helper, not in runtime. */
@@ -82,19 +82,22 @@ declare const AttachGroupPolicyCommand_base: {
82
82
  * @throws {@link IAMServiceException}
83
83
  * <p>Base exception class for all service exceptions from IAM service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example To attach a managed policy to an IAM group
87
87
  * ```javascript
88
88
  * // The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM group named Finance.
89
89
  * const input = {
90
- * "GroupName": "Finance",
91
- * "PolicyArn": "arn:aws:iam::aws:policy/ReadOnlyAccess"
90
+ * GroupName: "Finance",
91
+ * PolicyArn: "arn:aws:iam::aws:policy/ReadOnlyAccess"
92
92
  * };
93
93
  * const command = new AttachGroupPolicyCommand(input);
94
- * await client.send(command);
95
- * // example id: 87551489-86f0-45db-9889-759936778f2b
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * { /* metadata only *\/ }
97
+ * *\/
96
98
  * ```
97
99
  *
100
+ * @public
98
101
  */
99
102
  export declare class AttachGroupPolicyCommand extends AttachGroupPolicyCommand_base {
100
103
  /** @internal type navigation helper, not in runtime. */
@@ -99,19 +99,22 @@ declare const AttachRolePolicyCommand_base: {
99
99
  * @throws {@link IAMServiceException}
100
100
  * <p>Base exception class for all service exceptions from IAM service.</p>
101
101
  *
102
- * @public
102
+ *
103
103
  * @example To attach a managed policy to an IAM role
104
104
  * ```javascript
105
105
  * // The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM role named ReadOnlyRole.
106
106
  * const input = {
107
- * "PolicyArn": "arn:aws:iam::aws:policy/ReadOnlyAccess",
108
- * "RoleName": "ReadOnlyRole"
107
+ * PolicyArn: "arn:aws:iam::aws:policy/ReadOnlyAccess",
108
+ * RoleName: "ReadOnlyRole"
109
109
  * };
110
110
  * const command = new AttachRolePolicyCommand(input);
111
- * await client.send(command);
112
- * // example id: 3e1b8c7c-99c8-4fc4-a20c-131fe3f22c7e
111
+ * const response = await client.send(command);
112
+ * /* response is
113
+ * { /* metadata only *\/ }
114
+ * *\/
113
115
  * ```
114
116
  *
117
+ * @public
115
118
  */
116
119
  export declare class AttachRolePolicyCommand extends AttachRolePolicyCommand_base {
117
120
  /** @internal type navigation helper, not in runtime. */
@@ -82,19 +82,22 @@ declare const AttachUserPolicyCommand_base: {
82
82
  * @throws {@link IAMServiceException}
83
83
  * <p>Base exception class for all service exceptions from IAM service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example To attach a managed policy to an IAM user
87
87
  * ```javascript
88
88
  * // The following command attaches the AWS managed policy named AdministratorAccess to the IAM user named Alice.
89
89
  * const input = {
90
- * "PolicyArn": "arn:aws:iam::aws:policy/AdministratorAccess",
91
- * "UserName": "Alice"
90
+ * PolicyArn: "arn:aws:iam::aws:policy/AdministratorAccess",
91
+ * UserName: "Alice"
92
92
  * };
93
93
  * const command = new AttachUserPolicyCommand(input);
94
- * await client.send(command);
95
- * // example id: 1372ebd8-9475-4b1a-a479-23b6fd4b8b3e
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * { /* metadata only *\/ }
97
+ * *\/
96
98
  * ```
97
99
  *
100
+ * @public
98
101
  */
99
102
  export declare class AttachUserPolicyCommand extends AttachUserPolicyCommand_base {
100
103
  /** @internal type navigation helper, not in runtime. */
@@ -86,19 +86,22 @@ declare const ChangePasswordCommand_base: {
86
86
  * @throws {@link IAMServiceException}
87
87
  * <p>Base exception class for all service exceptions from IAM service.</p>
88
88
  *
89
- * @public
89
+ *
90
90
  * @example To change the password for your IAM user
91
91
  * ```javascript
92
92
  * // The following command changes the password for the current IAM user.
93
93
  * const input = {
94
- * "NewPassword": "]35d/{pB9Fo9wJ",
95
- * "OldPassword": "3s0K_;xh4~8XXI"
94
+ * NewPassword: "]35d/{pB9Fo9wJ",
95
+ * OldPassword: "3s0K_;xh4~8XXI"
96
96
  * };
97
97
  * const command = new ChangePasswordCommand(input);
98
- * await client.send(command);
99
- * // example id: 3a80c66f-bffb-46df-947c-1e8fa583b470
98
+ * const response = await client.send(command);
99
+ * /* response is
100
+ * { /* metadata only *\/ }
101
+ * *\/
100
102
  * ```
101
103
  *
104
+ * @public
102
105
  */
103
106
  export declare class ChangePasswordCommand extends ChangePasswordCommand_base {
104
107
  /** @internal type navigation helper, not in runtime. */
@@ -85,29 +85,29 @@ declare const CreateAccessKeyCommand_base: {
85
85
  * @throws {@link IAMServiceException}
86
86
  * <p>Base exception class for all service exceptions from IAM service.</p>
87
87
  *
88
- * @public
88
+ *
89
89
  * @example To create an access key for an IAM user
90
90
  * ```javascript
91
91
  * // The following command creates an access key (access key ID and secret access key) for the IAM user named Bob.
92
92
  * const input = {
93
- * "UserName": "Bob"
93
+ * UserName: "Bob"
94
94
  * };
95
95
  * const command = new CreateAccessKeyCommand(input);
96
96
  * const response = await client.send(command);
97
- * /* response ==
97
+ * /* response is
98
98
  * {
99
- * "AccessKey": {
100
- * "AccessKeyId": "AKIAIOSFODNN7EXAMPLE",
101
- * "CreateDate": "2015-03-09T18:39:23.411Z",
102
- * "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
103
- * "Status": "Active",
104
- * "UserName": "Bob"
99
+ * AccessKey: {
100
+ * AccessKeyId: "AKIAIOSFODNN7EXAMPLE",
101
+ * CreateDate: "2015-03-09T18:39:23.411Z",
102
+ * SecretAccessKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
103
+ * Status: "Active",
104
+ * UserName: "Bob"
105
105
  * }
106
106
  * }
107
107
  * *\/
108
- * // example id: 1fbb3211-4cf2-41db-8c20-ba58d9f5802d
109
108
  * ```
110
109
  *
110
+ * @public
111
111
  */
112
112
  export declare class CreateAccessKeyCommand extends CreateAccessKeyCommand_base {
113
113
  /** @internal type navigation helper, not in runtime. */
@@ -71,18 +71,21 @@ declare const CreateAccountAliasCommand_base: {
71
71
  * @throws {@link IAMServiceException}
72
72
  * <p>Base exception class for all service exceptions from IAM service.</p>
73
73
  *
74
- * @public
74
+ *
75
75
  * @example To create an account alias
76
76
  * ```javascript
77
77
  * // The following command associates the alias examplecorp to your AWS account.
78
78
  * const input = {
79
- * "AccountAlias": "examplecorp"
79
+ * AccountAlias: "examplecorp"
80
80
  * };
81
81
  * const command = new CreateAccountAliasCommand(input);
82
- * await client.send(command);
83
- * // example id: 5adaf6fb-94fc-4ca2-b825-2fbc2062add1
82
+ * const response = await client.send(command);
83
+ * /* response is
84
+ * { /* metadata only *\/ }
85
+ * *\/
84
86
  * ```
85
87
  *
88
+ * @public
86
89
  */
87
90
  export declare class CreateAccountAliasCommand extends CreateAccountAliasCommand_base {
88
91
  /** @internal type navigation helper, not in runtime. */
@@ -79,29 +79,29 @@ declare const CreateGroupCommand_base: {
79
79
  * @throws {@link IAMServiceException}
80
80
  * <p>Base exception class for all service exceptions from IAM service.</p>
81
81
  *
82
- * @public
82
+ *
83
83
  * @example To create an IAM group
84
84
  * ```javascript
85
85
  * // The following command creates an IAM group named Admins.
86
86
  * const input = {
87
- * "GroupName": "Admins"
87
+ * GroupName: "Admins"
88
88
  * };
89
89
  * const command = new CreateGroupCommand(input);
90
90
  * const response = await client.send(command);
91
- * /* response ==
91
+ * /* response is
92
92
  * {
93
- * "Group": {
94
- * "Arn": "arn:aws:iam::123456789012:group/Admins",
95
- * "CreateDate": "2015-03-09T20:30:24.940Z",
96
- * "GroupId": "AIDGPMS9RO4H3FEXAMPLE",
97
- * "GroupName": "Admins",
98
- * "Path": "/"
93
+ * Group: {
94
+ * Arn: "arn:aws:iam::123456789012:group/Admins",
95
+ * CreateDate: "2015-03-09T20:30:24.940Z",
96
+ * GroupId: "AIDGPMS9RO4H3FEXAMPLE",
97
+ * GroupName: "Admins",
98
+ * Path: "/"
99
99
  * }
100
100
  * }
101
101
  * *\/
102
- * // example id: d5da2a90-5e69-4ef7-8ae8-4c33dc21fd21
103
102
  * ```
104
103
  *
104
+ * @public
105
105
  */
106
106
  export declare class CreateGroupCommand extends CreateGroupCommand_base {
107
107
  /** @internal type navigation helper, not in runtime. */
@@ -123,30 +123,30 @@ declare const CreateInstanceProfileCommand_base: {
123
123
  * @throws {@link IAMServiceException}
124
124
  * <p>Base exception class for all service exceptions from IAM service.</p>
125
125
  *
126
- * @public
126
+ *
127
127
  * @example To create an instance profile
128
128
  * ```javascript
129
129
  * // The following command creates an instance profile named Webserver that is ready to have a role attached and then be associated with an EC2 instance.
130
130
  * const input = {
131
- * "InstanceProfileName": "Webserver"
131
+ * InstanceProfileName: "Webserver"
132
132
  * };
133
133
  * const command = new CreateInstanceProfileCommand(input);
134
134
  * const response = await client.send(command);
135
- * /* response ==
135
+ * /* response is
136
136
  * {
137
- * "InstanceProfile": {
138
- * "Arn": "arn:aws:iam::123456789012:instance-profile/Webserver",
139
- * "CreateDate": "2015-03-09T20:33:19.626Z",
140
- * "InstanceProfileId": "AIPAJMBYC7DLSPEXAMPLE",
141
- * "InstanceProfileName": "Webserver",
142
- * "Path": "/",
143
- * "Roles": []
137
+ * InstanceProfile: {
138
+ * Arn: "arn:aws:iam::123456789012:instance-profile/Webserver",
139
+ * CreateDate: "2015-03-09T20:33:19.626Z",
140
+ * InstanceProfileId: "AIPAJMBYC7DLSPEXAMPLE",
141
+ * InstanceProfileName: "Webserver",
142
+ * Path: "/",
143
+ * Roles: []
144
144
  * }
145
145
  * }
146
146
  * *\/
147
- * // example id: 5d84e6ae-5921-4e39-8454-10232cd9ff9a
148
147
  * ```
149
148
  *
149
+ * @public
150
150
  */
151
151
  export declare class CreateInstanceProfileCommand extends CreateInstanceProfileCommand_base {
152
152
  /** @internal type navigation helper, not in runtime. */
@@ -85,29 +85,29 @@ declare const CreateLoginProfileCommand_base: {
85
85
  * @throws {@link IAMServiceException}
86
86
  * <p>Base exception class for all service exceptions from IAM service.</p>
87
87
  *
88
- * @public
88
+ *
89
89
  * @example To create an instance profile
90
90
  * ```javascript
91
91
  * // The following command changes IAM user Bob's password and sets the flag that required Bob to change the password the next time he signs in.
92
92
  * const input = {
93
- * "Password": "h]6EszR}vJ*m",
94
- * "PasswordResetRequired": true,
95
- * "UserName": "Bob"
93
+ * Password: "h]6EszR}vJ*m",
94
+ * PasswordResetRequired: true,
95
+ * UserName: "Bob"
96
96
  * };
97
97
  * const command = new CreateLoginProfileCommand(input);
98
98
  * const response = await client.send(command);
99
- * /* response ==
99
+ * /* response is
100
100
  * {
101
- * "LoginProfile": {
102
- * "CreateDate": "2015-03-10T20:55:40.274Z",
103
- * "PasswordResetRequired": true,
104
- * "UserName": "Bob"
101
+ * LoginProfile: {
102
+ * CreateDate: "2015-03-10T20:55:40.274Z",
103
+ * PasswordResetRequired: true,
104
+ * UserName: "Bob"
105
105
  * }
106
106
  * }
107
107
  * *\/
108
- * // example id: c63795bc-3444-40b3-89df-83c474ef88be
109
108
  * ```
110
109
  *
110
+ * @public
111
111
  */
112
112
  export declare class CreateLoginProfileCommand extends CreateLoginProfileCommand_base {
113
113
  /** @internal type navigation helper, not in runtime. */
@@ -136,29 +136,29 @@ declare const CreateOpenIDConnectProviderCommand_base: {
136
136
  * @throws {@link IAMServiceException}
137
137
  * <p>Base exception class for all service exceptions from IAM service.</p>
138
138
  *
139
- * @public
139
+ *
140
140
  * @example To create an instance profile
141
141
  * ```javascript
142
142
  * // The following example defines a new OIDC provider in IAM with a client ID of my-application-id and pointing at the server with a URL of https://server.example.com.
143
143
  * const input = {
144
- * "ClientIDList": [
144
+ * ClientIDList: [
145
145
  * "my-application-id"
146
146
  * ],
147
- * "ThumbprintList": [
147
+ * ThumbprintList: [
148
148
  * "3768084dfb3d2b68b7897bf5f565da8efEXAMPLE"
149
149
  * ],
150
- * "Url": "https://server.example.com"
150
+ * Url: "https://server.example.com"
151
151
  * };
152
152
  * const command = new CreateOpenIDConnectProviderCommand(input);
153
153
  * const response = await client.send(command);
154
- * /* response ==
154
+ * /* response is
155
155
  * {
156
- * "OpenIDConnectProviderArn": "arn:aws:iam::123456789012:oidc-provider/server.example.com"
156
+ * OpenIDConnectProviderArn: "arn:aws:iam::123456789012:oidc-provider/server.example.com"
157
157
  * }
158
158
  * *\/
159
- * // example id: 4e4a6bff-cc97-4406-922e-0ab4a82cdb63
160
159
  * ```
161
160
  *
161
+ * @public
162
162
  */
163
163
  export declare class CreateOpenIDConnectProviderCommand extends CreateOpenIDConnectProviderCommand_base {
164
164
  /** @internal type navigation helper, not in runtime. */
@@ -115,6 +115,7 @@ declare const CreatePolicyCommand_base: {
115
115
  * @throws {@link IAMServiceException}
116
116
  * <p>Base exception class for all service exceptions from IAM service.</p>
117
117
  *
118
+ *
118
119
  * @public
119
120
  */
120
121
  export declare class CreatePolicyCommand extends CreatePolicyCommand_base {
@@ -88,6 +88,7 @@ declare const CreatePolicyVersionCommand_base: {
88
88
  * @throws {@link IAMServiceException}
89
89
  * <p>Base exception class for all service exceptions from IAM service.</p>
90
90
  *
91
+ *
91
92
  * @public
92
93
  */
93
94
  export declare class CreatePolicyVersionCommand extends CreatePolicyVersionCommand_base {
@@ -116,32 +116,32 @@ declare const CreateRoleCommand_base: {
116
116
  * @throws {@link IAMServiceException}
117
117
  * <p>Base exception class for all service exceptions from IAM service.</p>
118
118
  *
119
- * @public
119
+ *
120
120
  * @example To create an IAM role
121
121
  * ```javascript
122
122
  * // The following command creates a role named Test-Role and attaches a trust policy that you must convert from JSON to a string. Upon success, the response includes the same policy as a URL-encoded JSON string.
123
123
  * const input = {
124
- * "AssumeRolePolicyDocument": "<Stringified-JSON>",
125
- * "Path": "/",
126
- * "RoleName": "Test-Role"
124
+ * AssumeRolePolicyDocument: "<Stringified-JSON>",
125
+ * Path: "/",
126
+ * RoleName: "Test-Role"
127
127
  * };
128
128
  * const command = new CreateRoleCommand(input);
129
129
  * const response = await client.send(command);
130
- * /* response ==
130
+ * /* response is
131
131
  * {
132
- * "Role": {
133
- * "Arn": "arn:aws:iam::123456789012:role/Test-Role",
134
- * "AssumeRolePolicyDocument": "<URL-encoded-JSON>",
135
- * "CreateDate": "2013-06-07T20:43:32.821Z",
136
- * "Path": "/",
137
- * "RoleId": "AKIAIOSFODNN7EXAMPLE",
138
- * "RoleName": "Test-Role"
132
+ * Role: {
133
+ * Arn: "arn:aws:iam::123456789012:role/Test-Role",
134
+ * AssumeRolePolicyDocument: "<URL-encoded-JSON>",
135
+ * CreateDate: "2013-06-07T20:43:32.821Z",
136
+ * Path: "/",
137
+ * RoleId: "AKIAIOSFODNN7EXAMPLE",
138
+ * RoleName: "Test-Role"
139
139
  * }
140
140
  * }
141
141
  * *\/
142
- * // example id: eaaa4b5f-51f1-4f73-b0d3-30127040eff8
143
142
  * ```
144
143
  *
144
+ * @public
145
145
  */
146
146
  export declare class CreateRoleCommand extends CreateRoleCommand_base {
147
147
  /** @internal type navigation helper, not in runtime. */
@@ -106,6 +106,7 @@ declare const CreateSAMLProviderCommand_base: {
106
106
  * @throws {@link IAMServiceException}
107
107
  * <p>Base exception class for all service exceptions from IAM service.</p>
108
108
  *
109
+ *
109
110
  * @public
110
111
  */
111
112
  export declare class CreateSAMLProviderCommand extends CreateSAMLProviderCommand_base {
@@ -103,6 +103,7 @@ declare const CreateServiceLinkedRoleCommand_base: {
103
103
  * @throws {@link IAMServiceException}
104
104
  * <p>Base exception class for all service exceptions from IAM service.</p>
105
105
  *
106
+ *
106
107
  * @public
107
108
  */
108
109
  export declare class CreateServiceLinkedRoleCommand extends CreateServiceLinkedRoleCommand_base {
@@ -84,6 +84,7 @@ declare const CreateServiceSpecificCredentialCommand_base: {
84
84
  * @throws {@link IAMServiceException}
85
85
  * <p>Base exception class for all service exceptions from IAM service.</p>
86
86
  *
87
+ *
87
88
  * @public
88
89
  */
89
90
  export declare class CreateServiceSpecificCredentialCommand extends CreateServiceSpecificCredentialCommand_base {