@aws-sdk/client-iam 3.1019.0 → 3.1021.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 (52) hide show
  1. package/dist-es/IAM.js +11 -11
  2. package/dist-es/waiters/waitForInstanceProfileExists.js +1 -1
  3. package/dist-es/waiters/waitForPolicyExists.js +1 -1
  4. package/dist-es/waiters/waitForRoleExists.js +1 -1
  5. package/dist-es/waiters/waitForUserExists.js +1 -1
  6. package/dist-types/IAM.d.ts +176 -176
  7. package/dist-types/IAMClient.d.ts +179 -179
  8. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  9. package/dist-types/index.d.ts +1 -1
  10. package/dist-types/models/models_0.d.ts +1 -1
  11. package/dist-types/models/models_1.d.ts +2 -2
  12. package/dist-types/pagination/GetAccountAuthorizationDetailsPaginator.d.ts +1 -1
  13. package/dist-types/pagination/GetGroupPaginator.d.ts +1 -1
  14. package/dist-types/pagination/ListAccessKeysPaginator.d.ts +1 -1
  15. package/dist-types/pagination/ListAccountAliasesPaginator.d.ts +1 -1
  16. package/dist-types/pagination/ListAttachedGroupPoliciesPaginator.d.ts +1 -1
  17. package/dist-types/pagination/ListAttachedRolePoliciesPaginator.d.ts +1 -1
  18. package/dist-types/pagination/ListAttachedUserPoliciesPaginator.d.ts +1 -1
  19. package/dist-types/pagination/ListEntitiesForPolicyPaginator.d.ts +1 -1
  20. package/dist-types/pagination/ListGroupPoliciesPaginator.d.ts +1 -1
  21. package/dist-types/pagination/ListGroupsForUserPaginator.d.ts +1 -1
  22. package/dist-types/pagination/ListGroupsPaginator.d.ts +1 -1
  23. package/dist-types/pagination/ListInstanceProfileTagsPaginator.d.ts +1 -1
  24. package/dist-types/pagination/ListInstanceProfilesForRolePaginator.d.ts +1 -1
  25. package/dist-types/pagination/ListInstanceProfilesPaginator.d.ts +1 -1
  26. package/dist-types/pagination/ListMFADeviceTagsPaginator.d.ts +1 -1
  27. package/dist-types/pagination/ListMFADevicesPaginator.d.ts +1 -1
  28. package/dist-types/pagination/ListOpenIDConnectProviderTagsPaginator.d.ts +1 -1
  29. package/dist-types/pagination/ListPoliciesPaginator.d.ts +1 -1
  30. package/dist-types/pagination/ListPolicyTagsPaginator.d.ts +1 -1
  31. package/dist-types/pagination/ListPolicyVersionsPaginator.d.ts +1 -1
  32. package/dist-types/pagination/ListRolePoliciesPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListRoleTagsPaginator.d.ts +1 -1
  34. package/dist-types/pagination/ListRolesPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListSAMLProviderTagsPaginator.d.ts +1 -1
  36. package/dist-types/pagination/ListSSHPublicKeysPaginator.d.ts +1 -1
  37. package/dist-types/pagination/ListServerCertificateTagsPaginator.d.ts +1 -1
  38. package/dist-types/pagination/ListServerCertificatesPaginator.d.ts +1 -1
  39. package/dist-types/pagination/ListSigningCertificatesPaginator.d.ts +1 -1
  40. package/dist-types/pagination/ListUserPoliciesPaginator.d.ts +1 -1
  41. package/dist-types/pagination/ListUserTagsPaginator.d.ts +1 -1
  42. package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
  43. package/dist-types/pagination/ListVirtualMFADevicesPaginator.d.ts +1 -1
  44. package/dist-types/pagination/SimulateCustomPolicyPaginator.d.ts +1 -1
  45. package/dist-types/pagination/SimulatePrincipalPolicyPaginator.d.ts +1 -1
  46. package/dist-types/ts3.4/IAMClient.d.ts +2 -3
  47. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  48. package/dist-types/waiters/waitForInstanceProfileExists.d.ts +3 -3
  49. package/dist-types/waiters/waitForPolicyExists.d.ts +3 -3
  50. package/dist-types/waiters/waitForRoleExists.d.ts +3 -3
  51. package/dist-types/waiters/waitForUserExists.d.ts +3 -3
  52. package/package.json +16 -16
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListMFADeviceTagsCommandInput, ListMFADeviceTagsCommandOutput } from "../commands/ListMFADeviceTagsCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListMFADevicesCommandInput, ListMFADevicesCommandOutput } from "../commands/ListMFADevicesCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListOpenIDConnectProviderTagsCommandInput, ListOpenIDConnectProviderTagsCommandOutput } from "../commands/ListOpenIDConnectProviderTagsCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListPoliciesCommandInput, ListPoliciesCommandOutput } from "../commands/ListPoliciesCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListPolicyTagsCommandInput, ListPolicyTagsCommandOutput } from "../commands/ListPolicyTagsCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListPolicyVersionsCommandInput, ListPolicyVersionsCommandOutput } from "../commands/ListPolicyVersionsCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListRolePoliciesCommandInput, ListRolePoliciesCommandOutput } from "../commands/ListRolePoliciesCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListRoleTagsCommandInput, ListRoleTagsCommandOutput } from "../commands/ListRoleTagsCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListRolesCommandInput, ListRolesCommandOutput } from "../commands/ListRolesCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListSAMLProviderTagsCommandInput, ListSAMLProviderTagsCommandOutput } from "../commands/ListSAMLProviderTagsCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListSSHPublicKeysCommandInput, ListSSHPublicKeysCommandOutput } from "../commands/ListSSHPublicKeysCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListServerCertificateTagsCommandInput, ListServerCertificateTagsCommandOutput } from "../commands/ListServerCertificateTagsCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListServerCertificatesCommandInput, ListServerCertificatesCommandOutput } from "../commands/ListServerCertificatesCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListSigningCertificatesCommandInput, ListSigningCertificatesCommandOutput } from "../commands/ListSigningCertificatesCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListUserPoliciesCommandInput, ListUserPoliciesCommandOutput } from "../commands/ListUserPoliciesCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListUserTagsCommandInput, ListUserTagsCommandOutput } from "../commands/ListUserTagsCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListUsersCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { ListVirtualMFADevicesCommandInput, ListVirtualMFADevicesCommandOutput } from "../commands/ListVirtualMFADevicesCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { SimulateCustomPolicyCommandInput, SimulateCustomPolicyCommandOutput } from "../commands/SimulateCustomPolicyCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import type { Paginator } from "@smithy/types";
2
2
  import { SimulatePrincipalPolicyCommandInput, SimulatePrincipalPolicyCommandOutput } from "../commands/SimulatePrincipalPolicyCommand";
3
- import { IAMPaginationConfiguration } from "./Interfaces";
3
+ import type { IAMPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -26,6 +26,7 @@ import {
26
26
  Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
+ AwsCredentialIdentityProvider,
29
30
  BodyLengthCalculator as __BodyLengthCalculator,
30
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
32
  ChecksumConstructor as __ChecksumConstructor,
@@ -37,8 +38,6 @@ import {
37
38
  Provider as __Provider,
38
39
  StreamCollector as __StreamCollector,
39
40
  UrlParser as __UrlParser,
40
- AwsCredentialIdentityProvider,
41
- Provider,
42
41
  UserAgent as __UserAgent,
43
42
  } from "@smithy/types";
44
43
  import {
@@ -1128,7 +1127,7 @@ export interface ClientDefaults
1128
1127
  useFipsEndpoint?: boolean | __Provider<boolean>;
1129
1128
  region?: string | __Provider<string>;
1130
1129
  profile?: string;
1131
- defaultUserAgentProvider?: Provider<__UserAgent>;
1130
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
1132
1131
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
1133
1132
  maxAttempts?: number | __Provider<number>;
1134
1133
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { IAMHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetInstanceProfileCommandInput } from "../commands/GetInstanceProfileCommand";
3
- import { IAMClient } from "../IAMClient";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type GetInstanceProfileCommandInput } from "../commands/GetInstanceProfileCommand";
3
+ import type { IAMClient } from "../IAMClient";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilInstanceProfileExists instead. waitForInstanceProfileExists does not throw error in non-success cases.
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetPolicyCommandInput } from "../commands/GetPolicyCommand";
3
- import { IAMClient } from "../IAMClient";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type GetPolicyCommandInput } from "../commands/GetPolicyCommand";
3
+ import type { IAMClient } from "../IAMClient";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilPolicyExists instead. waitForPolicyExists does not throw error in non-success cases.
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetRoleCommandInput } from "../commands/GetRoleCommand";
3
- import { IAMClient } from "../IAMClient";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type GetRoleCommandInput } from "../commands/GetRoleCommand";
3
+ import type { IAMClient } from "../IAMClient";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilRoleExists instead. waitForRoleExists does not throw error in non-success cases.
@@ -1,6 +1,6 @@
1
- import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetUserCommandInput } from "../commands/GetUserCommand";
3
- import { IAMClient } from "../IAMClient";
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
+ import { type GetUserCommandInput } from "../commands/GetUserCommand";
3
+ import type { IAMClient } from "../IAMClient";
4
4
  /**
5
5
  *
6
6
  * @deprecated Use waitUntilUserExists instead. waitForUserExists does not throw error in non-success cases.
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.1019.0",
4
+ "version": "3.1021.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iam",
@@ -27,47 +27,47 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.973.25",
31
- "@aws-sdk/credential-provider-node": "^3.972.27",
30
+ "@aws-sdk/core": "^3.973.26",
31
+ "@aws-sdk/credential-provider-node": "^3.972.29",
32
32
  "@aws-sdk/middleware-host-header": "^3.972.8",
33
33
  "@aws-sdk/middleware-logger": "^3.972.8",
34
34
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
35
- "@aws-sdk/middleware-user-agent": "^3.972.26",
35
+ "@aws-sdk/middleware-user-agent": "^3.972.28",
36
36
  "@aws-sdk/region-config-resolver": "^3.972.10",
37
37
  "@aws-sdk/types": "^3.973.6",
38
38
  "@aws-sdk/util-endpoints": "^3.996.5",
39
39
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
40
- "@aws-sdk/util-user-agent-node": "^3.973.12",
40
+ "@aws-sdk/util-user-agent-node": "^3.973.14",
41
41
  "@smithy/config-resolver": "^4.4.13",
42
- "@smithy/core": "^3.23.12",
42
+ "@smithy/core": "^3.23.13",
43
43
  "@smithy/fetch-http-handler": "^5.3.15",
44
44
  "@smithy/hash-node": "^4.2.12",
45
45
  "@smithy/invalid-dependency": "^4.2.12",
46
46
  "@smithy/middleware-content-length": "^4.2.12",
47
- "@smithy/middleware-endpoint": "^4.4.27",
48
- "@smithy/middleware-retry": "^4.4.44",
49
- "@smithy/middleware-serde": "^4.2.15",
47
+ "@smithy/middleware-endpoint": "^4.4.28",
48
+ "@smithy/middleware-retry": "^4.4.46",
49
+ "@smithy/middleware-serde": "^4.2.16",
50
50
  "@smithy/middleware-stack": "^4.2.12",
51
51
  "@smithy/node-config-provider": "^4.3.12",
52
- "@smithy/node-http-handler": "^4.5.0",
52
+ "@smithy/node-http-handler": "^4.5.1",
53
53
  "@smithy/protocol-http": "^5.3.12",
54
- "@smithy/smithy-client": "^4.12.7",
54
+ "@smithy/smithy-client": "^4.12.8",
55
55
  "@smithy/types": "^4.13.1",
56
56
  "@smithy/url-parser": "^4.2.12",
57
57
  "@smithy/util-base64": "^4.3.2",
58
58
  "@smithy/util-body-length-browser": "^4.2.2",
59
59
  "@smithy/util-body-length-node": "^4.2.3",
60
- "@smithy/util-defaults-mode-browser": "^4.3.43",
61
- "@smithy/util-defaults-mode-node": "^4.2.47",
60
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
61
+ "@smithy/util-defaults-mode-node": "^4.2.48",
62
62
  "@smithy/util-endpoints": "^3.3.3",
63
63
  "@smithy/util-middleware": "^4.2.12",
64
- "@smithy/util-retry": "^4.2.12",
64
+ "@smithy/util-retry": "^4.2.13",
65
65
  "@smithy/util-utf8": "^4.2.2",
66
- "@smithy/util-waiter": "^4.2.13",
66
+ "@smithy/util-waiter": "^4.2.14",
67
67
  "tslib": "^2.6.2"
68
68
  },
69
69
  "devDependencies": {
70
- "@smithy/snapshot-testing": "^2.0.3",
70
+ "@smithy/snapshot-testing": "^2.0.4",
71
71
  "@tsconfig/node20": "20.1.8",
72
72
  "@types/node": "^20.14.8",
73
73
  "concurrently": "7.0.0",