@aws-sdk/client-cognito-identity-provider 3.760.0 → 3.772.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
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccountTakeoverEventActionType: () => AccountTakeoverEventActionType,
25
25
  AddCustomAttributesCommand: () => AddCustomAttributesCommand,
26
26
  AdminAddUserToGroupCommand: () => AdminAddUserToGroupCommand,
@@ -347,7 +347,7 @@ __export(src_exports, {
347
347
  paginateListUsers: () => paginateListUsers,
348
348
  paginateListUsersInGroup: () => paginateListUsersInGroup
349
349
  });
350
- module.exports = __toCommonJS(src_exports);
350
+ module.exports = __toCommonJS(index_exports);
351
351
 
352
352
  // src/CognitoIdentityProviderClient.ts
353
353
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -474,9 +474,9 @@ var CognitoIdentityProviderClient = class extends import_smithy_client.Client {
474
474
  this.middlewareStack.use(
475
475
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
476
476
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCognitoIdentityProviderHttpAuthSchemeParametersProvider,
477
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
477
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
478
478
  "aws.auth#sigv4": config.credentials
479
- })
479
+ }), "identityProviderConfigProvider")
480
480
  })
481
481
  );
482
482
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -5013,14 +5013,14 @@ var se_AssetType = /* @__PURE__ */ __name((input, context) => {
5013
5013
  var se_CompleteWebAuthnRegistrationRequest = /* @__PURE__ */ __name((input, context) => {
5014
5014
  return (0, import_smithy_client.take)(input, {
5015
5015
  AccessToken: [],
5016
- Credential: (_) => se_Document(_, context)
5016
+ Credential: /* @__PURE__ */ __name((_) => se_Document(_, context), "Credential")
5017
5017
  });
5018
5018
  }, "se_CompleteWebAuthnRegistrationRequest");
5019
5019
  var se_CreateManagedLoginBrandingRequest = /* @__PURE__ */ __name((input, context) => {
5020
5020
  return (0, import_smithy_client.take)(input, {
5021
- Assets: (_) => se_AssetListType(_, context),
5021
+ Assets: /* @__PURE__ */ __name((_) => se_AssetListType(_, context), "Assets"),
5022
5022
  ClientId: [],
5023
- Settings: (_) => se_Document(_, context),
5023
+ Settings: /* @__PURE__ */ __name((_) => se_Document(_, context), "Settings"),
5024
5024
  UseCognitoProvidedValues: [],
5025
5025
  UserPoolId: []
5026
5026
  });
@@ -5038,21 +5038,21 @@ var se_SetUICustomizationRequest = /* @__PURE__ */ __name((input, context) => {
5038
5038
  }, "se_SetUICustomizationRequest");
5039
5039
  var se_UpdateManagedLoginBrandingRequest = /* @__PURE__ */ __name((input, context) => {
5040
5040
  return (0, import_smithy_client.take)(input, {
5041
- Assets: (_) => se_AssetListType(_, context),
5041
+ Assets: /* @__PURE__ */ __name((_) => se_AssetListType(_, context), "Assets"),
5042
5042
  ManagedLoginBrandingId: [],
5043
- Settings: (_) => se_Document(_, context),
5043
+ Settings: /* @__PURE__ */ __name((_) => se_Document(_, context), "Settings"),
5044
5044
  UseCognitoProvidedValues: [],
5045
5045
  UserPoolId: []
5046
5046
  });
5047
5047
  }, "se_UpdateManagedLoginBrandingRequest");
5048
5048
  var de_AdminCreateUserResponse = /* @__PURE__ */ __name((output, context) => {
5049
5049
  return (0, import_smithy_client.take)(output, {
5050
- User: (_) => de_UserType(_, context)
5050
+ User: /* @__PURE__ */ __name((_) => de_UserType(_, context), "User")
5051
5051
  });
5052
5052
  }, "de_AdminCreateUserResponse");
5053
5053
  var de_AdminGetDeviceResponse = /* @__PURE__ */ __name((output, context) => {
5054
5054
  return (0, import_smithy_client.take)(output, {
5055
- Device: (_) => de_DeviceType(_, context)
5055
+ Device: /* @__PURE__ */ __name((_) => de_DeviceType(_, context), "Device")
5056
5056
  });
5057
5057
  }, "de_AdminGetDeviceResponse");
5058
5058
  var de_AdminGetUserResponse = /* @__PURE__ */ __name((output, context) => {
@@ -5061,8 +5061,8 @@ var de_AdminGetUserResponse = /* @__PURE__ */ __name((output, context) => {
5061
5061
  MFAOptions: import_smithy_client._json,
5062
5062
  PreferredMfaSetting: import_smithy_client.expectString,
5063
5063
  UserAttributes: import_smithy_client._json,
5064
- UserCreateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5065
- UserLastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5064
+ UserCreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UserCreateDate"),
5065
+ UserLastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UserLastModifiedDate"),
5066
5066
  UserMFASettingList: import_smithy_client._json,
5067
5067
  UserStatus: import_smithy_client.expectString,
5068
5068
  Username: import_smithy_client.expectString
@@ -5070,19 +5070,19 @@ var de_AdminGetUserResponse = /* @__PURE__ */ __name((output, context) => {
5070
5070
  }, "de_AdminGetUserResponse");
5071
5071
  var de_AdminListDevicesResponse = /* @__PURE__ */ __name((output, context) => {
5072
5072
  return (0, import_smithy_client.take)(output, {
5073
- Devices: (_) => de_DeviceListType(_, context),
5073
+ Devices: /* @__PURE__ */ __name((_) => de_DeviceListType(_, context), "Devices"),
5074
5074
  PaginationToken: import_smithy_client.expectString
5075
5075
  });
5076
5076
  }, "de_AdminListDevicesResponse");
5077
5077
  var de_AdminListGroupsForUserResponse = /* @__PURE__ */ __name((output, context) => {
5078
5078
  return (0, import_smithy_client.take)(output, {
5079
- Groups: (_) => de_GroupListType(_, context),
5079
+ Groups: /* @__PURE__ */ __name((_) => de_GroupListType(_, context), "Groups"),
5080
5080
  NextToken: import_smithy_client.expectString
5081
5081
  });
5082
5082
  }, "de_AdminListGroupsForUserResponse");
5083
5083
  var de_AdminListUserAuthEventsResponse = /* @__PURE__ */ __name((output, context) => {
5084
5084
  return (0, import_smithy_client.take)(output, {
5085
- AuthEvents: (_) => de_AuthEventsType(_, context),
5085
+ AuthEvents: /* @__PURE__ */ __name((_) => de_AuthEventsType(_, context), "AuthEvents"),
5086
5086
  NextToken: import_smithy_client.expectString
5087
5087
  });
5088
5088
  }, "de_AdminListUserAuthEventsResponse");
@@ -5110,9 +5110,9 @@ var de_AuthEventsType = /* @__PURE__ */ __name((output, context) => {
5110
5110
  var de_AuthEventType = /* @__PURE__ */ __name((output, context) => {
5111
5111
  return (0, import_smithy_client.take)(output, {
5112
5112
  ChallengeResponses: import_smithy_client._json,
5113
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5113
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5114
5114
  EventContextData: import_smithy_client._json,
5115
- EventFeedback: (_) => de_EventFeedbackType(_, context),
5115
+ EventFeedback: /* @__PURE__ */ __name((_) => de_EventFeedbackType(_, context), "EventFeedback"),
5116
5116
  EventId: import_smithy_client.expectString,
5117
5117
  EventResponse: import_smithy_client.expectString,
5118
5118
  EventRisk: import_smithy_client._json,
@@ -5121,67 +5121,67 @@ var de_AuthEventType = /* @__PURE__ */ __name((output, context) => {
5121
5121
  }, "de_AuthEventType");
5122
5122
  var de_CreateGroupResponse = /* @__PURE__ */ __name((output, context) => {
5123
5123
  return (0, import_smithy_client.take)(output, {
5124
- Group: (_) => de_GroupType(_, context)
5124
+ Group: /* @__PURE__ */ __name((_) => de_GroupType(_, context), "Group")
5125
5125
  });
5126
5126
  }, "de_CreateGroupResponse");
5127
5127
  var de_CreateIdentityProviderResponse = /* @__PURE__ */ __name((output, context) => {
5128
5128
  return (0, import_smithy_client.take)(output, {
5129
- IdentityProvider: (_) => de_IdentityProviderType(_, context)
5129
+ IdentityProvider: /* @__PURE__ */ __name((_) => de_IdentityProviderType(_, context), "IdentityProvider")
5130
5130
  });
5131
5131
  }, "de_CreateIdentityProviderResponse");
5132
5132
  var de_CreateManagedLoginBrandingResponse = /* @__PURE__ */ __name((output, context) => {
5133
5133
  return (0, import_smithy_client.take)(output, {
5134
- ManagedLoginBranding: (_) => de_ManagedLoginBrandingType(_, context)
5134
+ ManagedLoginBranding: /* @__PURE__ */ __name((_) => de_ManagedLoginBrandingType(_, context), "ManagedLoginBranding")
5135
5135
  });
5136
5136
  }, "de_CreateManagedLoginBrandingResponse");
5137
5137
  var de_CreateUserImportJobResponse = /* @__PURE__ */ __name((output, context) => {
5138
5138
  return (0, import_smithy_client.take)(output, {
5139
- UserImportJob: (_) => de_UserImportJobType(_, context)
5139
+ UserImportJob: /* @__PURE__ */ __name((_) => de_UserImportJobType(_, context), "UserImportJob")
5140
5140
  });
5141
5141
  }, "de_CreateUserImportJobResponse");
5142
5142
  var de_CreateUserPoolClientResponse = /* @__PURE__ */ __name((output, context) => {
5143
5143
  return (0, import_smithy_client.take)(output, {
5144
- UserPoolClient: (_) => de_UserPoolClientType(_, context)
5144
+ UserPoolClient: /* @__PURE__ */ __name((_) => de_UserPoolClientType(_, context), "UserPoolClient")
5145
5145
  });
5146
5146
  }, "de_CreateUserPoolClientResponse");
5147
5147
  var de_CreateUserPoolResponse = /* @__PURE__ */ __name((output, context) => {
5148
5148
  return (0, import_smithy_client.take)(output, {
5149
- UserPool: (_) => de_UserPoolType(_, context)
5149
+ UserPool: /* @__PURE__ */ __name((_) => de_UserPoolType(_, context), "UserPool")
5150
5150
  });
5151
5151
  }, "de_CreateUserPoolResponse");
5152
5152
  var de_DescribeIdentityProviderResponse = /* @__PURE__ */ __name((output, context) => {
5153
5153
  return (0, import_smithy_client.take)(output, {
5154
- IdentityProvider: (_) => de_IdentityProviderType(_, context)
5154
+ IdentityProvider: /* @__PURE__ */ __name((_) => de_IdentityProviderType(_, context), "IdentityProvider")
5155
5155
  });
5156
5156
  }, "de_DescribeIdentityProviderResponse");
5157
5157
  var de_DescribeManagedLoginBrandingByClientResponse = /* @__PURE__ */ __name((output, context) => {
5158
5158
  return (0, import_smithy_client.take)(output, {
5159
- ManagedLoginBranding: (_) => de_ManagedLoginBrandingType(_, context)
5159
+ ManagedLoginBranding: /* @__PURE__ */ __name((_) => de_ManagedLoginBrandingType(_, context), "ManagedLoginBranding")
5160
5160
  });
5161
5161
  }, "de_DescribeManagedLoginBrandingByClientResponse");
5162
5162
  var de_DescribeManagedLoginBrandingResponse = /* @__PURE__ */ __name((output, context) => {
5163
5163
  return (0, import_smithy_client.take)(output, {
5164
- ManagedLoginBranding: (_) => de_ManagedLoginBrandingType(_, context)
5164
+ ManagedLoginBranding: /* @__PURE__ */ __name((_) => de_ManagedLoginBrandingType(_, context), "ManagedLoginBranding")
5165
5165
  });
5166
5166
  }, "de_DescribeManagedLoginBrandingResponse");
5167
5167
  var de_DescribeRiskConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
5168
5168
  return (0, import_smithy_client.take)(output, {
5169
- RiskConfiguration: (_) => de_RiskConfigurationType(_, context)
5169
+ RiskConfiguration: /* @__PURE__ */ __name((_) => de_RiskConfigurationType(_, context), "RiskConfiguration")
5170
5170
  });
5171
5171
  }, "de_DescribeRiskConfigurationResponse");
5172
5172
  var de_DescribeUserImportJobResponse = /* @__PURE__ */ __name((output, context) => {
5173
5173
  return (0, import_smithy_client.take)(output, {
5174
- UserImportJob: (_) => de_UserImportJobType(_, context)
5174
+ UserImportJob: /* @__PURE__ */ __name((_) => de_UserImportJobType(_, context), "UserImportJob")
5175
5175
  });
5176
5176
  }, "de_DescribeUserImportJobResponse");
5177
5177
  var de_DescribeUserPoolClientResponse = /* @__PURE__ */ __name((output, context) => {
5178
5178
  return (0, import_smithy_client.take)(output, {
5179
- UserPoolClient: (_) => de_UserPoolClientType(_, context)
5179
+ UserPoolClient: /* @__PURE__ */ __name((_) => de_UserPoolClientType(_, context), "UserPoolClient")
5180
5180
  });
5181
5181
  }, "de_DescribeUserPoolClientResponse");
5182
5182
  var de_DescribeUserPoolResponse = /* @__PURE__ */ __name((output, context) => {
5183
5183
  return (0, import_smithy_client.take)(output, {
5184
- UserPool: (_) => de_UserPoolType(_, context)
5184
+ UserPool: /* @__PURE__ */ __name((_) => de_UserPoolType(_, context), "UserPool")
5185
5185
  });
5186
5186
  }, "de_DescribeUserPoolResponse");
5187
5187
  var de_DeviceListType = /* @__PURE__ */ __name((output, context) => {
@@ -5193,10 +5193,10 @@ var de_DeviceListType = /* @__PURE__ */ __name((output, context) => {
5193
5193
  var de_DeviceType = /* @__PURE__ */ __name((output, context) => {
5194
5194
  return (0, import_smithy_client.take)(output, {
5195
5195
  DeviceAttributes: import_smithy_client._json,
5196
- DeviceCreateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5196
+ DeviceCreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeviceCreateDate"),
5197
5197
  DeviceKey: import_smithy_client.expectString,
5198
- DeviceLastAuthenticatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5199
- DeviceLastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
5198
+ DeviceLastAuthenticatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeviceLastAuthenticatedDate"),
5199
+ DeviceLastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeviceLastModifiedDate")
5200
5200
  });
5201
5201
  }, "de_DeviceType");
5202
5202
  var de_Document = /* @__PURE__ */ __name((output, context) => {
@@ -5204,29 +5204,29 @@ var de_Document = /* @__PURE__ */ __name((output, context) => {
5204
5204
  }, "de_Document");
5205
5205
  var de_EventFeedbackType = /* @__PURE__ */ __name((output, context) => {
5206
5206
  return (0, import_smithy_client.take)(output, {
5207
- FeedbackDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5207
+ FeedbackDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "FeedbackDate"),
5208
5208
  FeedbackValue: import_smithy_client.expectString,
5209
5209
  Provider: import_smithy_client.expectString
5210
5210
  });
5211
5211
  }, "de_EventFeedbackType");
5212
5212
  var de_GetDeviceResponse = /* @__PURE__ */ __name((output, context) => {
5213
5213
  return (0, import_smithy_client.take)(output, {
5214
- Device: (_) => de_DeviceType(_, context)
5214
+ Device: /* @__PURE__ */ __name((_) => de_DeviceType(_, context), "Device")
5215
5215
  });
5216
5216
  }, "de_GetDeviceResponse");
5217
5217
  var de_GetGroupResponse = /* @__PURE__ */ __name((output, context) => {
5218
5218
  return (0, import_smithy_client.take)(output, {
5219
- Group: (_) => de_GroupType(_, context)
5219
+ Group: /* @__PURE__ */ __name((_) => de_GroupType(_, context), "Group")
5220
5220
  });
5221
5221
  }, "de_GetGroupResponse");
5222
5222
  var de_GetIdentityProviderByIdentifierResponse = /* @__PURE__ */ __name((output, context) => {
5223
5223
  return (0, import_smithy_client.take)(output, {
5224
- IdentityProvider: (_) => de_IdentityProviderType(_, context)
5224
+ IdentityProvider: /* @__PURE__ */ __name((_) => de_IdentityProviderType(_, context), "IdentityProvider")
5225
5225
  });
5226
5226
  }, "de_GetIdentityProviderByIdentifierResponse");
5227
5227
  var de_GetUICustomizationResponse = /* @__PURE__ */ __name((output, context) => {
5228
5228
  return (0, import_smithy_client.take)(output, {
5229
- UICustomization: (_) => de_UICustomizationType(_, context)
5229
+ UICustomization: /* @__PURE__ */ __name((_) => de_UICustomizationType(_, context), "UICustomization")
5230
5230
  });
5231
5231
  }, "de_GetUICustomizationResponse");
5232
5232
  var de_GroupListType = /* @__PURE__ */ __name((output, context) => {
@@ -5237,10 +5237,10 @@ var de_GroupListType = /* @__PURE__ */ __name((output, context) => {
5237
5237
  }, "de_GroupListType");
5238
5238
  var de_GroupType = /* @__PURE__ */ __name((output, context) => {
5239
5239
  return (0, import_smithy_client.take)(output, {
5240
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5240
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5241
5241
  Description: import_smithy_client.expectString,
5242
5242
  GroupName: import_smithy_client.expectString,
5243
- LastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5243
+ LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
5244
5244
  Precedence: import_smithy_client.expectInt32,
5245
5245
  RoleArn: import_smithy_client.expectString,
5246
5246
  UserPoolId: import_smithy_client.expectString
@@ -5249,9 +5249,9 @@ var de_GroupType = /* @__PURE__ */ __name((output, context) => {
5249
5249
  var de_IdentityProviderType = /* @__PURE__ */ __name((output, context) => {
5250
5250
  return (0, import_smithy_client.take)(output, {
5251
5251
  AttributeMapping: import_smithy_client._json,
5252
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5252
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5253
5253
  IdpIdentifiers: import_smithy_client._json,
5254
- LastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5254
+ LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
5255
5255
  ProviderDetails: import_smithy_client._json,
5256
5256
  ProviderName: import_smithy_client.expectString,
5257
5257
  ProviderType: import_smithy_client.expectString,
@@ -5260,67 +5260,67 @@ var de_IdentityProviderType = /* @__PURE__ */ __name((output, context) => {
5260
5260
  }, "de_IdentityProviderType");
5261
5261
  var de_ListDevicesResponse = /* @__PURE__ */ __name((output, context) => {
5262
5262
  return (0, import_smithy_client.take)(output, {
5263
- Devices: (_) => de_DeviceListType(_, context),
5263
+ Devices: /* @__PURE__ */ __name((_) => de_DeviceListType(_, context), "Devices"),
5264
5264
  PaginationToken: import_smithy_client.expectString
5265
5265
  });
5266
5266
  }, "de_ListDevicesResponse");
5267
5267
  var de_ListGroupsResponse = /* @__PURE__ */ __name((output, context) => {
5268
5268
  return (0, import_smithy_client.take)(output, {
5269
- Groups: (_) => de_GroupListType(_, context),
5269
+ Groups: /* @__PURE__ */ __name((_) => de_GroupListType(_, context), "Groups"),
5270
5270
  NextToken: import_smithy_client.expectString
5271
5271
  });
5272
5272
  }, "de_ListGroupsResponse");
5273
5273
  var de_ListIdentityProvidersResponse = /* @__PURE__ */ __name((output, context) => {
5274
5274
  return (0, import_smithy_client.take)(output, {
5275
5275
  NextToken: import_smithy_client.expectString,
5276
- Providers: (_) => de_ProvidersListType(_, context)
5276
+ Providers: /* @__PURE__ */ __name((_) => de_ProvidersListType(_, context), "Providers")
5277
5277
  });
5278
5278
  }, "de_ListIdentityProvidersResponse");
5279
5279
  var de_ListUserImportJobsResponse = /* @__PURE__ */ __name((output, context) => {
5280
5280
  return (0, import_smithy_client.take)(output, {
5281
5281
  PaginationToken: import_smithy_client.expectString,
5282
- UserImportJobs: (_) => de_UserImportJobsListType(_, context)
5282
+ UserImportJobs: /* @__PURE__ */ __name((_) => de_UserImportJobsListType(_, context), "UserImportJobs")
5283
5283
  });
5284
5284
  }, "de_ListUserImportJobsResponse");
5285
5285
  var de_ListUserPoolsResponse = /* @__PURE__ */ __name((output, context) => {
5286
5286
  return (0, import_smithy_client.take)(output, {
5287
5287
  NextToken: import_smithy_client.expectString,
5288
- UserPools: (_) => de_UserPoolListType(_, context)
5288
+ UserPools: /* @__PURE__ */ __name((_) => de_UserPoolListType(_, context), "UserPools")
5289
5289
  });
5290
5290
  }, "de_ListUserPoolsResponse");
5291
5291
  var de_ListUsersInGroupResponse = /* @__PURE__ */ __name((output, context) => {
5292
5292
  return (0, import_smithy_client.take)(output, {
5293
5293
  NextToken: import_smithy_client.expectString,
5294
- Users: (_) => de_UsersListType(_, context)
5294
+ Users: /* @__PURE__ */ __name((_) => de_UsersListType(_, context), "Users")
5295
5295
  });
5296
5296
  }, "de_ListUsersInGroupResponse");
5297
5297
  var de_ListUsersResponse = /* @__PURE__ */ __name((output, context) => {
5298
5298
  return (0, import_smithy_client.take)(output, {
5299
5299
  PaginationToken: import_smithy_client.expectString,
5300
- Users: (_) => de_UsersListType(_, context)
5300
+ Users: /* @__PURE__ */ __name((_) => de_UsersListType(_, context), "Users")
5301
5301
  });
5302
5302
  }, "de_ListUsersResponse");
5303
5303
  var de_ListWebAuthnCredentialsResponse = /* @__PURE__ */ __name((output, context) => {
5304
5304
  return (0, import_smithy_client.take)(output, {
5305
- Credentials: (_) => de_WebAuthnCredentialDescriptionListType(_, context),
5305
+ Credentials: /* @__PURE__ */ __name((_) => de_WebAuthnCredentialDescriptionListType(_, context), "Credentials"),
5306
5306
  NextToken: import_smithy_client.expectString
5307
5307
  });
5308
5308
  }, "de_ListWebAuthnCredentialsResponse");
5309
5309
  var de_ManagedLoginBrandingType = /* @__PURE__ */ __name((output, context) => {
5310
5310
  return (0, import_smithy_client.take)(output, {
5311
- Assets: (_) => de_AssetListType(_, context),
5312
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5313
- LastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5311
+ Assets: /* @__PURE__ */ __name((_) => de_AssetListType(_, context), "Assets"),
5312
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5313
+ LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
5314
5314
  ManagedLoginBrandingId: import_smithy_client.expectString,
5315
- Settings: (_) => de_Document(_, context),
5315
+ Settings: /* @__PURE__ */ __name((_) => de_Document(_, context), "Settings"),
5316
5316
  UseCognitoProvidedValues: import_smithy_client.expectBoolean,
5317
5317
  UserPoolId: import_smithy_client.expectString
5318
5318
  });
5319
5319
  }, "de_ManagedLoginBrandingType");
5320
5320
  var de_ProviderDescription = /* @__PURE__ */ __name((output, context) => {
5321
5321
  return (0, import_smithy_client.take)(output, {
5322
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5323
- LastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5322
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5323
+ LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
5324
5324
  ProviderName: import_smithy_client.expectString,
5325
5325
  ProviderType: import_smithy_client.expectString
5326
5326
  });
@@ -5336,34 +5336,34 @@ var de_RiskConfigurationType = /* @__PURE__ */ __name((output, context) => {
5336
5336
  AccountTakeoverRiskConfiguration: import_smithy_client._json,
5337
5337
  ClientId: import_smithy_client.expectString,
5338
5338
  CompromisedCredentialsRiskConfiguration: import_smithy_client._json,
5339
- LastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5339
+ LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
5340
5340
  RiskExceptionConfiguration: import_smithy_client._json,
5341
5341
  UserPoolId: import_smithy_client.expectString
5342
5342
  });
5343
5343
  }, "de_RiskConfigurationType");
5344
5344
  var de_SetRiskConfigurationResponse = /* @__PURE__ */ __name((output, context) => {
5345
5345
  return (0, import_smithy_client.take)(output, {
5346
- RiskConfiguration: (_) => de_RiskConfigurationType(_, context)
5346
+ RiskConfiguration: /* @__PURE__ */ __name((_) => de_RiskConfigurationType(_, context), "RiskConfiguration")
5347
5347
  });
5348
5348
  }, "de_SetRiskConfigurationResponse");
5349
5349
  var de_SetUICustomizationResponse = /* @__PURE__ */ __name((output, context) => {
5350
5350
  return (0, import_smithy_client.take)(output, {
5351
- UICustomization: (_) => de_UICustomizationType(_, context)
5351
+ UICustomization: /* @__PURE__ */ __name((_) => de_UICustomizationType(_, context), "UICustomization")
5352
5352
  });
5353
5353
  }, "de_SetUICustomizationResponse");
5354
5354
  var de_StartUserImportJobResponse = /* @__PURE__ */ __name((output, context) => {
5355
5355
  return (0, import_smithy_client.take)(output, {
5356
- UserImportJob: (_) => de_UserImportJobType(_, context)
5356
+ UserImportJob: /* @__PURE__ */ __name((_) => de_UserImportJobType(_, context), "UserImportJob")
5357
5357
  });
5358
5358
  }, "de_StartUserImportJobResponse");
5359
5359
  var de_StartWebAuthnRegistrationResponse = /* @__PURE__ */ __name((output, context) => {
5360
5360
  return (0, import_smithy_client.take)(output, {
5361
- CredentialCreationOptions: (_) => de_Document(_, context)
5361
+ CredentialCreationOptions: /* @__PURE__ */ __name((_) => de_Document(_, context), "CredentialCreationOptions")
5362
5362
  });
5363
5363
  }, "de_StartWebAuthnRegistrationResponse");
5364
5364
  var de_StopUserImportJobResponse = /* @__PURE__ */ __name((output, context) => {
5365
5365
  return (0, import_smithy_client.take)(output, {
5366
- UserImportJob: (_) => de_UserImportJobType(_, context)
5366
+ UserImportJob: /* @__PURE__ */ __name((_) => de_UserImportJobType(_, context), "UserImportJob")
5367
5367
  });
5368
5368
  }, "de_StopUserImportJobResponse");
5369
5369
  var de_UICustomizationType = /* @__PURE__ */ __name((output, context) => {
@@ -5371,30 +5371,30 @@ var de_UICustomizationType = /* @__PURE__ */ __name((output, context) => {
5371
5371
  CSS: import_smithy_client.expectString,
5372
5372
  CSSVersion: import_smithy_client.expectString,
5373
5373
  ClientId: import_smithy_client.expectString,
5374
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5374
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5375
5375
  ImageUrl: import_smithy_client.expectString,
5376
- LastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5376
+ LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
5377
5377
  UserPoolId: import_smithy_client.expectString
5378
5378
  });
5379
5379
  }, "de_UICustomizationType");
5380
5380
  var de_UpdateGroupResponse = /* @__PURE__ */ __name((output, context) => {
5381
5381
  return (0, import_smithy_client.take)(output, {
5382
- Group: (_) => de_GroupType(_, context)
5382
+ Group: /* @__PURE__ */ __name((_) => de_GroupType(_, context), "Group")
5383
5383
  });
5384
5384
  }, "de_UpdateGroupResponse");
5385
5385
  var de_UpdateIdentityProviderResponse = /* @__PURE__ */ __name((output, context) => {
5386
5386
  return (0, import_smithy_client.take)(output, {
5387
- IdentityProvider: (_) => de_IdentityProviderType(_, context)
5387
+ IdentityProvider: /* @__PURE__ */ __name((_) => de_IdentityProviderType(_, context), "IdentityProvider")
5388
5388
  });
5389
5389
  }, "de_UpdateIdentityProviderResponse");
5390
5390
  var de_UpdateManagedLoginBrandingResponse = /* @__PURE__ */ __name((output, context) => {
5391
5391
  return (0, import_smithy_client.take)(output, {
5392
- ManagedLoginBranding: (_) => de_ManagedLoginBrandingType(_, context)
5392
+ ManagedLoginBranding: /* @__PURE__ */ __name((_) => de_ManagedLoginBrandingType(_, context), "ManagedLoginBranding")
5393
5393
  });
5394
5394
  }, "de_UpdateManagedLoginBrandingResponse");
5395
5395
  var de_UpdateUserPoolClientResponse = /* @__PURE__ */ __name((output, context) => {
5396
5396
  return (0, import_smithy_client.take)(output, {
5397
- UserPoolClient: (_) => de_UserPoolClientType(_, context)
5397
+ UserPoolClient: /* @__PURE__ */ __name((_) => de_UserPoolClientType(_, context), "UserPoolClient")
5398
5398
  });
5399
5399
  }, "de_UpdateUserPoolClientResponse");
5400
5400
  var de_UserImportJobsListType = /* @__PURE__ */ __name((output, context) => {
@@ -5406,16 +5406,16 @@ var de_UserImportJobsListType = /* @__PURE__ */ __name((output, context) => {
5406
5406
  var de_UserImportJobType = /* @__PURE__ */ __name((output, context) => {
5407
5407
  return (0, import_smithy_client.take)(output, {
5408
5408
  CloudWatchLogsRoleArn: import_smithy_client.expectString,
5409
- CompletionDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5409
+ CompletionDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CompletionDate"),
5410
5410
  CompletionMessage: import_smithy_client.expectString,
5411
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5411
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5412
5412
  FailedUsers: import_smithy_client.expectLong,
5413
5413
  ImportedUsers: import_smithy_client.expectLong,
5414
5414
  JobId: import_smithy_client.expectString,
5415
5415
  JobName: import_smithy_client.expectString,
5416
5416
  PreSignedUrl: import_smithy_client.expectString,
5417
5417
  SkippedUsers: import_smithy_client.expectLong,
5418
- StartDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5418
+ StartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartDate"),
5419
5419
  Status: import_smithy_client.expectString,
5420
5420
  UserPoolId: import_smithy_client.expectString
5421
5421
  });
@@ -5432,13 +5432,13 @@ var de_UserPoolClientType = /* @__PURE__ */ __name((output, context) => {
5432
5432
  ClientId: import_smithy_client.expectString,
5433
5433
  ClientName: import_smithy_client.expectString,
5434
5434
  ClientSecret: import_smithy_client.expectString,
5435
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5435
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5436
5436
  DefaultRedirectURI: import_smithy_client.expectString,
5437
5437
  EnablePropagateAdditionalUserContextData: import_smithy_client.expectBoolean,
5438
5438
  EnableTokenRevocation: import_smithy_client.expectBoolean,
5439
5439
  ExplicitAuthFlows: import_smithy_client._json,
5440
5440
  IdTokenValidity: import_smithy_client.expectInt32,
5441
- LastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5441
+ LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
5442
5442
  LogoutURLs: import_smithy_client._json,
5443
5443
  PreventUserExistenceErrors: import_smithy_client.expectString,
5444
5444
  ReadAttributes: import_smithy_client._json,
@@ -5451,10 +5451,10 @@ var de_UserPoolClientType = /* @__PURE__ */ __name((output, context) => {
5451
5451
  }, "de_UserPoolClientType");
5452
5452
  var de_UserPoolDescriptionType = /* @__PURE__ */ __name((output, context) => {
5453
5453
  return (0, import_smithy_client.take)(output, {
5454
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5454
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5455
5455
  Id: import_smithy_client.expectString,
5456
5456
  LambdaConfig: import_smithy_client._json,
5457
- LastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5457
+ LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
5458
5458
  Name: import_smithy_client.expectString,
5459
5459
  Status: import_smithy_client.expectString
5460
5460
  });
@@ -5472,7 +5472,7 @@ var de_UserPoolType = /* @__PURE__ */ __name((output, context) => {
5472
5472
  AliasAttributes: import_smithy_client._json,
5473
5473
  Arn: import_smithy_client.expectString,
5474
5474
  AutoVerifiedAttributes: import_smithy_client._json,
5475
- CreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5475
+ CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
5476
5476
  CustomDomain: import_smithy_client.expectString,
5477
5477
  DeletionProtection: import_smithy_client.expectString,
5478
5478
  DeviceConfiguration: import_smithy_client._json,
@@ -5484,7 +5484,7 @@ var de_UserPoolType = /* @__PURE__ */ __name((output, context) => {
5484
5484
  EstimatedNumberOfUsers: import_smithy_client.expectInt32,
5485
5485
  Id: import_smithy_client.expectString,
5486
5486
  LambdaConfig: import_smithy_client._json,
5487
- LastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5487
+ LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
5488
5488
  MfaConfiguration: import_smithy_client.expectString,
5489
5489
  Name: import_smithy_client.expectString,
5490
5490
  Policies: import_smithy_client._json,
@@ -5514,8 +5514,8 @@ var de_UserType = /* @__PURE__ */ __name((output, context) => {
5514
5514
  Attributes: import_smithy_client._json,
5515
5515
  Enabled: import_smithy_client.expectBoolean,
5516
5516
  MFAOptions: import_smithy_client._json,
5517
- UserCreateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5518
- UserLastModifiedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5517
+ UserCreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UserCreateDate"),
5518
+ UserLastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UserLastModifiedDate"),
5519
5519
  UserStatus: import_smithy_client.expectString,
5520
5520
  Username: import_smithy_client.expectString
5521
5521
  });
@@ -5524,7 +5524,7 @@ var de_WebAuthnCredentialDescription = /* @__PURE__ */ __name((output, context)
5524
5524
  return (0, import_smithy_client.take)(output, {
5525
5525
  AuthenticatorAttachment: import_smithy_client.expectString,
5526
5526
  AuthenticatorTransports: import_smithy_client._json,
5527
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
5527
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
5528
5528
  CredentialId: import_smithy_client.expectString,
5529
5529
  FriendlyCredentialName: import_smithy_client.expectString,
5530
5530
  RelyingPartyId: import_smithy_client.expectString
@@ -31,7 +31,7 @@ declare const DeleteUserPoolCommand_base: {
31
31
  * associated applications. </p>
32
32
  * <p>When you delete a user pool, it's no longer visible or operational in your Amazon Web Services account. Amazon Cognito retains deleted user pools in an inactive state for 14
33
33
  * days, then begins a cleanup process that fully removes them from Amazon Web Services systems. In case
34
- * of accidental deletion, contact Amazon Web Services Support within 14 days for restoration
34
+ * of accidental deletion, contact Amazon Web ServicesSupport within 14 days for restoration
35
35
  * assistance.</p>
36
36
  * <p>Amazon Cognito begins full deletion of all resources from deleted user pools after 14 days. In
37
37
  * the case of large user pools, the cleanup process might take significant additional time
@@ -29,7 +29,7 @@ declare const SetLogDeliveryConfigurationCommand_base: {
29
29
  /**
30
30
  * <p>Sets up or modifies the logging configuration of a user pool. User pools can export
31
31
  * user notification logs and, when threat protection is active, user-activity logs. For
32
- * more information, see <a href="cognito/latest/developerguide/exporting-quotas-and-usage.html">Exporting user
32
+ * more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/exporting-quotas-and-usage.html">Exporting user
33
33
  * pool logs</a>.</p>
34
34
  * @example
35
35
  * Use a bare-bones client and the command you need to make an API call.
@@ -756,18 +756,18 @@ export interface AdminCreateUserRequest {
756
756
  * <dt>email</dt>
757
757
  * <dd>
758
758
  * <p>The email address where you want the user to receive their confirmation
759
- * code and username. You must provide a value for the <code>email</code> when
760
- * you want to set <code>email_verified</code> to <code>true</code>, or if you
761
- * set <code>EMAIL</code> in the <code>DesiredDeliveryMediums</code>
759
+ * code and username. You must provide a value for <code>email</code> when you
760
+ * want to set <code>email_verified</code> to <code>true</code>, or if you set
761
+ * <code>EMAIL</code> in the <code>DesiredDeliveryMediums</code>
762
762
  * parameter.</p>
763
763
  * </dd>
764
764
  * <dt>phone_number</dt>
765
765
  * <dd>
766
766
  * <p>The phone number where you want the user to receive their confirmation
767
- * code and username. You must provide a value for the <code>email</code> when
768
- * you want to set <code>phone_number</code> to <code>true</code>, or if you
769
- * set <code>SMS</code> in the <code>DesiredDeliveryMediums</code>
770
- * parameter.</p>
767
+ * code and username. You must provide a value for <code>phone_number</code>
768
+ * when you want to set <code>phone_number_verified</code> to
769
+ * <code>true</code>, or if you set <code>SMS</code> in the
770
+ * <code>DesiredDeliveryMediums</code> parameter.</p>
771
771
  * </dd>
772
772
  * </dl>
773
773
  * @public
@@ -944,27 +944,31 @@ export interface UserType {
944
944
  * <p>The user status. This can be one of the following:</p>
945
945
  * <ul>
946
946
  * <li>
947
- * <p>UNCONFIRMED - User has been created but not confirmed.</p>
948
- * </li>
949
- * <li>
950
- * <p>CONFIRMED - User has been confirmed.</p>
947
+ * <p>
948
+ * <code>UNCONFIRMED</code>: User has been created but not confirmed.</p>
951
949
  * </li>
952
950
  * <li>
953
- * <p>EXTERNAL_PROVIDER - User signed in with a third-party IdP.</p>
951
+ * <p>
952
+ * <code>CONFIRMED</code>: User has been confirmed.</p>
954
953
  * </li>
955
954
  * <li>
956
- * <p>UNKNOWN - User status isn't known.</p>
955
+ * <p>
956
+ * <code>EXTERNAL_PROVIDER</code>: User signed in with a third-party IdP.</p>
957
957
  * </li>
958
958
  * <li>
959
- * <p>RESET_REQUIRED - User is confirmed, but the user must request a code and reset
960
- * their password before they can sign in.</p>
959
+ * <p>
960
+ * <code>RESET_REQUIRED</code>: User is confirmed, but the user must request a
961
+ * code and reset their password before they can sign in.</p>
961
962
  * </li>
962
963
  * <li>
963
- * <p>FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a
964
- * temporary password, but on first sign-in, the user must change their password to
965
- * a new value before doing anything else. </p>
964
+ * <p>
965
+ * <code>FORCE_CHANGE_PASSWORD</code>: The user is confirmed and the user can
966
+ * sign in using a temporary password, but on first sign-in, the user must change
967
+ * their password to a new value before doing anything else. </p>
966
968
  * </li>
967
969
  * </ul>
970
+ * <p>The statuses <code>ARCHIVED</code>, <code>UNKNOWN</code>, and <code>COMPROMISED</code>
971
+ * are no longer used.</p>
968
972
  * @public
969
973
  */
970
974
  UserStatus?: UserStatusType | undefined;
@@ -3563,8 +3567,9 @@ export interface AdminSetUserMFAPreferenceRequest {
3563
3567
  SMSMfaSettings?: SMSMfaSettingsType | undefined;
3564
3568
  /**
3565
3569
  * <p>User preferences for time-based one-time password (TOTP) MFA. Activates or deactivates
3566
- * TOTP MFA and sets it as the preferred MFA method when multiple methods are
3567
- * available.</p>
3570
+ * TOTP MFA and sets it as the preferred MFA method when multiple methods are available.
3571
+ * This operation can set TOTP as a user's preferred MFA method before they register a
3572
+ * TOTP authenticator.</p>
3568
3573
  * @public
3569
3574
  */
3570
3575
  SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType | undefined;
@@ -6193,7 +6198,7 @@ export interface CreateUserPoolRequest {
6193
6198
  * you have deactivated device remembering in your user pool.</p>
6194
6199
  * <note>
6195
6200
  * <p>When you provide a value for any <code>DeviceConfiguration</code> field, you
6196
- * activate the Amazon Cognito device-remembering feature. For more infor</p>
6201
+ * activate the Amazon Cognito device-remembering feature. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with devices</a>.</p>
6197
6202
  * </note>
6198
6203
  * @public
6199
6204
  */
@@ -7506,7 +7511,7 @@ export interface CreateUserPoolDomainRequest {
7506
7511
  * <p>The configuration for a custom domain. Configures your domain with an Certificate Manager
7507
7512
  * certificate in the <code>us-east-1</code> Region.</p>
7508
7513
  * <p>Provide this parameter only if you want to use a <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html">custom domain</a> for your user pool. Otherwise, you can
7509
- * omit this parameter and use a <a href="cognito/latest/developerguide/cognito-user-pools-assign-domain-prefix.html">prefix domain</a> instead.</p>
7514
+ * omit this parameter and use a <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain-prefix.html">prefix domain</a> instead.</p>
7510
7515
  * <p>When you create a custom domain, the passkey RP ID defaults to the custom domain. If
7511
7516
  * you had a prefix domain active, this will cause passkey integration for your prefix
7512
7517
  * domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey
@@ -1970,8 +1970,9 @@ export interface SetUserMFAPreferenceRequest {
1970
1970
  SMSMfaSettings?: SMSMfaSettingsType | undefined;
1971
1971
  /**
1972
1972
  * <p>User preferences for time-based one-time password (TOTP) MFA. Activates or deactivates
1973
- * TOTP MFA and sets it as the preferred MFA method when multiple methods are
1974
- * available.</p>
1973
+ * TOTP MFA and sets it as the preferred MFA method when multiple methods are available.
1974
+ * Users must register a TOTP authenticator before they set this as their preferred MFA
1975
+ * method.</p>
1975
1976
  * @public
1976
1977
  */
1977
1978
  SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType | undefined;
@@ -2950,7 +2951,7 @@ export interface UpdateUserPoolRequest {
2950
2951
  * you have deactivated device remembering in your user pool.</p>
2951
2952
  * <note>
2952
2953
  * <p>When you provide a value for any <code>DeviceConfiguration</code> field, you
2953
- * activate the Amazon Cognito device-remembering feature. For more infor</p>
2954
+ * activate the Amazon Cognito device-remembering feature. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with devices</a>.</p>
2954
2955
  * </note>
2955
2956
  * @public
2956
2957
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity-provider",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
4
- "version": "3.760.0",
4
+ "version": "3.772.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-cognito-identity-provider",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",