@aws-sdk/client-iam 3.774.0 → 3.777.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/index.js +17 -18
  4. package/dist-es/IAMClient.js +2 -1
  5. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  6. package/dist-es/endpoint/EndpointParameters.js +2 -3
  7. package/dist-es/endpoint/ruleset.js +3 -3
  8. package/dist-es/runtimeExtensions.js +2 -14
  9. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +8 -5
  10. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +8 -5
  11. package/dist-types/commands/AddUserToGroupCommand.d.ts +8 -5
  12. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +8 -5
  13. package/dist-types/commands/AttachRolePolicyCommand.d.ts +8 -5
  14. package/dist-types/commands/AttachUserPolicyCommand.d.ts +8 -5
  15. package/dist-types/commands/ChangePasswordCommand.d.ts +8 -5
  16. package/dist-types/commands/CreateAccessKeyCommand.d.ts +10 -10
  17. package/dist-types/commands/CreateAccountAliasCommand.d.ts +7 -4
  18. package/dist-types/commands/CreateGroupCommand.d.ts +10 -10
  19. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +11 -11
  20. package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -10
  21. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +7 -7
  22. package/dist-types/commands/CreatePolicyCommand.d.ts +1 -0
  23. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -0
  24. package/dist-types/commands/CreateRoleCommand.d.ts +13 -13
  25. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +1 -0
  26. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
  27. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -0
  28. package/dist-types/commands/CreateUserCommand.d.ts +10 -10
  29. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +1 -0
  30. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +8 -5
  32. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +7 -4
  33. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +7 -4
  34. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
  35. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +8 -5
  36. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +7 -4
  37. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +7 -4
  38. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -0
  39. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -0
  40. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -0
  41. package/dist-types/commands/DeleteRoleCommand.d.ts +7 -4
  42. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -0
  43. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +8 -5
  44. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +1 -0
  45. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -0
  46. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +1 -0
  47. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -0
  48. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -0
  49. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +8 -5
  50. package/dist-types/commands/DeleteUserCommand.d.ts +7 -4
  51. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -0
  52. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +8 -5
  53. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +7 -4
  54. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -0
  55. package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -0
  56. package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -0
  57. package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  58. package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +6 -6
  59. package/dist-types/commands/EnableMFADeviceCommand.d.ts +1 -0
  60. package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
  61. package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +6 -6
  62. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
  63. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -5
  64. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +5 -5
  65. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +1 -0
  66. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
  67. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +15 -15
  68. package/dist-types/commands/GetAccountSummaryCommand.d.ts +31 -31
  69. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -0
  70. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +1 -0
  71. package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
  72. package/dist-types/commands/GetGroupCommand.d.ts +1 -0
  73. package/dist-types/commands/GetGroupPolicyCommand.d.ts +1 -0
  74. package/dist-types/commands/GetInstanceProfileCommand.d.ts +17 -17
  75. package/dist-types/commands/GetLoginProfileCommand.d.ts +7 -7
  76. package/dist-types/commands/GetMFADeviceCommand.d.ts +1 -0
  77. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +1 -0
  78. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -26
  79. package/dist-types/commands/GetPolicyCommand.d.ts +1 -0
  80. package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -0
  81. package/dist-types/commands/GetRoleCommand.d.ts +15 -15
  82. package/dist-types/commands/GetRolePolicyCommand.d.ts +1 -0
  83. package/dist-types/commands/GetSAMLProviderCommand.d.ts +1 -0
  84. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -0
  85. package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -0
  86. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +17 -17
  87. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +23 -23
  88. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -0
  89. package/dist-types/commands/GetUserCommand.d.ts +10 -10
  90. package/dist-types/commands/GetUserPolicyCommand.d.ts +1 -0
  91. package/dist-types/commands/ListAccessKeysCommand.d.ts +13 -13
  92. package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -5
  93. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -0
  94. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +1 -0
  95. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +1 -0
  96. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +1 -0
  97. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -5
  98. package/dist-types/commands/ListGroupsCommand.d.ts +20 -20
  99. package/dist-types/commands/ListGroupsForUserCommand.d.ts +15 -15
  100. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +1 -0
  101. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
  102. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
  103. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +1 -0
  104. package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -0
  105. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -0
  106. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
  107. package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +6 -6
  108. package/dist-types/commands/ListPoliciesCommand.d.ts +1 -0
  109. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -21
  110. package/dist-types/commands/ListPolicyTagsCommand.d.ts +1 -0
  111. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -0
  112. package/dist-types/commands/ListRolePoliciesCommand.d.ts +1 -0
  113. package/dist-types/commands/ListRoleTagsCommand.d.ts +10 -10
  114. package/dist-types/commands/ListRolesCommand.d.ts +1 -0
  115. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +1 -0
  116. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
  117. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -0
  118. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +1 -0
  119. package/dist-types/commands/ListServerCertificatesCommand.d.ts +1 -0
  120. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +1 -0
  121. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +10 -10
  122. package/dist-types/commands/ListUserPoliciesCommand.d.ts +1 -0
  123. package/dist-types/commands/ListUserTagsCommand.d.ts +10 -10
  124. package/dist-types/commands/ListUsersCommand.d.ts +17 -17
  125. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +7 -7
  126. package/dist-types/commands/PutGroupPolicyCommand.d.ts +9 -6
  127. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -0
  128. package/dist-types/commands/PutRolePolicyCommand.d.ts +9 -6
  129. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -0
  130. package/dist-types/commands/PutUserPolicyCommand.d.ts +9 -6
  131. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -0
  132. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +8 -5
  133. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +8 -5
  134. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -0
  135. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -0
  136. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -0
  137. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +7 -4
  138. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -0
  139. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -0
  140. package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -0
  141. package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -0
  142. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -0
  143. package/dist-types/commands/TagPolicyCommand.d.ts +1 -0
  144. package/dist-types/commands/TagRoleCommand.d.ts +12 -9
  145. package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -0
  146. package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -0
  147. package/dist-types/commands/TagUserCommand.d.ts +12 -9
  148. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -0
  149. package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -0
  150. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -0
  151. package/dist-types/commands/UntagPolicyCommand.d.ts +1 -0
  152. package/dist-types/commands/UntagRoleCommand.d.ts +8 -5
  153. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -0
  154. package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -0
  155. package/dist-types/commands/UntagUserCommand.d.ts +8 -5
  156. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +9 -6
  157. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +8 -5
  158. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +8 -5
  159. package/dist-types/commands/UpdateGroupCommand.d.ts +8 -5
  160. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -5
  161. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +1 -0
  162. package/dist-types/commands/UpdateRoleCommand.d.ts +1 -0
  163. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
  164. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +1 -0
  165. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -0
  166. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +1 -0
  167. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -0
  168. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +9 -6
  169. package/dist-types/commands/UpdateUserCommand.d.ts +8 -5
  170. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -0
  171. package/dist-types/commands/UploadServerCertificateCommand.d.ts +14 -14
  172. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +11 -11
  173. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  174. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
  175. package/package.json +34 -34
@@ -3,10 +3,10 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
6
  useDualstackEndpoint?: boolean | Provider<boolean>;
8
7
  useFipsEndpoint?: boolean | Provider<boolean>;
9
8
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
9
+ region?: string | Provider<string>;
10
10
  }
11
11
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
12
  defaultSigningName: string;
@@ -33,8 +33,8 @@ export declare const commonParams: {
33
33
  };
34
34
  };
35
35
  export interface EndpointParameters extends __EndpointParameters {
36
- Region?: string;
37
36
  UseDualStack?: boolean;
38
37
  UseFIPS?: boolean;
39
38
  Endpoint?: string;
39
+ Region?: string;
40
40
  }
@@ -5,7 +5,6 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
- region?: string | Provider<string>;
9
8
  useDualstackEndpoint?: boolean | Provider<boolean>;
10
9
  useFipsEndpoint?: boolean | Provider<boolean>;
11
10
  endpoint?:
@@ -15,6 +14,7 @@ export interface ClientInputEndpointParameters {
15
14
  | Provider<Endpoint>
16
15
  | EndpointV2
17
16
  | Provider<EndpointV2>;
17
+ region?: string | Provider<string>;
18
18
  }
19
19
  export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
20
  defaultSigningName: string;
@@ -44,8 +44,8 @@ export declare const commonParams: {
44
44
  };
45
45
  };
46
46
  export interface EndpointParameters extends __EndpointParameters {
47
- Region?: string;
48
47
  UseDualStack?: boolean;
49
48
  UseFIPS?: boolean;
50
49
  Endpoint?: string;
50
+ Region?: string;
51
51
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.774.0",
4
+ "version": "3.777.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iam",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.774.0",
24
- "@aws-sdk/credential-provider-node": "3.774.0",
25
- "@aws-sdk/middleware-host-header": "3.774.0",
26
- "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
- "@aws-sdk/middleware-user-agent": "3.774.0",
29
- "@aws-sdk/region-config-resolver": "3.734.0",
30
- "@aws-sdk/types": "3.734.0",
31
- "@aws-sdk/util-endpoints": "3.743.0",
32
- "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.774.0",
34
- "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.5",
36
- "@smithy/fetch-http-handler": "^5.0.1",
37
- "@smithy/hash-node": "^4.0.1",
38
- "@smithy/invalid-dependency": "^4.0.1",
39
- "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.6",
41
- "@smithy/middleware-retry": "^4.0.7",
42
- "@smithy/middleware-serde": "^4.0.2",
43
- "@smithy/middleware-stack": "^4.0.1",
44
- "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.3",
46
- "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.6",
48
- "@smithy/types": "^4.1.0",
49
- "@smithy/url-parser": "^4.0.1",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.0",
25
+ "@aws-sdk/middleware-host-header": "3.775.0",
26
+ "@aws-sdk/middleware-logger": "3.775.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.775.0",
29
+ "@aws-sdk/region-config-resolver": "3.775.0",
30
+ "@aws-sdk/types": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.775.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.775.0",
34
+ "@smithy/config-resolver": "^4.1.0",
35
+ "@smithy/core": "^3.2.0",
36
+ "@smithy/fetch-http-handler": "^5.0.2",
37
+ "@smithy/hash-node": "^4.0.2",
38
+ "@smithy/invalid-dependency": "^4.0.2",
39
+ "@smithy/middleware-content-length": "^4.0.2",
40
+ "@smithy/middleware-endpoint": "^4.1.0",
41
+ "@smithy/middleware-retry": "^4.1.0",
42
+ "@smithy/middleware-serde": "^4.0.3",
43
+ "@smithy/middleware-stack": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.4",
46
+ "@smithy/protocol-http": "^5.1.0",
47
+ "@smithy/smithy-client": "^4.2.0",
48
+ "@smithy/types": "^4.2.0",
49
+ "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.7",
54
- "@smithy/util-defaults-mode-node": "^4.0.7",
55
- "@smithy/util-endpoints": "^3.0.1",
56
- "@smithy/util-middleware": "^4.0.1",
57
- "@smithy/util-retry": "^4.0.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
54
+ "@smithy/util-defaults-mode-node": "^4.0.8",
55
+ "@smithy/util-endpoints": "^3.0.2",
56
+ "@smithy/util-middleware": "^4.0.2",
57
+ "@smithy/util-retry": "^4.0.2",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
- "@smithy/util-waiter": "^4.0.2",
59
+ "@smithy/util-waiter": "^4.0.3",
60
60
  "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {