@aws-sdk/client-iam 3.1171.0 → 3.1173.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 (51) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +102 -40
  3. package/dist-es/IAM.js +2 -0
  4. package/dist-es/commands/UpdateOpenIDConnectProviderCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/schemas/schemas_0.js +92 -39
  7. package/dist-types/IAM.d.ts +7 -0
  8. package/dist-types/IAMClient.d.ts +3 -2
  9. package/dist-types/commands/AcquireRoleCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -0
  11. package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -0
  12. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +61 -2
  13. package/dist-types/commands/CreateRoleCommand.d.ts +2 -0
  14. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +59 -0
  15. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +7 -3
  17. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +4 -0
  18. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
  19. package/dist-types/commands/GetInstanceProfileCommand.d.ts +1 -0
  20. package/dist-types/commands/GetLoginProfileCommand.d.ts +1 -0
  21. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +48 -0
  22. package/dist-types/commands/GetRoleCommand.d.ts +1 -0
  23. package/dist-types/commands/GetSAMLProviderCommand.d.ts +60 -0
  24. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
  25. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
  26. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +23 -0
  27. package/dist-types/commands/ListRolesCommand.d.ts +1 -0
  28. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +27 -0
  29. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  30. package/dist-types/commands/TagPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/TagRoleCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -1
  33. package/dist-types/commands/UpdateOpenIDConnectProviderCommand.d.ts +158 -0
  34. package/dist-types/commands/UpdateRoleCommand.d.ts +9 -1
  35. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
  36. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +70 -0
  37. package/dist-types/commands/index.d.ts +1 -0
  38. package/dist-types/models/models_0.d.ts +229 -53
  39. package/dist-types/models/models_1.d.ts +195 -1
  40. package/dist-types/schemas/schemas_0.d.ts +5 -0
  41. package/dist-types/ts3.4/IAM.d.ts +17 -0
  42. package/dist-types/ts3.4/IAMClient.d.ts +6 -0
  43. package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderCommand.d.ts +38 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +31 -12
  49. package/dist-types/ts3.4/models/models_1.d.ts +35 -1
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  51. package/package.json +1 -1
@@ -1,5 +1,58 @@
1
1
  import type { AssertionEncryptionModeType, StatusType } from "./enums";
2
- import type { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, Tag } from "./models_0";
2
+ import type { ContextProvider, Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, Tag } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface TagOpenIDConnectProviderRequest {
7
+ /**
8
+ * <p>The ARN of the OIDC identity provider in IAM to which you want to add tags.</p>
9
+ * <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
10
+ * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
11
+ * @public
12
+ */
13
+ OpenIDConnectProviderArn: string | undefined;
14
+ /**
15
+ * <p>The list of tags that you want to attach to the OIDC identity provider in IAM.
16
+ * Each tag consists of a key name and an associated value.</p>
17
+ * @public
18
+ */
19
+ Tags: Tag[] | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ */
24
+ export interface TagPolicyRequest {
25
+ /**
26
+ * <p>The ARN of the IAM customer managed policy to which you want to add 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
+ * @public
30
+ */
31
+ PolicyArn: string | undefined;
32
+ /**
33
+ * <p>The list of tags that you want to attach to the IAM customer managed policy.
34
+ * Each tag consists of a key name and an associated value.</p>
35
+ * @public
36
+ */
37
+ Tags: Tag[] | undefined;
38
+ }
39
+ /**
40
+ * @public
41
+ */
42
+ export interface TagRoleRequest {
43
+ /**
44
+ * <p>The name of the IAM role to which you want to add tags.</p>
45
+ * <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
46
+ * characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
47
+ * @public
48
+ */
49
+ RoleName: string | undefined;
50
+ /**
51
+ * <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>
52
+ * @public
53
+ */
54
+ Tags: Tag[] | undefined;
55
+ }
3
56
  /**
4
57
  * @public
5
58
  */
@@ -443,6 +496,86 @@ export interface UpdateLoginProfileRequest {
443
496
  * @public
444
497
  */
445
498
  PasswordResetRequired?: boolean | undefined;
499
+ /**
500
+ * <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for the specified
501
+ * IAM user. This setting can have a value from 1 hour (3600 seconds) to 90 days (7776000
502
+ * seconds), inclusive, and replaces any value currently configured for the user.</p>
503
+ * <p>If you omit both this parameter and <code>ResetMaxSigninSessionDuration</code>, the
504
+ * current setting is unchanged. You cannot specify this parameter and set
505
+ * <code>ResetMaxSigninSessionDuration</code> to <code>true</code> in the same request.
506
+ * If you update only the sign-in session duration, the user's password and
507
+ * <code>PasswordResetRequired</code> setting do not change.</p>
508
+ * <p>Changes to this setting apply to new sign-in sessions. Sessions that are already
509
+ * established are not affected.</p>
510
+ * <note>
511
+ * <p>This setting is not supported for the root user.</p>
512
+ * </note>
513
+ * @public
514
+ */
515
+ MaxSigninSessionDuration?: number | undefined;
516
+ /**
517
+ * <p>Specifies whether to clear the maximum sign-in session duration for the specified
518
+ * IAM user. Set this value to <code>true</code> to return the setting to its unset
519
+ * state, so that the existing sign-in session behavior applies. When the setting is unset,
520
+ * the user's <code>MaxSigninSessionDuration</code> is omitted from responses.</p>
521
+ * <p>If you set this value to <code>false</code> or omit it, the current setting is not
522
+ * cleared. You cannot set this value to <code>true</code> and specify
523
+ * <code>MaxSigninSessionDuration</code> in the same request. Clearing a setting that
524
+ * is already unset has no effect.</p>
525
+ * @public
526
+ */
527
+ ResetMaxSigninSessionDuration?: boolean | undefined;
528
+ }
529
+ /**
530
+ * @public
531
+ */
532
+ export interface UpdateOpenIDConnectProviderRequest {
533
+ /**
534
+ * <p>The Amazon Resource Name (ARN) of the IAM OIDC provider resource object to update.
535
+ * You can get a list of OIDC provider resource ARNs by using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html">ListOpenIDConnectProviders</a> operation.</p>
536
+ * <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>
537
+ * @public
538
+ */
539
+ OpenIDConnectProviderArn: string | undefined;
540
+ /**
541
+ * <p>The trusted identity propagation context provider configuration to set on the OIDC
542
+ * provider. This configuration defines the subject mapping and the source-to-target key
543
+ * mappings that are used when trusted context is injected. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a>.</p>
544
+ * <p>To remove the existing context provider instead of replacing it, use
545
+ * <code>RemoveContextProvider</code>. Do not specify both <code>ContextProvider</code>
546
+ * and <code>RemoveContextProvider</code> in the same request.</p>
547
+ * @public
548
+ */
549
+ ContextProvider?: ContextProvider | undefined;
550
+ /**
551
+ * <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with
552
+ * the OIDC provider.</p>
553
+ * <p>For the format, see <a href="https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html">InstanceMetadata</a> in the <i>IAM Identity Center API Reference</i>.</p>
554
+ * <p>To disassociate the currently associated instance instead of changing it, use
555
+ * <code>RemoveIdentityCenterInstance</code>. Do not specify both
556
+ * <code>IdentityCenterInstanceArn</code> and
557
+ * <code>RemoveIdentityCenterInstance</code> in the same request.</p>
558
+ * @public
559
+ */
560
+ IdentityCenterInstanceArn?: string | undefined;
561
+ /**
562
+ * <p>Specifies whether to remove the existing context provider configuration from the OIDC
563
+ * provider. Set this value to <code>true</code> to remove the context provider.</p>
564
+ * <p>This parameter is mutually exclusive with <code>ContextProvider</code>. In a single
565
+ * request, specify either a new <code>ContextProvider</code> value or
566
+ * <code>RemoveContextProvider</code>, but not both.</p>
567
+ * @public
568
+ */
569
+ RemoveContextProvider?: boolean | undefined;
570
+ /**
571
+ * <p>Specifies whether to disassociate the IAM Identity Center instance from the OIDC
572
+ * provider. Set this value to <code>true</code> to remove the association.</p>
573
+ * <p>This parameter is mutually exclusive with <code>IdentityCenterInstanceArn</code>. In a
574
+ * single request, specify either a new <code>IdentityCenterInstanceArn</code> value or
575
+ * <code>RemoveIdentityCenterInstance</code>, but not both.</p>
576
+ * @public
577
+ */
578
+ RemoveIdentityCenterInstance?: boolean | undefined;
446
579
  }
447
580
  /**
448
581
  * @public
@@ -498,6 +631,38 @@ export interface UpdateRoleRequest {
498
631
  * @public
499
632
  */
500
633
  MaxSessionDuration?: number | undefined;
634
+ /**
635
+ * <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for users who sign in
636
+ * with the specified role. This setting can have a value from 1 hour (3600 seconds) to 90
637
+ * days (7776000 seconds), inclusive, and replaces any value currently configured for the
638
+ * role. This setting is independent of <code>MaxSessionDuration</code>.</p>
639
+ * <p>If you omit both this parameter and <code>ResetMaxSigninSessionDuration</code>, the
640
+ * current setting is unchanged. You cannot specify this parameter and set
641
+ * <code>ResetMaxSigninSessionDuration</code> to <code>true</code> in the same
642
+ * request.</p>
643
+ * <p>Changes to this setting apply to new sign-in sessions. Sessions that are already
644
+ * established are not affected.</p>
645
+ * <note>
646
+ * <p>You cannot set this value on a service-linked role.</p>
647
+ * </note>
648
+ * @public
649
+ */
650
+ MaxSigninSessionDuration?: number | undefined;
651
+ /**
652
+ * <p>Specifies whether to clear the role's maximum sign-in session duration. Set this value
653
+ * to <code>true</code> to return the setting to its unset state, so that the existing
654
+ * sign-in session behavior applies. When the setting is unset, the role's
655
+ * <code>MaxSigninSessionDuration</code> is omitted from responses.</p>
656
+ * <p>If you set this value to <code>false</code> or omit it, the current setting is not
657
+ * cleared. You cannot set this value to <code>true</code> and specify
658
+ * <code>MaxSigninSessionDuration</code> in the same request. Clearing a setting that
659
+ * is already unset has no effect.</p>
660
+ * <note>
661
+ * <p>You cannot reset this value on a service-linked role.</p>
662
+ * </note>
663
+ * @public
664
+ */
665
+ ResetMaxSigninSessionDuration?: boolean | undefined;
501
666
  }
502
667
  /**
503
668
  * @public
@@ -565,6 +730,35 @@ export interface UpdateSAMLProviderRequest {
565
730
  * @public
566
731
  */
567
732
  RemovePrivateKey?: string | undefined;
733
+ /**
734
+ * <p>The trusted identity propagation context provider configuration to associate with the
735
+ * SAML provider. This replaces the existing context provider configuration. For more
736
+ * information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a>.</p>
737
+ * @public
738
+ */
739
+ ContextProvider?: ContextProvider | undefined;
740
+ /**
741
+ * <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with
742
+ * the SAML provider.</p>
743
+ * <p>For the format, see <a href="https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html">InstanceMetadata</a> in the <i>IAM Identity Center API Reference</i>.</p>
744
+ * @public
745
+ */
746
+ IdentityCenterInstanceArn?: string | undefined;
747
+ /**
748
+ * <p>Specifies whether to remove the existing trusted identity propagation context provider
749
+ * configuration from the SAML provider. When set to <code>true</code>, the context
750
+ * provider is removed. This parameter is mutually exclusive with
751
+ * <code>ContextProvider</code>.</p>
752
+ * @public
753
+ */
754
+ RemoveContextProvider?: boolean | undefined;
755
+ /**
756
+ * <p>Specifies whether to disassociate the IAM Identity Center instance from the SAML
757
+ * provider. When set to <code>true</code>, the instance is disassociated. This parameter
758
+ * is mutually exclusive with <code>IdentityCenterInstanceArn</code>.</p>
759
+ * @public
760
+ */
761
+ RemoveIdentityCenterInstance?: boolean | undefined;
568
762
  }
569
763
  /**
570
764
  * <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateSAMLProvider.html">UpdateSAMLProvider</a>
@@ -63,6 +63,8 @@ export declare var AttachRolePolicyRequest$: StaticStructureSchema;
63
63
  export declare var AttachUserPolicyRequest$: StaticStructureSchema;
64
64
  export declare var ChangePasswordRequest$: StaticStructureSchema;
65
65
  export declare var ContextEntry$: StaticStructureSchema;
66
+ export declare var ContextProvider$: StaticStructureSchema;
67
+ export declare var ContextProviderKeyDefinition$: StaticStructureSchema;
66
68
  export declare var CreateAccessKeyRequest$: StaticStructureSchema;
67
69
  export declare var CreateAccessKeyResponse$: StaticStructureSchema;
68
70
  export declare var CreateAccountAliasRequest$: StaticStructureSchema;
@@ -315,6 +317,7 @@ export declare var RoleDetail$: StaticStructureSchema;
315
317
  export declare var RoleLastUsed$: StaticStructureSchema;
316
318
  export declare var RoleTemplateVersion$: StaticStructureSchema;
317
319
  export declare var RoleUsageType$: StaticStructureSchema;
320
+ export declare var SAMLKeyHashEntry$: StaticStructureSchema;
318
321
  export declare var SAMLPrivateKey$: StaticStructureSchema;
319
322
  export declare var SAMLProviderListEntry$: StaticStructureSchema;
320
323
  export declare var SendDelegationTokenRequest$: StaticStructureSchema;
@@ -358,6 +361,7 @@ export declare var UpdateAssumeRolePolicyRequest$: StaticStructureSchema;
358
361
  export declare var UpdateDelegationRequestRequest$: StaticStructureSchema;
359
362
  export declare var UpdateGroupRequest$: StaticStructureSchema;
360
363
  export declare var UpdateLoginProfileRequest$: StaticStructureSchema;
364
+ export declare var UpdateOpenIDConnectProviderRequest$: StaticStructureSchema;
361
365
  export declare var UpdateOpenIDConnectProviderThumbprintRequest$: StaticStructureSchema;
362
366
  export declare var UpdateRoleDescriptionRequest$: StaticStructureSchema;
363
367
  export declare var UpdateRoleDescriptionResponse$: StaticStructureSchema;
@@ -548,6 +552,7 @@ export declare var UpdateAssumeRolePolicy$: StaticOperationSchema;
548
552
  export declare var UpdateDelegationRequest$: StaticOperationSchema;
549
553
  export declare var UpdateGroup$: StaticOperationSchema;
550
554
  export declare var UpdateLoginProfile$: StaticOperationSchema;
555
+ export declare var UpdateOpenIDConnectProvider$: StaticOperationSchema;
551
556
  export declare var UpdateOpenIDConnectProviderThumbprint$: StaticOperationSchema;
552
557
  export declare var UpdateRole$: StaticOperationSchema;
553
558
  export declare var UpdateRoleDescription$: StaticOperationSchema;
@@ -615,6 +615,10 @@ import {
615
615
  UpdateLoginProfileCommandInput,
616
616
  UpdateLoginProfileCommandOutput,
617
617
  } from "./commands/UpdateLoginProfileCommand";
618
+ import {
619
+ UpdateOpenIDConnectProviderCommandInput,
620
+ UpdateOpenIDConnectProviderCommandOutput,
621
+ } from "./commands/UpdateOpenIDConnectProviderCommand";
618
622
  import {
619
623
  UpdateOpenIDConnectProviderThumbprintCommandInput,
620
624
  UpdateOpenIDConnectProviderThumbprintCommandOutput,
@@ -2853,6 +2857,19 @@ export interface IAM {
2853
2857
  options: IAMRequestOptions,
2854
2858
  cb: (err: any, data?: UpdateLoginProfileCommandOutput) => void,
2855
2859
  ): void;
2860
+ updateOpenIDConnectProvider(
2861
+ args: UpdateOpenIDConnectProviderCommandInput,
2862
+ options?: IAMRequestOptions,
2863
+ ): Promise<UpdateOpenIDConnectProviderCommandOutput>;
2864
+ updateOpenIDConnectProvider(
2865
+ args: UpdateOpenIDConnectProviderCommandInput,
2866
+ cb: (err: any, data?: UpdateOpenIDConnectProviderCommandOutput) => void,
2867
+ ): void;
2868
+ updateOpenIDConnectProvider(
2869
+ args: UpdateOpenIDConnectProviderCommandInput,
2870
+ options: IAMRequestOptions,
2871
+ cb: (err: any, data?: UpdateOpenIDConnectProviderCommandOutput) => void,
2872
+ ): void;
2856
2873
  updateOpenIDConnectProviderThumbprint(
2857
2874
  args: UpdateOpenIDConnectProviderThumbprintCommandInput,
2858
2875
  options?: IAMRequestOptions,
@@ -642,6 +642,10 @@ import {
642
642
  UpdateLoginProfileCommandInput,
643
643
  UpdateLoginProfileCommandOutput,
644
644
  } from "./commands/UpdateLoginProfileCommand";
645
+ import {
646
+ UpdateOpenIDConnectProviderCommandInput,
647
+ UpdateOpenIDConnectProviderCommandOutput,
648
+ } from "./commands/UpdateOpenIDConnectProviderCommand";
645
649
  import {
646
650
  UpdateOpenIDConnectProviderThumbprintCommandInput,
647
651
  UpdateOpenIDConnectProviderThumbprintCommandOutput,
@@ -860,6 +864,7 @@ export type ServiceInputTypes =
860
864
  | UpdateDelegationRequestCommandInput
861
865
  | UpdateGroupCommandInput
862
866
  | UpdateLoginProfileCommandInput
867
+ | UpdateOpenIDConnectProviderCommandInput
863
868
  | UpdateOpenIDConnectProviderThumbprintCommandInput
864
869
  | UpdateRoleCommandInput
865
870
  | UpdateRoleDescriptionCommandInput
@@ -1041,6 +1046,7 @@ export type ServiceOutputTypes =
1041
1046
  | UpdateDelegationRequestCommandOutput
1042
1047
  | UpdateGroupCommandOutput
1043
1048
  | UpdateLoginProfileCommandOutput
1049
+ | UpdateOpenIDConnectProviderCommandOutput
1044
1050
  | UpdateOpenIDConnectProviderThumbprintCommandOutput
1045
1051
  | UpdateRoleCommandOutput
1046
1052
  | UpdateRoleDescriptionCommandOutput
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { TagOpenIDConnectProviderRequest } from "../models/models_0";
2
+ import { TagOpenIDConnectProviderRequest } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface TagOpenIDConnectProviderCommandInput extends TagOpenIDConnectProviderRequest {}
5
5
  export interface TagOpenIDConnectProviderCommandOutput extends __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { TagPolicyRequest } from "../models/models_0";
2
+ import { TagPolicyRequest } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface TagPolicyCommandInput extends TagPolicyRequest {}
5
5
  export interface TagPolicyCommandOutput extends __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { TagRoleRequest } from "../models/models_0";
2
+ import { TagRoleRequest } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface TagRoleCommandInput extends TagRoleRequest {}
5
5
  export interface TagRoleCommandOutput extends __MetadataBearer {}
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UpdateOpenIDConnectProviderRequest } from "../models/models_1";
3
+ export { __MetadataBearer };
4
+ export interface UpdateOpenIDConnectProviderCommandInput extends UpdateOpenIDConnectProviderRequest {}
5
+ export interface UpdateOpenIDConnectProviderCommandOutput extends __MetadataBearer {}
6
+ declare const UpdateOpenIDConnectProviderCommand_base: {
7
+ new (
8
+ input: UpdateOpenIDConnectProviderCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ UpdateOpenIDConnectProviderCommandInput,
11
+ UpdateOpenIDConnectProviderCommandOutput,
12
+ import("..").IAMClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: UpdateOpenIDConnectProviderCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ UpdateOpenIDConnectProviderCommandInput,
20
+ UpdateOpenIDConnectProviderCommandOutput,
21
+ import("..").IAMClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class UpdateOpenIDConnectProviderCommand extends UpdateOpenIDConnectProviderCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: UpdateOpenIDConnectProviderRequest;
31
+ output: {};
32
+ };
33
+ sdk: {
34
+ input: UpdateOpenIDConnectProviderCommandInput;
35
+ output: UpdateOpenIDConnectProviderCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -166,6 +166,7 @@ export * from "./UpdateAssumeRolePolicyCommand";
166
166
  export * from "./UpdateDelegationRequestCommand";
167
167
  export * from "./UpdateGroupCommand";
168
168
  export * from "./UpdateLoginProfileCommand";
169
+ export * from "./UpdateOpenIDConnectProviderCommand";
169
170
  export * from "./UpdateOpenIDConnectProviderThumbprintCommand";
170
171
  export * from "./UpdateRoleCommand";
171
172
  export * from "./UpdateRoleDescriptionCommand";
@@ -93,6 +93,7 @@ export interface Role {
93
93
  AssumeRolePolicyDocument?: string | undefined;
94
94
  Description?: string | undefined;
95
95
  MaxSessionDuration?: number | undefined;
96
+ MaxSigninSessionDuration?: number | undefined;
96
97
  PermissionsBoundary?: AttachedPermissionsBoundary | undefined;
97
98
  Tags?: Tag[] | undefined;
98
99
  RoleLastUsed?: RoleLastUsed | undefined;
@@ -204,20 +205,34 @@ export interface CreateLoginProfileRequest {
204
205
  UserName?: string | undefined;
205
206
  Password?: string | undefined;
206
207
  PasswordResetRequired?: boolean | undefined;
208
+ MaxSigninSessionDuration?: number | undefined;
207
209
  }
208
210
  export interface LoginProfile {
209
211
  UserName: string | undefined;
210
212
  CreateDate: Date | undefined;
211
213
  PasswordResetRequired?: boolean | undefined;
214
+ MaxSigninSessionDuration?: number | undefined;
212
215
  }
213
216
  export interface CreateLoginProfileResponse {
214
217
  LoginProfile: LoginProfile | undefined;
215
218
  }
219
+ export interface ContextProviderKeyDefinition {
220
+ SourceKey: string | undefined;
221
+ TargetKey?: string | undefined;
222
+ }
223
+ export interface ContextProvider {
224
+ KeyDefinitionList?: ContextProviderKeyDefinition[] | undefined;
225
+ SubjectSourceKey: string | undefined;
226
+ SubjectTypeValue?: string | undefined;
227
+ SubjectTypeSourceKey?: string | undefined;
228
+ }
216
229
  export interface CreateOpenIDConnectProviderRequest {
217
230
  Url: string | undefined;
218
231
  ClientIDList?: string[] | undefined;
219
232
  ThumbprintList?: string[] | undefined;
220
233
  Tags?: Tag[] | undefined;
234
+ ContextProvider?: ContextProvider | undefined;
235
+ IdentityCenterInstanceArn?: string | undefined;
221
236
  }
222
237
  export interface CreateOpenIDConnectProviderResponse {
223
238
  OpenIDConnectProviderArn?: string | undefined;
@@ -267,6 +282,7 @@ export interface CreateRoleRequest {
267
282
  AssumeRolePolicyDocument: string | undefined;
268
283
  Description?: string | undefined;
269
284
  MaxSessionDuration?: number | undefined;
285
+ MaxSigninSessionDuration?: number | undefined;
270
286
  PermissionsBoundary?: string | undefined;
271
287
  Tags?: Tag[] | undefined;
272
288
  }
@@ -279,6 +295,8 @@ export interface CreateSAMLProviderRequest {
279
295
  Tags?: Tag[] | undefined;
280
296
  AssertionEncryptionMode?: AssertionEncryptionModeType | undefined;
281
297
  AddPrivateKey?: string | undefined;
298
+ ContextProvider?: ContextProvider | undefined;
299
+ IdentityCenterInstanceArn?: string | undefined;
282
300
  }
283
301
  export interface CreateSAMLProviderResponse {
284
302
  SAMLProviderArn?: string | undefined;
@@ -688,6 +706,9 @@ export interface GetOpenIDConnectProviderResponse {
688
706
  ThumbprintList?: string[] | undefined;
689
707
  CreateDate?: Date | undefined;
690
708
  Tags?: Tag[] | undefined;
709
+ ContextProvider?: ContextProvider | undefined;
710
+ IdentityCenterInstanceArn?: string | undefined;
711
+ IdentityStoreArn?: string | undefined;
691
712
  }
692
713
  export interface GetOrganizationsAccessReportRequest {
693
714
  JobId: string | undefined;
@@ -798,14 +819,22 @@ export interface SAMLPrivateKey {
798
819
  KeyId?: string | undefined;
799
820
  Timestamp?: Date | undefined;
800
821
  }
822
+ export interface SAMLKeyHashEntry {
823
+ IssuerURL?: string | undefined;
824
+ KeyHashes?: string[] | undefined;
825
+ }
801
826
  export interface GetSAMLProviderResponse {
802
827
  SAMLProviderUUID?: string | undefined;
803
828
  SAMLMetadataDocument?: string | undefined;
829
+ ContextProvider?: ContextProvider | undefined;
830
+ SAMLKeyHashes?: SAMLKeyHashEntry[] | undefined;
804
831
  CreateDate?: Date | undefined;
805
832
  ValidUntil?: Date | undefined;
806
833
  Tags?: Tag[] | undefined;
807
834
  AssertionEncryptionMode?: AssertionEncryptionModeType | undefined;
808
835
  PrivateKeyList?: SAMLPrivateKey[] | undefined;
836
+ IdentityCenterInstanceArn?: string | undefined;
837
+ IdentityStoreArn?: string | undefined;
809
838
  }
810
839
  export interface GetServerCertificateRequest {
811
840
  ServerCertificateName: string | undefined;
@@ -1106,6 +1135,7 @@ export interface ListMFADeviceTagsResponse {
1106
1135
  export interface ListOpenIDConnectProvidersRequest {}
1107
1136
  export interface OpenIDConnectProviderListEntry {
1108
1137
  Arn?: string | undefined;
1138
+ IsTrustedIdentityPropagationEnabled?: boolean | undefined;
1109
1139
  }
1110
1140
  export interface ListOpenIDConnectProvidersResponse {
1111
1141
  OpenIDConnectProviderList?: OpenIDConnectProviderListEntry[] | undefined;
@@ -1214,6 +1244,7 @@ export interface SAMLProviderListEntry {
1214
1244
  Arn?: string | undefined;
1215
1245
  ValidUntil?: Date | undefined;
1216
1246
  CreateDate?: Date | undefined;
1247
+ IsTrustedIdentityPropagationEnabled?: boolean | undefined;
1217
1248
  }
1218
1249
  export interface ListSAMLProvidersResponse {
1219
1250
  SAMLProviderList?: SAMLProviderListEntry[] | undefined;
@@ -1536,15 +1567,3 @@ export interface TagMFADeviceRequest {
1536
1567
  SerialNumber: string | undefined;
1537
1568
  Tags: Tag[] | undefined;
1538
1569
  }
1539
- export interface TagOpenIDConnectProviderRequest {
1540
- OpenIDConnectProviderArn: string | undefined;
1541
- Tags: Tag[] | undefined;
1542
- }
1543
- export interface TagPolicyRequest {
1544
- PolicyArn: string | undefined;
1545
- Tags: Tag[] | undefined;
1546
- }
1547
- export interface TagRoleRequest {
1548
- RoleName: string | undefined;
1549
- Tags: Tag[] | undefined;
1550
- }
@@ -1,5 +1,24 @@
1
1
  import { AssertionEncryptionModeType, StatusType } from "./enums";
2
- import { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, Tag } from "./models_0";
2
+ import {
3
+ ContextProvider,
4
+ Role,
5
+ ServerCertificateMetadata,
6
+ SigningCertificate,
7
+ SSHPublicKey,
8
+ Tag,
9
+ } from "./models_0";
10
+ export interface TagOpenIDConnectProviderRequest {
11
+ OpenIDConnectProviderArn: string | undefined;
12
+ Tags: Tag[] | undefined;
13
+ }
14
+ export interface TagPolicyRequest {
15
+ PolicyArn: string | undefined;
16
+ Tags: Tag[] | undefined;
17
+ }
18
+ export interface TagRoleRequest {
19
+ RoleName: string | undefined;
20
+ Tags: Tag[] | undefined;
21
+ }
3
22
  export interface TagSAMLProviderRequest {
4
23
  SAMLProviderArn: string | undefined;
5
24
  Tags: Tag[] | undefined;
@@ -77,6 +96,15 @@ export interface UpdateLoginProfileRequest {
77
96
  UserName: string | undefined;
78
97
  Password?: string | undefined;
79
98
  PasswordResetRequired?: boolean | undefined;
99
+ MaxSigninSessionDuration?: number | undefined;
100
+ ResetMaxSigninSessionDuration?: boolean | undefined;
101
+ }
102
+ export interface UpdateOpenIDConnectProviderRequest {
103
+ OpenIDConnectProviderArn: string | undefined;
104
+ ContextProvider?: ContextProvider | undefined;
105
+ IdentityCenterInstanceArn?: string | undefined;
106
+ RemoveContextProvider?: boolean | undefined;
107
+ RemoveIdentityCenterInstance?: boolean | undefined;
80
108
  }
81
109
  export interface UpdateOpenIDConnectProviderThumbprintRequest {
82
110
  OpenIDConnectProviderArn: string | undefined;
@@ -86,6 +114,8 @@ export interface UpdateRoleRequest {
86
114
  RoleName: string | undefined;
87
115
  Description?: string | undefined;
88
116
  MaxSessionDuration?: number | undefined;
117
+ MaxSigninSessionDuration?: number | undefined;
118
+ ResetMaxSigninSessionDuration?: boolean | undefined;
89
119
  }
90
120
  export interface UpdateRoleResponse {}
91
121
  export interface UpdateRoleDescriptionRequest {
@@ -101,6 +131,10 @@ export interface UpdateSAMLProviderRequest {
101
131
  AssertionEncryptionMode?: AssertionEncryptionModeType | undefined;
102
132
  AddPrivateKey?: string | undefined;
103
133
  RemovePrivateKey?: string | undefined;
134
+ ContextProvider?: ContextProvider | undefined;
135
+ IdentityCenterInstanceArn?: string | undefined;
136
+ RemoveContextProvider?: boolean | undefined;
137
+ RemoveIdentityCenterInstance?: boolean | undefined;
104
138
  }
105
139
  export interface UpdateSAMLProviderResponse {
106
140
  SAMLProviderArn?: string | undefined;
@@ -63,6 +63,8 @@ export declare var AttachRolePolicyRequest$: StaticStructureSchema;
63
63
  export declare var AttachUserPolicyRequest$: StaticStructureSchema;
64
64
  export declare var ChangePasswordRequest$: StaticStructureSchema;
65
65
  export declare var ContextEntry$: StaticStructureSchema;
66
+ export declare var ContextProvider$: StaticStructureSchema;
67
+ export declare var ContextProviderKeyDefinition$: StaticStructureSchema;
66
68
  export declare var CreateAccessKeyRequest$: StaticStructureSchema;
67
69
  export declare var CreateAccessKeyResponse$: StaticStructureSchema;
68
70
  export declare var CreateAccountAliasRequest$: StaticStructureSchema;
@@ -315,6 +317,7 @@ export declare var RoleDetail$: StaticStructureSchema;
315
317
  export declare var RoleLastUsed$: StaticStructureSchema;
316
318
  export declare var RoleTemplateVersion$: StaticStructureSchema;
317
319
  export declare var RoleUsageType$: StaticStructureSchema;
320
+ export declare var SAMLKeyHashEntry$: StaticStructureSchema;
318
321
  export declare var SAMLPrivateKey$: StaticStructureSchema;
319
322
  export declare var SAMLProviderListEntry$: StaticStructureSchema;
320
323
  export declare var SendDelegationTokenRequest$: StaticStructureSchema;
@@ -358,6 +361,7 @@ export declare var UpdateAssumeRolePolicyRequest$: StaticStructureSchema;
358
361
  export declare var UpdateDelegationRequestRequest$: StaticStructureSchema;
359
362
  export declare var UpdateGroupRequest$: StaticStructureSchema;
360
363
  export declare var UpdateLoginProfileRequest$: StaticStructureSchema;
364
+ export declare var UpdateOpenIDConnectProviderRequest$: StaticStructureSchema;
361
365
  export declare var UpdateOpenIDConnectProviderThumbprintRequest$: StaticStructureSchema;
362
366
  export declare var UpdateRoleDescriptionRequest$: StaticStructureSchema;
363
367
  export declare var UpdateRoleDescriptionResponse$: StaticStructureSchema;
@@ -548,6 +552,7 @@ export declare var UpdateAssumeRolePolicy$: StaticOperationSchema;
548
552
  export declare var UpdateDelegationRequest$: StaticOperationSchema;
549
553
  export declare var UpdateGroup$: StaticOperationSchema;
550
554
  export declare var UpdateLoginProfile$: StaticOperationSchema;
555
+ export declare var UpdateOpenIDConnectProvider$: StaticOperationSchema;
551
556
  export declare var UpdateOpenIDConnectProviderThumbprint$: StaticOperationSchema;
552
557
  export declare var UpdateRole$: StaticOperationSchema;
553
558
  export declare var UpdateRoleDescription$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
- "version": "3.1171.0",
3
+ "version": "3.1173.0",
4
4
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iam",
6
6
  "license": "Apache-2.0",