@jjrawlins/cdk-iam-policy-builder-helper 0.0.87 → 0.0.89

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 (297) hide show
  1. package/.jsii +3 -3
  2. package/cdkiampolicybuilderhelper/jsii/jsii.go +2 -2
  3. package/cdkiampolicybuilderhelper/version +1 -1
  4. package/lib/constructs/Actions.d.ts +87 -0
  5. package/lib/constructs/Actions.js +88 -1
  6. package/lib/constructs/ManagedPolicies.d.ts +32 -0
  7. package/lib/constructs/ManagedPolicies.js +33 -1
  8. package/methods_list.txt +87 -0
  9. package/node_modules/@aws/lambda-invoke-store/package.json +2 -1
  10. package/node_modules/@aws-sdk/client-iam/README.md +24 -0
  11. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +305 -176
  12. package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +6 -0
  13. package/node_modules/@aws-sdk/client-iam/dist-es/commands/DisableOutboundWebIdentityFederationCommand.js +16 -0
  14. package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableOutboundWebIdentityFederationCommand.js +16 -0
  15. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetOutboundWebIdentityFederationInfoCommand.js +16 -0
  16. package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +3 -0
  17. package/node_modules/@aws-sdk/client-iam/dist-es/index.js +2 -1
  18. package/node_modules/@aws-sdk/client-iam/dist-es/models/enums.js +176 -0
  19. package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +431 -0
  20. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_0.js +1 -467
  21. package/node_modules/@aws-sdk/client-iam/dist-es/models/models_1.js +1 -117
  22. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +62 -1
  23. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +24 -0
  24. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +5 -2
  25. package/node_modules/@aws-sdk/client-iam/dist-types/commands/DisableOutboundWebIdentityFederationCommand.d.ts +74 -0
  26. package/node_modules/@aws-sdk/client-iam/dist-types/commands/EnableOutboundWebIdentityFederationCommand.d.ts +78 -0
  27. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +77 -0
  28. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutGroupPolicyCommand.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePolicyCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
  32. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPolicyCommand.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RejectDelegationRequestCommand.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveUserFromGroupCommand.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SendDelegationTokenCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-iam/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagMFADeviceCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagPolicyCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagRoleCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +1 -1
  52. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
  54. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateDelegationRequestCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateLoginProfileCommand.d.ts +1 -1
  66. package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +3 -0
  67. package/node_modules/@aws-sdk/client-iam/dist-types/index.d.ts +4 -1
  68. package/node_modules/@aws-sdk/client-iam/dist-types/models/enums.d.ts +392 -0
  69. package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +463 -0
  70. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +1641 -681
  71. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +2 -1763
  72. package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +7 -0
  73. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +72 -0
  74. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +18 -0
  75. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/DisableOutboundWebIdentityFederationCommand.d.ts +45 -0
  76. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/EnableOutboundWebIdentityFederationCommand.d.ts +47 -0
  77. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetOutboundWebIdentityFederationInfoCommand.d.ts +47 -0
  78. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +1 -1
  79. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +1 -1
  81. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
  82. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RejectDelegationRequestCommand.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +1 -1
  87. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
  88. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +1 -1
  89. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SendDelegationTokenCommand.d.ts +1 -1
  90. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetSecurityTokenServicePreferencesCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +1 -1
  95. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +1 -1
  96. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  97. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
  98. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
  99. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
  100. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
  101. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
  102. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
  103. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
  104. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  105. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
  106. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
  107. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
  108. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
  109. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
  110. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
  111. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  112. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  113. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +1 -1
  114. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
  115. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +1 -1
  116. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +3 -0
  117. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/index.d.ts +4 -1
  118. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/enums.d.ts +222 -0
  119. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +297 -0
  120. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +276 -416
  121. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +1 -334
  122. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  123. package/node_modules/@aws-sdk/client-iam/package.json +19 -19
  124. package/node_modules/@aws-sdk/client-sso/dist-es/index.js +1 -1
  125. package/node_modules/@aws-sdk/client-sso/dist-es/models/errors.js +49 -0
  126. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +1 -49
  127. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +1 -1
  128. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +2 -1
  129. package/node_modules/@aws-sdk/client-sso/dist-types/models/errors.d.ts +53 -0
  130. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -53
  131. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +2 -1
  132. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/errors.d.ts +30 -0
  133. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -30
  134. package/node_modules/@aws-sdk/client-sso/package.json +18 -18
  135. package/node_modules/@aws-sdk/core/package.json +4 -4
  136. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  137. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  138. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +15 -0
  139. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +12 -0
  140. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +4 -0
  141. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +4 -3
  142. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +10 -0
  143. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +3 -1
  144. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +7 -0
  145. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -9
  146. package/node_modules/@aws-sdk/credential-provider-login/README.md +7 -0
  147. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
  148. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +262 -0
  149. package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +21 -0
  150. package/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js +2 -0
  151. package/node_modules/@aws-sdk/credential-provider-login/dist-es/types.js +1 -0
  152. package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +42 -0
  153. package/node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts +7 -0
  154. package/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts +8 -0
  155. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +24 -0
  156. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +5 -0
  157. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +2 -0
  158. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +39 -0
  159. package/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts +59 -0
  160. package/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
  161. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  162. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  163. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  164. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  165. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  166. package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
  167. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  168. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  169. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  170. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  171. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +7 -0
  172. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +439 -0
  173. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +39 -0
  174. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +54 -0
  175. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +15 -0
  176. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +42 -0
  177. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +10 -9
  178. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +9 -0
  179. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +50 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js +38 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +50 -0
  182. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +16 -0
  183. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
  184. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js +13 -0
  185. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +14 -0
  186. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +4 -0
  187. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js +1 -0
  188. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +6 -0
  189. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +8 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +8 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +57 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js +1 -0
  193. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +34 -0
  194. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +49 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +11 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +38 -0
  197. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +9 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +221 -0
  199. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +2 -1
  200. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js +9 -0
  201. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +181 -0
  202. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +1 -190
  203. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +1 -1
  204. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -1
  205. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +85 -0
  206. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +1 -85
  207. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +1 -1
  208. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +18 -0
  209. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +198 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  211. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +75 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +157 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +38 -0
  215. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts +5 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +2 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts +9 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +16 -0
  219. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +14 -0
  220. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +34 -0
  221. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +102 -0
  222. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +142 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +59 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +59 -0
  225. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +58 -0
  226. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +33 -0
  227. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts +17 -0
  228. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +14 -0
  229. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +3 -1
  230. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts +25 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +279 -0
  232. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +0 -303
  233. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +2 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +108 -0
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +0 -108
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +22 -0
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +127 -0
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +47 -0
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +47 -0
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +51 -0
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +2 -0
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +9 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +10 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +9 -0
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +10 -0
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +35 -0
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +26 -0
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +121 -0
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +114 -0
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +125 -0
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +53 -0
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +11 -0
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +19 -0
  257. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +3 -1
  258. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts +13 -0
  259. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +105 -0
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -114
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +2 -1
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +54 -0
  263. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -54
  264. package/node_modules/@aws-sdk/nested-clients/package.json +29 -18
  265. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +7 -0
  266. package/node_modules/@aws-sdk/nested-clients/signin.js +5 -0
  267. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  268. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  269. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +2 -0
  270. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +2 -0
  271. package/node_modules/@aws-sdk/types/package.json +1 -1
  272. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  273. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  274. package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
  275. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +6 -0
  276. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +6 -0
  277. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +6 -2
  278. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +6 -2
  279. package/node_modules/@smithy/core/package.json +1 -1
  280. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  281. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  282. package/node_modules/@smithy/smithy-client/package.json +3 -3
  283. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  284. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  285. package/package.json +3 -3
  286. package/node_modules/@aws-sdk/client-iam/dist-es/models/index.js +0 -2
  287. package/node_modules/@aws-sdk/client-iam/dist-types/models/index.d.ts +0 -2
  288. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/index.d.ts +0 -2
  289. package/node_modules/@aws-sdk/client-sso/dist-es/models/index.js +0 -1
  290. package/node_modules/@aws-sdk/client-sso/dist-types/models/index.d.ts +0 -1
  291. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/index.d.ts +0 -1
  292. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js +0 -1
  293. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/index.js +0 -1
  294. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/index.d.ts +0 -1
  295. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/index.d.ts +0 -1
  296. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/index.d.ts +0 -1
  297. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/index.d.ts +0 -1
@@ -1,1690 +1,5 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
- import { AssertionEncryptionModeType, Role, ServerCertificateMetadata, ServiceSpecificCredential, SigningCertificate, SSHPublicKey, StatusType, Tag } from "./models_0";
4
- /**
5
- * @public
6
- */
7
- export interface PutGroupPolicyRequest {
8
- /**
9
- * <p>The name of the group to associate the policy with.</p>
10
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
11
- * characters with no spaces. You can also include any of the following characters: _+=,.@-.</p>
12
- * @public
13
- */
14
- GroupName: string | undefined;
15
- /**
16
- * <p>The name of the policy document.</p>
17
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
18
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
19
- * @public
20
- */
21
- PolicyName: string | undefined;
22
- /**
23
- * <p>The policy document.</p>
24
- * <p>You must provide policies in JSON format in IAM. However, for CloudFormation templates
25
- * formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always
26
- * converts a YAML policy to JSON format before submitting it to IAM.</p>
27
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
28
- * used to validate this parameter is a string of characters consisting of the following:</p>
29
- * <ul>
30
- * <li>
31
- * <p>Any printable ASCII
32
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
33
- * </li>
34
- * <li>
35
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
36
- * (through <code>\u00FF</code>)</p>
37
- * </li>
38
- * <li>
39
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
40
- * carriage return (<code>\u000D</code>)</p>
41
- * </li>
42
- * </ul>
43
- * @public
44
- */
45
- PolicyDocument: string | undefined;
46
- }
47
- /**
48
- * @public
49
- */
50
- export interface PutRolePermissionsBoundaryRequest {
51
- /**
52
- * <p>The name (friendly name, not ARN) of the IAM role for which you want to set the
53
- * permissions boundary.</p>
54
- * @public
55
- */
56
- RoleName: string | undefined;
57
- /**
58
- * <p>The ARN of the managed policy that is used to set the permissions boundary for the
59
- * role.</p>
60
- * <p>A permissions boundary policy defines the maximum permissions that identity-based
61
- * policies can grant to an entity, but does not grant permissions. Permissions boundaries
62
- * do not define the maximum permissions that a resource-based policy can grant to an
63
- * entity. To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries
64
- * for IAM entities</a> in the <i>IAM User Guide</i>.</p>
65
- * <p>For more information about policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types">Policy types
66
- * </a> in the <i>IAM User Guide</i>.</p>
67
- * @public
68
- */
69
- PermissionsBoundary: string | undefined;
70
- }
71
- /**
72
- * @public
73
- */
74
- export interface PutRolePolicyRequest {
75
- /**
76
- * <p>The name of the role to associate the policy with.</p>
77
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
78
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
79
- * @public
80
- */
81
- RoleName: string | undefined;
82
- /**
83
- * <p>The name of the policy document.</p>
84
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
85
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
86
- * @public
87
- */
88
- PolicyName: string | undefined;
89
- /**
90
- * <p>The policy document.</p>
91
- * <p>You must provide policies in JSON format in IAM. However, for CloudFormation
92
- * templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to
93
- * IAM.</p>
94
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
95
- * used to validate this parameter is a string of characters consisting of the following:</p>
96
- * <ul>
97
- * <li>
98
- * <p>Any printable ASCII
99
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
100
- * </li>
101
- * <li>
102
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
103
- * (through <code>\u00FF</code>)</p>
104
- * </li>
105
- * <li>
106
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
107
- * carriage return (<code>\u000D</code>)</p>
108
- * </li>
109
- * </ul>
110
- * @public
111
- */
112
- PolicyDocument: string | undefined;
113
- }
114
- /**
115
- * @public
116
- */
117
- export interface PutUserPermissionsBoundaryRequest {
118
- /**
119
- * <p>The name (friendly name, not ARN) of the IAM user for which you want to set the
120
- * permissions boundary.</p>
121
- * @public
122
- */
123
- UserName: string | undefined;
124
- /**
125
- * <p>The ARN of the managed policy that is used to set the permissions boundary for the
126
- * user.</p>
127
- * <p>A permissions boundary policy defines the maximum permissions that identity-based
128
- * policies can grant to an entity, but does not grant permissions. Permissions boundaries
129
- * do not define the maximum permissions that a resource-based policy can grant to an
130
- * entity. To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries
131
- * for IAM entities</a> in the <i>IAM User Guide</i>.</p>
132
- * <p>For more information about policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policy-types">Policy types
133
- * </a> in the <i>IAM User Guide</i>.</p>
134
- * @public
135
- */
136
- PermissionsBoundary: string | undefined;
137
- }
138
- /**
139
- * @public
140
- */
141
- export interface PutUserPolicyRequest {
142
- /**
143
- * <p>The name of the user to associate the policy with.</p>
144
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
145
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
146
- * @public
147
- */
148
- UserName: string | undefined;
149
- /**
150
- * <p>The name of the policy document.</p>
151
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
152
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
153
- * @public
154
- */
155
- PolicyName: string | undefined;
156
- /**
157
- * <p>The policy document.</p>
158
- * <p>You must provide policies in JSON format in IAM. However, for CloudFormation
159
- * templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to
160
- * IAM.</p>
161
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
162
- * used to validate this parameter is a string of characters consisting of the following:</p>
163
- * <ul>
164
- * <li>
165
- * <p>Any printable ASCII
166
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
167
- * </li>
168
- * <li>
169
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
170
- * (through <code>\u00FF</code>)</p>
171
- * </li>
172
- * <li>
173
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
174
- * carriage return (<code>\u000D</code>)</p>
175
- * </li>
176
- * </ul>
177
- * @public
178
- */
179
- PolicyDocument: string | undefined;
180
- }
181
- /**
182
- * @public
183
- */
184
- export interface RejectDelegationRequestRequest {
185
- /**
186
- * <p>The unique identifier of the delegation request to reject.</p>
187
- * @public
188
- */
189
- DelegationRequestId: string | undefined;
190
- /**
191
- * <p>Optional notes explaining the reason for rejecting the delegation request.</p>
192
- * @public
193
- */
194
- Notes?: string | undefined;
195
- }
196
- /**
197
- * @public
198
- */
199
- export interface RemoveClientIDFromOpenIDConnectProviderRequest {
200
- /**
201
- * <p>The Amazon Resource Name (ARN) of the IAM OIDC provider resource to remove the
202
- * client ID from. You can get a list of OIDC provider ARNs by using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html">ListOpenIDConnectProviders</a> operation.</p>
203
- * <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
204
- * @public
205
- */
206
- OpenIDConnectProviderArn: string | undefined;
207
- /**
208
- * <p>The client ID (also known as audience) to remove from the IAM OIDC provider
209
- * resource. For more information about client IDs, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html">CreateOpenIDConnectProvider</a>.</p>
210
- * @public
211
- */
212
- ClientID: string | undefined;
213
- }
214
- /**
215
- * @public
216
- */
217
- export interface RemoveRoleFromInstanceProfileRequest {
218
- /**
219
- * <p>The name of the instance profile to update.</p>
220
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
221
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
222
- * @public
223
- */
224
- InstanceProfileName: string | undefined;
225
- /**
226
- * <p>The name of the role to remove.</p>
227
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
228
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
229
- * @public
230
- */
231
- RoleName: string | undefined;
232
- }
233
- /**
234
- * @public
235
- */
236
- export interface RemoveUserFromGroupRequest {
237
- /**
238
- * <p>The name of the group to update.</p>
239
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
240
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
241
- * @public
242
- */
243
- GroupName: string | undefined;
244
- /**
245
- * <p>The name of the user to remove.</p>
246
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
247
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
248
- * @public
249
- */
250
- UserName: string | undefined;
251
- }
252
- /**
253
- * @public
254
- */
255
- export interface ResetServiceSpecificCredentialRequest {
256
- /**
257
- * <p>The name of the IAM user associated with the service-specific credential. If this
258
- * value is not specified, then the operation assumes the user whose credentials are used
259
- * to call the operation.</p>
260
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
261
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
262
- * @public
263
- */
264
- UserName?: string | undefined;
265
- /**
266
- * <p>The unique identifier of the service-specific credential.</p>
267
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that can
268
- * consist of any upper or lowercased letter or digit.</p>
269
- * @public
270
- */
271
- ServiceSpecificCredentialId: string | undefined;
272
- }
273
- /**
274
- * @public
275
- */
276
- export interface ResetServiceSpecificCredentialResponse {
277
- /**
278
- * <p>A structure with details about the updated service-specific credential, including the
279
- * new password.</p>
280
- * <important>
281
- * <p>This is the <b>only</b> time that you can access the
282
- * password. You cannot recover the password later, but you can reset it again.</p>
283
- * </important>
284
- * @public
285
- */
286
- ServiceSpecificCredential?: ServiceSpecificCredential | undefined;
287
- }
288
- /**
289
- * @public
290
- */
291
- export interface ResyncMFADeviceRequest {
292
- /**
293
- * <p>The name of the user whose MFA device you want to resynchronize.</p>
294
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
295
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
296
- * @public
297
- */
298
- UserName: string | undefined;
299
- /**
300
- * <p>Serial number that uniquely identifies the MFA device.</p>
301
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
302
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
303
- * @public
304
- */
305
- SerialNumber: string | undefined;
306
- /**
307
- * <p>An authentication code emitted by the device.</p>
308
- * <p>The format for this parameter is a sequence of six digits.</p>
309
- * @public
310
- */
311
- AuthenticationCode1: string | undefined;
312
- /**
313
- * <p>A subsequent authentication code emitted by the device.</p>
314
- * <p>The format for this parameter is a sequence of six digits.</p>
315
- * @public
316
- */
317
- AuthenticationCode2: string | undefined;
318
- }
319
- /**
320
- * @public
321
- */
322
- export interface SendDelegationTokenRequest {
323
- /**
324
- * <p>The unique identifier of the delegation request for which to send the token.</p>
325
- * @public
326
- */
327
- DelegationRequestId: string | undefined;
328
- }
329
- /**
330
- * @public
331
- */
332
- export interface SetDefaultPolicyVersionRequest {
333
- /**
334
- * <p>The Amazon Resource Name (ARN) of the IAM policy whose default version you want to
335
- * set.</p>
336
- * <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
337
- * @public
338
- */
339
- PolicyArn: string | undefined;
340
- /**
341
- * <p>The version of the policy to set as the default (operative) version.</p>
342
- * <p>For more information about managed policy versions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for managed
343
- * policies</a> in the <i>IAM User Guide</i>.</p>
344
- * @public
345
- */
346
- VersionId: string | undefined;
347
- }
348
- /**
349
- * @public
350
- * @enum
351
- */
352
- export declare const GlobalEndpointTokenVersion: {
353
- readonly v1Token: "v1Token";
354
- readonly v2Token: "v2Token";
355
- };
356
- /**
357
- * @public
358
- */
359
- export type GlobalEndpointTokenVersion = (typeof GlobalEndpointTokenVersion)[keyof typeof GlobalEndpointTokenVersion];
360
- /**
361
- * @public
362
- */
363
- export interface SetSecurityTokenServicePreferencesRequest {
364
- /**
365
- * <p>The version of the global endpoint token. Version 1 tokens are valid only in Amazon Web Services Regions that are available by default. These tokens do not work in
366
- * manually enabled Regions, such as Asia Pacific (Hong Kong). Version 2 tokens are valid
367
- * in all Regions. However, version 2 tokens are longer and might affect systems where you
368
- * temporarily store tokens.</p>
369
- * <p>For information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
370
- * deactivating STS in an Amazon Web Services Region</a> in the
371
- * <i>IAM User Guide</i>.</p>
372
- * @public
373
- */
374
- GlobalEndpointTokenVersion: GlobalEndpointTokenVersion | undefined;
375
- }
376
- /**
377
- * <p>The request failed because a provided policy could not be successfully evaluated. An
378
- * additional detailed message indicates the source of the failure.</p>
379
- * @public
380
- */
381
- export declare class PolicyEvaluationException extends __BaseException {
382
- readonly name: "PolicyEvaluationException";
383
- readonly $fault: "server";
384
- /**
385
- * @internal
386
- */
387
- constructor(opts: __ExceptionOptionType<PolicyEvaluationException, __BaseException>);
388
- }
389
- /**
390
- * @public
391
- * @enum
392
- */
393
- export declare const ContextKeyTypeEnum: {
394
- readonly BINARY: "binary";
395
- readonly BINARY_LIST: "binaryList";
396
- readonly BOOLEAN: "boolean";
397
- readonly BOOLEAN_LIST: "booleanList";
398
- readonly DATE: "date";
399
- readonly DATE_LIST: "dateList";
400
- readonly IP: "ip";
401
- readonly IP_LIST: "ipList";
402
- readonly NUMERIC: "numeric";
403
- readonly NUMERIC_LIST: "numericList";
404
- readonly STRING: "string";
405
- readonly STRING_LIST: "stringList";
406
- };
407
- /**
408
- * @public
409
- */
410
- export type ContextKeyTypeEnum = (typeof ContextKeyTypeEnum)[keyof typeof ContextKeyTypeEnum];
411
- /**
412
- * <p>Contains information about a condition context key. It includes the name of the key and
413
- * specifies the value (or values, if the context key supports multiple values) to use in the
414
- * simulation. This information is used when evaluating the <code>Condition</code> elements of
415
- * the input policies.</p>
416
- * <p>This data type is used as an input parameter to <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html">SimulateCustomPolicy</a>
417
- * and <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html">SimulatePrincipalPolicy</a>.</p>
418
- * @public
419
- */
420
- export interface ContextEntry {
421
- /**
422
- * <p>The full name of a condition context key, including the service prefix. For example,
423
- * <code>aws:SourceIp</code> or <code>s3:VersionId</code>.</p>
424
- * @public
425
- */
426
- ContextKeyName?: string | undefined;
427
- /**
428
- * <p>The value (or values, if the condition context key supports multiple values) to provide
429
- * to the simulation when the key is referenced by a <code>Condition</code> element in an
430
- * input policy.</p>
431
- * @public
432
- */
433
- ContextKeyValues?: string[] | undefined;
434
- /**
435
- * <p>The data type of the value (or values) specified in the <code>ContextKeyValues</code>
436
- * parameter.</p>
437
- * @public
438
- */
439
- ContextKeyType?: ContextKeyTypeEnum | undefined;
440
- }
441
- /**
442
- * @public
443
- */
444
- export interface SimulateCustomPolicyRequest {
445
- /**
446
- * <p>A list of policy documents to include in the simulation. Each document is specified as
447
- * a string containing the complete, valid JSON text of an IAM policy. Do not include any
448
- * resource-based policies in this parameter. Any resource-based policy must be submitted
449
- * with the <code>ResourcePolicy</code> parameter. The policies cannot be "scope-down"
450
- * policies, such as you could include in a call to <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetFederationToken.html">GetFederationToken</a> or one of
451
- * the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_AssumeRole.html">AssumeRole</a> API operations. In other words, do not use policies designed to
452
- * restrict what a user can do while using the temporary credentials.</p>
453
- * <p>The maximum length of the policy document that you can pass in this operation,
454
- * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
455
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
456
- * used to validate this parameter is a string of characters consisting of the following:</p>
457
- * <ul>
458
- * <li>
459
- * <p>Any printable ASCII
460
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
461
- * </li>
462
- * <li>
463
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
464
- * (through <code>\u00FF</code>)</p>
465
- * </li>
466
- * <li>
467
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
468
- * carriage return (<code>\u000D</code>)</p>
469
- * </li>
470
- * </ul>
471
- * @public
472
- */
473
- PolicyInputList: string[] | undefined;
474
- /**
475
- * <p>The IAM permissions boundary policy to simulate. The permissions boundary sets the
476
- * maximum permissions that an IAM entity can have. You can input only one permissions
477
- * boundary when you pass a policy to this operation. For more information about
478
- * permissions boundaries, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries for IAM
479
- * entities</a> in the <i>IAM User Guide</i>. The policy input is
480
- * specified as a string that contains the complete, valid JSON text of a permissions
481
- * boundary policy.</p>
482
- * <p>The maximum length of the policy document that you can pass in this operation,
483
- * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
484
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
485
- * used to validate this parameter is a string of characters consisting of the following:</p>
486
- * <ul>
487
- * <li>
488
- * <p>Any printable ASCII
489
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
490
- * </li>
491
- * <li>
492
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
493
- * (through <code>\u00FF</code>)</p>
494
- * </li>
495
- * <li>
496
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
497
- * carriage return (<code>\u000D</code>)</p>
498
- * </li>
499
- * </ul>
500
- * @public
501
- */
502
- PermissionsBoundaryPolicyInputList?: string[] | undefined;
503
- /**
504
- * <p>A list of names of API operations to evaluate in the simulation. Each operation is
505
- * evaluated against each resource. Each operation must include the service identifier,
506
- * such as <code>iam:CreateUser</code>. This operation does not support using wildcards (*)
507
- * in an action name.</p>
508
- * @public
509
- */
510
- ActionNames: string[] | undefined;
511
- /**
512
- * <p>A list of ARNs of Amazon Web Services resources to include in the simulation. If this parameter is
513
- * not provided, then the value defaults to <code>*</code> (all resources). Each API in the
514
- * <code>ActionNames</code> parameter is evaluated for each resource in this list. The
515
- * simulation determines the access result (allowed or denied) of each combination and
516
- * reports it in the response. You can simulate resources that don't exist in your
517
- * account.</p>
518
- * <p>The simulation does not automatically retrieve policies for the specified resources.
519
- * If you want to include a resource policy in the simulation, then you must include the
520
- * policy as a string in the <code>ResourcePolicy</code> parameter.</p>
521
- * <p>If you include a <code>ResourcePolicy</code>, then it must be applicable to all of the
522
- * resources included in the simulation or you receive an invalid input error.</p>
523
- * <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
524
- * <note>
525
- * <p>Simulation of resource-based policies isn't supported for IAM roles.</p>
526
- * </note>
527
- * @public
528
- */
529
- ResourceArns?: string[] | undefined;
530
- /**
531
- * <p>A resource-based policy to include in the simulation provided as a string. Each
532
- * resource in the simulation is treated as if it had this policy attached. You can include
533
- * only one resource-based policy in a simulation.</p>
534
- * <p>The maximum length of the policy document that you can pass in this operation,
535
- * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
536
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
537
- * used to validate this parameter is a string of characters consisting of the following:</p>
538
- * <ul>
539
- * <li>
540
- * <p>Any printable ASCII
541
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
542
- * </li>
543
- * <li>
544
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
545
- * (through <code>\u00FF</code>)</p>
546
- * </li>
547
- * <li>
548
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
549
- * carriage return (<code>\u000D</code>)</p>
550
- * </li>
551
- * </ul>
552
- * <note>
553
- * <p>Simulation of resource-based policies isn't supported for IAM roles.</p>
554
- * </note>
555
- * @public
556
- */
557
- ResourcePolicy?: string | undefined;
558
- /**
559
- * <p>An ARN representing the Amazon Web Services account ID that specifies the owner of any simulated
560
- * resource that does not identify its owner in the resource ARN. Examples of resource ARNs
561
- * include an S3 bucket or object. If <code>ResourceOwner</code> is specified, it is also
562
- * used as the account owner of any <code>ResourcePolicy</code> included in the simulation.
563
- * If the <code>ResourceOwner</code> parameter is not specified, then the owner of the
564
- * resources and the resource policy defaults to the account of the identity provided in
565
- * <code>CallerArn</code>. This parameter is required only if you specify a
566
- * resource-based policy and account that owns the resource is different from the account
567
- * that owns the simulated calling user <code>CallerArn</code>.</p>
568
- * <p>The ARN for an account uses the following syntax:
569
- * <code>arn:aws:iam::<i>AWS-account-ID</i>:root</code>. For example,
570
- * to represent the account with the 112233445566 ID, use the following ARN:
571
- * <code>arn:aws:iam::112233445566-ID:root</code>. </p>
572
- * @public
573
- */
574
- ResourceOwner?: string | undefined;
575
- /**
576
- * <p>The ARN of the IAM user that you want to use as the simulated caller of the API
577
- * operations. <code>CallerArn</code> is required if you include a
578
- * <code>ResourcePolicy</code> so that the policy's <code>Principal</code> element has
579
- * a value to use in evaluating the policy.</p>
580
- * <p>You can specify only the ARN of an IAM user. You cannot specify the ARN of an
581
- * assumed role, federated user, or a service principal.</p>
582
- * @public
583
- */
584
- CallerArn?: string | undefined;
585
- /**
586
- * <p>A list of context keys and corresponding values for the simulation to use. Whenever a
587
- * context key is evaluated in one of the simulated IAM permissions policies, the
588
- * corresponding value is supplied.</p>
589
- * @public
590
- */
591
- ContextEntries?: ContextEntry[] | undefined;
592
- /**
593
- * <p>Specifies the type of simulation to run. Different API operations that support
594
- * resource-based policies require different combinations of resources. By specifying the
595
- * type of simulation to run, you enable the policy simulator to enforce the presence of
596
- * the required resources to ensure reliable simulation results. If your simulation does
597
- * not match one of the following scenarios, then you can omit this parameter. The
598
- * following list shows each of the supported scenario values and the resources that you
599
- * must define to run the simulation.</p>
600
- * <p>Each of the Amazon EC2 scenarios requires that you specify instance, image, and security
601
- * group resources. If your scenario includes an EBS volume, then you must specify that
602
- * volume as a resource. If the Amazon EC2 scenario includes VPC, then you must supply the
603
- * network interface resource. If it includes an IP subnet, then you must specify the
604
- * subnet resource. For more information on the Amazon EC2 scenario options, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html">Supported platforms</a> in the <i>Amazon EC2 User Guide</i>.</p>
605
- * <ul>
606
- * <li>
607
- * <p>
608
- * <b>EC2-VPC-InstanceStore</b>
609
- * </p>
610
- * <p>instance, image, security group, network interface</p>
611
- * </li>
612
- * <li>
613
- * <p>
614
- * <b>EC2-VPC-InstanceStore-Subnet</b>
615
- * </p>
616
- * <p>instance, image, security group, network interface, subnet</p>
617
- * </li>
618
- * <li>
619
- * <p>
620
- * <b>EC2-VPC-EBS</b>
621
- * </p>
622
- * <p>instance, image, security group, network interface, volume</p>
623
- * </li>
624
- * <li>
625
- * <p>
626
- * <b>EC2-VPC-EBS-Subnet</b>
627
- * </p>
628
- * <p>instance, image, security group, network interface, subnet, volume</p>
629
- * </li>
630
- * </ul>
631
- * @public
632
- */
633
- ResourceHandlingOption?: string | undefined;
634
- /**
635
- * <p>Use this only when paginating results to indicate the
636
- * maximum number of items you want in the response. If additional items exist beyond the maximum
637
- * you specify, the <code>IsTruncated</code> response element is <code>true</code>.</p>
638
- * <p>If you do not include this parameter, the number of items defaults to 100. Note that
639
- * IAM might return fewer results, even when there are more results available. In that case, the
640
- * <code>IsTruncated</code> response element returns <code>true</code>, and <code>Marker</code>
641
- * contains a value to include in the subsequent call that tells the service where to continue
642
- * from.</p>
643
- * @public
644
- */
645
- MaxItems?: number | undefined;
646
- /**
647
- * <p>Use this parameter only when paginating results and only after
648
- * you receive a response indicating that the results are truncated. Set it to the value of the
649
- * <code>Marker</code> element in the response that you received to indicate where the next call
650
- * should start.</p>
651
- * @public
652
- */
653
- Marker?: string | undefined;
654
- }
655
- /**
656
- * @public
657
- * @enum
658
- */
659
- export declare const PolicyEvaluationDecisionType: {
660
- readonly ALLOWED: "allowed";
661
- readonly EXPLICIT_DENY: "explicitDeny";
662
- readonly IMPLICIT_DENY: "implicitDeny";
663
- };
664
- /**
665
- * @public
666
- */
667
- export type PolicyEvaluationDecisionType = (typeof PolicyEvaluationDecisionType)[keyof typeof PolicyEvaluationDecisionType];
668
- /**
669
- * <p>Contains the row and column of a location of a <code>Statement</code> element in a
670
- * policy document.</p>
671
- * <p>This data type is used as a member of the <code>
672
- * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_Statement.html">Statement</a>
673
- * </code> type.</p>
674
- * @public
675
- */
676
- export interface Position {
677
- /**
678
- * <p>The line containing the specified position in the document.</p>
679
- * @public
680
- */
681
- Line?: number | undefined;
682
- /**
683
- * <p>The column in the line containing the specified position in the document.</p>
684
- * @public
685
- */
686
- Column?: number | undefined;
687
- }
688
- /**
689
- * @public
690
- * @enum
691
- */
692
- export declare const PolicySourceType: {
693
- readonly AWS_MANAGED: "aws-managed";
694
- readonly GROUP: "group";
695
- readonly NONE: "none";
696
- readonly RESOURCE: "resource";
697
- readonly ROLE: "role";
698
- readonly USER: "user";
699
- readonly USER_MANAGED: "user-managed";
700
- };
701
- /**
702
- * @public
703
- */
704
- export type PolicySourceType = (typeof PolicySourceType)[keyof typeof PolicySourceType];
705
- /**
706
- * <p>Contains a reference to a <code>Statement</code> element in a policy document that
707
- * determines the result of the simulation.</p>
708
- * <p>This data type is used by the <code>MatchedStatements</code> member of the <code>
709
- * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_EvaluationResult.html">EvaluationResult</a>
710
- * </code> type.</p>
711
- * @public
712
- */
713
- export interface Statement {
714
- /**
715
- * <p>The identifier of the policy that was provided as an input.</p>
716
- * @public
717
- */
718
- SourcePolicyId?: string | undefined;
719
- /**
720
- * <p>The type of the policy.</p>
721
- * @public
722
- */
723
- SourcePolicyType?: PolicySourceType | undefined;
724
- /**
725
- * <p>The row and column of the beginning of the <code>Statement</code> in an IAM
726
- * policy.</p>
727
- * @public
728
- */
729
- StartPosition?: Position | undefined;
730
- /**
731
- * <p>The row and column of the end of a <code>Statement</code> in an IAM policy.</p>
732
- * @public
733
- */
734
- EndPosition?: Position | undefined;
735
- }
736
- /**
737
- * <p>Contains information about the effect that Organizations has on a policy simulation.</p>
738
- * @public
739
- */
740
- export interface OrganizationsDecisionDetail {
741
- /**
742
- * <p>Specifies whether the simulated operation is allowed by the Organizations service control
743
- * policies that impact the simulated user's account.</p>
744
- * @public
745
- */
746
- AllowedByOrganizations?: boolean | undefined;
747
- }
748
- /**
749
- * <p>Contains information about the effect that a permissions boundary has on a policy
750
- * simulation when the boundary is applied to an IAM entity.</p>
751
- * @public
752
- */
753
- export interface PermissionsBoundaryDecisionDetail {
754
- /**
755
- * <p>Specifies whether an action is allowed by a permissions boundary that is applied to an
756
- * IAM entity (user or role). A value of <code>true</code> means that the permissions
757
- * boundary does not deny the action. This means that the policy includes an
758
- * <code>Allow</code> statement that matches the request. In this case, if an
759
- * identity-based policy also allows the action, the request is allowed. A value of
760
- * <code>false</code> means that either the requested action is not allowed (implicitly
761
- * denied) or that the action is explicitly denied by the permissions boundary. In both of
762
- * these cases, the action is not allowed, regardless of the identity-based policy.</p>
763
- * @public
764
- */
765
- AllowedByPermissionsBoundary?: boolean | undefined;
766
- }
767
- /**
768
- * <p>Contains the result of the simulation of a single API operation call on a single
769
- * resource.</p>
770
- * <p>This data type is used by a member of the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_EvaluationResult.html">EvaluationResult</a> data
771
- * type.</p>
772
- * @public
773
- */
774
- export interface ResourceSpecificResult {
775
- /**
776
- * <p>The name of the simulated resource, in Amazon Resource Name (ARN) format.</p>
777
- * @public
778
- */
779
- EvalResourceName: string | undefined;
780
- /**
781
- * <p>The result of the simulation of the simulated API operation on the resource specified in
782
- * <code>EvalResourceName</code>.</p>
783
- * @public
784
- */
785
- EvalResourceDecision: PolicyEvaluationDecisionType | undefined;
786
- /**
787
- * <p>A list of the statements in the input policies that determine the result for this part
788
- * of the simulation. Remember that even if multiple statements allow the operation on the
789
- * resource, if <i>any</i> statement denies that operation, then the explicit
790
- * deny overrides any allow. In addition, the deny statement is the only entry included in the
791
- * result.</p>
792
- * @public
793
- */
794
- MatchedStatements?: Statement[] | undefined;
795
- /**
796
- * <p>A list of context keys that are required by the included input policies but that were
797
- * not provided by one of the input parameters. This list is used when a list of ARNs is
798
- * included in the <code>ResourceArns</code> parameter instead of "*". If you do not specify
799
- * individual resources, by setting <code>ResourceArns</code> to "*" or by not including the
800
- * <code>ResourceArns</code> parameter, then any missing context values are instead
801
- * included under the <code>EvaluationResults</code> section. To discover the context keys
802
- * used by a set of policies, you can call <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html">GetContextKeysForCustomPolicy</a> or <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html">GetContextKeysForPrincipalPolicy</a>.</p>
803
- * @public
804
- */
805
- MissingContextValues?: string[] | undefined;
806
- /**
807
- * <p>Additional details about the results of the evaluation decision on a single resource.
808
- * This parameter is returned only for cross-account simulations. This parameter explains how
809
- * each policy type contributes to the resource-specific evaluation decision.</p>
810
- * @public
811
- */
812
- EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType> | undefined;
813
- /**
814
- * <p>Contains information about the effect that a permissions boundary has on a policy
815
- * simulation when that boundary is applied to an IAM entity.</p>
816
- * @public
817
- */
818
- PermissionsBoundaryDecisionDetail?: PermissionsBoundaryDecisionDetail | undefined;
819
- }
820
- /**
821
- * <p>Contains the results of a simulation.</p>
822
- * <p>This data type is used by the return parameter of <code>
823
- * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html">SimulateCustomPolicy</a>
824
- * </code> and <code>
825
- * <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html">SimulatePrincipalPolicy</a>
826
- * </code>.</p>
827
- * @public
828
- */
829
- export interface EvaluationResult {
830
- /**
831
- * <p>The name of the API operation tested on the indicated resource.</p>
832
- * @public
833
- */
834
- EvalActionName: string | undefined;
835
- /**
836
- * <p>The ARN of the resource that the indicated API operation was tested on.</p>
837
- * @public
838
- */
839
- EvalResourceName?: string | undefined;
840
- /**
841
- * <p>The result of the simulation.</p>
842
- * @public
843
- */
844
- EvalDecision: PolicyEvaluationDecisionType | undefined;
845
- /**
846
- * <p>A list of the statements in the input policies that determine the result for this
847
- * scenario. Remember that even if multiple statements allow the operation on the resource, if
848
- * only one statement denies that operation, then the explicit deny overrides any allow. In
849
- * addition, the deny statement is the only entry included in the result.</p>
850
- * @public
851
- */
852
- MatchedStatements?: Statement[] | undefined;
853
- /**
854
- * <p>A list of context keys that are required by the included input policies but that were
855
- * not provided by one of the input parameters. This list is used when the resource in a
856
- * simulation is "*", either explicitly, or when the <code>ResourceArns</code> parameter
857
- * blank. If you include a list of resources, then any missing context values are instead
858
- * included under the <code>ResourceSpecificResults</code> section. To discover the context
859
- * keys used by a set of policies, you can call <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html">GetContextKeysForCustomPolicy</a> or <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html">GetContextKeysForPrincipalPolicy</a>.</p>
860
- * @public
861
- */
862
- MissingContextValues?: string[] | undefined;
863
- /**
864
- * <p>A structure that details how Organizations and its service control policies affect the results of
865
- * the simulation. Only applies if the simulated user's account is part of an
866
- * organization.</p>
867
- * @public
868
- */
869
- OrganizationsDecisionDetail?: OrganizationsDecisionDetail | undefined;
870
- /**
871
- * <p>Contains information about the effect that a permissions boundary has on a policy
872
- * simulation when the boundary is applied to an IAM entity.</p>
873
- * @public
874
- */
875
- PermissionsBoundaryDecisionDetail?: PermissionsBoundaryDecisionDetail | undefined;
876
- /**
877
- * <p>Additional details about the results of the cross-account evaluation decision. This
878
- * parameter is populated for only cross-account simulations. It contains a brief summary of
879
- * how each policy type contributes to the final evaluation decision.</p>
880
- * <p>If the simulation evaluates policies within the same account and includes a resource
881
- * ARN, then the parameter is present but the response is empty. If the simulation evaluates
882
- * policies within the same account and specifies all resources (<code>*</code>), then the
883
- * parameter is not returned.</p>
884
- * <p>When you make a cross-account request, Amazon Web Services evaluates the request in the trusting
885
- * account and the trusted account. The request is allowed only if both evaluations return
886
- * <code>true</code>. For more information about how policies are evaluated, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies within a single account</a>.</p>
887
- * <p>If an Organizations SCP included in the evaluation denies access, the simulation ends. In
888
- * this case, policy evaluation does not proceed any further and this parameter is not
889
- * returned.</p>
890
- * @public
891
- */
892
- EvalDecisionDetails?: Record<string, PolicyEvaluationDecisionType> | undefined;
893
- /**
894
- * <p>The individual results of the simulation of the API operation specified in
895
- * EvalActionName on each resource.</p>
896
- * @public
897
- */
898
- ResourceSpecificResults?: ResourceSpecificResult[] | undefined;
899
- }
900
- /**
901
- * <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html">SimulatePrincipalPolicy</a> or <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulateCustomPolicy.html">SimulateCustomPolicy</a>
902
- * request.</p>
903
- * @public
904
- */
905
- export interface SimulatePolicyResponse {
906
- /**
907
- * <p>The results of the simulation.</p>
908
- * @public
909
- */
910
- EvaluationResults?: EvaluationResult[] | undefined;
911
- /**
912
- * <p>A flag that indicates whether there are more items to return. If your
913
- * results were truncated, you can make a subsequent pagination request using the <code>Marker</code>
914
- * request parameter to retrieve more items. Note that IAM might return fewer than the
915
- * <code>MaxItems</code> number of results even when there are more results available. We recommend
916
- * that you check <code>IsTruncated</code> after every call to ensure that you receive all your
917
- * results.</p>
918
- * @public
919
- */
920
- IsTruncated?: boolean | undefined;
921
- /**
922
- * <p>When <code>IsTruncated</code> is <code>true</code>, this element
923
- * is present and contains the value to use for the <code>Marker</code> parameter in a subsequent
924
- * pagination request.</p>
925
- * @public
926
- */
927
- Marker?: string | undefined;
928
- }
929
- /**
930
- * @public
931
- */
932
- export interface SimulatePrincipalPolicyRequest {
933
- /**
934
- * <p>The Amazon Resource Name (ARN) of a user, group, or role whose policies you want to
935
- * include in the simulation. If you specify a user, group, or role, the simulation
936
- * includes all policies that are associated with that entity. If you specify a user, the
937
- * simulation also includes all policies that are attached to any groups the user belongs
938
- * to.</p>
939
- * <p>The maximum length of the policy document that you can pass in this operation,
940
- * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
941
- * <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
942
- * @public
943
- */
944
- PolicySourceArn: string | undefined;
945
- /**
946
- * <p>An optional list of additional policy documents to include in the simulation. Each
947
- * document is specified as a string containing the complete, valid JSON text of an IAM
948
- * policy.</p>
949
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
950
- * used to validate this parameter is a string of characters consisting of the following:</p>
951
- * <ul>
952
- * <li>
953
- * <p>Any printable ASCII
954
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
955
- * </li>
956
- * <li>
957
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
958
- * (through <code>\u00FF</code>)</p>
959
- * </li>
960
- * <li>
961
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
962
- * carriage return (<code>\u000D</code>)</p>
963
- * </li>
964
- * </ul>
965
- * @public
966
- */
967
- PolicyInputList?: string[] | undefined;
968
- /**
969
- * <p>The IAM permissions boundary policy to simulate. The permissions boundary sets the
970
- * maximum permissions that the entity can have. You can input only one permissions
971
- * boundary when you pass a policy to this operation. An IAM entity can only have one
972
- * permissions boundary in effect at a time. For example, if a permissions boundary is
973
- * attached to an entity and you pass in a different permissions boundary policy using this
974
- * parameter, then the new permissions boundary policy is used for the simulation. For more
975
- * information about permissions boundaries, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries for IAM
976
- * entities</a> in the <i>IAM User Guide</i>. The policy input is
977
- * specified as a string containing the complete, valid JSON text of a permissions boundary
978
- * policy.</p>
979
- * <p>The maximum length of the policy document that you can pass in this operation,
980
- * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
981
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
982
- * used to validate this parameter is a string of characters consisting of the following:</p>
983
- * <ul>
984
- * <li>
985
- * <p>Any printable ASCII
986
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
987
- * </li>
988
- * <li>
989
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
990
- * (through <code>\u00FF</code>)</p>
991
- * </li>
992
- * <li>
993
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
994
- * carriage return (<code>\u000D</code>)</p>
995
- * </li>
996
- * </ul>
997
- * @public
998
- */
999
- PermissionsBoundaryPolicyInputList?: string[] | undefined;
1000
- /**
1001
- * <p>A list of names of API operations to evaluate in the simulation. Each operation is
1002
- * evaluated for each resource. Each operation must include the service identifier, such as
1003
- * <code>iam:CreateUser</code>.</p>
1004
- * @public
1005
- */
1006
- ActionNames: string[] | undefined;
1007
- /**
1008
- * <p>A list of ARNs of Amazon Web Services resources to include in the simulation. If this parameter is
1009
- * not provided, then the value defaults to <code>*</code> (all resources). Each API in the
1010
- * <code>ActionNames</code> parameter is evaluated for each resource in this list. The
1011
- * simulation determines the access result (allowed or denied) of each combination and
1012
- * reports it in the response. You can simulate resources that don't exist in your
1013
- * account.</p>
1014
- * <p>The simulation does not automatically retrieve policies for the specified resources.
1015
- * If you want to include a resource policy in the simulation, then you must include the
1016
- * policy as a string in the <code>ResourcePolicy</code> parameter.</p>
1017
- * <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
1018
- * <note>
1019
- * <p>Simulation of resource-based policies isn't supported for IAM roles.</p>
1020
- * </note>
1021
- * @public
1022
- */
1023
- ResourceArns?: string[] | undefined;
1024
- /**
1025
- * <p>A resource-based policy to include in the simulation provided as a string. Each
1026
- * resource in the simulation is treated as if it had this policy attached. You can include
1027
- * only one resource-based policy in a simulation.</p>
1028
- * <p>The maximum length of the policy document that you can pass in this operation,
1029
- * including whitespace, is listed below. To view the maximum character counts of a managed policy with no whitespaces, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length">IAM and STS character quotas</a>.</p>
1030
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
1031
- * used to validate this parameter is a string of characters consisting of the following:</p>
1032
- * <ul>
1033
- * <li>
1034
- * <p>Any printable ASCII
1035
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
1036
- * </li>
1037
- * <li>
1038
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
1039
- * (through <code>\u00FF</code>)</p>
1040
- * </li>
1041
- * <li>
1042
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
1043
- * carriage return (<code>\u000D</code>)</p>
1044
- * </li>
1045
- * </ul>
1046
- * <note>
1047
- * <p>Simulation of resource-based policies isn't supported for IAM roles.</p>
1048
- * </note>
1049
- * @public
1050
- */
1051
- ResourcePolicy?: string | undefined;
1052
- /**
1053
- * <p>An Amazon Web Services account ID that specifies the owner of any simulated resource that does not
1054
- * identify its owner in the resource ARN. Examples of resource ARNs include an S3 bucket
1055
- * or object. If <code>ResourceOwner</code> is specified, it is also used as the account
1056
- * owner of any <code>ResourcePolicy</code> included in the simulation. If the
1057
- * <code>ResourceOwner</code> parameter is not specified, then the owner of the
1058
- * resources and the resource policy defaults to the account of the identity provided in
1059
- * <code>CallerArn</code>. This parameter is required only if you specify a
1060
- * resource-based policy and account that owns the resource is different from the account
1061
- * that owns the simulated calling user <code>CallerArn</code>.</p>
1062
- * @public
1063
- */
1064
- ResourceOwner?: string | undefined;
1065
- /**
1066
- * <p>The ARN of the IAM user that you want to specify as the simulated caller of the API
1067
- * operations. If you do not specify a <code>CallerArn</code>, it defaults to the ARN of
1068
- * the user that you specify in <code>PolicySourceArn</code>, if you specified a user. If
1069
- * you include both a <code>PolicySourceArn</code> (for example,
1070
- * <code>arn:aws:iam::123456789012:user/David</code>) and a <code>CallerArn</code> (for
1071
- * example, <code>arn:aws:iam::123456789012:user/Bob</code>), the result is that you
1072
- * simulate calling the API operations as Bob, as if Bob had David's policies.</p>
1073
- * <p>You can specify only the ARN of an IAM user. You cannot specify the ARN of an
1074
- * assumed role, federated user, or a service principal.</p>
1075
- * <p>
1076
- * <code>CallerArn</code> is required if you include a <code>ResourcePolicy</code> and
1077
- * the <code>PolicySourceArn</code> is not the ARN for an IAM user. This is required so
1078
- * that the resource-based policy's <code>Principal</code> element has a value to use in
1079
- * evaluating the policy.</p>
1080
- * <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
1081
- * @public
1082
- */
1083
- CallerArn?: string | undefined;
1084
- /**
1085
- * <p>A list of context keys and corresponding values for the simulation to use. Whenever a
1086
- * context key is evaluated in one of the simulated IAM permissions policies, the
1087
- * corresponding value is supplied.</p>
1088
- * @public
1089
- */
1090
- ContextEntries?: ContextEntry[] | undefined;
1091
- /**
1092
- * <p>Specifies the type of simulation to run. Different API operations that support
1093
- * resource-based policies require different combinations of resources. By specifying the
1094
- * type of simulation to run, you enable the policy simulator to enforce the presence of
1095
- * the required resources to ensure reliable simulation results. If your simulation does
1096
- * not match one of the following scenarios, then you can omit this parameter. The
1097
- * following list shows each of the supported scenario values and the resources that you
1098
- * must define to run the simulation.</p>
1099
- * <p>Each of the Amazon EC2 scenarios requires that you specify instance, image, and security
1100
- * group resources. If your scenario includes an EBS volume, then you must specify that
1101
- * volume as a resource. If the Amazon EC2 scenario includes VPC, then you must supply the
1102
- * network interface resource. If it includes an IP subnet, then you must specify the
1103
- * subnet resource. For more information on the Amazon EC2 scenario options, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html">Supported platforms</a> in the <i>Amazon EC2 User Guide</i>.</p>
1104
- * <ul>
1105
- * <li>
1106
- * <p>
1107
- * <b>EC2-VPC-InstanceStore</b>
1108
- * </p>
1109
- * <p>instance, image, security group, network interface</p>
1110
- * </li>
1111
- * <li>
1112
- * <p>
1113
- * <b>EC2-VPC-InstanceStore-Subnet</b>
1114
- * </p>
1115
- * <p>instance, image, security group, network interface, subnet</p>
1116
- * </li>
1117
- * <li>
1118
- * <p>
1119
- * <b>EC2-VPC-EBS</b>
1120
- * </p>
1121
- * <p>instance, image, security group, network interface, volume</p>
1122
- * </li>
1123
- * <li>
1124
- * <p>
1125
- * <b>EC2-VPC-EBS-Subnet</b>
1126
- * </p>
1127
- * <p>instance, image, security group, network interface, subnet, volume</p>
1128
- * </li>
1129
- * </ul>
1130
- * @public
1131
- */
1132
- ResourceHandlingOption?: string | undefined;
1133
- /**
1134
- * <p>Use this only when paginating results to indicate the
1135
- * maximum number of items you want in the response. If additional items exist beyond the maximum
1136
- * you specify, the <code>IsTruncated</code> response element is <code>true</code>.</p>
1137
- * <p>If you do not include this parameter, the number of items defaults to 100. Note that
1138
- * IAM might return fewer results, even when there are more results available. In that case, the
1139
- * <code>IsTruncated</code> response element returns <code>true</code>, and <code>Marker</code>
1140
- * contains a value to include in the subsequent call that tells the service where to continue
1141
- * from.</p>
1142
- * @public
1143
- */
1144
- MaxItems?: number | undefined;
1145
- /**
1146
- * <p>Use this parameter only when paginating results and only after
1147
- * you receive a response indicating that the results are truncated. Set it to the value of the
1148
- * <code>Marker</code> element in the response that you received to indicate where the next call
1149
- * should start.</p>
1150
- * @public
1151
- */
1152
- Marker?: string | undefined;
1153
- }
1154
- /**
1155
- * @public
1156
- */
1157
- export interface TagInstanceProfileRequest {
1158
- /**
1159
- * <p>The name of the IAM instance profile to which you want to add tags.</p>
1160
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1161
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1162
- * @public
1163
- */
1164
- InstanceProfileName: string | undefined;
1165
- /**
1166
- * <p>The list of tags that you want to attach to the IAM instance profile.
1167
- * Each tag consists of a key name and an associated value.</p>
1168
- * @public
1169
- */
1170
- Tags: Tag[] | undefined;
1171
- }
1172
- /**
1173
- * @public
1174
- */
1175
- export interface TagMFADeviceRequest {
1176
- /**
1177
- * <p>The unique identifier for the IAM virtual MFA device to which you want to add tags.
1178
- * For virtual MFA devices, the serial number is the same as the ARN.</p>
1179
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1180
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1181
- * @public
1182
- */
1183
- SerialNumber: string | undefined;
1184
- /**
1185
- * <p>The list of tags that you want to attach to the IAM virtual MFA device.
1186
- * Each tag consists of a key name and an associated value.</p>
1187
- * @public
1188
- */
1189
- Tags: Tag[] | undefined;
1190
- }
1191
- /**
1192
- * @public
1193
- */
1194
- export interface TagOpenIDConnectProviderRequest {
1195
- /**
1196
- * <p>The ARN of the OIDC identity provider in IAM to which you want to add tags.</p>
1197
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1198
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1199
- * @public
1200
- */
1201
- OpenIDConnectProviderArn: string | undefined;
1202
- /**
1203
- * <p>The list of tags that you want to attach to the OIDC identity provider in IAM.
1204
- * Each tag consists of a key name and an associated value.</p>
1205
- * @public
1206
- */
1207
- Tags: Tag[] | undefined;
1208
- }
1209
- /**
1210
- * @public
1211
- */
1212
- export interface TagPolicyRequest {
1213
- /**
1214
- * <p>The ARN of the IAM customer managed policy to which you want to add tags.</p>
1215
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1216
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1217
- * @public
1218
- */
1219
- PolicyArn: string | undefined;
1220
- /**
1221
- * <p>The list of tags that you want to attach to the IAM customer managed policy.
1222
- * Each tag consists of a key name and an associated value.</p>
1223
- * @public
1224
- */
1225
- Tags: Tag[] | undefined;
1226
- }
1227
- /**
1228
- * @public
1229
- */
1230
- export interface TagRoleRequest {
1231
- /**
1232
- * <p>The name of the IAM role to which you want to add tags.</p>
1233
- * <p>This parameter accepts (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that consist of upper and lowercase alphanumeric
1234
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1235
- * @public
1236
- */
1237
- RoleName: string | undefined;
1238
- /**
1239
- * <p>The list of tags that you want to attach to the IAM role. Each tag consists of a key name and an associated value.</p>
1240
- * @public
1241
- */
1242
- Tags: Tag[] | undefined;
1243
- }
1244
- /**
1245
- * @public
1246
- */
1247
- export interface TagSAMLProviderRequest {
1248
- /**
1249
- * <p>The ARN of the SAML identity provider in IAM to which you want to add tags.</p>
1250
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1251
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1252
- * @public
1253
- */
1254
- SAMLProviderArn: string | undefined;
1255
- /**
1256
- * <p>The list of tags that you want to attach to the SAML identity provider in IAM.
1257
- * Each tag consists of a key name and an associated value.</p>
1258
- * @public
1259
- */
1260
- Tags: Tag[] | undefined;
1261
- }
1262
- /**
1263
- * @public
1264
- */
1265
- export interface TagServerCertificateRequest {
1266
- /**
1267
- * <p>The name of the IAM server certificate to which you want to add tags.</p>
1268
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1269
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1270
- * @public
1271
- */
1272
- ServerCertificateName: string | undefined;
1273
- /**
1274
- * <p>The list of tags that you want to attach to the IAM server certificate.
1275
- * Each tag consists of a key name and an associated value.</p>
1276
- * @public
1277
- */
1278
- Tags: Tag[] | undefined;
1279
- }
1280
- /**
1281
- * @public
1282
- */
1283
- export interface TagUserRequest {
1284
- /**
1285
- * <p>The name of the IAM user to which you want to add tags.</p>
1286
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1287
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1288
- * @public
1289
- */
1290
- UserName: string | undefined;
1291
- /**
1292
- * <p>The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an associated value.</p>
1293
- * @public
1294
- */
1295
- Tags: Tag[] | undefined;
1296
- }
1297
- /**
1298
- * @public
1299
- */
1300
- export interface UntagInstanceProfileRequest {
1301
- /**
1302
- * <p>The name of the IAM instance profile from which you want to remove tags.</p>
1303
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1304
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1305
- * @public
1306
- */
1307
- InstanceProfileName: string | undefined;
1308
- /**
1309
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
1310
- * removed from the specified instance profile.</p>
1311
- * @public
1312
- */
1313
- TagKeys: string[] | undefined;
1314
- }
1315
- /**
1316
- * @public
1317
- */
1318
- export interface UntagMFADeviceRequest {
1319
- /**
1320
- * <p>The unique identifier for the IAM virtual MFA device from which you want to remove
1321
- * tags. For virtual MFA devices, the serial number is the same as the ARN.</p>
1322
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1323
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1324
- * @public
1325
- */
1326
- SerialNumber: string | undefined;
1327
- /**
1328
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
1329
- * removed from the specified instance profile.</p>
1330
- * @public
1331
- */
1332
- TagKeys: string[] | undefined;
1333
- }
1334
- /**
1335
- * @public
1336
- */
1337
- export interface UntagOpenIDConnectProviderRequest {
1338
- /**
1339
- * <p>The ARN of the OIDC provider in IAM from which you want to remove tags.</p>
1340
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1341
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1342
- * @public
1343
- */
1344
- OpenIDConnectProviderArn: string | undefined;
1345
- /**
1346
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
1347
- * removed from the specified OIDC provider.</p>
1348
- * @public
1349
- */
1350
- TagKeys: string[] | undefined;
1351
- }
1352
- /**
1353
- * @public
1354
- */
1355
- export interface UntagPolicyRequest {
1356
- /**
1357
- * <p>The ARN of the IAM customer managed policy from which you want to remove
1358
- * tags.</p>
1359
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1360
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1361
- * @public
1362
- */
1363
- PolicyArn: string | undefined;
1364
- /**
1365
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
1366
- * removed from the specified policy.</p>
1367
- * @public
1368
- */
1369
- TagKeys: string[] | undefined;
1370
- }
1371
- /**
1372
- * @public
1373
- */
1374
- export interface UntagRoleRequest {
1375
- /**
1376
- * <p>The name of the IAM role from which you want to remove tags.</p>
1377
- * <p>This parameter accepts (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that consist of upper and lowercase alphanumeric
1378
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1379
- * @public
1380
- */
1381
- RoleName: string | undefined;
1382
- /**
1383
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
1384
- * removed from the specified role.</p>
1385
- * @public
1386
- */
1387
- TagKeys: string[] | undefined;
1388
- }
1389
- /**
1390
- * @public
1391
- */
1392
- export interface UntagSAMLProviderRequest {
1393
- /**
1394
- * <p>The ARN of the SAML identity provider in IAM from which you want to remove
1395
- * tags.</p>
1396
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1397
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1398
- * @public
1399
- */
1400
- SAMLProviderArn: string | undefined;
1401
- /**
1402
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
1403
- * removed from the specified SAML identity provider.</p>
1404
- * @public
1405
- */
1406
- TagKeys: string[] | undefined;
1407
- }
1408
- /**
1409
- * @public
1410
- */
1411
- export interface UntagServerCertificateRequest {
1412
- /**
1413
- * <p>The name of the IAM server certificate from which you want to remove tags.</p>
1414
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1415
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1416
- * @public
1417
- */
1418
- ServerCertificateName: string | undefined;
1419
- /**
1420
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
1421
- * removed from the specified IAM server certificate.</p>
1422
- * @public
1423
- */
1424
- TagKeys: string[] | undefined;
1425
- }
1426
- /**
1427
- * @public
1428
- */
1429
- export interface UntagUserRequest {
1430
- /**
1431
- * <p>The name of the IAM user from which you want to remove tags.</p>
1432
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1433
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1434
- * @public
1435
- */
1436
- UserName: string | undefined;
1437
- /**
1438
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
1439
- * removed from the specified user.</p>
1440
- * @public
1441
- */
1442
- TagKeys: string[] | undefined;
1443
- }
1444
- /**
1445
- * @public
1446
- */
1447
- export interface UpdateAccessKeyRequest {
1448
- /**
1449
- * <p>The name of the user whose key you want to update.</p>
1450
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1451
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1452
- * @public
1453
- */
1454
- UserName?: string | undefined;
1455
- /**
1456
- * <p>The access key ID of the secret access key you want to update.</p>
1457
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that can
1458
- * consist of any upper or lowercased letter or digit.</p>
1459
- * @public
1460
- */
1461
- AccessKeyId: string | undefined;
1462
- /**
1463
- * <p> The status you want to assign to the secret access key. <code>Active</code> means
1464
- * that the key can be used for programmatic calls to Amazon Web Services, while <code>Inactive</code>
1465
- * means that the key cannot be used.</p>
1466
- * @public
1467
- */
1468
- Status: StatusType | undefined;
1469
- }
1470
- /**
1471
- * @public
1472
- */
1473
- export interface UpdateAccountPasswordPolicyRequest {
1474
- /**
1475
- * <p>The minimum number of characters allowed in an IAM user password.</p>
1476
- * <p>If you do not specify a value for this parameter, then the operation uses the default
1477
- * value of <code>6</code>.</p>
1478
- * @public
1479
- */
1480
- MinimumPasswordLength?: number | undefined;
1481
- /**
1482
- * <p>Specifies whether IAM user passwords must contain at least one of the following
1483
- * non-alphanumeric characters:</p>
1484
- * <p>! @ # $ % ^ & * ( ) _ + - = [ ] \{ \} | '</p>
1485
- * <p>If you do not specify a value for this parameter, then the operation uses the default
1486
- * value of <code>false</code>. The result is that passwords do not require at least one
1487
- * symbol character.</p>
1488
- * @public
1489
- */
1490
- RequireSymbols?: boolean | undefined;
1491
- /**
1492
- * <p>Specifies whether IAM user passwords must contain at least one numeric character (0
1493
- * to 9).</p>
1494
- * <p>If you do not specify a value for this parameter, then the operation uses the default
1495
- * value of <code>false</code>. The result is that passwords do not require at least one
1496
- * numeric character.</p>
1497
- * @public
1498
- */
1499
- RequireNumbers?: boolean | undefined;
1500
- /**
1501
- * <p>Specifies whether IAM user passwords must contain at least one uppercase character
1502
- * from the ISO basic Latin alphabet (A to Z).</p>
1503
- * <p>If you do not specify a value for this parameter, then the operation uses the default
1504
- * value of <code>false</code>. The result is that passwords do not require at least one
1505
- * uppercase character.</p>
1506
- * @public
1507
- */
1508
- RequireUppercaseCharacters?: boolean | undefined;
1509
- /**
1510
- * <p>Specifies whether IAM user passwords must contain at least one lowercase character
1511
- * from the ISO basic Latin alphabet (a to z).</p>
1512
- * <p>If you do not specify a value for this parameter, then the operation uses the default
1513
- * value of <code>false</code>. The result is that passwords do not require at least one
1514
- * lowercase character.</p>
1515
- * @public
1516
- */
1517
- RequireLowercaseCharacters?: boolean | undefined;
1518
- /**
1519
- * <p> Allows all IAM users in your account to use the Amazon Web Services Management Console to change their own
1520
- * passwords. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_enable-user-change.html">Permitting
1521
- * IAM users to change their own passwords</a> in the
1522
- * <i>IAM User Guide</i>.</p>
1523
- * <p>If you do not specify a value for this parameter, then the operation uses the default
1524
- * value of <code>false</code>. The result is that IAM users in the account do not
1525
- * automatically have permissions to change their own password.</p>
1526
- * @public
1527
- */
1528
- AllowUsersToChangePassword?: boolean | undefined;
1529
- /**
1530
- * <p>The number of days that an IAM user password is valid.</p>
1531
- * <p>If you do not specify a value for this parameter, then the operation uses the default
1532
- * value of <code>0</code>. The result is that IAM user passwords never expire.</p>
1533
- * @public
1534
- */
1535
- MaxPasswordAge?: number | undefined;
1536
- /**
1537
- * <p>Specifies the number of previous passwords that IAM users are prevented from
1538
- * reusing.</p>
1539
- * <p>If you do not specify a value for this parameter, then the operation uses the default
1540
- * value of <code>0</code>. The result is that IAM users are not prevented from reusing
1541
- * previous passwords.</p>
1542
- * @public
1543
- */
1544
- PasswordReusePrevention?: number | undefined;
1545
- /**
1546
- * <p> Prevents IAM users who are accessing the account via the Amazon Web Services Management Console from setting a
1547
- * new console password after their password has expired. The IAM user cannot access the
1548
- * console until an administrator resets the password.</p>
1549
- * <p>If you do not specify a value for this parameter, then the operation uses the default
1550
- * value of <code>false</code>. The result is that IAM users can change their passwords
1551
- * after they expire and continue to sign in as the user.</p>
1552
- * <note>
1553
- * <p> In the Amazon Web Services Management Console, the custom password policy option <b>Allow
1554
- * users to change their own password</b> gives IAM users permissions to
1555
- * <code>iam:ChangePassword</code> for only their user and to the
1556
- * <code>iam:GetAccountPasswordPolicy</code> action. This option does not attach a
1557
- * permissions policy to each user, rather the permissions are applied at the
1558
- * account-level for all users by IAM. IAM users with
1559
- * <code>iam:ChangePassword</code> permission and active access keys can reset
1560
- * their own expired console password using the CLI or API.</p>
1561
- * </note>
1562
- * @public
1563
- */
1564
- HardExpiry?: boolean | undefined;
1565
- }
1566
- /**
1567
- * @public
1568
- */
1569
- export interface UpdateAssumeRolePolicyRequest {
1570
- /**
1571
- * <p>The name of the role to update with the new policy.</p>
1572
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1573
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1574
- * @public
1575
- */
1576
- RoleName: string | undefined;
1577
- /**
1578
- * <p>The policy that grants an entity permission to assume the role.</p>
1579
- * <p>You must provide policies in JSON format in IAM. However, for CloudFormation
1580
- * templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to
1581
- * IAM.</p>
1582
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
1583
- * used to validate this parameter is a string of characters consisting of the following:</p>
1584
- * <ul>
1585
- * <li>
1586
- * <p>Any printable ASCII
1587
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
1588
- * </li>
1589
- * <li>
1590
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
1591
- * (through <code>\u00FF</code>)</p>
1592
- * </li>
1593
- * <li>
1594
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
1595
- * carriage return (<code>\u000D</code>)</p>
1596
- * </li>
1597
- * </ul>
1598
- * @public
1599
- */
1600
- PolicyDocument: string | undefined;
1601
- }
1602
- /**
1603
- * @public
1604
- */
1605
- export interface UpdateDelegationRequestRequest {
1606
- /**
1607
- * <p>The unique identifier of the delegation request to update.</p>
1608
- * @public
1609
- */
1610
- DelegationRequestId: string | undefined;
1611
- /**
1612
- * <p>Additional notes or comments to add to the delegation request.</p>
1613
- * @public
1614
- */
1615
- Notes?: string | undefined;
1616
- }
1617
- /**
1618
- * @public
1619
- */
1620
- export interface UpdateGroupRequest {
1621
- /**
1622
- * <p>Name of the IAM group to update. If you're changing the name of the group, this is
1623
- * the original name.</p>
1624
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1625
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1626
- * @public
1627
- */
1628
- GroupName: string | undefined;
1629
- /**
1630
- * <p>New path for the IAM group. Only include this if changing the group's path.</p>
1631
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting
1632
- * of either a forward slash (/) by itself or a string that must begin and end with forward slashes.
1633
- * In addition, it can contain any ASCII character from the ! (<code>\u0021</code>) through the DEL character (<code>\u007F</code>), including
1634
- * most punctuation characters, digits, and upper and lowercased letters.</p>
1635
- * @public
1636
- */
1637
- NewPath?: string | undefined;
1638
- /**
1639
- * <p>New name for the IAM group. Only include this if changing the group's name.</p>
1640
- * <p>IAM user, group, role, and policy names must be unique within the account. Names are
1641
- * not distinguished by case. For example, you cannot create resources named both
1642
- * "MyResource" and "myresource".</p>
1643
- * @public
1644
- */
1645
- NewGroupName?: string | undefined;
1646
- }
1647
- /**
1648
- * @public
1649
- */
1650
- export interface UpdateLoginProfileRequest {
1651
- /**
1652
- * <p>The name of the user whose password you want to update.</p>
1653
- * <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
1654
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
1655
- * @public
1656
- */
1657
- UserName: string | undefined;
1658
- /**
1659
- * <p>The new password for the specified IAM user.</p>
1660
- * <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
1661
- * used to validate this parameter is a string of characters consisting of the following:</p>
1662
- * <ul>
1663
- * <li>
1664
- * <p>Any printable ASCII
1665
- * character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
1666
- * </li>
1667
- * <li>
1668
- * <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
1669
- * (through <code>\u00FF</code>)</p>
1670
- * </li>
1671
- * <li>
1672
- * <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
1673
- * carriage return (<code>\u000D</code>)</p>
1674
- * </li>
1675
- * </ul>
1676
- * <p>However, the format can be further restricted by the account administrator by setting
1677
- * a password policy on the Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAccountPasswordPolicy.html">UpdateAccountPasswordPolicy</a>.</p>
1678
- * @public
1679
- */
1680
- Password?: string | undefined;
1681
- /**
1682
- * <p>Allows this new password to be used only once by requiring the specified IAM user to
1683
- * set a new password on next sign-in.</p>
1684
- * @public
1685
- */
1686
- PasswordResetRequired?: boolean | undefined;
1687
- }
1
+ import { AssertionEncryptionModeType, StatusType } from "./enums";
2
+ import { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, Tag } from "./models_0";
1688
3
  /**
1689
4
  * @public
1690
5
  */
@@ -1959,32 +274,6 @@ export interface UpdateUserRequest {
1959
274
  */
1960
275
  NewUserName?: string | undefined;
1961
276
  }
1962
- /**
1963
- * <p>The request was rejected because the public key certificate and the private key do not
1964
- * match.</p>
1965
- * @public
1966
- */
1967
- export declare class KeyPairMismatchException extends __BaseException {
1968
- readonly name: "KeyPairMismatchException";
1969
- readonly $fault: "client";
1970
- /**
1971
- * @internal
1972
- */
1973
- constructor(opts: __ExceptionOptionType<KeyPairMismatchException, __BaseException>);
1974
- }
1975
- /**
1976
- * <p>The request was rejected because the certificate was malformed or expired. The error
1977
- * message describes the specific error.</p>
1978
- * @public
1979
- */
1980
- export declare class MalformedCertificateException extends __BaseException {
1981
- readonly name: "MalformedCertificateException";
1982
- readonly $fault: "client";
1983
- /**
1984
- * @internal
1985
- */
1986
- constructor(opts: __ExceptionOptionType<MalformedCertificateException, __BaseException>);
1987
- }
1988
277
  /**
1989
278
  * @public
1990
279
  */
@@ -2109,31 +398,6 @@ export interface UploadServerCertificateResponse {
2109
398
  */
2110
399
  Tags?: Tag[] | undefined;
2111
400
  }
2112
- /**
2113
- * <p>The request was rejected because the same certificate is associated with an IAM user in
2114
- * the account.</p>
2115
- * @public
2116
- */
2117
- export declare class DuplicateCertificateException extends __BaseException {
2118
- readonly name: "DuplicateCertificateException";
2119
- readonly $fault: "client";
2120
- /**
2121
- * @internal
2122
- */
2123
- constructor(opts: __ExceptionOptionType<DuplicateCertificateException, __BaseException>);
2124
- }
2125
- /**
2126
- * <p>The request was rejected because the certificate is invalid.</p>
2127
- * @public
2128
- */
2129
- export declare class InvalidCertificateException extends __BaseException {
2130
- readonly name: "InvalidCertificateException";
2131
- readonly $fault: "client";
2132
- /**
2133
- * @internal
2134
- */
2135
- constructor(opts: __ExceptionOptionType<InvalidCertificateException, __BaseException>);
2136
- }
2137
401
  /**
2138
402
  * @public
2139
403
  */
@@ -2178,31 +442,6 @@ export interface UploadSigningCertificateResponse {
2178
442
  */
2179
443
  Certificate: SigningCertificate | undefined;
2180
444
  }
2181
- /**
2182
- * <p>The request was rejected because the SSH public key is already associated with the
2183
- * specified IAM user.</p>
2184
- * @public
2185
- */
2186
- export declare class DuplicateSSHPublicKeyException extends __BaseException {
2187
- readonly name: "DuplicateSSHPublicKeyException";
2188
- readonly $fault: "client";
2189
- /**
2190
- * @internal
2191
- */
2192
- constructor(opts: __ExceptionOptionType<DuplicateSSHPublicKeyException, __BaseException>);
2193
- }
2194
- /**
2195
- * <p>The request was rejected because the public key is malformed or otherwise invalid.</p>
2196
- * @public
2197
- */
2198
- export declare class InvalidPublicKeyException extends __BaseException {
2199
- readonly name: "InvalidPublicKeyException";
2200
- readonly $fault: "client";
2201
- /**
2202
- * @internal
2203
- */
2204
- constructor(opts: __ExceptionOptionType<InvalidPublicKeyException, __BaseException>);
2205
- }
2206
445
  /**
2207
446
  * @public
2208
447
  */