@aws-sdk/client-iam 3.359.0 → 3.360.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 (66) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/IAM.js +2 -0
  3. package/dist-cjs/commands/GetMFADeviceCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/pagination/ListInstanceProfileTagsPaginator.js +29 -0
  6. package/dist-cjs/pagination/ListMFADeviceTagsPaginator.js +29 -0
  7. package/dist-cjs/pagination/ListOpenIDConnectProviderTagsPaginator.js +29 -0
  8. package/dist-cjs/pagination/ListPolicyTagsPaginator.js +29 -0
  9. package/dist-cjs/pagination/ListRoleTagsPaginator.js +29 -0
  10. package/dist-cjs/pagination/ListSAMLProviderTagsPaginator.js +29 -0
  11. package/dist-cjs/pagination/ListServerCertificateTagsPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +7 -0
  13. package/dist-cjs/protocols/Aws_query.js +91 -6
  14. package/dist-es/IAM.js +2 -0
  15. package/dist-es/commands/GetMFADeviceCommand.js +42 -0
  16. package/dist-es/commands/index.js +1 -0
  17. package/dist-es/pagination/ListInstanceProfileTagsPaginator.js +25 -0
  18. package/dist-es/pagination/ListMFADeviceTagsPaginator.js +25 -0
  19. package/dist-es/pagination/ListOpenIDConnectProviderTagsPaginator.js +25 -0
  20. package/dist-es/pagination/ListPolicyTagsPaginator.js +25 -0
  21. package/dist-es/pagination/ListRoleTagsPaginator.js +25 -0
  22. package/dist-es/pagination/ListSAMLProviderTagsPaginator.js +25 -0
  23. package/dist-es/pagination/ListServerCertificateTagsPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +7 -0
  25. package/dist-es/protocols/Aws_query.js +83 -0
  26. package/dist-types/IAM.d.ts +7 -0
  27. package/dist-types/IAMClient.d.ts +3 -2
  28. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +3 -1
  29. package/dist-types/commands/AttachRolePolicyCommand.d.ts +11 -5
  30. package/dist-types/commands/AttachUserPolicyCommand.d.ts +3 -1
  31. package/dist-types/commands/GetMFADeviceCommand.d.ts +87 -0
  32. package/dist-types/commands/PutGroupPolicyCommand.d.ts +6 -2
  33. package/dist-types/commands/PutRolePolicyCommand.d.ts +14 -5
  34. package/dist-types/commands/PutUserPolicyCommand.d.ts +6 -2
  35. package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
  36. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  37. package/dist-types/commands/index.d.ts +1 -0
  38. package/dist-types/models/models_0.d.ts +37 -33
  39. package/dist-types/models/models_1.d.ts +33 -0
  40. package/dist-types/pagination/ListInstanceProfileTagsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/ListMFADeviceTagsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/ListOpenIDConnectProviderTagsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/ListPolicyTagsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/ListRoleTagsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListSAMLProviderTagsPaginator.d.ts +7 -0
  46. package/dist-types/pagination/ListServerCertificateTagsPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +7 -0
  48. package/dist-types/protocols/Aws_query.d.ts +9 -0
  49. package/dist-types/ts3.4/IAM.d.ts +17 -0
  50. package/dist-types/ts3.4/IAMClient.d.ts +6 -0
  51. package/dist-types/ts3.4/commands/GetMFADeviceCommand.d.ts +35 -0
  52. package/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +10 -8
  56. package/dist-types/ts3.4/models/models_1.d.ts +8 -0
  57. package/dist-types/ts3.4/pagination/ListInstanceProfileTagsPaginator.d.ts +11 -0
  58. package/dist-types/ts3.4/pagination/ListMFADeviceTagsPaginator.d.ts +11 -0
  59. package/dist-types/ts3.4/pagination/ListOpenIDConnectProviderTagsPaginator.d.ts +11 -0
  60. package/dist-types/ts3.4/pagination/ListPolicyTagsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListRoleTagsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/ListSAMLProviderTagsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/ListServerCertificateTagsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  65. package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  66. package/package.json +7 -7
@@ -3081,6 +3081,43 @@ export interface GetLoginProfileResponse {
3081
3081
  */
3082
3082
  LoginProfile: LoginProfile | undefined;
3083
3083
  }
3084
+ /**
3085
+ * @public
3086
+ */
3087
+ export interface GetMFADeviceRequest {
3088
+ /**
3089
+ * <p>Serial number that uniquely identifies the MFA device. For this API, we only accept
3090
+ * FIDO security key <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html">ARNs</a>.</p>
3091
+ */
3092
+ SerialNumber: string | undefined;
3093
+ /**
3094
+ * <p>The friendly name identifying the user.</p>
3095
+ */
3096
+ UserName?: string;
3097
+ }
3098
+ /**
3099
+ * @public
3100
+ */
3101
+ export interface GetMFADeviceResponse {
3102
+ /**
3103
+ * <p>The friendly name identifying the user.</p>
3104
+ */
3105
+ UserName?: string;
3106
+ /**
3107
+ * <p>Serial number that uniquely identifies the MFA device. For this API, we only accept
3108
+ * FIDO security key <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html">ARNs</a>.</p>
3109
+ */
3110
+ SerialNumber: string | undefined;
3111
+ /**
3112
+ * <p>The date that a specified user's MFA device was first enabled.</p>
3113
+ */
3114
+ EnableDate?: Date;
3115
+ /**
3116
+ * <p>The certifications of a specified user's MFA device. We currently provide FIPS-140-2, FIPS-140-3, and FIDO certification levels
3117
+ * obtained from <a href="https://fidoalliance.org/metadata/"> FIDO Alliance Metadata Service (MDS)</a>.</p>
3118
+ */
3119
+ Certifications?: Record<string, string>;
3120
+ }
3084
3121
  /**
3085
3122
  * @public
3086
3123
  */
@@ -7405,39 +7442,6 @@ export interface UntagInstanceProfileRequest {
7405
7442
  */
7406
7443
  TagKeys: string[] | undefined;
7407
7444
  }
7408
- /**
7409
- * @public
7410
- */
7411
- export interface UntagMFADeviceRequest {
7412
- /**
7413
- * <p>The unique identifier for the IAM virtual MFA device from which you want to remove
7414
- * tags. For virtual MFA devices, the serial number is the same as the ARN.</p>
7415
- * <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
7416
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
7417
- */
7418
- SerialNumber: string | undefined;
7419
- /**
7420
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
7421
- * removed from the specified instance profile.</p>
7422
- */
7423
- TagKeys: string[] | undefined;
7424
- }
7425
- /**
7426
- * @public
7427
- */
7428
- export interface UntagOpenIDConnectProviderRequest {
7429
- /**
7430
- * <p>The ARN of the OIDC provider in IAM from which you want to remove tags.</p>
7431
- * <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
7432
- * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
7433
- */
7434
- OpenIDConnectProviderArn: string | undefined;
7435
- /**
7436
- * <p>A list of key names as a simple array of strings. The tags with matching keys are
7437
- * removed from the specified OIDC provider.</p>
7438
- */
7439
- TagKeys: string[] | undefined;
7440
- }
7441
7445
  /**
7442
7446
  * @internal
7443
7447
  */
@@ -1,6 +1,39 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
3
  import { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, StatusType, Tag } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface UntagMFADeviceRequest {
8
+ /**
9
+ * <p>The unique identifier for the IAM virtual MFA device from which you want to remove
10
+ * tags. For virtual MFA devices, the serial number is the same as the ARN.</p>
11
+ * <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
12
+ * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
13
+ */
14
+ SerialNumber: string | undefined;
15
+ /**
16
+ * <p>A list of key names as a simple array of strings. The tags with matching keys are
17
+ * removed from the specified instance profile.</p>
18
+ */
19
+ TagKeys: string[] | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface UntagOpenIDConnectProviderRequest {
25
+ /**
26
+ * <p>The ARN of the OIDC provider in IAM from which you want to remove tags.</p>
27
+ * <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
28
+ * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
29
+ */
30
+ OpenIDConnectProviderArn: string | undefined;
31
+ /**
32
+ * <p>A list of key names as a simple array of strings. The tags with matching keys are
33
+ * removed from the specified OIDC provider.</p>
34
+ */
35
+ TagKeys: string[] | undefined;
36
+ }
4
37
  /**
5
38
  * @public
6
39
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListInstanceProfileTagsCommandInput, ListInstanceProfileTagsCommandOutput } from "../commands/ListInstanceProfileTagsCommand";
3
+ import { IAMPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListInstanceProfileTags(config: IAMPaginationConfiguration, input: ListInstanceProfileTagsCommandInput, ...additionalArguments: any): Paginator<ListInstanceProfileTagsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListMFADeviceTagsCommandInput, ListMFADeviceTagsCommandOutput } from "../commands/ListMFADeviceTagsCommand";
3
+ import { IAMPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListMFADeviceTags(config: IAMPaginationConfiguration, input: ListMFADeviceTagsCommandInput, ...additionalArguments: any): Paginator<ListMFADeviceTagsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListOpenIDConnectProviderTagsCommandInput, ListOpenIDConnectProviderTagsCommandOutput } from "../commands/ListOpenIDConnectProviderTagsCommand";
3
+ import { IAMPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListOpenIDConnectProviderTags(config: IAMPaginationConfiguration, input: ListOpenIDConnectProviderTagsCommandInput, ...additionalArguments: any): Paginator<ListOpenIDConnectProviderTagsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListPolicyTagsCommandInput, ListPolicyTagsCommandOutput } from "../commands/ListPolicyTagsCommand";
3
+ import { IAMPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListPolicyTags(config: IAMPaginationConfiguration, input: ListPolicyTagsCommandInput, ...additionalArguments: any): Paginator<ListPolicyTagsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListRoleTagsCommandInput, ListRoleTagsCommandOutput } from "../commands/ListRoleTagsCommand";
3
+ import { IAMPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListRoleTags(config: IAMPaginationConfiguration, input: ListRoleTagsCommandInput, ...additionalArguments: any): Paginator<ListRoleTagsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListSAMLProviderTagsCommandInput, ListSAMLProviderTagsCommandOutput } from "../commands/ListSAMLProviderTagsCommand";
3
+ import { IAMPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListSAMLProviderTags(config: IAMPaginationConfiguration, input: ListSAMLProviderTagsCommandInput, ...additionalArguments: any): Paginator<ListSAMLProviderTagsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListServerCertificateTagsCommandInput, ListServerCertificateTagsCommandOutput } from "../commands/ListServerCertificateTagsCommand";
3
+ import { IAMPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListServerCertificateTags(config: IAMPaginationConfiguration, input: ListServerCertificateTagsCommandInput, ...additionalArguments: any): Paginator<ListServerCertificateTagsCommandOutput>;
@@ -10,14 +10,21 @@ export * from "./ListEntitiesForPolicyPaginator";
10
10
  export * from "./ListGroupPoliciesPaginator";
11
11
  export * from "./ListGroupsForUserPaginator";
12
12
  export * from "./ListGroupsPaginator";
13
+ export * from "./ListInstanceProfileTagsPaginator";
13
14
  export * from "./ListInstanceProfilesForRolePaginator";
14
15
  export * from "./ListInstanceProfilesPaginator";
16
+ export * from "./ListMFADeviceTagsPaginator";
15
17
  export * from "./ListMFADevicesPaginator";
18
+ export * from "./ListOpenIDConnectProviderTagsPaginator";
16
19
  export * from "./ListPoliciesPaginator";
20
+ export * from "./ListPolicyTagsPaginator";
17
21
  export * from "./ListPolicyVersionsPaginator";
18
22
  export * from "./ListRolePoliciesPaginator";
23
+ export * from "./ListRoleTagsPaginator";
19
24
  export * from "./ListRolesPaginator";
25
+ export * from "./ListSAMLProviderTagsPaginator";
20
26
  export * from "./ListSSHPublicKeysPaginator";
27
+ export * from "./ListServerCertificateTagsPaginator";
21
28
  export * from "./ListServerCertificatesPaginator";
22
29
  export * from "./ListSigningCertificatesPaginator";
23
30
  export * from "./ListUserPoliciesPaginator";
@@ -63,6 +63,7 @@ import { GetGroupCommandInput, GetGroupCommandOutput } from "../commands/GetGrou
63
63
  import { GetGroupPolicyCommandInput, GetGroupPolicyCommandOutput } from "../commands/GetGroupPolicyCommand";
64
64
  import { GetInstanceProfileCommandInput, GetInstanceProfileCommandOutput } from "../commands/GetInstanceProfileCommand";
65
65
  import { GetLoginProfileCommandInput, GetLoginProfileCommandOutput } from "../commands/GetLoginProfileCommand";
66
+ import { GetMFADeviceCommandInput, GetMFADeviceCommandOutput } from "../commands/GetMFADeviceCommand";
66
67
  import { GetOpenIDConnectProviderCommandInput, GetOpenIDConnectProviderCommandOutput } from "../commands/GetOpenIDConnectProviderCommand";
67
68
  import { GetOrganizationsAccessReportCommandInput, GetOrganizationsAccessReportCommandOutput } from "../commands/GetOrganizationsAccessReportCommand";
68
69
  import { GetPolicyCommandInput, GetPolicyCommandOutput } from "../commands/GetPolicyCommand";
@@ -410,6 +411,10 @@ export declare const se_GetInstanceProfileCommand: (input: GetInstanceProfileCom
410
411
  * serializeAws_queryGetLoginProfileCommand
411
412
  */
412
413
  export declare const se_GetLoginProfileCommand: (input: GetLoginProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
414
+ /**
415
+ * serializeAws_queryGetMFADeviceCommand
416
+ */
417
+ export declare const se_GetMFADeviceCommand: (input: GetMFADeviceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
413
418
  /**
414
419
  * serializeAws_queryGetOpenIDConnectProviderCommand
415
420
  */
@@ -1042,6 +1047,10 @@ export declare const de_GetInstanceProfileCommand: (output: __HttpResponse, cont
1042
1047
  * deserializeAws_queryGetLoginProfileCommand
1043
1048
  */
1044
1049
  export declare const de_GetLoginProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLoginProfileCommandOutput>;
1050
+ /**
1051
+ * deserializeAws_queryGetMFADeviceCommand
1052
+ */
1053
+ export declare const de_GetMFADeviceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMFADeviceCommandOutput>;
1045
1054
  /**
1046
1055
  * deserializeAws_queryGetOpenIDConnectProviderCommand
1047
1056
  */
@@ -251,6 +251,10 @@ import {
251
251
  GetLoginProfileCommandInput,
252
252
  GetLoginProfileCommandOutput,
253
253
  } from "./commands/GetLoginProfileCommand";
254
+ import {
255
+ GetMFADeviceCommandInput,
256
+ GetMFADeviceCommandOutput,
257
+ } from "./commands/GetMFADeviceCommand";
254
258
  import {
255
259
  GetOpenIDConnectProviderCommandInput,
256
260
  GetOpenIDConnectProviderCommandOutput,
@@ -1470,6 +1474,19 @@ export interface IAM {
1470
1474
  options: __HttpHandlerOptions,
1471
1475
  cb: (err: any, data?: GetLoginProfileCommandOutput) => void
1472
1476
  ): void;
1477
+ getMFADevice(
1478
+ args: GetMFADeviceCommandInput,
1479
+ options?: __HttpHandlerOptions
1480
+ ): Promise<GetMFADeviceCommandOutput>;
1481
+ getMFADevice(
1482
+ args: GetMFADeviceCommandInput,
1483
+ cb: (err: any, data?: GetMFADeviceCommandOutput) => void
1484
+ ): void;
1485
+ getMFADevice(
1486
+ args: GetMFADeviceCommandInput,
1487
+ options: __HttpHandlerOptions,
1488
+ cb: (err: any, data?: GetMFADeviceCommandOutput) => void
1489
+ ): void;
1473
1490
  getOpenIDConnectProvider(
1474
1491
  args: GetOpenIDConnectProviderCommandInput,
1475
1492
  options?: __HttpHandlerOptions
@@ -298,6 +298,10 @@ import {
298
298
  GetLoginProfileCommandInput,
299
299
  GetLoginProfileCommandOutput,
300
300
  } from "./commands/GetLoginProfileCommand";
301
+ import {
302
+ GetMFADeviceCommandInput,
303
+ GetMFADeviceCommandOutput,
304
+ } from "./commands/GetMFADeviceCommand";
301
305
  import {
302
306
  GetOpenIDConnectProviderCommandInput,
303
307
  GetOpenIDConnectProviderCommandOutput,
@@ -748,6 +752,7 @@ export type ServiceInputTypes =
748
752
  | GetGroupPolicyCommandInput
749
753
  | GetInstanceProfileCommandInput
750
754
  | GetLoginProfileCommandInput
755
+ | GetMFADeviceCommandInput
751
756
  | GetOpenIDConnectProviderCommandInput
752
757
  | GetOrganizationsAccessReportCommandInput
753
758
  | GetPolicyCommandInput
@@ -907,6 +912,7 @@ export type ServiceOutputTypes =
907
912
  | GetGroupPolicyCommandOutput
908
913
  | GetInstanceProfileCommandOutput
909
914
  | GetLoginProfileCommandOutput
915
+ | GetMFADeviceCommandOutput
910
916
  | GetOpenIDConnectProviderCommandOutput
911
917
  | GetOrganizationsAccessReportCommandOutput
912
918
  | GetPolicyCommandOutput
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ IAMClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../IAMClient";
14
+ import { GetMFADeviceRequest, GetMFADeviceResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface GetMFADeviceCommandInput extends GetMFADeviceRequest {}
17
+ export interface GetMFADeviceCommandOutput
18
+ extends GetMFADeviceResponse,
19
+ __MetadataBearer {}
20
+ export declare class GetMFADeviceCommand extends $Command<
21
+ GetMFADeviceCommandInput,
22
+ GetMFADeviceCommandOutput,
23
+ IAMClientResolvedConfig
24
+ > {
25
+ readonly input: GetMFADeviceCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: GetMFADeviceCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: IAMClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<GetMFADeviceCommandInput, GetMFADeviceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../IAMClient";
14
- import { UntagMFADeviceRequest } from "../models/models_0";
14
+ import { UntagMFADeviceRequest } from "../models/models_1";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface UntagMFADeviceCommandInput extends UntagMFADeviceRequest {}
17
17
  export interface UntagMFADeviceCommandOutput extends __MetadataBearer {}
@@ -11,7 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../IAMClient";
14
- import { UntagOpenIDConnectProviderRequest } from "../models/models_0";
14
+ import { UntagOpenIDConnectProviderRequest } from "../models/models_1";
15
15
  export { __MetadataBearer, $Command };
16
16
  export interface UntagOpenIDConnectProviderCommandInput
17
17
  extends UntagOpenIDConnectProviderRequest {}
@@ -61,6 +61,7 @@ export * from "./GetGroupCommand";
61
61
  export * from "./GetGroupPolicyCommand";
62
62
  export * from "./GetInstanceProfileCommand";
63
63
  export * from "./GetLoginProfileCommand";
64
+ export * from "./GetMFADeviceCommand";
64
65
  export * from "./GetOpenIDConnectProviderCommand";
65
66
  export * from "./GetOrganizationsAccessReportCommand";
66
67
  export * from "./GetPolicyCommand";
@@ -752,6 +752,16 @@ export interface GetLoginProfileRequest {
752
752
  export interface GetLoginProfileResponse {
753
753
  LoginProfile: LoginProfile | undefined;
754
754
  }
755
+ export interface GetMFADeviceRequest {
756
+ SerialNumber: string | undefined;
757
+ UserName?: string;
758
+ }
759
+ export interface GetMFADeviceResponse {
760
+ UserName?: string;
761
+ SerialNumber: string | undefined;
762
+ EnableDate?: Date;
763
+ Certifications?: Record<string, string>;
764
+ }
755
765
  export interface GetOpenIDConnectProviderRequest {
756
766
  OpenIDConnectProviderArn: string | undefined;
757
767
  }
@@ -1607,14 +1617,6 @@ export interface UntagInstanceProfileRequest {
1607
1617
  InstanceProfileName: string | undefined;
1608
1618
  TagKeys: string[] | undefined;
1609
1619
  }
1610
- export interface UntagMFADeviceRequest {
1611
- SerialNumber: string | undefined;
1612
- TagKeys: string[] | undefined;
1613
- }
1614
- export interface UntagOpenIDConnectProviderRequest {
1615
- OpenIDConnectProviderArn: string | undefined;
1616
- TagKeys: string[] | undefined;
1617
- }
1618
1620
  export declare const AccessKeyFilterSensitiveLog: (obj: AccessKey) => any;
1619
1621
  export declare const ChangePasswordRequestFilterSensitiveLog: (
1620
1622
  obj: ChangePasswordRequest
@@ -8,6 +8,14 @@ import {
8
8
  StatusType,
9
9
  Tag,
10
10
  } from "./models_0";
11
+ export interface UntagMFADeviceRequest {
12
+ SerialNumber: string | undefined;
13
+ TagKeys: string[] | undefined;
14
+ }
15
+ export interface UntagOpenIDConnectProviderRequest {
16
+ OpenIDConnectProviderArn: string | undefined;
17
+ TagKeys: string[] | undefined;
18
+ }
11
19
  export interface UntagPolicyRequest {
12
20
  PolicyArn: string | undefined;
13
21
  TagKeys: string[] | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListInstanceProfileTagsCommandInput,
4
+ ListInstanceProfileTagsCommandOutput,
5
+ } from "../commands/ListInstanceProfileTagsCommand";
6
+ import { IAMPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListInstanceProfileTags(
8
+ config: IAMPaginationConfiguration,
9
+ input: ListInstanceProfileTagsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListInstanceProfileTagsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListMFADeviceTagsCommandInput,
4
+ ListMFADeviceTagsCommandOutput,
5
+ } from "../commands/ListMFADeviceTagsCommand";
6
+ import { IAMPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListMFADeviceTags(
8
+ config: IAMPaginationConfiguration,
9
+ input: ListMFADeviceTagsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListMFADeviceTagsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListOpenIDConnectProviderTagsCommandInput,
4
+ ListOpenIDConnectProviderTagsCommandOutput,
5
+ } from "../commands/ListOpenIDConnectProviderTagsCommand";
6
+ import { IAMPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListOpenIDConnectProviderTags(
8
+ config: IAMPaginationConfiguration,
9
+ input: ListOpenIDConnectProviderTagsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListOpenIDConnectProviderTagsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListPolicyTagsCommandInput,
4
+ ListPolicyTagsCommandOutput,
5
+ } from "../commands/ListPolicyTagsCommand";
6
+ import { IAMPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListPolicyTags(
8
+ config: IAMPaginationConfiguration,
9
+ input: ListPolicyTagsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListPolicyTagsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListRoleTagsCommandInput,
4
+ ListRoleTagsCommandOutput,
5
+ } from "../commands/ListRoleTagsCommand";
6
+ import { IAMPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListRoleTags(
8
+ config: IAMPaginationConfiguration,
9
+ input: ListRoleTagsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListRoleTagsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListSAMLProviderTagsCommandInput,
4
+ ListSAMLProviderTagsCommandOutput,
5
+ } from "../commands/ListSAMLProviderTagsCommand";
6
+ import { IAMPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListSAMLProviderTags(
8
+ config: IAMPaginationConfiguration,
9
+ input: ListSAMLProviderTagsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListSAMLProviderTagsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListServerCertificateTagsCommandInput,
4
+ ListServerCertificateTagsCommandOutput,
5
+ } from "../commands/ListServerCertificateTagsCommand";
6
+ import { IAMPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListServerCertificateTags(
8
+ config: IAMPaginationConfiguration,
9
+ input: ListServerCertificateTagsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListServerCertificateTagsCommandOutput>;
@@ -10,14 +10,21 @@ export * from "./ListEntitiesForPolicyPaginator";
10
10
  export * from "./ListGroupPoliciesPaginator";
11
11
  export * from "./ListGroupsForUserPaginator";
12
12
  export * from "./ListGroupsPaginator";
13
+ export * from "./ListInstanceProfileTagsPaginator";
13
14
  export * from "./ListInstanceProfilesForRolePaginator";
14
15
  export * from "./ListInstanceProfilesPaginator";
16
+ export * from "./ListMFADeviceTagsPaginator";
15
17
  export * from "./ListMFADevicesPaginator";
18
+ export * from "./ListOpenIDConnectProviderTagsPaginator";
16
19
  export * from "./ListPoliciesPaginator";
20
+ export * from "./ListPolicyTagsPaginator";
17
21
  export * from "./ListPolicyVersionsPaginator";
18
22
  export * from "./ListRolePoliciesPaginator";
23
+ export * from "./ListRoleTagsPaginator";
19
24
  export * from "./ListRolesPaginator";
25
+ export * from "./ListSAMLProviderTagsPaginator";
20
26
  export * from "./ListSSHPublicKeysPaginator";
27
+ export * from "./ListServerCertificateTagsPaginator";
21
28
  export * from "./ListServerCertificatesPaginator";
22
29
  export * from "./ListSigningCertificatesPaginator";
23
30
  export * from "./ListUserPoliciesPaginator";
@@ -255,6 +255,10 @@ import {
255
255
  GetLoginProfileCommandInput,
256
256
  GetLoginProfileCommandOutput,
257
257
  } from "../commands/GetLoginProfileCommand";
258
+ import {
259
+ GetMFADeviceCommandInput,
260
+ GetMFADeviceCommandOutput,
261
+ } from "../commands/GetMFADeviceCommand";
258
262
  import {
259
263
  GetOpenIDConnectProviderCommandInput,
260
264
  GetOpenIDConnectProviderCommandOutput,
@@ -887,6 +891,10 @@ export declare const se_GetLoginProfileCommand: (
887
891
  input: GetLoginProfileCommandInput,
888
892
  context: __SerdeContext
889
893
  ) => Promise<__HttpRequest>;
894
+ export declare const se_GetMFADeviceCommand: (
895
+ input: GetMFADeviceCommandInput,
896
+ context: __SerdeContext
897
+ ) => Promise<__HttpRequest>;
890
898
  export declare const se_GetOpenIDConnectProviderCommand: (
891
899
  input: GetOpenIDConnectProviderCommandInput,
892
900
  context: __SerdeContext
@@ -1519,6 +1527,10 @@ export declare const de_GetLoginProfileCommand: (
1519
1527
  output: __HttpResponse,
1520
1528
  context: __SerdeContext
1521
1529
  ) => Promise<GetLoginProfileCommandOutput>;
1530
+ export declare const de_GetMFADeviceCommand: (
1531
+ output: __HttpResponse,
1532
+ context: __SerdeContext
1533
+ ) => Promise<GetMFADeviceCommandOutput>;
1522
1534
  export declare const de_GetOpenIDConnectProviderCommand: (
1523
1535
  output: __HttpResponse,
1524
1536
  context: __SerdeContext
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.359.0",
4
+ "version": "3.360.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.359.0",
24
+ "@aws-sdk/client-sts": "3.360.0",
25
25
  "@aws-sdk/config-resolver": "3.357.0",
26
- "@aws-sdk/credential-provider-node": "3.358.0",
26
+ "@aws-sdk/credential-provider-node": "3.360.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.357.0",
28
28
  "@aws-sdk/hash-node": "3.357.0",
29
29
  "@aws-sdk/invalid-dependency": "3.357.0",
@@ -38,15 +38,15 @@
38
38
  "@aws-sdk/middleware-stack": "3.357.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.357.0",
40
40
  "@aws-sdk/node-config-provider": "3.357.0",
41
- "@aws-sdk/node-http-handler": "3.357.0",
42
- "@aws-sdk/smithy-client": "3.358.0",
41
+ "@aws-sdk/node-http-handler": "3.360.0",
42
+ "@aws-sdk/smithy-client": "3.360.0",
43
43
  "@aws-sdk/types": "3.357.0",
44
44
  "@aws-sdk/url-parser": "3.357.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.358.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.358.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.360.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.360.0",
50
50
  "@aws-sdk/util-endpoints": "3.357.0",
51
51
  "@aws-sdk/util-retry": "3.357.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.357.0",