@aws-sdk/client-iam 3.738.0 → 3.742.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.
package/dist-cjs/index.js CHANGED
@@ -27,6 +27,7 @@ __export(src_exports, {
27
27
  AddClientIDToOpenIDConnectProviderCommand: () => AddClientIDToOpenIDConnectProviderCommand,
28
28
  AddRoleToInstanceProfileCommand: () => AddRoleToInstanceProfileCommand,
29
29
  AddUserToGroupCommand: () => AddUserToGroupCommand,
30
+ AssertionEncryptionModeType: () => AssertionEncryptionModeType,
30
31
  AssignmentStatusType: () => AssignmentStatusType,
31
32
  AttachGroupPolicyCommand: () => AttachGroupPolicyCommand,
32
33
  AttachRolePolicyCommand: () => AttachRolePolicyCommand,
@@ -48,6 +49,7 @@ __export(src_exports, {
48
49
  CreatePolicyVersionCommand: () => CreatePolicyVersionCommand,
49
50
  CreateRoleCommand: () => CreateRoleCommand,
50
51
  CreateSAMLProviderCommand: () => CreateSAMLProviderCommand,
52
+ CreateSAMLProviderRequestFilterSensitiveLog: () => CreateSAMLProviderRequestFilterSensitiveLog,
51
53
  CreateServiceLinkedRoleCommand: () => CreateServiceLinkedRoleCommand,
52
54
  CreateServiceSpecificCredentialCommand: () => CreateServiceSpecificCredentialCommand,
53
55
  CreateServiceSpecificCredentialResponseFilterSensitiveLog: () => CreateServiceSpecificCredentialResponseFilterSensitiveLog,
@@ -244,6 +246,7 @@ __export(src_exports, {
244
246
  UpdateRoleCommand: () => UpdateRoleCommand,
245
247
  UpdateRoleDescriptionCommand: () => UpdateRoleDescriptionCommand,
246
248
  UpdateSAMLProviderCommand: () => UpdateSAMLProviderCommand,
249
+ UpdateSAMLProviderRequestFilterSensitiveLog: () => UpdateSAMLProviderRequestFilterSensitiveLog,
247
250
  UpdateSSHPublicKeyCommand: () => UpdateSSHPublicKeyCommand,
248
251
  UpdateServerCertificateCommand: () => UpdateServerCertificateCommand,
249
252
  UpdateServiceSpecificCredentialCommand: () => UpdateServiceSpecificCredentialCommand,
@@ -608,6 +611,10 @@ var UnmodifiableEntityException = class _UnmodifiableEntityException extends IAM
608
611
  Object.setPrototypeOf(this, _UnmodifiableEntityException.prototype);
609
612
  }
610
613
  };
614
+ var AssertionEncryptionModeType = {
615
+ Allowed: "Allowed",
616
+ Required: "Required"
617
+ };
611
618
  var AssignmentStatusType = {
612
619
  Any: "Any",
613
620
  Assigned: "Assigned",
@@ -1089,11 +1096,6 @@ var ContextKeyTypeEnum = {
1089
1096
  STRING: "string",
1090
1097
  STRING_LIST: "stringList"
1091
1098
  };
1092
- var PolicyEvaluationDecisionType = {
1093
- ALLOWED: "allowed",
1094
- EXPLICIT_DENY: "explicitDeny",
1095
- IMPLICIT_DENY: "implicitDeny"
1096
- };
1097
1099
  var AccessKeyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1098
1100
  ...obj,
1099
1101
  ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client.SENSITIVE_STRING }
@@ -1111,6 +1113,10 @@ var CreateLoginProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
1111
1113
  ...obj,
1112
1114
  ...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
1113
1115
  }), "CreateLoginProfileRequestFilterSensitiveLog");
1116
+ var CreateSAMLProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1117
+ ...obj,
1118
+ ...obj.AddPrivateKey && { AddPrivateKey: import_smithy_client.SENSITIVE_STRING }
1119
+ }), "CreateSAMLProviderRequestFilterSensitiveLog");
1114
1120
  var ServiceSpecificCredentialFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1115
1121
  ...obj,
1116
1122
  ...obj.ServicePassword && { ServicePassword: import_smithy_client.SENSITIVE_STRING }
@@ -1145,6 +1151,11 @@ var ResetServiceSpecificCredentialResponseFilterSensitiveLog = /* @__PURE__ */ _
1145
1151
 
1146
1152
  // src/models/models_1.ts
1147
1153
 
1154
+ var PolicyEvaluationDecisionType = {
1155
+ ALLOWED: "allowed",
1156
+ EXPLICIT_DENY: "explicitDeny",
1157
+ IMPLICIT_DENY: "implicitDeny"
1158
+ };
1148
1159
  var PolicySourceType = {
1149
1160
  AWS_MANAGED: "aws-managed",
1150
1161
  GROUP: "group",
@@ -1266,6 +1277,10 @@ var UpdateLoginProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
1266
1277
  ...obj,
1267
1278
  ...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
1268
1279
  }), "UpdateLoginProfileRequestFilterSensitiveLog");
1280
+ var UpdateSAMLProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1281
+ ...obj,
1282
+ ...obj.AddPrivateKey && { AddPrivateKey: import_smithy_client.SENSITIVE_STRING }
1283
+ }), "UpdateSAMLProviderRequestFilterSensitiveLog");
1269
1284
  var UploadServerCertificateRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1270
1285
  ...obj,
1271
1286
  ...obj.PrivateKey && { PrivateKey: import_smithy_client.SENSITIVE_STRING }
@@ -5560,6 +5575,12 @@ var se_CreateSAMLProviderRequest = /* @__PURE__ */ __name((input, context) => {
5560
5575
  entries[loc] = value;
5561
5576
  });
5562
5577
  }
5578
+ if (input[_AEM] != null) {
5579
+ entries[_AEM] = input[_AEM];
5580
+ }
5581
+ if (input[_APK] != null) {
5582
+ entries[_APK] = input[_APK];
5583
+ }
5563
5584
  return entries;
5564
5585
  }, "se_CreateSAMLProviderRequest");
5565
5586
  var se_CreateServiceLinkedRoleRequest = /* @__PURE__ */ __name((input, context) => {
@@ -7372,6 +7393,15 @@ var se_UpdateSAMLProviderRequest = /* @__PURE__ */ __name((input, context) => {
7372
7393
  if (input[_SAMLPA] != null) {
7373
7394
  entries[_SAMLPA] = input[_SAMLPA];
7374
7395
  }
7396
+ if (input[_AEM] != null) {
7397
+ entries[_AEM] = input[_AEM];
7398
+ }
7399
+ if (input[_APK] != null) {
7400
+ entries[_APK] = input[_APK];
7401
+ }
7402
+ if (input[_RPK] != null) {
7403
+ entries[_RPK] = input[_RPK];
7404
+ }
7375
7405
  return entries;
7376
7406
  }, "se_UpdateSAMLProviderRequest");
7377
7407
  var se_UpdateServerCertificateRequest = /* @__PURE__ */ __name((input, context) => {
@@ -8233,6 +8263,9 @@ var de_GetRoleResponse = /* @__PURE__ */ __name((output, context) => {
8233
8263
  }, "de_GetRoleResponse");
8234
8264
  var de_GetSAMLProviderResponse = /* @__PURE__ */ __name((output, context) => {
8235
8265
  const contents = {};
8266
+ if (output[_SAMLPUUID] != null) {
8267
+ contents[_SAMLPUUID] = (0, import_smithy_client.expectString)(output[_SAMLPUUID]);
8268
+ }
8236
8269
  if (output[_SAMLMD] != null) {
8237
8270
  contents[_SAMLMD] = (0, import_smithy_client.expectString)(output[_SAMLMD]);
8238
8271
  }
@@ -8247,6 +8280,14 @@ var de_GetSAMLProviderResponse = /* @__PURE__ */ __name((output, context) => {
8247
8280
  } else if (output[_T] != null && output[_T][_me] != null) {
8248
8281
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
8249
8282
  }
8283
+ if (output[_AEM] != null) {
8284
+ contents[_AEM] = (0, import_smithy_client.expectString)(output[_AEM]);
8285
+ }
8286
+ if (output.PrivateKeyList === "") {
8287
+ contents[_PKL] = [];
8288
+ } else if (output[_PKL] != null && output[_PKL][_me] != null) {
8289
+ contents[_PKL] = de_privateKeyList((0, import_smithy_client.getArrayIfSingleItem)(output[_PKL][_me]), context);
8290
+ }
8250
8291
  return contents;
8251
8292
  }, "de_GetSAMLProviderResponse");
8252
8293
  var de_GetServerCertificateResponse = /* @__PURE__ */ __name((output, context) => {
@@ -9398,6 +9439,11 @@ var de_Position = /* @__PURE__ */ __name((output, context) => {
9398
9439
  }
9399
9440
  return contents;
9400
9441
  }, "de_Position");
9442
+ var de_privateKeyList = /* @__PURE__ */ __name((output, context) => {
9443
+ return (output || []).filter((e) => e != null).map((entry) => {
9444
+ return de_SAMLPrivateKey(entry, context);
9445
+ });
9446
+ }, "de_privateKeyList");
9401
9447
  var de_ReportGenerationLimitExceededException = /* @__PURE__ */ __name((output, context) => {
9402
9448
  const contents = {};
9403
9449
  if (output[_m] != null) {
@@ -9569,6 +9615,16 @@ var de_RoleUsageType = /* @__PURE__ */ __name((output, context) => {
9569
9615
  }
9570
9616
  return contents;
9571
9617
  }, "de_RoleUsageType");
9618
+ var de_SAMLPrivateKey = /* @__PURE__ */ __name((output, context) => {
9619
+ const contents = {};
9620
+ if (output[_KI] != null) {
9621
+ contents[_KI] = (0, import_smithy_client.expectString)(output[_KI]);
9622
+ }
9623
+ if (output[_Ti] != null) {
9624
+ contents[_Ti] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_Ti]));
9625
+ }
9626
+ return contents;
9627
+ }, "de_SAMLPrivateKey");
9572
9628
  var de_SAMLProviderListEntry = /* @__PURE__ */ __name((output, context) => {
9573
9629
  const contents = {};
9574
9630
  if (output[_Ar] != null) {
@@ -10093,6 +10149,7 @@ var _ACIDTOIDCP = "AddClientIDToOpenIDConnectProvider";
10093
10149
  var _ACt = "AttachmentCount";
10094
10150
  var _ACu = "AuthenticationCode2";
10095
10151
  var _AD = "AccessDetails";
10152
+ var _AEM = "AssertionEncryptionMode";
10096
10153
  var _AGP = "AttachGroupPolicy";
10097
10154
  var _AK = "AccessKey";
10098
10155
  var _AKI = "AccessKeyId";
@@ -10102,6 +10159,7 @@ var _AMP = "AttachedManagedPolicies";
10102
10159
  var _AN = "ActionNames";
10103
10160
  var _ANc = "ActionName";
10104
10161
  var _AP = "AttachedPolicies";
10162
+ var _APK = "AddPrivateKey";
10105
10163
  var _ARP = "AttachRolePolicy";
10106
10164
  var _ARPD = "AssumeRolePolicyDocument";
10107
10165
  var _ARTIP = "AddRoleToInstanceProfile";
@@ -10259,6 +10317,7 @@ var _JI = "JobId";
10259
10317
  var _JS = "JobStatus";
10260
10318
  var _JT = "JobType";
10261
10319
  var _K = "Key";
10320
+ var _KI = "KeyId";
10262
10321
  var _L = "Line";
10263
10322
  var _LA = "LastAuthenticated";
10264
10323
  var _LAA = "ListAccountAliases";
@@ -10343,6 +10402,7 @@ var _PGSA = "PoliciesGrantingServiceAccess";
10343
10402
  var _PI = "PolicyId";
10344
10403
  var _PIL = "PolicyInputList";
10345
10404
  var _PK = "PrivateKey";
10405
+ var _PKL = "PrivateKeyList";
10346
10406
  var _PLU = "PasswordLastUsed";
10347
10407
  var _PN = "PolicyName";
10348
10408
  var _PNo = "PolicyNames";
@@ -10379,6 +10439,7 @@ var _RN = "RoleName";
10379
10439
  var _RNe = "RequireNumbers";
10380
10440
  var _RO = "ResourceOwner";
10381
10441
  var _RP = "ResourcePolicy";
10442
+ var _RPK = "RemovePrivateKey";
10382
10443
  var _RPL = "RolePolicyList";
10383
10444
  var _RRFIP = "RemoveRoleFromInstanceProfile";
10384
10445
  var _RS = "RequireSymbols";
@@ -10397,6 +10458,7 @@ var _SAK = "SecretAccessKey";
10397
10458
  var _SAMLMD = "SAMLMetadataDocument";
10398
10459
  var _SAMLPA = "SAMLProviderArn";
10399
10460
  var _SAMLPL = "SAMLProviderList";
10461
+ var _SAMLPUUID = "SAMLProviderUUID";
10400
10462
  var _SC = "ServerCertificate";
10401
10463
  var _SCI = "ServerCertificateId";
10402
10464
  var _SCM = "ServerCertificateMetadata";
@@ -10440,6 +10502,7 @@ var _TR = "TagRole";
10440
10502
  var _TSAMLP = "TagSAMLProvider";
10441
10503
  var _TSC = "TagServerCertificate";
10442
10504
  var _TU = "TagUser";
10505
+ var _Ti = "Timestamp";
10443
10506
  var _Ty = "Type";
10444
10507
  var _U = "Url";
10445
10508
  var _UAK = "UpdateAccessKey";
@@ -10742,7 +10805,7 @@ var CreateSAMLProviderCommand = class extends import_smithy_client.Command.class
10742
10805
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10743
10806
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10744
10807
  ];
10745
- }).s("AWSIdentityManagementV20100508", "CreateSAMLProvider", {}).n("IAMClient", "CreateSAMLProviderCommand").f(void 0, void 0).ser(se_CreateSAMLProviderCommand).de(de_CreateSAMLProviderCommand).build() {
10808
+ }).s("AWSIdentityManagementV20100508", "CreateSAMLProvider", {}).n("IAMClient", "CreateSAMLProviderCommand").f(CreateSAMLProviderRequestFilterSensitiveLog, void 0).ser(se_CreateSAMLProviderCommand).de(de_CreateSAMLProviderCommand).build() {
10746
10809
  static {
10747
10810
  __name(this, "CreateSAMLProviderCommand");
10748
10811
  }
@@ -12827,7 +12890,7 @@ var UpdateSAMLProviderCommand = class extends import_smithy_client.Command.class
12827
12890
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
12828
12891
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
12829
12892
  ];
12830
- }).s("AWSIdentityManagementV20100508", "UpdateSAMLProvider", {}).n("IAMClient", "UpdateSAMLProviderCommand").f(void 0, void 0).ser(se_UpdateSAMLProviderCommand).de(de_UpdateSAMLProviderCommand).build() {
12893
+ }).s("AWSIdentityManagementV20100508", "UpdateSAMLProvider", {}).n("IAMClient", "UpdateSAMLProviderCommand").f(UpdateSAMLProviderRequestFilterSensitiveLog, void 0).ser(se_UpdateSAMLProviderCommand).de(de_UpdateSAMLProviderCommand).build() {
12831
12894
  static {
12832
12895
  __name(this, "UpdateSAMLProviderCommand");
12833
12896
  }
@@ -13589,6 +13652,7 @@ var waitUntilUserExists = /* @__PURE__ */ __name(async (params, input) => {
13589
13652
  ServiceFailureException,
13590
13653
  EntityAlreadyExistsException,
13591
13654
  UnmodifiableEntityException,
13655
+ AssertionEncryptionModeType,
13592
13656
  AssignmentStatusType,
13593
13657
  PermissionsBoundaryAttachmentType,
13594
13658
  PolicyNotAttachableException,
@@ -13626,17 +13690,18 @@ var waitUntilUserExists = /* @__PURE__ */ __name(async (params, input) => {
13626
13690
  GlobalEndpointTokenVersion,
13627
13691
  PolicyEvaluationException,
13628
13692
  ContextKeyTypeEnum,
13629
- PolicyEvaluationDecisionType,
13630
13693
  AccessKeyFilterSensitiveLog,
13631
13694
  ChangePasswordRequestFilterSensitiveLog,
13632
13695
  CreateAccessKeyResponseFilterSensitiveLog,
13633
13696
  CreateLoginProfileRequestFilterSensitiveLog,
13697
+ CreateSAMLProviderRequestFilterSensitiveLog,
13634
13698
  ServiceSpecificCredentialFilterSensitiveLog,
13635
13699
  CreateServiceSpecificCredentialResponseFilterSensitiveLog,
13636
13700
  VirtualMFADeviceFilterSensitiveLog,
13637
13701
  CreateVirtualMFADeviceResponseFilterSensitiveLog,
13638
13702
  ListVirtualMFADevicesResponseFilterSensitiveLog,
13639
13703
  ResetServiceSpecificCredentialResponseFilterSensitiveLog,
13704
+ PolicyEvaluationDecisionType,
13640
13705
  PolicySourceType,
13641
13706
  KeyPairMismatchException,
13642
13707
  MalformedCertificateException,
@@ -13645,6 +13710,7 @@ var waitUntilUserExists = /* @__PURE__ */ __name(async (params, input) => {
13645
13710
  DuplicateSSHPublicKeyException,
13646
13711
  InvalidPublicKeyException,
13647
13712
  UpdateLoginProfileRequestFilterSensitiveLog,
13713
+ UpdateSAMLProviderRequestFilterSensitiveLog,
13648
13714
  UploadServerCertificateRequestFilterSensitiveLog
13649
13715
  });
13650
13716
 
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateSAMLProviderRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_CreateSAMLProviderCommand, se_CreateSAMLProviderCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class CreateSAMLProviderCommand extends $Command
@@ -15,7 +16,7 @@ export class CreateSAMLProviderCommand extends $Command
15
16
  })
16
17
  .s("AWSIdentityManagementV20100508", "CreateSAMLProvider", {})
17
18
  .n("IAMClient", "CreateSAMLProviderCommand")
18
- .f(void 0, void 0)
19
+ .f(CreateSAMLProviderRequestFilterSensitiveLog, void 0)
19
20
  .ser(se_CreateSAMLProviderCommand)
20
21
  .de(de_CreateSAMLProviderCommand)
21
22
  .build() {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateSAMLProviderRequestFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_UpdateSAMLProviderCommand, se_UpdateSAMLProviderCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class UpdateSAMLProviderCommand extends $Command
@@ -15,7 +16,7 @@ export class UpdateSAMLProviderCommand extends $Command
15
16
  })
16
17
  .s("AWSIdentityManagementV20100508", "UpdateSAMLProvider", {})
17
18
  .n("IAMClient", "UpdateSAMLProviderCommand")
18
- .f(void 0, void 0)
19
+ .f(UpdateSAMLProviderRequestFilterSensitiveLog, void 0)
19
20
  .ser(se_UpdateSAMLProviderCommand)
20
21
  .de(de_UpdateSAMLProviderCommand)
21
22
  .build() {
@@ -94,6 +94,10 @@ export class UnmodifiableEntityException extends __BaseException {
94
94
  Object.setPrototypeOf(this, UnmodifiableEntityException.prototype);
95
95
  }
96
96
  }
97
+ export const AssertionEncryptionModeType = {
98
+ Allowed: "Allowed",
99
+ Required: "Required",
100
+ };
97
101
  export const AssignmentStatusType = {
98
102
  Any: "Any",
99
103
  Assigned: "Assigned",
@@ -455,11 +459,6 @@ export const ContextKeyTypeEnum = {
455
459
  STRING: "string",
456
460
  STRING_LIST: "stringList",
457
461
  };
458
- export const PolicyEvaluationDecisionType = {
459
- ALLOWED: "allowed",
460
- EXPLICIT_DENY: "explicitDeny",
461
- IMPLICIT_DENY: "implicitDeny",
462
- };
463
462
  export const AccessKeyFilterSensitiveLog = (obj) => ({
464
463
  ...obj,
465
464
  ...(obj.SecretAccessKey && { SecretAccessKey: SENSITIVE_STRING }),
@@ -477,6 +476,10 @@ export const CreateLoginProfileRequestFilterSensitiveLog = (obj) => ({
477
476
  ...obj,
478
477
  ...(obj.Password && { Password: SENSITIVE_STRING }),
479
478
  });
479
+ export const CreateSAMLProviderRequestFilterSensitiveLog = (obj) => ({
480
+ ...obj,
481
+ ...(obj.AddPrivateKey && { AddPrivateKey: SENSITIVE_STRING }),
482
+ });
480
483
  export const ServiceSpecificCredentialFilterSensitiveLog = (obj) => ({
481
484
  ...obj,
482
485
  ...(obj.ServicePassword && { ServicePassword: SENSITIVE_STRING }),
@@ -1,5 +1,10 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
+ export const PolicyEvaluationDecisionType = {
4
+ ALLOWED: "allowed",
5
+ EXPLICIT_DENY: "explicitDeny",
6
+ IMPLICIT_DENY: "implicitDeny",
7
+ };
3
8
  export const PolicySourceType = {
4
9
  AWS_MANAGED: "aws-managed",
5
10
  GROUP: "group",
@@ -85,6 +90,10 @@ export const UpdateLoginProfileRequestFilterSensitiveLog = (obj) => ({
85
90
  ...obj,
86
91
  ...(obj.Password && { Password: SENSITIVE_STRING }),
87
92
  });
93
+ export const UpdateSAMLProviderRequestFilterSensitiveLog = (obj) => ({
94
+ ...obj,
95
+ ...(obj.AddPrivateKey && { AddPrivateKey: SENSITIVE_STRING }),
96
+ });
88
97
  export const UploadServerCertificateRequestFilterSensitiveLog = (obj) => ({
89
98
  ...obj,
90
99
  ...(obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }),
@@ -4283,6 +4283,12 @@ const se_CreateSAMLProviderRequest = (input, context) => {
4283
4283
  entries[loc] = value;
4284
4284
  });
4285
4285
  }
4286
+ if (input[_AEM] != null) {
4287
+ entries[_AEM] = input[_AEM];
4288
+ }
4289
+ if (input[_APK] != null) {
4290
+ entries[_APK] = input[_APK];
4291
+ }
4286
4292
  return entries;
4287
4293
  };
4288
4294
  const se_CreateServiceLinkedRoleRequest = (input, context) => {
@@ -6095,6 +6101,15 @@ const se_UpdateSAMLProviderRequest = (input, context) => {
6095
6101
  if (input[_SAMLPA] != null) {
6096
6102
  entries[_SAMLPA] = input[_SAMLPA];
6097
6103
  }
6104
+ if (input[_AEM] != null) {
6105
+ entries[_AEM] = input[_AEM];
6106
+ }
6107
+ if (input[_APK] != null) {
6108
+ entries[_APK] = input[_APK];
6109
+ }
6110
+ if (input[_RPK] != null) {
6111
+ entries[_RPK] = input[_RPK];
6112
+ }
6098
6113
  return entries;
6099
6114
  };
6100
6115
  const se_UpdateServerCertificateRequest = (input, context) => {
@@ -7001,6 +7016,9 @@ const de_GetRoleResponse = (output, context) => {
7001
7016
  };
7002
7017
  const de_GetSAMLProviderResponse = (output, context) => {
7003
7018
  const contents = {};
7019
+ if (output[_SAMLPUUID] != null) {
7020
+ contents[_SAMLPUUID] = __expectString(output[_SAMLPUUID]);
7021
+ }
7004
7022
  if (output[_SAMLMD] != null) {
7005
7023
  contents[_SAMLMD] = __expectString(output[_SAMLMD]);
7006
7024
  }
@@ -7016,6 +7034,15 @@ const de_GetSAMLProviderResponse = (output, context) => {
7016
7034
  else if (output[_T] != null && output[_T][_me] != null) {
7017
7035
  contents[_T] = de_tagListType(__getArrayIfSingleItem(output[_T][_me]), context);
7018
7036
  }
7037
+ if (output[_AEM] != null) {
7038
+ contents[_AEM] = __expectString(output[_AEM]);
7039
+ }
7040
+ if (output.PrivateKeyList === "") {
7041
+ contents[_PKL] = [];
7042
+ }
7043
+ else if (output[_PKL] != null && output[_PKL][_me] != null) {
7044
+ contents[_PKL] = de_privateKeyList(__getArrayIfSingleItem(output[_PKL][_me]), context);
7045
+ }
7019
7046
  return contents;
7020
7047
  };
7021
7048
  const de_GetServerCertificateResponse = (output, context) => {
@@ -8242,6 +8269,13 @@ const de_Position = (output, context) => {
8242
8269
  }
8243
8270
  return contents;
8244
8271
  };
8272
+ const de_privateKeyList = (output, context) => {
8273
+ return (output || [])
8274
+ .filter((e) => e != null)
8275
+ .map((entry) => {
8276
+ return de_SAMLPrivateKey(entry, context);
8277
+ });
8278
+ };
8245
8279
  const de_ReportGenerationLimitExceededException = (output, context) => {
8246
8280
  const contents = {};
8247
8281
  if (output[_m] != null) {
@@ -8430,6 +8464,16 @@ const de_RoleUsageType = (output, context) => {
8430
8464
  }
8431
8465
  return contents;
8432
8466
  };
8467
+ const de_SAMLPrivateKey = (output, context) => {
8468
+ const contents = {};
8469
+ if (output[_KI] != null) {
8470
+ contents[_KI] = __expectString(output[_KI]);
8471
+ }
8472
+ if (output[_Ti] != null) {
8473
+ contents[_Ti] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_Ti]));
8474
+ }
8475
+ return contents;
8476
+ };
8433
8477
  const de_SAMLProviderListEntry = (output, context) => {
8434
8478
  const contents = {};
8435
8479
  if (output[_Ar] != null) {
@@ -8989,6 +9033,7 @@ const _ACIDTOIDCP = "AddClientIDToOpenIDConnectProvider";
8989
9033
  const _ACt = "AttachmentCount";
8990
9034
  const _ACu = "AuthenticationCode2";
8991
9035
  const _AD = "AccessDetails";
9036
+ const _AEM = "AssertionEncryptionMode";
8992
9037
  const _AGP = "AttachGroupPolicy";
8993
9038
  const _AK = "AccessKey";
8994
9039
  const _AKI = "AccessKeyId";
@@ -8998,6 +9043,7 @@ const _AMP = "AttachedManagedPolicies";
8998
9043
  const _AN = "ActionNames";
8999
9044
  const _ANc = "ActionName";
9000
9045
  const _AP = "AttachedPolicies";
9046
+ const _APK = "AddPrivateKey";
9001
9047
  const _ARP = "AttachRolePolicy";
9002
9048
  const _ARPD = "AssumeRolePolicyDocument";
9003
9049
  const _ARTIP = "AddRoleToInstanceProfile";
@@ -9155,6 +9201,7 @@ const _JI = "JobId";
9155
9201
  const _JS = "JobStatus";
9156
9202
  const _JT = "JobType";
9157
9203
  const _K = "Key";
9204
+ const _KI = "KeyId";
9158
9205
  const _L = "Line";
9159
9206
  const _LA = "LastAuthenticated";
9160
9207
  const _LAA = "ListAccountAliases";
@@ -9239,6 +9286,7 @@ const _PGSA = "PoliciesGrantingServiceAccess";
9239
9286
  const _PI = "PolicyId";
9240
9287
  const _PIL = "PolicyInputList";
9241
9288
  const _PK = "PrivateKey";
9289
+ const _PKL = "PrivateKeyList";
9242
9290
  const _PLU = "PasswordLastUsed";
9243
9291
  const _PN = "PolicyName";
9244
9292
  const _PNo = "PolicyNames";
@@ -9275,6 +9323,7 @@ const _RN = "RoleName";
9275
9323
  const _RNe = "RequireNumbers";
9276
9324
  const _RO = "ResourceOwner";
9277
9325
  const _RP = "ResourcePolicy";
9326
+ const _RPK = "RemovePrivateKey";
9278
9327
  const _RPL = "RolePolicyList";
9279
9328
  const _RRFIP = "RemoveRoleFromInstanceProfile";
9280
9329
  const _RS = "RequireSymbols";
@@ -9293,6 +9342,7 @@ const _SAK = "SecretAccessKey";
9293
9342
  const _SAMLMD = "SAMLMetadataDocument";
9294
9343
  const _SAMLPA = "SAMLProviderArn";
9295
9344
  const _SAMLPL = "SAMLProviderList";
9345
+ const _SAMLPUUID = "SAMLProviderUUID";
9296
9346
  const _SC = "ServerCertificate";
9297
9347
  const _SCI = "ServerCertificateId";
9298
9348
  const _SCM = "ServerCertificateMetadata";
@@ -9336,6 +9386,7 @@ const _TR = "TagRole";
9336
9386
  const _TSAMLP = "TagSAMLProvider";
9337
9387
  const _TSC = "TagServerCertificate";
9338
9388
  const _TU = "TagUser";
9389
+ const _Ti = "Timestamp";
9339
9390
  const _Ty = "Type";
9340
9391
  const _U = "Url";
9341
9392
  const _UAK = "UpdateAccessKey";
@@ -37,6 +37,13 @@ declare const AddRoleToInstanceProfileCommand_base: {
37
37
  * <p>The caller of this operation must be granted the <code>PassRole</code> permission
38
38
  * on the IAM role by a permissions policy.</p>
39
39
  * </note>
40
+ * <important>
41
+ * <p>When using the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#available-keys-for-iam">iam:AssociatedResourceArn</a> condition in a policy to restrict the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">PassRole</a> IAM action, special considerations apply if the policy is
42
+ * intended to define access for the <code>AddRoleToInstanceProfile</code> action. In
43
+ * this case, you cannot specify a Region or instance ID in the EC2 instance ARN. The
44
+ * ARN value must be <code>arn:aws:ec2:*:CallerAccountId:instance/*</code>. Using any
45
+ * other ARN value may lead to unexpected evaluation results.</p>
46
+ * </important>
40
47
  * <p> For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> in the
41
48
  * <i>IAM User Guide</i>. For more information about instance profiles,
42
49
  * see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html">Using
@@ -60,6 +60,8 @@ declare const CreateSAMLProviderCommand_base: {
60
60
  * Value: "STRING_VALUE", // required
61
61
  * },
62
62
  * ],
63
+ * AssertionEncryptionMode: "Required" || "Allowed",
64
+ * AddPrivateKey: "STRING_VALUE",
63
65
  * };
64
66
  * const command = new CreateSAMLProviderCommand(input);
65
67
  * const response = await client.send(command);
@@ -29,7 +29,7 @@ declare const DisableOrganizationsRootCredentialsManagementCommand_base: {
29
29
  /**
30
30
  * <p>Disables the management of privileged root user credentials across member accounts in
31
31
  * your organization. When you disable this feature, the management account and the
32
- * delegated admininstrator for IAM can no longer manage root user credentials for member
32
+ * delegated administrator for IAM can no longer manage root user credentials for member
33
33
  * accounts in your organization.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
@@ -66,7 +66,7 @@ declare const DisableOrganizationsRootCredentialsManagementCommand_base: {
66
66
  * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
67
67
  * <p>The request was rejected because your organization does not have All features enabled. For
68
68
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
69
- * Guide</i>.</p>
69
+ * Guide</i>.</p>
70
70
  *
71
71
  * @throws {@link ServiceAccessNotEnabledException} (client fault)
72
72
  * <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
@@ -29,7 +29,7 @@ declare const DisableOrganizationsRootSessionsCommand_base: {
29
29
  /**
30
30
  * <p>Disables root user sessions for privileged tasks across member accounts in your
31
31
  * organization. When you disable this feature, the management account and the delegated
32
- * admininstrator for IAM can no longer perform privileged tasks on member accounts in
32
+ * administrator for IAM can no longer perform privileged tasks on member accounts in
33
33
  * your organization.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
@@ -66,7 +66,7 @@ declare const DisableOrganizationsRootSessionsCommand_base: {
66
66
  * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
67
67
  * <p>The request was rejected because your organization does not have All features enabled. For
68
68
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
69
- * Guide</i>.</p>
69
+ * Guide</i>.</p>
70
70
  *
71
71
  * @throws {@link ServiceAccessNotEnabledException} (client fault)
72
72
  * <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
@@ -29,7 +29,7 @@ declare const EnableOrganizationsRootCredentialsManagementCommand_base: {
29
29
  /**
30
30
  * <p>Enables the management of privileged root user credentials across member accounts in your
31
31
  * organization. When you enable root credentials management for <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management">centralized root access</a>, the management account and the delegated
32
- * admininstrator for IAM can manage root user credentials for member accounts in your
32
+ * administrator for IAM can manage root user credentials for member accounts in your
33
33
  * organization.</p>
34
34
  * <p>Before you enable centralized root access, you must have an account configured with
35
35
  * the following settings:</p>
@@ -39,7 +39,7 @@ declare const EnableOrganizationsRootCredentialsManagementCommand_base: {
39
39
  * </li>
40
40
  * <li>
41
41
  * <p>Enable trusted access for Identity and Access Management in Organizations. For details, see
42
- * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-ra.html">IAM and Organizations</a> in the <i>Organizations User
42
+ * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-iam.html">IAM and Organizations</a> in the <i>Organizations User
43
43
  * Guide</i>.</p>
44
44
  * </li>
45
45
  * </ul>
@@ -82,7 +82,7 @@ declare const EnableOrganizationsRootCredentialsManagementCommand_base: {
82
82
  * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
83
83
  * <p>The request was rejected because your organization does not have All features enabled. For
84
84
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
85
- * Guide</i>.</p>
85
+ * Guide</i>.</p>
86
86
  *
87
87
  * @throws {@link ServiceAccessNotEnabledException} (client fault)
88
88
  * <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
@@ -81,7 +81,7 @@ declare const EnableOrganizationsRootSessionsCommand_base: {
81
81
  * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
82
82
  * <p>The request was rejected because your organization does not have All features enabled. For
83
83
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
84
- * Guide</i>.</p>
84
+ * Guide</i>.</p>
85
85
  *
86
86
  * @throws {@link ServiceAccessNotEnabledException} (client fault)
87
87
  * <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
@@ -57,7 +57,7 @@ declare const GetCredentialReportCommand_base: {
57
57
  * <p>The request was rejected because the most recent credential report has expired. To
58
58
  * generate a new credential report, use <a>GenerateCredentialReport</a>. For more
59
59
  * information about credential report expiration, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Getting credential reports</a> in the
60
- * <i>IAM User Guide</i>.</p>
60
+ * <i>IAM User Guide</i>.</p>
61
61
  *
62
62
  * @throws {@link CredentialReportNotPresentException} (client fault)
63
63
  * <p>The request was rejected because the credential report does not exist. To generate a
@@ -44,6 +44,7 @@ declare const GetSAMLProviderCommand_base: {
44
44
  * const command = new GetSAMLProviderCommand(input);
45
45
  * const response = await client.send(command);
46
46
  * // { // GetSAMLProviderResponse
47
+ * // SAMLProviderUUID: "STRING_VALUE",
47
48
  * // SAMLMetadataDocument: "STRING_VALUE",
48
49
  * // CreateDate: new Date("TIMESTAMP"),
49
50
  * // ValidUntil: new Date("TIMESTAMP"),
@@ -53,6 +54,13 @@ declare const GetSAMLProviderCommand_base: {
53
54
  * // Value: "STRING_VALUE", // required
54
55
  * // },
55
56
  * // ],
57
+ * // AssertionEncryptionMode: "Required" || "Allowed",
58
+ * // PrivateKeyList: [ // privateKeyList
59
+ * // { // SAMLPrivateKey
60
+ * // KeyId: "STRING_VALUE",
61
+ * // Timestamp: new Date("TIMESTAMP"),
62
+ * // },
63
+ * // ],
56
64
  * // };
57
65
  *
58
66
  * ```
@@ -28,9 +28,9 @@ declare const ListAccountAliasesCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Lists the account alias associated with the Amazon Web Services account (Note: you can have only
31
- * one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html">Creating,
32
- * deleting, and listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In
33
- * User Guide</i>.</p>
31
+ * one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html#CreateAccountAlias">Creating,
32
+ * deleting, and listing an Amazon Web Services account alias</a> in the
33
+ * <i>IAM User Guide</i>.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
36
36
  * ```javascript
@@ -64,7 +64,7 @@ declare const ListOrganizationsFeaturesCommand_base: {
64
64
  * @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
65
65
  * <p>The request was rejected because your organization does not have All features enabled. For
66
66
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
67
- * Guide</i>.</p>
67
+ * Guide</i>.</p>
68
68
  *
69
69
  * @throws {@link ServiceAccessNotEnabledException} (client fault)
70
70
  * <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
@@ -27,10 +27,9 @@ declare const UpdateSAMLProviderCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates the metadata document for an existing SAML provider resource object.</p>
31
- * <note>
32
- * <p>This operation requires <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
33
- * </note>
30
+ * <p>Updates the metadata document, SAML encryption settings, and private keys for an
31
+ * existing SAML provider. To rotate private keys, add your new private key and then remove
32
+ * the old key in a separate request.</p>
34
33
  * @example
35
34
  * Use a bare-bones client and the command you need to make an API call.
36
35
  * ```javascript
@@ -38,8 +37,11 @@ declare const UpdateSAMLProviderCommand_base: {
38
37
  * // const { IAMClient, UpdateSAMLProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
39
38
  * const client = new IAMClient(config);
40
39
  * const input = { // UpdateSAMLProviderRequest
41
- * SAMLMetadataDocument: "STRING_VALUE", // required
40
+ * SAMLMetadataDocument: "STRING_VALUE",
42
41
  * SAMLProviderArn: "STRING_VALUE", // required
42
+ * AssertionEncryptionMode: "Required" || "Allowed",
43
+ * AddPrivateKey: "STRING_VALUE",
44
+ * RemovePrivateKey: "STRING_VALUE",
43
45
  * };
44
46
  * const command = new UpdateSAMLProviderCommand(input);
45
47
  * const response = await client.send(command);
@@ -363,6 +363,18 @@ export interface AddUserToGroupRequest {
363
363
  */
364
364
  UserName: string | undefined;
365
365
  }
366
+ /**
367
+ * @public
368
+ * @enum
369
+ */
370
+ export declare const AssertionEncryptionModeType: {
371
+ readonly Allowed: "Allowed";
372
+ readonly Required: "Required";
373
+ };
374
+ /**
375
+ * @public
376
+ */
377
+ export type AssertionEncryptionModeType = (typeof AssertionEncryptionModeType)[keyof typeof AssertionEncryptionModeType];
366
378
  /**
367
379
  * @public
368
380
  * @enum
@@ -1551,6 +1563,18 @@ export interface CreateSAMLProviderRequest {
1551
1563
  * @public
1552
1564
  */
1553
1565
  Tags?: Tag[] | undefined;
1566
+ /**
1567
+ * <p>Specifies the encryption setting for the SAML provider.</p>
1568
+ * @public
1569
+ */
1570
+ AssertionEncryptionMode?: AssertionEncryptionModeType | undefined;
1571
+ /**
1572
+ * <p>The private key generated from your external identity provider. The private key must
1573
+ * be a .pem file that uses AES-GCM or AES-CBC encryption algorithm to decrypt SAML
1574
+ * assertions.</p>
1575
+ * @public
1576
+ */
1577
+ AddPrivateKey?: string | undefined;
1554
1578
  }
1555
1579
  /**
1556
1580
  * <p>Contains the response to a successful <a>CreateSAMLProvider</a> request.
@@ -2431,7 +2455,7 @@ export declare class OrganizationNotFoundException extends __BaseException {
2431
2455
  /**
2432
2456
  * <p>The request was rejected because your organization does not have All features enabled. For
2433
2457
  * more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
2434
- * Guide</i>.</p>
2458
+ * Guide</i>.</p>
2435
2459
  * @public
2436
2460
  */
2437
2461
  export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
@@ -3014,7 +3038,8 @@ export interface RoleDetail {
3014
3038
  * date and time and the Region in which the role was last used. Activity is only reported for
3015
3039
  * the trailing 400 days. This period can be shorter if your Region began supporting these
3016
3040
  * features within the last year. The role might have been used more than 400 days ago. For
3017
- * more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the <i>IAM User Guide</i>.</p>
3041
+ * more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a> in the
3042
+ * <i>IAM User Guide</i>.</p>
3018
3043
  * @public
3019
3044
  */
3020
3045
  RoleLastUsed?: RoleLastUsed | undefined;
@@ -3347,7 +3372,7 @@ export interface GetContextKeysForPrincipalPolicyRequest {
3347
3372
  * <p>The request was rejected because the most recent credential report has expired. To
3348
3373
  * generate a new credential report, use <a>GenerateCredentialReport</a>. For more
3349
3374
  * information about credential report expiration, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Getting credential reports</a> in the
3350
- * <i>IAM User Guide</i>.</p>
3375
+ * <i>IAM User Guide</i>.</p>
3351
3376
  * @public
3352
3377
  */
3353
3378
  export declare class CredentialReportExpiredException extends __BaseException {
@@ -3951,12 +3976,35 @@ export interface GetSAMLProviderRequest {
3951
3976
  */
3952
3977
  SAMLProviderArn: string | undefined;
3953
3978
  }
3979
+ /**
3980
+ * <p>Contains the private keys for the SAML provider.</p>
3981
+ * <p>This data type is used as a response element in the <a>GetSAMLProvider</a> operation.</p>
3982
+ * @public
3983
+ */
3984
+ export interface SAMLPrivateKey {
3985
+ /**
3986
+ * <p>The unique identifier for the SAML private key.</p>
3987
+ * @public
3988
+ */
3989
+ KeyId?: string | undefined;
3990
+ /**
3991
+ * <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
3992
+ * </a> format, when the private key was uploaded.</p>
3993
+ * @public
3994
+ */
3995
+ Timestamp?: Date | undefined;
3996
+ }
3954
3997
  /**
3955
3998
  * <p>Contains the response to a successful <a>GetSAMLProvider</a> request.
3956
3999
  * </p>
3957
4000
  * @public
3958
4001
  */
3959
4002
  export interface GetSAMLProviderResponse {
4003
+ /**
4004
+ * <p>The unique identifier assigned to the SAML provider.</p>
4005
+ * @public
4006
+ */
4007
+ SAMLProviderUUID?: string | undefined;
3960
4008
  /**
3961
4009
  * <p>The XML metadata document that includes information about an identity provider.</p>
3962
4010
  * @public
@@ -3979,6 +4027,16 @@ export interface GetSAMLProviderResponse {
3979
4027
  * @public
3980
4028
  */
3981
4029
  Tags?: Tag[] | undefined;
4030
+ /**
4031
+ * <p>Specifies the encryption setting for the SAML provider.</p>
4032
+ * @public
4033
+ */
4034
+ AssertionEncryptionMode?: AssertionEncryptionModeType | undefined;
4035
+ /**
4036
+ * <p>The private key metadata for the SAML provider.</p>
4037
+ * @public
4038
+ */
4039
+ PrivateKeyList?: SAMLPrivateKey[] | undefined;
3982
4040
  }
3983
4041
  /**
3984
4042
  * @public
@@ -4195,8 +4253,8 @@ export interface ServiceLastAccessed {
4195
4253
  */
4196
4254
  LastAuthenticatedRegion?: string | undefined;
4197
4255
  /**
4198
- * <p>The total number of authenticated principals (root user, IAM users, or IAM roles)
4199
- * that have attempted to access the service.</p>
4256
+ * <p>The total number of authenticated principals (root user, IAM users, or IAM roles) that
4257
+ * have attempted to access the service.</p>
4200
4258
  * <p>This field is null if no principals attempted to access the service within the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period">tracking period</a>.</p>
4201
4259
  * @public
4202
4260
  */
@@ -7751,39 +7809,6 @@ export interface SimulateCustomPolicyRequest {
7751
7809
  */
7752
7810
  Marker?: string | undefined;
7753
7811
  }
7754
- /**
7755
- * @public
7756
- * @enum
7757
- */
7758
- export declare const PolicyEvaluationDecisionType: {
7759
- readonly ALLOWED: "allowed";
7760
- readonly EXPLICIT_DENY: "explicitDeny";
7761
- readonly IMPLICIT_DENY: "implicitDeny";
7762
- };
7763
- /**
7764
- * @public
7765
- */
7766
- export type PolicyEvaluationDecisionType = (typeof PolicyEvaluationDecisionType)[keyof typeof PolicyEvaluationDecisionType];
7767
- /**
7768
- * <p>Contains the row and column of a location of a <code>Statement</code> element in a
7769
- * policy document.</p>
7770
- * <p>This data type is used as a member of the <code>
7771
- * <a>Statement</a>
7772
- * </code> type.</p>
7773
- * @public
7774
- */
7775
- export interface Position {
7776
- /**
7777
- * <p>The line containing the specified position in the document.</p>
7778
- * @public
7779
- */
7780
- Line?: number | undefined;
7781
- /**
7782
- * <p>The column in the line containing the specified position in the document.</p>
7783
- * @public
7784
- */
7785
- Column?: number | undefined;
7786
- }
7787
7812
  /**
7788
7813
  * @internal
7789
7814
  */
@@ -7800,6 +7825,10 @@ export declare const CreateAccessKeyResponseFilterSensitiveLog: (obj: CreateAcce
7800
7825
  * @internal
7801
7826
  */
7802
7827
  export declare const CreateLoginProfileRequestFilterSensitiveLog: (obj: CreateLoginProfileRequest) => any;
7828
+ /**
7829
+ * @internal
7830
+ */
7831
+ export declare const CreateSAMLProviderRequestFilterSensitiveLog: (obj: CreateSAMLProviderRequest) => any;
7803
7832
  /**
7804
7833
  * @internal
7805
7834
  */
@@ -1,6 +1,39 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
- import { ContextEntry, PolicyEvaluationDecisionType, Position, Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, StatusType, Tag } from "./models_0";
3
+ import { AssertionEncryptionModeType, ContextEntry, Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, StatusType, Tag } from "./models_0";
4
+ /**
5
+ * @public
6
+ * @enum
7
+ */
8
+ export declare const PolicyEvaluationDecisionType: {
9
+ readonly ALLOWED: "allowed";
10
+ readonly EXPLICIT_DENY: "explicitDeny";
11
+ readonly IMPLICIT_DENY: "implicitDeny";
12
+ };
13
+ /**
14
+ * @public
15
+ */
16
+ export type PolicyEvaluationDecisionType = (typeof PolicyEvaluationDecisionType)[keyof typeof PolicyEvaluationDecisionType];
17
+ /**
18
+ * <p>Contains the row and column of a location of a <code>Statement</code> element in a
19
+ * policy document.</p>
20
+ * <p>This data type is used as a member of the <code>
21
+ * <a>Statement</a>
22
+ * </code> type.</p>
23
+ * @public
24
+ */
25
+ export interface Position {
26
+ /**
27
+ * <p>The line containing the specified position in the document.</p>
28
+ * @public
29
+ */
30
+ Line?: number | undefined;
31
+ /**
32
+ * <p>The column in the line containing the specified position in the document.</p>
33
+ * @public
34
+ */
35
+ Column?: number | undefined;
36
+ }
4
37
  /**
5
38
  * @public
6
39
  * @enum
@@ -1081,16 +1114,33 @@ export interface UpdateSAMLProviderRequest {
1081
1114
  * document includes the issuer's name, expiration information, and keys that can be used
1082
1115
  * to validate the SAML authentication response (assertions) that are received from the
1083
1116
  * IdP. You must generate the metadata document using the identity management software that
1084
- * is used as your organization's IdP.</p>
1117
+ * is used as your IdP.</p>
1085
1118
  * @public
1086
1119
  */
1087
- SAMLMetadataDocument: string | undefined;
1120
+ SAMLMetadataDocument?: string | undefined;
1088
1121
  /**
1089
1122
  * <p>The Amazon Resource Name (ARN) of the SAML provider to update.</p>
1090
1123
  * <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>
1091
1124
  * @public
1092
1125
  */
1093
1126
  SAMLProviderArn: string | undefined;
1127
+ /**
1128
+ * <p>Specifies the encryption setting for the SAML provider.</p>
1129
+ * @public
1130
+ */
1131
+ AssertionEncryptionMode?: AssertionEncryptionModeType | undefined;
1132
+ /**
1133
+ * <p>Specifies the new private key from your external identity provider. The
1134
+ * private key must be a .pem file that uses AES-GCM or AES-CBC encryption algorithm to
1135
+ * decrypt SAML assertions.</p>
1136
+ * @public
1137
+ */
1138
+ AddPrivateKey?: string | undefined;
1139
+ /**
1140
+ * <p>The Key ID of the private key to remove.</p>
1141
+ * @public
1142
+ */
1143
+ RemovePrivateKey?: string | undefined;
1094
1144
  }
1095
1145
  /**
1096
1146
  * <p>Contains the response to a successful <a>UpdateSAMLProvider</a> request.
@@ -1541,6 +1591,10 @@ export interface UploadSSHPublicKeyResponse {
1541
1591
  * @internal
1542
1592
  */
1543
1593
  export declare const UpdateLoginProfileRequestFilterSensitiveLog: (obj: UpdateLoginProfileRequest) => any;
1594
+ /**
1595
+ * @internal
1596
+ */
1597
+ export declare const UpdateSAMLProviderRequestFilterSensitiveLog: (obj: UpdateSAMLProviderRequest) => any;
1544
1598
  /**
1545
1599
  * @internal
1546
1600
  */
@@ -102,6 +102,12 @@ export interface AddUserToGroupRequest {
102
102
  GroupName: string | undefined;
103
103
  UserName: string | undefined;
104
104
  }
105
+ export declare const AssertionEncryptionModeType: {
106
+ readonly Allowed: "Allowed";
107
+ readonly Required: "Required";
108
+ };
109
+ export type AssertionEncryptionModeType =
110
+ (typeof AssertionEncryptionModeType)[keyof typeof AssertionEncryptionModeType];
105
111
  export declare const AssignmentStatusType: {
106
112
  readonly Any: "Any";
107
113
  readonly Assigned: "Assigned";
@@ -340,6 +346,8 @@ export interface CreateSAMLProviderRequest {
340
346
  SAMLMetadataDocument: string | undefined;
341
347
  Name: string | undefined;
342
348
  Tags?: Tag[] | undefined;
349
+ AssertionEncryptionMode?: AssertionEncryptionModeType | undefined;
350
+ AddPrivateKey?: string | undefined;
343
351
  }
344
352
  export interface CreateSAMLProviderResponse {
345
353
  SAMLProviderArn?: string | undefined;
@@ -925,11 +933,18 @@ export interface GetRolePolicyResponse {
925
933
  export interface GetSAMLProviderRequest {
926
934
  SAMLProviderArn: string | undefined;
927
935
  }
936
+ export interface SAMLPrivateKey {
937
+ KeyId?: string | undefined;
938
+ Timestamp?: Date | undefined;
939
+ }
928
940
  export interface GetSAMLProviderResponse {
941
+ SAMLProviderUUID?: string | undefined;
929
942
  SAMLMetadataDocument?: string | undefined;
930
943
  CreateDate?: Date | undefined;
931
944
  ValidUntil?: Date | undefined;
932
945
  Tags?: Tag[] | undefined;
946
+ AssertionEncryptionMode?: AssertionEncryptionModeType | undefined;
947
+ PrivateKeyList?: SAMLPrivateKey[] | undefined;
933
948
  }
934
949
  export interface GetServerCertificateRequest {
935
950
  ServerCertificateName: string | undefined;
@@ -1602,17 +1617,6 @@ export interface SimulateCustomPolicyRequest {
1602
1617
  MaxItems?: number | undefined;
1603
1618
  Marker?: string | undefined;
1604
1619
  }
1605
- export declare const PolicyEvaluationDecisionType: {
1606
- readonly ALLOWED: "allowed";
1607
- readonly EXPLICIT_DENY: "explicitDeny";
1608
- readonly IMPLICIT_DENY: "implicitDeny";
1609
- };
1610
- export type PolicyEvaluationDecisionType =
1611
- (typeof PolicyEvaluationDecisionType)[keyof typeof PolicyEvaluationDecisionType];
1612
- export interface Position {
1613
- Line?: number | undefined;
1614
- Column?: number | undefined;
1615
- }
1616
1620
  export declare const AccessKeyFilterSensitiveLog: (obj: AccessKey) => any;
1617
1621
  export declare const ChangePasswordRequestFilterSensitiveLog: (
1618
1622
  obj: ChangePasswordRequest
@@ -1623,6 +1627,9 @@ export declare const CreateAccessKeyResponseFilterSensitiveLog: (
1623
1627
  export declare const CreateLoginProfileRequestFilterSensitiveLog: (
1624
1628
  obj: CreateLoginProfileRequest
1625
1629
  ) => any;
1630
+ export declare const CreateSAMLProviderRequestFilterSensitiveLog: (
1631
+ obj: CreateSAMLProviderRequest
1632
+ ) => any;
1626
1633
  export declare const ServiceSpecificCredentialFilterSensitiveLog: (
1627
1634
  obj: ServiceSpecificCredential
1628
1635
  ) => any;
@@ -1,9 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IAMServiceException as __BaseException } from "./IAMServiceException";
3
3
  import {
4
+ AssertionEncryptionModeType,
4
5
  ContextEntry,
5
- PolicyEvaluationDecisionType,
6
- Position,
7
6
  Role,
8
7
  ServerCertificateMetadata,
9
8
  SigningCertificate,
@@ -11,6 +10,17 @@ import {
11
10
  StatusType,
12
11
  Tag,
13
12
  } from "./models_0";
13
+ export declare const PolicyEvaluationDecisionType: {
14
+ readonly ALLOWED: "allowed";
15
+ readonly EXPLICIT_DENY: "explicitDeny";
16
+ readonly IMPLICIT_DENY: "implicitDeny";
17
+ };
18
+ export type PolicyEvaluationDecisionType =
19
+ (typeof PolicyEvaluationDecisionType)[keyof typeof PolicyEvaluationDecisionType];
20
+ export interface Position {
21
+ Line?: number | undefined;
22
+ Column?: number | undefined;
23
+ }
14
24
  export declare const PolicySourceType: {
15
25
  readonly AWS_MANAGED: "aws-managed";
16
26
  readonly GROUP: "group";
@@ -192,8 +202,11 @@ export interface UpdateRoleDescriptionResponse {
192
202
  Role?: Role | undefined;
193
203
  }
194
204
  export interface UpdateSAMLProviderRequest {
195
- SAMLMetadataDocument: string | undefined;
205
+ SAMLMetadataDocument?: string | undefined;
196
206
  SAMLProviderArn: string | undefined;
207
+ AssertionEncryptionMode?: AssertionEncryptionModeType | undefined;
208
+ AddPrivateKey?: string | undefined;
209
+ RemovePrivateKey?: string | undefined;
197
210
  }
198
211
  export interface UpdateSAMLProviderResponse {
199
212
  SAMLProviderArn?: string | undefined;
@@ -294,6 +307,9 @@ export interface UploadSSHPublicKeyResponse {
294
307
  export declare const UpdateLoginProfileRequestFilterSensitiveLog: (
295
308
  obj: UpdateLoginProfileRequest
296
309
  ) => any;
310
+ export declare const UpdateSAMLProviderRequestFilterSensitiveLog: (
311
+ obj: UpdateSAMLProviderRequest
312
+ ) => any;
297
313
  export declare const UploadServerCertificateRequestFilterSensitiveLog: (
298
314
  obj: UploadServerCertificateRequest
299
315
  ) => any;
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.738.0",
4
+ "version": "3.742.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",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.734.0",
24
- "@aws-sdk/credential-provider-node": "3.738.0",
24
+ "@aws-sdk/credential-provider-node": "3.741.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",