aws-sdk-cognitoidentityprovider 1.0.0.rc6 → 1.0.0.rc7

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,7 @@ module Aws::CognitoIdentityProvider
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AWSAccountIdType = Shapes::StringShape.new(name: 'AWSAccountIdType')
14
15
  AddCustomAttributesRequest = Shapes::StructureShape.new(name: 'AddCustomAttributesRequest')
15
16
  AddCustomAttributesResponse = Shapes::StructureShape.new(name: 'AddCustomAttributesResponse')
16
17
  AdminAddUserToGroupRequest = Shapes::StructureShape.new(name: 'AdminAddUserToGroupRequest')
@@ -57,6 +58,7 @@ module Aws::CognitoIdentityProvider
57
58
  ArnType = Shapes::StringShape.new(name: 'ArnType')
58
59
  AttributeDataType = Shapes::StringShape.new(name: 'AttributeDataType')
59
60
  AttributeListType = Shapes::ListShape.new(name: 'AttributeListType')
61
+ AttributeMappingType = Shapes::MapShape.new(name: 'AttributeMappingType')
60
62
  AttributeNameListType = Shapes::ListShape.new(name: 'AttributeNameListType')
61
63
  AttributeNameType = Shapes::StringShape.new(name: 'AttributeNameType')
62
64
  AttributeType = Shapes::StructureShape.new(name: 'AttributeType')
@@ -65,6 +67,7 @@ module Aws::CognitoIdentityProvider
65
67
  AuthParametersType = Shapes::MapShape.new(name: 'AuthParametersType')
66
68
  AuthenticationResultType = Shapes::StructureShape.new(name: 'AuthenticationResultType')
67
69
  BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
70
+ CallbackURLsListType = Shapes::ListShape.new(name: 'CallbackURLsListType')
68
71
  ChallengeNameType = Shapes::StringShape.new(name: 'ChallengeNameType')
69
72
  ChallengeParametersType = Shapes::MapShape.new(name: 'ChallengeParametersType')
70
73
  ChallengeResponsesType = Shapes::MapShape.new(name: 'ChallengeResponsesType')
@@ -91,27 +94,38 @@ module Aws::CognitoIdentityProvider
91
94
  ConfirmationCodeType = Shapes::StringShape.new(name: 'ConfirmationCodeType')
92
95
  CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
93
96
  CreateGroupResponse = Shapes::StructureShape.new(name: 'CreateGroupResponse')
97
+ CreateIdentityProviderRequest = Shapes::StructureShape.new(name: 'CreateIdentityProviderRequest')
98
+ CreateIdentityProviderResponse = Shapes::StructureShape.new(name: 'CreateIdentityProviderResponse')
94
99
  CreateUserImportJobRequest = Shapes::StructureShape.new(name: 'CreateUserImportJobRequest')
95
100
  CreateUserImportJobResponse = Shapes::StructureShape.new(name: 'CreateUserImportJobResponse')
96
101
  CreateUserPoolClientRequest = Shapes::StructureShape.new(name: 'CreateUserPoolClientRequest')
97
102
  CreateUserPoolClientResponse = Shapes::StructureShape.new(name: 'CreateUserPoolClientResponse')
103
+ CreateUserPoolDomainRequest = Shapes::StructureShape.new(name: 'CreateUserPoolDomainRequest')
104
+ CreateUserPoolDomainResponse = Shapes::StructureShape.new(name: 'CreateUserPoolDomainResponse')
98
105
  CreateUserPoolRequest = Shapes::StructureShape.new(name: 'CreateUserPoolRequest')
99
106
  CreateUserPoolResponse = Shapes::StructureShape.new(name: 'CreateUserPoolResponse')
100
107
  CustomAttributeNameType = Shapes::StringShape.new(name: 'CustomAttributeNameType')
101
108
  CustomAttributesListType = Shapes::ListShape.new(name: 'CustomAttributesListType')
102
109
  DateType = Shapes::TimestampShape.new(name: 'DateType')
103
110
  DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
111
+ DeleteIdentityProviderRequest = Shapes::StructureShape.new(name: 'DeleteIdentityProviderRequest')
104
112
  DeleteUserAttributesRequest = Shapes::StructureShape.new(name: 'DeleteUserAttributesRequest')
105
113
  DeleteUserAttributesResponse = Shapes::StructureShape.new(name: 'DeleteUserAttributesResponse')
106
114
  DeleteUserPoolClientRequest = Shapes::StructureShape.new(name: 'DeleteUserPoolClientRequest')
115
+ DeleteUserPoolDomainRequest = Shapes::StructureShape.new(name: 'DeleteUserPoolDomainRequest')
116
+ DeleteUserPoolDomainResponse = Shapes::StructureShape.new(name: 'DeleteUserPoolDomainResponse')
107
117
  DeleteUserPoolRequest = Shapes::StructureShape.new(name: 'DeleteUserPoolRequest')
108
118
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
109
119
  DeliveryMediumListType = Shapes::ListShape.new(name: 'DeliveryMediumListType')
110
120
  DeliveryMediumType = Shapes::StringShape.new(name: 'DeliveryMediumType')
121
+ DescribeIdentityProviderRequest = Shapes::StructureShape.new(name: 'DescribeIdentityProviderRequest')
122
+ DescribeIdentityProviderResponse = Shapes::StructureShape.new(name: 'DescribeIdentityProviderResponse')
111
123
  DescribeUserImportJobRequest = Shapes::StructureShape.new(name: 'DescribeUserImportJobRequest')
112
124
  DescribeUserImportJobResponse = Shapes::StructureShape.new(name: 'DescribeUserImportJobResponse')
113
125
  DescribeUserPoolClientRequest = Shapes::StructureShape.new(name: 'DescribeUserPoolClientRequest')
114
126
  DescribeUserPoolClientResponse = Shapes::StructureShape.new(name: 'DescribeUserPoolClientResponse')
127
+ DescribeUserPoolDomainRequest = Shapes::StructureShape.new(name: 'DescribeUserPoolDomainRequest')
128
+ DescribeUserPoolDomainResponse = Shapes::StructureShape.new(name: 'DescribeUserPoolDomainResponse')
115
129
  DescribeUserPoolRequest = Shapes::StructureShape.new(name: 'DescribeUserPoolRequest')
116
130
  DescribeUserPoolResponse = Shapes::StructureShape.new(name: 'DescribeUserPoolResponse')
117
131
  DescriptionType = Shapes::StringShape.new(name: 'DescriptionType')
@@ -122,6 +136,11 @@ module Aws::CognitoIdentityProvider
122
136
  DeviceRememberedStatusType = Shapes::StringShape.new(name: 'DeviceRememberedStatusType')
123
137
  DeviceSecretVerifierConfigType = Shapes::StructureShape.new(name: 'DeviceSecretVerifierConfigType')
124
138
  DeviceType = Shapes::StructureShape.new(name: 'DeviceType')
139
+ DomainDescriptionType = Shapes::StructureShape.new(name: 'DomainDescriptionType')
140
+ DomainStatusType = Shapes::StringShape.new(name: 'DomainStatusType')
141
+ DomainType = Shapes::StringShape.new(name: 'DomainType')
142
+ DomainVersionType = Shapes::StringShape.new(name: 'DomainVersionType')
143
+ DuplicateProviderException = Shapes::StructureShape.new(name: 'DuplicateProviderException')
125
144
  EmailAddressType = Shapes::StringShape.new(name: 'EmailAddressType')
126
145
  EmailConfigurationType = Shapes::StructureShape.new(name: 'EmailConfigurationType')
127
146
  EmailVerificationMessageType = Shapes::StringShape.new(name: 'EmailVerificationMessageType')
@@ -140,6 +159,8 @@ module Aws::CognitoIdentityProvider
140
159
  GetDeviceResponse = Shapes::StructureShape.new(name: 'GetDeviceResponse')
141
160
  GetGroupRequest = Shapes::StructureShape.new(name: 'GetGroupRequest')
142
161
  GetGroupResponse = Shapes::StructureShape.new(name: 'GetGroupResponse')
162
+ GetIdentityProviderByIdentifierRequest = Shapes::StructureShape.new(name: 'GetIdentityProviderByIdentifierRequest')
163
+ GetIdentityProviderByIdentifierResponse = Shapes::StructureShape.new(name: 'GetIdentityProviderByIdentifierResponse')
143
164
  GetUserAttributeVerificationCodeRequest = Shapes::StructureShape.new(name: 'GetUserAttributeVerificationCodeRequest')
144
165
  GetUserAttributeVerificationCodeResponse = Shapes::StructureShape.new(name: 'GetUserAttributeVerificationCodeResponse')
145
166
  GetUserRequest = Shapes::StructureShape.new(name: 'GetUserRequest')
@@ -150,12 +171,17 @@ module Aws::CognitoIdentityProvider
150
171
  GroupListType = Shapes::ListShape.new(name: 'GroupListType')
151
172
  GroupNameType = Shapes::StringShape.new(name: 'GroupNameType')
152
173
  GroupType = Shapes::StructureShape.new(name: 'GroupType')
174
+ IdentityProviderType = Shapes::StructureShape.new(name: 'IdentityProviderType')
175
+ IdentityProviderTypeType = Shapes::StringShape.new(name: 'IdentityProviderTypeType')
176
+ IdpIdentifierType = Shapes::StringShape.new(name: 'IdpIdentifierType')
177
+ IdpIdentifiersListType = Shapes::ListShape.new(name: 'IdpIdentifiersListType')
153
178
  InitiateAuthRequest = Shapes::StructureShape.new(name: 'InitiateAuthRequest')
154
179
  InitiateAuthResponse = Shapes::StructureShape.new(name: 'InitiateAuthResponse')
155
180
  IntegerType = Shapes::IntegerShape.new(name: 'IntegerType')
156
181
  InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
157
182
  InvalidEmailRoleAccessPolicyException = Shapes::StructureShape.new(name: 'InvalidEmailRoleAccessPolicyException')
158
183
  InvalidLambdaResponseException = Shapes::StructureShape.new(name: 'InvalidLambdaResponseException')
184
+ InvalidOAuthFlowException = Shapes::StructureShape.new(name: 'InvalidOAuthFlowException')
159
185
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
160
186
  InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
161
187
  InvalidSmsRoleAccessPolicyException = Shapes::StructureShape.new(name: 'InvalidSmsRoleAccessPolicyException')
@@ -167,7 +193,10 @@ module Aws::CognitoIdentityProvider
167
193
  ListDevicesResponse = Shapes::StructureShape.new(name: 'ListDevicesResponse')
168
194
  ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
169
195
  ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
196
+ ListIdentityProvidersRequest = Shapes::StructureShape.new(name: 'ListIdentityProvidersRequest')
197
+ ListIdentityProvidersResponse = Shapes::StructureShape.new(name: 'ListIdentityProvidersResponse')
170
198
  ListOfStringTypes = Shapes::ListShape.new(name: 'ListOfStringTypes')
199
+ ListProvidersLimitType = Shapes::IntegerShape.new(name: 'ListProvidersLimitType')
171
200
  ListUserImportJobsRequest = Shapes::StructureShape.new(name: 'ListUserImportJobsRequest')
172
201
  ListUserImportJobsResponse = Shapes::StructureShape.new(name: 'ListUserImportJobsResponse')
173
202
  ListUserPoolClientsRequest = Shapes::StructureShape.new(name: 'ListUserPoolClientsRequest')
@@ -178,6 +207,7 @@ module Aws::CognitoIdentityProvider
178
207
  ListUsersInGroupResponse = Shapes::StructureShape.new(name: 'ListUsersInGroupResponse')
179
208
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
180
209
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
210
+ LogoutURLsListType = Shapes::ListShape.new(name: 'LogoutURLsListType')
181
211
  LongType = Shapes::IntegerShape.new(name: 'LongType')
182
212
  MFAMethodNotFoundException = Shapes::StructureShape.new(name: 'MFAMethodNotFoundException')
183
213
  MFAOptionListType = Shapes::ListShape.new(name: 'MFAOptionListType')
@@ -188,6 +218,8 @@ module Aws::CognitoIdentityProvider
188
218
  NewDeviceMetadataType = Shapes::StructureShape.new(name: 'NewDeviceMetadataType')
189
219
  NotAuthorizedException = Shapes::StructureShape.new(name: 'NotAuthorizedException')
190
220
  NumberAttributeConstraintsType = Shapes::StructureShape.new(name: 'NumberAttributeConstraintsType')
221
+ OAuthFlowType = Shapes::StringShape.new(name: 'OAuthFlowType')
222
+ OAuthFlowsType = Shapes::ListShape.new(name: 'OAuthFlowsType')
191
223
  PaginationKey = Shapes::StringShape.new(name: 'PaginationKey')
192
224
  PaginationKeyType = Shapes::StringShape.new(name: 'PaginationKeyType')
193
225
  PasswordPolicyMinLengthType = Shapes::IntegerShape.new(name: 'PasswordPolicyMinLengthType')
@@ -198,16 +230,25 @@ module Aws::CognitoIdentityProvider
198
230
  PreSignedUrlType = Shapes::StringShape.new(name: 'PreSignedUrlType')
199
231
  PrecedenceType = Shapes::IntegerShape.new(name: 'PrecedenceType')
200
232
  PreconditionNotMetException = Shapes::StructureShape.new(name: 'PreconditionNotMetException')
233
+ ProviderDescription = Shapes::StructureShape.new(name: 'ProviderDescription')
234
+ ProviderDetailsType = Shapes::MapShape.new(name: 'ProviderDetailsType')
235
+ ProviderNameType = Shapes::StringShape.new(name: 'ProviderNameType')
236
+ ProvidersListType = Shapes::ListShape.new(name: 'ProvidersListType')
201
237
  QueryLimit = Shapes::IntegerShape.new(name: 'QueryLimit')
202
238
  QueryLimitType = Shapes::IntegerShape.new(name: 'QueryLimitType')
239
+ RedirectUrlType = Shapes::StringShape.new(name: 'RedirectUrlType')
203
240
  RefreshTokenValidityType = Shapes::IntegerShape.new(name: 'RefreshTokenValidityType')
204
241
  ResendConfirmationCodeRequest = Shapes::StructureShape.new(name: 'ResendConfirmationCodeRequest')
205
242
  ResendConfirmationCodeResponse = Shapes::StructureShape.new(name: 'ResendConfirmationCodeResponse')
206
243
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
207
244
  RespondToAuthChallengeRequest = Shapes::StructureShape.new(name: 'RespondToAuthChallengeRequest')
208
245
  RespondToAuthChallengeResponse = Shapes::StructureShape.new(name: 'RespondToAuthChallengeResponse')
246
+ S3BucketType = Shapes::StringShape.new(name: 'S3BucketType')
209
247
  SchemaAttributeType = Shapes::StructureShape.new(name: 'SchemaAttributeType')
210
248
  SchemaAttributesListType = Shapes::ListShape.new(name: 'SchemaAttributesListType')
249
+ ScopeDoesNotExistException = Shapes::StructureShape.new(name: 'ScopeDoesNotExistException')
250
+ ScopeListType = Shapes::ListShape.new(name: 'ScopeListType')
251
+ ScopeType = Shapes::StringShape.new(name: 'ScopeType')
211
252
  SearchPaginationTokenType = Shapes::StringShape.new(name: 'SearchPaginationTokenType')
212
253
  SearchedAttributeNamesListType = Shapes::ListShape.new(name: 'SearchedAttributeNamesListType')
213
254
  SecretHashType = Shapes::StringShape.new(name: 'SecretHashType')
@@ -225,15 +266,19 @@ module Aws::CognitoIdentityProvider
225
266
  StopUserImportJobResponse = Shapes::StructureShape.new(name: 'StopUserImportJobResponse')
226
267
  StringAttributeConstraintsType = Shapes::StructureShape.new(name: 'StringAttributeConstraintsType')
227
268
  StringType = Shapes::StringShape.new(name: 'StringType')
269
+ SupportedIdentityProvidersListType = Shapes::ListShape.new(name: 'SupportedIdentityProvidersListType')
228
270
  TokenModelType = Shapes::StringShape.new(name: 'TokenModelType')
229
271
  TooManyFailedAttemptsException = Shapes::StructureShape.new(name: 'TooManyFailedAttemptsException')
230
272
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
231
273
  UnexpectedLambdaException = Shapes::StructureShape.new(name: 'UnexpectedLambdaException')
274
+ UnsupportedIdentityProviderException = Shapes::StructureShape.new(name: 'UnsupportedIdentityProviderException')
232
275
  UnsupportedUserStateException = Shapes::StructureShape.new(name: 'UnsupportedUserStateException')
233
276
  UpdateDeviceStatusRequest = Shapes::StructureShape.new(name: 'UpdateDeviceStatusRequest')
234
277
  UpdateDeviceStatusResponse = Shapes::StructureShape.new(name: 'UpdateDeviceStatusResponse')
235
278
  UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
236
279
  UpdateGroupResponse = Shapes::StructureShape.new(name: 'UpdateGroupResponse')
280
+ UpdateIdentityProviderRequest = Shapes::StructureShape.new(name: 'UpdateIdentityProviderRequest')
281
+ UpdateIdentityProviderResponse = Shapes::StructureShape.new(name: 'UpdateIdentityProviderResponse')
237
282
  UpdateUserAttributesRequest = Shapes::StructureShape.new(name: 'UpdateUserAttributesRequest')
238
283
  UpdateUserAttributesResponse = Shapes::StructureShape.new(name: 'UpdateUserAttributesResponse')
239
284
  UpdateUserPoolClientRequest = Shapes::StructureShape.new(name: 'UpdateUserPoolClientRequest')
@@ -445,6 +490,9 @@ module Aws::CognitoIdentityProvider
445
490
 
446
491
  AttributeListType.member = Shapes::ShapeRef.new(shape: AttributeType)
447
492
 
493
+ AttributeMappingType.key = Shapes::ShapeRef.new(shape: CustomAttributeNameType)
494
+ AttributeMappingType.value = Shapes::ShapeRef.new(shape: StringType)
495
+
448
496
  AttributeNameListType.member = Shapes::ShapeRef.new(shape: AttributeNameType)
449
497
 
450
498
  AttributeType.add_member(:name, Shapes::ShapeRef.new(shape: AttributeNameType, required: true, location_name: "Name"))
@@ -462,6 +510,8 @@ module Aws::CognitoIdentityProvider
462
510
  AuthenticationResultType.add_member(:new_device_metadata, Shapes::ShapeRef.new(shape: NewDeviceMetadataType, location_name: "NewDeviceMetadata"))
463
511
  AuthenticationResultType.struct_class = Types::AuthenticationResultType
464
512
 
513
+ CallbackURLsListType.member = Shapes::ShapeRef.new(shape: RedirectUrlType)
514
+
465
515
  ChallengeParametersType.key = Shapes::ShapeRef.new(shape: StringType)
466
516
  ChallengeParametersType.value = Shapes::ShapeRef.new(shape: StringType)
467
517
 
@@ -470,7 +520,7 @@ module Aws::CognitoIdentityProvider
470
520
 
471
521
  ChangePasswordRequest.add_member(:previous_password, Shapes::ShapeRef.new(shape: PasswordType, required: true, location_name: "PreviousPassword"))
472
522
  ChangePasswordRequest.add_member(:proposed_password, Shapes::ShapeRef.new(shape: PasswordType, required: true, location_name: "ProposedPassword"))
473
- ChangePasswordRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
523
+ ChangePasswordRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
474
524
  ChangePasswordRequest.struct_class = Types::ChangePasswordRequest
475
525
 
476
526
  ChangePasswordResponse.struct_class = Types::ChangePasswordResponse
@@ -524,6 +574,17 @@ module Aws::CognitoIdentityProvider
524
574
  CreateGroupResponse.add_member(:group, Shapes::ShapeRef.new(shape: GroupType, location_name: "Group"))
525
575
  CreateGroupResponse.struct_class = Types::CreateGroupResponse
526
576
 
577
+ CreateIdentityProviderRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
578
+ CreateIdentityProviderRequest.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderNameType, required: true, location_name: "ProviderName"))
579
+ CreateIdentityProviderRequest.add_member(:provider_type, Shapes::ShapeRef.new(shape: IdentityProviderTypeType, required: true, location_name: "ProviderType"))
580
+ CreateIdentityProviderRequest.add_member(:provider_details, Shapes::ShapeRef.new(shape: ProviderDetailsType, required: true, location_name: "ProviderDetails"))
581
+ CreateIdentityProviderRequest.add_member(:attribute_mapping, Shapes::ShapeRef.new(shape: AttributeMappingType, location_name: "AttributeMapping"))
582
+ CreateIdentityProviderRequest.add_member(:idp_identifiers, Shapes::ShapeRef.new(shape: IdpIdentifiersListType, location_name: "IdpIdentifiers"))
583
+ CreateIdentityProviderRequest.struct_class = Types::CreateIdentityProviderRequest
584
+
585
+ CreateIdentityProviderResponse.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProviderType, required: true, location_name: "IdentityProvider"))
586
+ CreateIdentityProviderResponse.struct_class = Types::CreateIdentityProviderResponse
587
+
527
588
  CreateUserImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: UserImportJobNameType, required: true, location_name: "JobName"))
528
589
  CreateUserImportJobRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
529
590
  CreateUserImportJobRequest.add_member(:cloud_watch_logs_role_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "CloudWatchLogsRoleArn"))
@@ -539,11 +600,24 @@ module Aws::CognitoIdentityProvider
539
600
  CreateUserPoolClientRequest.add_member(:read_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "ReadAttributes"))
540
601
  CreateUserPoolClientRequest.add_member(:write_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "WriteAttributes"))
541
602
  CreateUserPoolClientRequest.add_member(:explicit_auth_flows, Shapes::ShapeRef.new(shape: ExplicitAuthFlowsListType, location_name: "ExplicitAuthFlows"))
603
+ CreateUserPoolClientRequest.add_member(:supported_identity_providers, Shapes::ShapeRef.new(shape: SupportedIdentityProvidersListType, location_name: "SupportedIdentityProviders"))
604
+ CreateUserPoolClientRequest.add_member(:callback_urls, Shapes::ShapeRef.new(shape: CallbackURLsListType, location_name: "CallbackURLs"))
605
+ CreateUserPoolClientRequest.add_member(:logout_urls, Shapes::ShapeRef.new(shape: LogoutURLsListType, location_name: "LogoutURLs"))
606
+ CreateUserPoolClientRequest.add_member(:default_redirect_uri, Shapes::ShapeRef.new(shape: RedirectUrlType, location_name: "DefaultRedirectURI"))
607
+ CreateUserPoolClientRequest.add_member(:allowed_o_auth_flows, Shapes::ShapeRef.new(shape: OAuthFlowsType, location_name: "AllowedOAuthFlows"))
608
+ CreateUserPoolClientRequest.add_member(:allowed_o_auth_scopes, Shapes::ShapeRef.new(shape: ScopeListType, location_name: "AllowedOAuthScopes"))
609
+ CreateUserPoolClientRequest.add_member(:allowed_o_auth_flows_user_pool_client, Shapes::ShapeRef.new(shape: BooleanType, location_name: "AllowedOAuthFlowsUserPoolClient"))
542
610
  CreateUserPoolClientRequest.struct_class = Types::CreateUserPoolClientRequest
543
611
 
544
612
  CreateUserPoolClientResponse.add_member(:user_pool_client, Shapes::ShapeRef.new(shape: UserPoolClientType, location_name: "UserPoolClient"))
545
613
  CreateUserPoolClientResponse.struct_class = Types::CreateUserPoolClientResponse
546
614
 
615
+ CreateUserPoolDomainRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainType, required: true, location_name: "Domain"))
616
+ CreateUserPoolDomainRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
617
+ CreateUserPoolDomainRequest.struct_class = Types::CreateUserPoolDomainRequest
618
+
619
+ CreateUserPoolDomainResponse.struct_class = Types::CreateUserPoolDomainResponse
620
+
547
621
  CreateUserPoolRequest.add_member(:pool_name, Shapes::ShapeRef.new(shape: UserPoolNameType, required: true, location_name: "PoolName"))
548
622
  CreateUserPoolRequest.add_member(:policies, Shapes::ShapeRef.new(shape: UserPoolPolicyType, location_name: "Policies"))
549
623
  CreateUserPoolRequest.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaConfigType, location_name: "LambdaConfig"))
@@ -571,8 +645,12 @@ module Aws::CognitoIdentityProvider
571
645
  DeleteGroupRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
572
646
  DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
573
647
 
648
+ DeleteIdentityProviderRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
649
+ DeleteIdentityProviderRequest.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderNameType, required: true, location_name: "ProviderName"))
650
+ DeleteIdentityProviderRequest.struct_class = Types::DeleteIdentityProviderRequest
651
+
574
652
  DeleteUserAttributesRequest.add_member(:user_attribute_names, Shapes::ShapeRef.new(shape: AttributeNameListType, required: true, location_name: "UserAttributeNames"))
575
- DeleteUserAttributesRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
653
+ DeleteUserAttributesRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
576
654
  DeleteUserAttributesRequest.struct_class = Types::DeleteUserAttributesRequest
577
655
 
578
656
  DeleteUserAttributesResponse.struct_class = Types::DeleteUserAttributesResponse
@@ -581,14 +659,27 @@ module Aws::CognitoIdentityProvider
581
659
  DeleteUserPoolClientRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, required: true, location_name: "ClientId"))
582
660
  DeleteUserPoolClientRequest.struct_class = Types::DeleteUserPoolClientRequest
583
661
 
662
+ DeleteUserPoolDomainRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainType, required: true, location_name: "Domain"))
663
+ DeleteUserPoolDomainRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
664
+ DeleteUserPoolDomainRequest.struct_class = Types::DeleteUserPoolDomainRequest
665
+
666
+ DeleteUserPoolDomainResponse.struct_class = Types::DeleteUserPoolDomainResponse
667
+
584
668
  DeleteUserPoolRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
585
669
  DeleteUserPoolRequest.struct_class = Types::DeleteUserPoolRequest
586
670
 
587
- DeleteUserRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
671
+ DeleteUserRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
588
672
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
589
673
 
590
674
  DeliveryMediumListType.member = Shapes::ShapeRef.new(shape: DeliveryMediumType)
591
675
 
676
+ DescribeIdentityProviderRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
677
+ DescribeIdentityProviderRequest.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderNameType, required: true, location_name: "ProviderName"))
678
+ DescribeIdentityProviderRequest.struct_class = Types::DescribeIdentityProviderRequest
679
+
680
+ DescribeIdentityProviderResponse.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProviderType, required: true, location_name: "IdentityProvider"))
681
+ DescribeIdentityProviderResponse.struct_class = Types::DescribeIdentityProviderResponse
682
+
592
683
  DescribeUserImportJobRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
593
684
  DescribeUserImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: UserImportJobIdType, required: true, location_name: "JobId"))
594
685
  DescribeUserImportJobRequest.struct_class = Types::DescribeUserImportJobRequest
@@ -603,6 +694,12 @@ module Aws::CognitoIdentityProvider
603
694
  DescribeUserPoolClientResponse.add_member(:user_pool_client, Shapes::ShapeRef.new(shape: UserPoolClientType, location_name: "UserPoolClient"))
604
695
  DescribeUserPoolClientResponse.struct_class = Types::DescribeUserPoolClientResponse
605
696
 
697
+ DescribeUserPoolDomainRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainType, required: true, location_name: "Domain"))
698
+ DescribeUserPoolDomainRequest.struct_class = Types::DescribeUserPoolDomainRequest
699
+
700
+ DescribeUserPoolDomainResponse.add_member(:domain_description, Shapes::ShapeRef.new(shape: DomainDescriptionType, location_name: "DomainDescription"))
701
+ DescribeUserPoolDomainResponse.struct_class = Types::DescribeUserPoolDomainResponse
702
+
606
703
  DescribeUserPoolRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
607
704
  DescribeUserPoolRequest.struct_class = Types::DescribeUserPoolRequest
608
705
 
@@ -626,6 +723,15 @@ module Aws::CognitoIdentityProvider
626
723
  DeviceType.add_member(:device_last_authenticated_date, Shapes::ShapeRef.new(shape: DateType, location_name: "DeviceLastAuthenticatedDate"))
627
724
  DeviceType.struct_class = Types::DeviceType
628
725
 
726
+ DomainDescriptionType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "UserPoolId"))
727
+ DomainDescriptionType.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AWSAccountIdType, location_name: "AWSAccountId"))
728
+ DomainDescriptionType.add_member(:domain, Shapes::ShapeRef.new(shape: DomainType, location_name: "Domain"))
729
+ DomainDescriptionType.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketType, location_name: "S3Bucket"))
730
+ DomainDescriptionType.add_member(:cloud_front_distribution, Shapes::ShapeRef.new(shape: ArnType, location_name: "CloudFrontDistribution"))
731
+ DomainDescriptionType.add_member(:version, Shapes::ShapeRef.new(shape: DomainVersionType, location_name: "Version"))
732
+ DomainDescriptionType.add_member(:status, Shapes::ShapeRef.new(shape: DomainStatusType, location_name: "Status"))
733
+ DomainDescriptionType.struct_class = Types::DomainDescriptionType
734
+
629
735
  EmailConfigurationType.add_member(:source_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "SourceArn"))
630
736
  EmailConfigurationType.add_member(:reply_to_email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "ReplyToEmailAddress"))
631
737
  EmailConfigurationType.struct_class = Types::EmailConfigurationType
@@ -665,14 +771,21 @@ module Aws::CognitoIdentityProvider
665
771
  GetGroupResponse.add_member(:group, Shapes::ShapeRef.new(shape: GroupType, location_name: "Group"))
666
772
  GetGroupResponse.struct_class = Types::GetGroupResponse
667
773
 
668
- GetUserAttributeVerificationCodeRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
774
+ GetIdentityProviderByIdentifierRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
775
+ GetIdentityProviderByIdentifierRequest.add_member(:idp_identifier, Shapes::ShapeRef.new(shape: IdpIdentifierType, required: true, location_name: "IdpIdentifier"))
776
+ GetIdentityProviderByIdentifierRequest.struct_class = Types::GetIdentityProviderByIdentifierRequest
777
+
778
+ GetIdentityProviderByIdentifierResponse.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProviderType, required: true, location_name: "IdentityProvider"))
779
+ GetIdentityProviderByIdentifierResponse.struct_class = Types::GetIdentityProviderByIdentifierResponse
780
+
781
+ GetUserAttributeVerificationCodeRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
669
782
  GetUserAttributeVerificationCodeRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: AttributeNameType, required: true, location_name: "AttributeName"))
670
783
  GetUserAttributeVerificationCodeRequest.struct_class = Types::GetUserAttributeVerificationCodeRequest
671
784
 
672
785
  GetUserAttributeVerificationCodeResponse.add_member(:code_delivery_details, Shapes::ShapeRef.new(shape: CodeDeliveryDetailsType, location_name: "CodeDeliveryDetails"))
673
786
  GetUserAttributeVerificationCodeResponse.struct_class = Types::GetUserAttributeVerificationCodeResponse
674
787
 
675
- GetUserRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
788
+ GetUserRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
676
789
  GetUserRequest.struct_class = Types::GetUserRequest
677
790
 
678
791
  GetUserResponse.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
@@ -680,7 +793,7 @@ module Aws::CognitoIdentityProvider
680
793
  GetUserResponse.add_member(:mfa_options, Shapes::ShapeRef.new(shape: MFAOptionListType, location_name: "MFAOptions"))
681
794
  GetUserResponse.struct_class = Types::GetUserResponse
682
795
 
683
- GlobalSignOutRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
796
+ GlobalSignOutRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
684
797
  GlobalSignOutRequest.struct_class = Types::GlobalSignOutRequest
685
798
 
686
799
  GlobalSignOutResponse.struct_class = Types::GlobalSignOutResponse
@@ -696,6 +809,18 @@ module Aws::CognitoIdentityProvider
696
809
  GroupType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
697
810
  GroupType.struct_class = Types::GroupType
698
811
 
812
+ IdentityProviderType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "UserPoolId"))
813
+ IdentityProviderType.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderNameType, location_name: "ProviderName"))
814
+ IdentityProviderType.add_member(:provider_type, Shapes::ShapeRef.new(shape: IdentityProviderTypeType, location_name: "ProviderType"))
815
+ IdentityProviderType.add_member(:provider_details, Shapes::ShapeRef.new(shape: ProviderDetailsType, location_name: "ProviderDetails"))
816
+ IdentityProviderType.add_member(:attribute_mapping, Shapes::ShapeRef.new(shape: AttributeMappingType, location_name: "AttributeMapping"))
817
+ IdentityProviderType.add_member(:idp_identifiers, Shapes::ShapeRef.new(shape: IdpIdentifiersListType, location_name: "IdpIdentifiers"))
818
+ IdentityProviderType.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
819
+ IdentityProviderType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
820
+ IdentityProviderType.struct_class = Types::IdentityProviderType
821
+
822
+ IdpIdentifiersListType.member = Shapes::ShapeRef.new(shape: IdpIdentifierType)
823
+
699
824
  InitiateAuthRequest.add_member(:auth_flow, Shapes::ShapeRef.new(shape: AuthFlowType, required: true, location_name: "AuthFlow"))
700
825
  InitiateAuthRequest.add_member(:auth_parameters, Shapes::ShapeRef.new(shape: AuthParametersType, location_name: "AuthParameters"))
701
826
  InitiateAuthRequest.add_member(:client_metadata, Shapes::ShapeRef.new(shape: ClientMetadataType, location_name: "ClientMetadata"))
@@ -736,6 +861,15 @@ module Aws::CognitoIdentityProvider
736
861
  ListGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
737
862
  ListGroupsResponse.struct_class = Types::ListGroupsResponse
738
863
 
864
+ ListIdentityProvidersRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
865
+ ListIdentityProvidersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListProvidersLimitType, location_name: "MaxResults"))
866
+ ListIdentityProvidersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKeyType, location_name: "NextToken"))
867
+ ListIdentityProvidersRequest.struct_class = Types::ListIdentityProvidersRequest
868
+
869
+ ListIdentityProvidersResponse.add_member(:providers, Shapes::ShapeRef.new(shape: ProvidersListType, required: true, location_name: "Providers"))
870
+ ListIdentityProvidersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKeyType, location_name: "NextToken"))
871
+ ListIdentityProvidersResponse.struct_class = Types::ListIdentityProvidersResponse
872
+
739
873
  ListOfStringTypes.member = Shapes::ShapeRef.new(shape: StringType)
740
874
 
741
875
  ListUserImportJobsRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
@@ -785,6 +919,8 @@ module Aws::CognitoIdentityProvider
785
919
  ListUsersResponse.add_member(:pagination_token, Shapes::ShapeRef.new(shape: SearchPaginationTokenType, location_name: "PaginationToken"))
786
920
  ListUsersResponse.struct_class = Types::ListUsersResponse
787
921
 
922
+ LogoutURLsListType.member = Shapes::ShapeRef.new(shape: RedirectUrlType)
923
+
788
924
  MFAOptionListType.member = Shapes::ShapeRef.new(shape: MFAOptionType)
789
925
 
790
926
  MFAOptionType.add_member(:delivery_medium, Shapes::ShapeRef.new(shape: DeliveryMediumType, location_name: "DeliveryMedium"))
@@ -804,6 +940,8 @@ module Aws::CognitoIdentityProvider
804
940
  NumberAttributeConstraintsType.add_member(:max_value, Shapes::ShapeRef.new(shape: StringType, location_name: "MaxValue"))
805
941
  NumberAttributeConstraintsType.struct_class = Types::NumberAttributeConstraintsType
806
942
 
943
+ OAuthFlowsType.member = Shapes::ShapeRef.new(shape: OAuthFlowType)
944
+
807
945
  PasswordPolicyType.add_member(:minimum_length, Shapes::ShapeRef.new(shape: PasswordPolicyMinLengthType, location_name: "MinimumLength"))
808
946
  PasswordPolicyType.add_member(:require_uppercase, Shapes::ShapeRef.new(shape: BooleanType, location_name: "RequireUppercase"))
809
947
  PasswordPolicyType.add_member(:require_lowercase, Shapes::ShapeRef.new(shape: BooleanType, location_name: "RequireLowercase"))
@@ -811,6 +949,17 @@ module Aws::CognitoIdentityProvider
811
949
  PasswordPolicyType.add_member(:require_symbols, Shapes::ShapeRef.new(shape: BooleanType, location_name: "RequireSymbols"))
812
950
  PasswordPolicyType.struct_class = Types::PasswordPolicyType
813
951
 
952
+ ProviderDescription.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderNameType, location_name: "ProviderName"))
953
+ ProviderDescription.add_member(:provider_type, Shapes::ShapeRef.new(shape: IdentityProviderTypeType, location_name: "ProviderType"))
954
+ ProviderDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
955
+ ProviderDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
956
+ ProviderDescription.struct_class = Types::ProviderDescription
957
+
958
+ ProviderDetailsType.key = Shapes::ShapeRef.new(shape: StringType)
959
+ ProviderDetailsType.value = Shapes::ShapeRef.new(shape: StringType)
960
+
961
+ ProvidersListType.member = Shapes::ShapeRef.new(shape: ProviderDescription)
962
+
814
963
  ResendConfirmationCodeRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, required: true, location_name: "ClientId"))
815
964
  ResendConfirmationCodeRequest.add_member(:secret_hash, Shapes::ShapeRef.new(shape: SecretHashType, location_name: "SecretHash"))
816
965
  ResendConfirmationCodeRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
@@ -842,6 +991,8 @@ module Aws::CognitoIdentityProvider
842
991
 
843
992
  SchemaAttributesListType.member = Shapes::ShapeRef.new(shape: SchemaAttributeType)
844
993
 
994
+ ScopeListType.member = Shapes::ShapeRef.new(shape: ScopeType)
995
+
845
996
  SearchedAttributeNamesListType.member = Shapes::ShapeRef.new(shape: AttributeNameType)
846
997
 
847
998
  SetUserSettingsRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
@@ -858,8 +1009,9 @@ module Aws::CognitoIdentityProvider
858
1009
  SignUpRequest.add_member(:validation_data, Shapes::ShapeRef.new(shape: AttributeListType, location_name: "ValidationData"))
859
1010
  SignUpRequest.struct_class = Types::SignUpRequest
860
1011
 
861
- SignUpResponse.add_member(:user_confirmed, Shapes::ShapeRef.new(shape: BooleanType, location_name: "UserConfirmed"))
1012
+ SignUpResponse.add_member(:user_confirmed, Shapes::ShapeRef.new(shape: BooleanType, required: true, location_name: "UserConfirmed"))
862
1013
  SignUpResponse.add_member(:code_delivery_details, Shapes::ShapeRef.new(shape: CodeDeliveryDetailsType, location_name: "CodeDeliveryDetails"))
1014
+ SignUpResponse.add_member(:user_sub, Shapes::ShapeRef.new(shape: StringType, required: true, location_name: "UserSub"))
863
1015
  SignUpResponse.struct_class = Types::SignUpResponse
864
1016
 
865
1017
  SmsConfigurationType.add_member(:sns_caller_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "SnsCallerArn"))
@@ -884,6 +1036,8 @@ module Aws::CognitoIdentityProvider
884
1036
  StringAttributeConstraintsType.add_member(:max_length, Shapes::ShapeRef.new(shape: StringType, location_name: "MaxLength"))
885
1037
  StringAttributeConstraintsType.struct_class = Types::StringAttributeConstraintsType
886
1038
 
1039
+ SupportedIdentityProvidersListType.member = Shapes::ShapeRef.new(shape: ProviderNameType)
1040
+
887
1041
  UpdateDeviceStatusRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
888
1042
  UpdateDeviceStatusRequest.add_member(:device_key, Shapes::ShapeRef.new(shape: DeviceKeyType, required: true, location_name: "DeviceKey"))
889
1043
  UpdateDeviceStatusRequest.add_member(:device_remembered_status, Shapes::ShapeRef.new(shape: DeviceRememberedStatusType, location_name: "DeviceRememberedStatus"))
@@ -901,8 +1055,18 @@ module Aws::CognitoIdentityProvider
901
1055
  UpdateGroupResponse.add_member(:group, Shapes::ShapeRef.new(shape: GroupType, location_name: "Group"))
902
1056
  UpdateGroupResponse.struct_class = Types::UpdateGroupResponse
903
1057
 
1058
+ UpdateIdentityProviderRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
1059
+ UpdateIdentityProviderRequest.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderNameType, required: true, location_name: "ProviderName"))
1060
+ UpdateIdentityProviderRequest.add_member(:provider_details, Shapes::ShapeRef.new(shape: ProviderDetailsType, location_name: "ProviderDetails"))
1061
+ UpdateIdentityProviderRequest.add_member(:attribute_mapping, Shapes::ShapeRef.new(shape: AttributeMappingType, location_name: "AttributeMapping"))
1062
+ UpdateIdentityProviderRequest.add_member(:idp_identifiers, Shapes::ShapeRef.new(shape: IdpIdentifiersListType, location_name: "IdpIdentifiers"))
1063
+ UpdateIdentityProviderRequest.struct_class = Types::UpdateIdentityProviderRequest
1064
+
1065
+ UpdateIdentityProviderResponse.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProviderType, required: true, location_name: "IdentityProvider"))
1066
+ UpdateIdentityProviderResponse.struct_class = Types::UpdateIdentityProviderResponse
1067
+
904
1068
  UpdateUserAttributesRequest.add_member(:user_attributes, Shapes::ShapeRef.new(shape: AttributeListType, required: true, location_name: "UserAttributes"))
905
- UpdateUserAttributesRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
1069
+ UpdateUserAttributesRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
906
1070
  UpdateUserAttributesRequest.struct_class = Types::UpdateUserAttributesRequest
907
1071
 
908
1072
  UpdateUserAttributesResponse.add_member(:code_delivery_details_list, Shapes::ShapeRef.new(shape: CodeDeliveryDetailsListType, location_name: "CodeDeliveryDetailsList"))
@@ -915,6 +1079,13 @@ module Aws::CognitoIdentityProvider
915
1079
  UpdateUserPoolClientRequest.add_member(:read_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "ReadAttributes"))
916
1080
  UpdateUserPoolClientRequest.add_member(:write_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "WriteAttributes"))
917
1081
  UpdateUserPoolClientRequest.add_member(:explicit_auth_flows, Shapes::ShapeRef.new(shape: ExplicitAuthFlowsListType, location_name: "ExplicitAuthFlows"))
1082
+ UpdateUserPoolClientRequest.add_member(:supported_identity_providers, Shapes::ShapeRef.new(shape: SupportedIdentityProvidersListType, location_name: "SupportedIdentityProviders"))
1083
+ UpdateUserPoolClientRequest.add_member(:callback_urls, Shapes::ShapeRef.new(shape: CallbackURLsListType, location_name: "CallbackURLs"))
1084
+ UpdateUserPoolClientRequest.add_member(:logout_urls, Shapes::ShapeRef.new(shape: LogoutURLsListType, location_name: "LogoutURLs"))
1085
+ UpdateUserPoolClientRequest.add_member(:default_redirect_uri, Shapes::ShapeRef.new(shape: RedirectUrlType, location_name: "DefaultRedirectURI"))
1086
+ UpdateUserPoolClientRequest.add_member(:allowed_o_auth_flows, Shapes::ShapeRef.new(shape: OAuthFlowsType, location_name: "AllowedOAuthFlows"))
1087
+ UpdateUserPoolClientRequest.add_member(:allowed_o_auth_scopes, Shapes::ShapeRef.new(shape: ScopeListType, location_name: "AllowedOAuthScopes"))
1088
+ UpdateUserPoolClientRequest.add_member(:allowed_o_auth_flows_user_pool_client, Shapes::ShapeRef.new(shape: BooleanType, location_name: "AllowedOAuthFlowsUserPoolClient"))
918
1089
  UpdateUserPoolClientRequest.struct_class = Types::UpdateUserPoolClientRequest
919
1090
 
920
1091
  UpdateUserPoolClientResponse.add_member(:user_pool_client, Shapes::ShapeRef.new(shape: UserPoolClientType, location_name: "UserPoolClient"))
@@ -972,6 +1143,13 @@ module Aws::CognitoIdentityProvider
972
1143
  UserPoolClientType.add_member(:read_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "ReadAttributes"))
973
1144
  UserPoolClientType.add_member(:write_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "WriteAttributes"))
974
1145
  UserPoolClientType.add_member(:explicit_auth_flows, Shapes::ShapeRef.new(shape: ExplicitAuthFlowsListType, location_name: "ExplicitAuthFlows"))
1146
+ UserPoolClientType.add_member(:supported_identity_providers, Shapes::ShapeRef.new(shape: SupportedIdentityProvidersListType, location_name: "SupportedIdentityProviders"))
1147
+ UserPoolClientType.add_member(:callback_urls, Shapes::ShapeRef.new(shape: CallbackURLsListType, location_name: "CallbackURLs"))
1148
+ UserPoolClientType.add_member(:logout_urls, Shapes::ShapeRef.new(shape: LogoutURLsListType, location_name: "LogoutURLs"))
1149
+ UserPoolClientType.add_member(:default_redirect_uri, Shapes::ShapeRef.new(shape: RedirectUrlType, location_name: "DefaultRedirectURI"))
1150
+ UserPoolClientType.add_member(:allowed_o_auth_flows, Shapes::ShapeRef.new(shape: OAuthFlowsType, location_name: "AllowedOAuthFlows"))
1151
+ UserPoolClientType.add_member(:allowed_o_auth_scopes, Shapes::ShapeRef.new(shape: ScopeListType, location_name: "AllowedOAuthScopes"))
1152
+ UserPoolClientType.add_member(:allowed_o_auth_flows_user_pool_client, Shapes::ShapeRef.new(shape: BooleanType, location_name: "AllowedOAuthFlowsUserPoolClient", metadata: {"box"=>true}))
975
1153
  UserPoolClientType.struct_class = Types::UserPoolClientType
976
1154
 
977
1155
  UserPoolDescriptionType.add_member(:id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "Id"))
@@ -1028,7 +1206,7 @@ module Aws::CognitoIdentityProvider
1028
1206
 
1029
1207
  VerifiedAttributesListType.member = Shapes::ShapeRef.new(shape: VerifiedAttributeType)
1030
1208
 
1031
- VerifyUserAttributeRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, location_name: "AccessToken"))
1209
+ VerifyUserAttributeRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
1032
1210
  VerifyUserAttributeRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: AttributeNameType, required: true, location_name: "AttributeName"))
1033
1211
  VerifyUserAttributeRequest.add_member(:code, Shapes::ShapeRef.new(shape: ConfirmationCodeType, required: true, location_name: "Code"))
1034
1212
  VerifyUserAttributeRequest.struct_class = Types::VerifyUserAttributeRequest
@@ -1491,6 +1669,21 @@ module Aws::CognitoIdentityProvider
1491
1669
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1492
1670
  end)
1493
1671
 
1672
+ api.add_operation(:create_identity_provider, Seahorse::Model::Operation.new.tap do |o|
1673
+ o.name = "CreateIdentityProvider"
1674
+ o.http_method = "POST"
1675
+ o.http_request_uri = "/"
1676
+ o.input = Shapes::ShapeRef.new(shape: CreateIdentityProviderRequest)
1677
+ o.output = Shapes::ShapeRef.new(shape: CreateIdentityProviderResponse)
1678
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1679
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateProviderException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1681
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
1682
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1683
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1684
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1685
+ end)
1686
+
1494
1687
  api.add_operation(:create_user_import_job, Seahorse::Model::Operation.new.tap do |o|
1495
1688
  o.name = "CreateUserImportJob"
1496
1689
  o.http_method = "POST"
@@ -1534,6 +1727,20 @@ module Aws::CognitoIdentityProvider
1534
1727
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1535
1728
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1536
1729
  o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
1730
+ o.errors << Shapes::ShapeRef.new(shape: ScopeDoesNotExistException)
1731
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOAuthFlowException)
1732
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1733
+ end)
1734
+
1735
+ api.add_operation(:create_user_pool_domain, Seahorse::Model::Operation.new.tap do |o|
1736
+ o.name = "CreateUserPoolDomain"
1737
+ o.http_method = "POST"
1738
+ o.http_request_uri = "/"
1739
+ o.input = Shapes::ShapeRef.new(shape: CreateUserPoolDomainRequest)
1740
+ o.output = Shapes::ShapeRef.new(shape: CreateUserPoolDomainResponse)
1741
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1742
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
1743
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1537
1744
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1538
1745
  end)
1539
1746
 
@@ -1550,6 +1757,20 @@ module Aws::CognitoIdentityProvider
1550
1757
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1551
1758
  end)
1552
1759
 
1760
+ api.add_operation(:delete_identity_provider, Seahorse::Model::Operation.new.tap do |o|
1761
+ o.name = "DeleteIdentityProvider"
1762
+ o.http_method = "POST"
1763
+ o.http_request_uri = "/"
1764
+ o.input = Shapes::ShapeRef.new(shape: DeleteIdentityProviderRequest)
1765
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1766
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1767
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedIdentityProviderException)
1768
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1769
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
1770
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1771
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1772
+ end)
1773
+
1553
1774
  api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
1554
1775
  o.name = "DeleteUser"
1555
1776
  o.http_method = "POST"
@@ -1611,6 +1832,31 @@ module Aws::CognitoIdentityProvider
1611
1832
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1612
1833
  end)
1613
1834
 
1835
+ api.add_operation(:delete_user_pool_domain, Seahorse::Model::Operation.new.tap do |o|
1836
+ o.name = "DeleteUserPoolDomain"
1837
+ o.http_method = "POST"
1838
+ o.http_request_uri = "/"
1839
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserPoolDomainRequest)
1840
+ o.output = Shapes::ShapeRef.new(shape: DeleteUserPoolDomainResponse)
1841
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
1842
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1843
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1844
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1845
+ end)
1846
+
1847
+ api.add_operation(:describe_identity_provider, Seahorse::Model::Operation.new.tap do |o|
1848
+ o.name = "DescribeIdentityProvider"
1849
+ o.http_method = "POST"
1850
+ o.http_request_uri = "/"
1851
+ o.input = Shapes::ShapeRef.new(shape: DescribeIdentityProviderRequest)
1852
+ o.output = Shapes::ShapeRef.new(shape: DescribeIdentityProviderResponse)
1853
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1854
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1858
+ end)
1859
+
1614
1860
  api.add_operation(:describe_user_import_job, Seahorse::Model::Operation.new.tap do |o|
1615
1861
  o.name = "DescribeUserImportJob"
1616
1862
  o.http_method = "POST"
@@ -1651,6 +1897,18 @@ module Aws::CognitoIdentityProvider
1651
1897
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1652
1898
  end)
1653
1899
 
1900
+ api.add_operation(:describe_user_pool_domain, Seahorse::Model::Operation.new.tap do |o|
1901
+ o.name = "DescribeUserPoolDomain"
1902
+ o.http_method = "POST"
1903
+ o.http_request_uri = "/"
1904
+ o.input = Shapes::ShapeRef.new(shape: DescribeUserPoolDomainRequest)
1905
+ o.output = Shapes::ShapeRef.new(shape: DescribeUserPoolDomainResponse)
1906
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
1907
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1908
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1909
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1910
+ end)
1911
+
1654
1912
  api.add_operation(:forget_device, Seahorse::Model::Operation.new.tap do |o|
1655
1913
  o.name = "ForgetDevice"
1656
1914
  o.http_method = "POST"
@@ -1735,6 +1993,19 @@ module Aws::CognitoIdentityProvider
1735
1993
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1736
1994
  end)
1737
1995
 
1996
+ api.add_operation(:get_identity_provider_by_identifier, Seahorse::Model::Operation.new.tap do |o|
1997
+ o.name = "GetIdentityProviderByIdentifier"
1998
+ o.http_method = "POST"
1999
+ o.http_request_uri = "/"
2000
+ o.input = Shapes::ShapeRef.new(shape: GetIdentityProviderByIdentifierRequest)
2001
+ o.output = Shapes::ShapeRef.new(shape: GetIdentityProviderByIdentifierResponse)
2002
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2003
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2004
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2005
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2006
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2007
+ end)
2008
+
1738
2009
  api.add_operation(:get_user, Seahorse::Model::Operation.new.tap do |o|
1739
2010
  o.name = "GetUser"
1740
2011
  o.http_method = "POST"
@@ -1842,6 +2113,19 @@ module Aws::CognitoIdentityProvider
1842
2113
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1843
2114
  end)
1844
2115
 
2116
+ api.add_operation(:list_identity_providers, Seahorse::Model::Operation.new.tap do |o|
2117
+ o.name = "ListIdentityProviders"
2118
+ o.http_method = "POST"
2119
+ o.http_request_uri = "/"
2120
+ o.input = Shapes::ShapeRef.new(shape: ListIdentityProvidersRequest)
2121
+ o.output = Shapes::ShapeRef.new(shape: ListIdentityProvidersResponse)
2122
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2123
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2124
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2125
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2126
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2127
+ end)
2128
+
1845
2129
  api.add_operation(:list_user_import_jobs, Seahorse::Model::Operation.new.tap do |o|
1846
2130
  o.name = "ListUserImportJobs"
1847
2131
  o.http_method = "POST"
@@ -2053,6 +2337,20 @@ module Aws::CognitoIdentityProvider
2053
2337
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2054
2338
  end)
2055
2339
 
2340
+ api.add_operation(:update_identity_provider, Seahorse::Model::Operation.new.tap do |o|
2341
+ o.name = "UpdateIdentityProvider"
2342
+ o.http_method = "POST"
2343
+ o.http_request_uri = "/"
2344
+ o.input = Shapes::ShapeRef.new(shape: UpdateIdentityProviderRequest)
2345
+ o.output = Shapes::ShapeRef.new(shape: UpdateIdentityProviderResponse)
2346
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2347
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedIdentityProviderException)
2348
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2349
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2350
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2351
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2352
+ end)
2353
+
2056
2354
  api.add_operation(:update_user_attributes, Seahorse::Model::Operation.new.tap do |o|
2057
2355
  o.name = "UpdateUserAttributes"
2058
2356
  o.http_method = "POST"
@@ -2109,6 +2407,8 @@ module Aws::CognitoIdentityProvider
2109
2407
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2110
2408
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2111
2409
  o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
2410
+ o.errors << Shapes::ShapeRef.new(shape: ScopeDoesNotExistException)
2411
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOAuthFlowException)
2112
2412
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
2113
2413
  end)
2114
2414