aws-sdk-cognitoidentityprovider 1.166.0 → 1.167.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +434 -1
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +155 -0
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +358 -0
- data/lib/aws-sdk-cognitoidentityprovider.rb +1 -1
- data/sig/client.rbs +57 -0
- data/sig/types.rbs +81 -0
- metadata +3 -3
|
@@ -132,6 +132,8 @@ module Aws::CognitoIdentityProvider
|
|
|
132
132
|
CSSType = Shapes::StringShape.new(name: 'CSSType')
|
|
133
133
|
CSSVersionType = Shapes::StringShape.new(name: 'CSSVersionType')
|
|
134
134
|
CallbackURLsListType = Shapes::ListShape.new(name: 'CallbackURLsListType')
|
|
135
|
+
CancelPointInTimeRecoveryRequest = Shapes::StructureShape.new(name: 'CancelPointInTimeRecoveryRequest')
|
|
136
|
+
CancelPointInTimeRecoveryResponse = Shapes::StructureShape.new(name: 'CancelPointInTimeRecoveryResponse')
|
|
135
137
|
ChallengeName = Shapes::StringShape.new(name: 'ChallengeName')
|
|
136
138
|
ChallengeNameType = Shapes::StringShape.new(name: 'ChallengeNameType')
|
|
137
139
|
ChallengeParametersType = Shapes::MapShape.new(name: 'ChallengeParametersType')
|
|
@@ -232,6 +234,8 @@ module Aws::CognitoIdentityProvider
|
|
|
232
234
|
DescribeManagedLoginBrandingByClientResponse = Shapes::StructureShape.new(name: 'DescribeManagedLoginBrandingByClientResponse')
|
|
233
235
|
DescribeManagedLoginBrandingRequest = Shapes::StructureShape.new(name: 'DescribeManagedLoginBrandingRequest')
|
|
234
236
|
DescribeManagedLoginBrandingResponse = Shapes::StructureShape.new(name: 'DescribeManagedLoginBrandingResponse')
|
|
237
|
+
DescribePointInTimeRecoveryRequest = Shapes::StructureShape.new(name: 'DescribePointInTimeRecoveryRequest')
|
|
238
|
+
DescribePointInTimeRecoveryResponse = Shapes::StructureShape.new(name: 'DescribePointInTimeRecoveryResponse')
|
|
235
239
|
DescribeResourceServerRequest = Shapes::StructureShape.new(name: 'DescribeResourceServerRequest')
|
|
236
240
|
DescribeResourceServerResponse = Shapes::StructureShape.new(name: 'DescribeResourceServerResponse')
|
|
237
241
|
DescribeRiskConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeRiskConfigurationRequest')
|
|
@@ -360,6 +364,8 @@ module Aws::CognitoIdentityProvider
|
|
|
360
364
|
InboundFederationLambdaVersionType = Shapes::StringShape.new(name: 'InboundFederationLambdaVersionType')
|
|
361
365
|
InitiateAuthRequest = Shapes::StructureShape.new(name: 'InitiateAuthRequest')
|
|
362
366
|
InitiateAuthResponse = Shapes::StructureShape.new(name: 'InitiateAuthResponse')
|
|
367
|
+
InitiatePointInTimeRecoveryRequest = Shapes::StructureShape.new(name: 'InitiatePointInTimeRecoveryRequest')
|
|
368
|
+
InitiatePointInTimeRecoveryResponse = Shapes::StructureShape.new(name: 'InitiatePointInTimeRecoveryResponse')
|
|
363
369
|
IntegerType = Shapes::IntegerShape.new(name: 'IntegerType')
|
|
364
370
|
InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
|
|
365
371
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
@@ -391,6 +397,8 @@ module Aws::CognitoIdentityProvider
|
|
|
391
397
|
ListIdentityProvidersRequest = Shapes::StructureShape.new(name: 'ListIdentityProvidersRequest')
|
|
392
398
|
ListIdentityProvidersResponse = Shapes::StructureShape.new(name: 'ListIdentityProvidersResponse')
|
|
393
399
|
ListOfStringTypes = Shapes::ListShape.new(name: 'ListOfStringTypes')
|
|
400
|
+
ListPointInTimeRecoveriesRequest = Shapes::StructureShape.new(name: 'ListPointInTimeRecoveriesRequest')
|
|
401
|
+
ListPointInTimeRecoveriesResponse = Shapes::StructureShape.new(name: 'ListPointInTimeRecoveriesResponse')
|
|
394
402
|
ListProvidersLimitType = Shapes::IntegerShape.new(name: 'ListProvidersLimitType')
|
|
395
403
|
ListResourceServersLimitType = Shapes::IntegerShape.new(name: 'ListResourceServersLimitType')
|
|
396
404
|
ListResourceServersRequest = Shapes::StructureShape.new(name: 'ListResourceServersRequest')
|
|
@@ -498,6 +506,13 @@ module Aws::CognitoIdentityProvider
|
|
|
498
506
|
ResourceServersListType = Shapes::ListShape.new(name: 'ResourceServersListType')
|
|
499
507
|
RespondToAuthChallengeRequest = Shapes::StructureShape.new(name: 'RespondToAuthChallengeRequest')
|
|
500
508
|
RespondToAuthChallengeResponse = Shapes::StructureShape.new(name: 'RespondToAuthChallengeResponse')
|
|
509
|
+
RestorationDescriptionType = Shapes::StructureShape.new(name: 'RestorationDescriptionType')
|
|
510
|
+
RestorationListType = Shapes::ListShape.new(name: 'RestorationListType')
|
|
511
|
+
RestorationType = Shapes::StructureShape.new(name: 'RestorationType')
|
|
512
|
+
RestoreIdType = Shapes::StringShape.new(name: 'RestoreIdType')
|
|
513
|
+
RestorePreviewListType = Shapes::ListShape.new(name: 'RestorePreviewListType')
|
|
514
|
+
RestorePreviewType = Shapes::StructureShape.new(name: 'RestorePreviewType')
|
|
515
|
+
RestoreStatusType = Shapes::StringShape.new(name: 'RestoreStatusType')
|
|
501
516
|
RetryGracePeriodSecondsType = Shapes::IntegerShape.new(name: 'RetryGracePeriodSecondsType')
|
|
502
517
|
RevokeAssociatedSessionsType = Shapes::StringShape.new(name: 'RevokeAssociatedSessionsType')
|
|
503
518
|
RevokeTokenRequest = Shapes::StructureShape.new(name: 'RevokeTokenRequest')
|
|
@@ -564,6 +579,8 @@ module Aws::CognitoIdentityProvider
|
|
|
564
579
|
SoftwareTokenMFAUserCodeType = Shapes::StringShape.new(name: 'SoftwareTokenMFAUserCodeType')
|
|
565
580
|
SoftwareTokenMfaConfigType = Shapes::StructureShape.new(name: 'SoftwareTokenMfaConfigType')
|
|
566
581
|
SoftwareTokenMfaSettingsType = Shapes::StructureShape.new(name: 'SoftwareTokenMfaSettingsType')
|
|
582
|
+
StartPointInTimeRecoveryRequest = Shapes::StructureShape.new(name: 'StartPointInTimeRecoveryRequest')
|
|
583
|
+
StartPointInTimeRecoveryResponse = Shapes::StructureShape.new(name: 'StartPointInTimeRecoveryResponse')
|
|
567
584
|
StartUserImportJobRequest = Shapes::StructureShape.new(name: 'StartUserImportJobRequest')
|
|
568
585
|
StartUserImportJobResponse = Shapes::StructureShape.new(name: 'StartUserImportJobResponse')
|
|
569
586
|
StartWebAuthnRegistrationRequest = Shapes::StructureShape.new(name: 'StartWebAuthnRegistrationRequest')
|
|
@@ -1082,6 +1099,13 @@ module Aws::CognitoIdentityProvider
|
|
|
1082
1099
|
|
|
1083
1100
|
CallbackURLsListType.member = Shapes::ShapeRef.new(shape: RedirectUrlType)
|
|
1084
1101
|
|
|
1102
|
+
CancelPointInTimeRecoveryRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
1103
|
+
CancelPointInTimeRecoveryRequest.add_member(:restore_id, Shapes::ShapeRef.new(shape: RestoreIdType, required: true, location_name: "RestoreId"))
|
|
1104
|
+
CancelPointInTimeRecoveryRequest.struct_class = Types::CancelPointInTimeRecoveryRequest
|
|
1105
|
+
|
|
1106
|
+
CancelPointInTimeRecoveryResponse.add_member(:restoration, Shapes::ShapeRef.new(shape: RestorationType, location_name: "Restoration"))
|
|
1107
|
+
CancelPointInTimeRecoveryResponse.struct_class = Types::CancelPointInTimeRecoveryResponse
|
|
1108
|
+
|
|
1085
1109
|
ChallengeParametersType.key = Shapes::ShapeRef.new(shape: StringType)
|
|
1086
1110
|
ChallengeParametersType.value = Shapes::ShapeRef.new(shape: StringType)
|
|
1087
1111
|
|
|
@@ -1448,6 +1472,13 @@ module Aws::CognitoIdentityProvider
|
|
|
1448
1472
|
DescribeManagedLoginBrandingResponse.add_member(:managed_login_branding, Shapes::ShapeRef.new(shape: ManagedLoginBrandingType, location_name: "ManagedLoginBranding"))
|
|
1449
1473
|
DescribeManagedLoginBrandingResponse.struct_class = Types::DescribeManagedLoginBrandingResponse
|
|
1450
1474
|
|
|
1475
|
+
DescribePointInTimeRecoveryRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
1476
|
+
DescribePointInTimeRecoveryRequest.add_member(:restore_id, Shapes::ShapeRef.new(shape: RestoreIdType, required: true, location_name: "RestoreId"))
|
|
1477
|
+
DescribePointInTimeRecoveryRequest.struct_class = Types::DescribePointInTimeRecoveryRequest
|
|
1478
|
+
|
|
1479
|
+
DescribePointInTimeRecoveryResponse.add_member(:restoration, Shapes::ShapeRef.new(shape: RestorationType, location_name: "Restoration"))
|
|
1480
|
+
DescribePointInTimeRecoveryResponse.struct_class = Types::DescribePointInTimeRecoveryResponse
|
|
1481
|
+
|
|
1451
1482
|
DescribeResourceServerRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
1452
1483
|
DescribeResourceServerRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: ResourceServerIdentifierType, required: true, location_name: "Identifier"))
|
|
1453
1484
|
DescribeResourceServerRequest.struct_class = Types::DescribeResourceServerRequest
|
|
@@ -1822,6 +1853,13 @@ module Aws::CognitoIdentityProvider
|
|
|
1822
1853
|
InitiateAuthResponse.add_member(:available_challenges, Shapes::ShapeRef.new(shape: AvailableChallengeListType, location_name: "AvailableChallenges"))
|
|
1823
1854
|
InitiateAuthResponse.struct_class = Types::InitiateAuthResponse
|
|
1824
1855
|
|
|
1856
|
+
InitiatePointInTimeRecoveryRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
1857
|
+
InitiatePointInTimeRecoveryRequest.add_member(:restore_timestamp, Shapes::ShapeRef.new(shape: DateType, required: true, location_name: "RestoreTimestamp"))
|
|
1858
|
+
InitiatePointInTimeRecoveryRequest.struct_class = Types::InitiatePointInTimeRecoveryRequest
|
|
1859
|
+
|
|
1860
|
+
InitiatePointInTimeRecoveryResponse.add_member(:restoration, Shapes::ShapeRef.new(shape: RestorationType, location_name: "Restoration"))
|
|
1861
|
+
InitiatePointInTimeRecoveryResponse.struct_class = Types::InitiatePointInTimeRecoveryResponse
|
|
1862
|
+
|
|
1825
1863
|
InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
|
|
1826
1864
|
InternalErrorException.struct_class = Types::InternalErrorException
|
|
1827
1865
|
|
|
@@ -1921,6 +1959,15 @@ module Aws::CognitoIdentityProvider
|
|
|
1921
1959
|
|
|
1922
1960
|
ListOfStringTypes.member = Shapes::ShapeRef.new(shape: StringType)
|
|
1923
1961
|
|
|
1962
|
+
ListPointInTimeRecoveriesRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
1963
|
+
ListPointInTimeRecoveriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKeyType, location_name: "NextToken"))
|
|
1964
|
+
ListPointInTimeRecoveriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PoolQueryLimitType, location_name: "MaxResults"))
|
|
1965
|
+
ListPointInTimeRecoveriesRequest.struct_class = Types::ListPointInTimeRecoveriesRequest
|
|
1966
|
+
|
|
1967
|
+
ListPointInTimeRecoveriesResponse.add_member(:restorations, Shapes::ShapeRef.new(shape: RestorationListType, location_name: "Restorations"))
|
|
1968
|
+
ListPointInTimeRecoveriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKeyType, location_name: "NextToken"))
|
|
1969
|
+
ListPointInTimeRecoveriesResponse.struct_class = Types::ListPointInTimeRecoveriesResponse
|
|
1970
|
+
|
|
1924
1971
|
ListResourceServersRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
1925
1972
|
ListResourceServersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListResourceServersLimitType, location_name: "MaxResults"))
|
|
1926
1973
|
ListResourceServersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKeyType, location_name: "NextToken"))
|
|
@@ -2197,6 +2244,28 @@ module Aws::CognitoIdentityProvider
|
|
|
2197
2244
|
RespondToAuthChallengeResponse.add_member(:available_challenges, Shapes::ShapeRef.new(shape: AvailableChallengeListType, location_name: "AvailableChallenges"))
|
|
2198
2245
|
RespondToAuthChallengeResponse.struct_class = Types::RespondToAuthChallengeResponse
|
|
2199
2246
|
|
|
2247
|
+
RestorationDescriptionType.add_member(:restore_id, Shapes::ShapeRef.new(shape: RestoreIdType, location_name: "RestoreId"))
|
|
2248
|
+
RestorationDescriptionType.add_member(:restore_status, Shapes::ShapeRef.new(shape: RestoreStatusType, location_name: "RestoreStatus"))
|
|
2249
|
+
RestorationDescriptionType.add_member(:restore_timestamp, Shapes::ShapeRef.new(shape: DateType, location_name: "RestoreTimestamp"))
|
|
2250
|
+
RestorationDescriptionType.struct_class = Types::RestorationDescriptionType
|
|
2251
|
+
|
|
2252
|
+
RestorationListType.member = Shapes::ShapeRef.new(shape: RestorationDescriptionType)
|
|
2253
|
+
|
|
2254
|
+
RestorationType.add_member(:restore_id, Shapes::ShapeRef.new(shape: RestoreIdType, location_name: "RestoreId"))
|
|
2255
|
+
RestorationType.add_member(:restore_status, Shapes::ShapeRef.new(shape: RestoreStatusType, location_name: "RestoreStatus"))
|
|
2256
|
+
RestorationType.add_member(:restore_timestamp, Shapes::ShapeRef.new(shape: DateType, location_name: "RestoreTimestamp"))
|
|
2257
|
+
RestorationType.add_member(:trigger_timestamp, Shapes::ShapeRef.new(shape: DateType, location_name: "TriggerTimestamp"))
|
|
2258
|
+
RestorationType.add_member(:restore_preview, Shapes::ShapeRef.new(shape: RestorePreviewListType, location_name: "RestorePreview"))
|
|
2259
|
+
RestorationType.struct_class = Types::RestorationType
|
|
2260
|
+
|
|
2261
|
+
RestorePreviewListType.member = Shapes::ShapeRef.new(shape: RestorePreviewType)
|
|
2262
|
+
|
|
2263
|
+
RestorePreviewType.add_member(:entity, Shapes::ShapeRef.new(shape: StringType, location_name: "Entity"))
|
|
2264
|
+
RestorePreviewType.add_member(:create_count, Shapes::ShapeRef.new(shape: LongType, location_name: "CreateCount"))
|
|
2265
|
+
RestorePreviewType.add_member(:update_count, Shapes::ShapeRef.new(shape: LongType, location_name: "UpdateCount"))
|
|
2266
|
+
RestorePreviewType.add_member(:delete_count, Shapes::ShapeRef.new(shape: LongType, location_name: "DeleteCount"))
|
|
2267
|
+
RestorePreviewType.struct_class = Types::RestorePreviewType
|
|
2268
|
+
|
|
2200
2269
|
RevokeTokenRequest.add_member(:token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "Token"))
|
|
2201
2270
|
RevokeTokenRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, required: true, location_name: "ClientId"))
|
|
2202
2271
|
RevokeTokenRequest.add_member(:client_secret, Shapes::ShapeRef.new(shape: ClientSecretType, location_name: "ClientSecret"))
|
|
@@ -2391,6 +2460,13 @@ module Aws::CognitoIdentityProvider
|
|
|
2391
2460
|
SoftwareTokenMfaSettingsType.add_member(:preferred_mfa, Shapes::ShapeRef.new(shape: BooleanType, location_name: "PreferredMfa"))
|
|
2392
2461
|
SoftwareTokenMfaSettingsType.struct_class = Types::SoftwareTokenMfaSettingsType
|
|
2393
2462
|
|
|
2463
|
+
StartPointInTimeRecoveryRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
2464
|
+
StartPointInTimeRecoveryRequest.add_member(:restore_id, Shapes::ShapeRef.new(shape: RestoreIdType, required: true, location_name: "RestoreId"))
|
|
2465
|
+
StartPointInTimeRecoveryRequest.struct_class = Types::StartPointInTimeRecoveryRequest
|
|
2466
|
+
|
|
2467
|
+
StartPointInTimeRecoveryResponse.add_member(:restoration, Shapes::ShapeRef.new(shape: RestorationType, location_name: "Restoration"))
|
|
2468
|
+
StartPointInTimeRecoveryResponse.struct_class = Types::StartPointInTimeRecoveryResponse
|
|
2469
|
+
|
|
2394
2470
|
StartUserImportJobRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
|
2395
2471
|
StartUserImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: UserImportJobIdType, required: true, location_name: "JobId"))
|
|
2396
2472
|
StartUserImportJobRequest.struct_class = Types::StartUserImportJobRequest
|
|
@@ -3494,6 +3570,22 @@ module Aws::CognitoIdentityProvider
|
|
|
3494
3570
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotEnabledException)
|
|
3495
3571
|
end)
|
|
3496
3572
|
|
|
3573
|
+
api.add_operation(:cancel_point_in_time_recovery, Seahorse::Model::Operation.new.tap do |o|
|
|
3574
|
+
o.name = "CancelPointInTimeRecovery"
|
|
3575
|
+
o.http_method = "POST"
|
|
3576
|
+
o.http_request_uri = "/"
|
|
3577
|
+
o.input = Shapes::ShapeRef.new(shape: CancelPointInTimeRecoveryRequest)
|
|
3578
|
+
o.output = Shapes::ShapeRef.new(shape: CancelPointInTimeRecoveryResponse)
|
|
3579
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
3580
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3581
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureUnavailableInTierException)
|
|
3582
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
3583
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
3584
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
|
3585
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotEnabledException)
|
|
3586
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
|
3587
|
+
end)
|
|
3588
|
+
|
|
3497
3589
|
api.add_operation(:change_password, Seahorse::Model::Operation.new.tap do |o|
|
|
3498
3590
|
o.name = "ChangePassword"
|
|
3499
3591
|
o.http_method = "POST"
|
|
@@ -4030,6 +4122,21 @@ module Aws::CognitoIdentityProvider
|
|
|
4030
4122
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
|
4031
4123
|
end)
|
|
4032
4124
|
|
|
4125
|
+
api.add_operation(:describe_point_in_time_recovery, Seahorse::Model::Operation.new.tap do |o|
|
|
4126
|
+
o.name = "DescribePointInTimeRecovery"
|
|
4127
|
+
o.http_method = "POST"
|
|
4128
|
+
o.http_request_uri = "/"
|
|
4129
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePointInTimeRecoveryRequest)
|
|
4130
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePointInTimeRecoveryResponse)
|
|
4131
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
4132
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4133
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureUnavailableInTierException)
|
|
4134
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
4135
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
|
4136
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotEnabledException)
|
|
4137
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
|
4138
|
+
end)
|
|
4139
|
+
|
|
4033
4140
|
api.add_operation(:describe_resource_server, Seahorse::Model::Operation.new.tap do |o|
|
|
4034
4141
|
o.name = "DescribeResourceServer"
|
|
4035
4142
|
o.http_method = "POST"
|
|
@@ -4517,6 +4624,23 @@ module Aws::CognitoIdentityProvider
|
|
|
4517
4624
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
4518
4625
|
end)
|
|
4519
4626
|
|
|
4627
|
+
api.add_operation(:initiate_point_in_time_recovery, Seahorse::Model::Operation.new.tap do |o|
|
|
4628
|
+
o.name = "InitiatePointInTimeRecovery"
|
|
4629
|
+
o.http_method = "POST"
|
|
4630
|
+
o.http_request_uri = "/"
|
|
4631
|
+
o.input = Shapes::ShapeRef.new(shape: InitiatePointInTimeRecoveryRequest)
|
|
4632
|
+
o.output = Shapes::ShapeRef.new(shape: InitiatePointInTimeRecoveryResponse)
|
|
4633
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
4634
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4635
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
4636
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureUnavailableInTierException)
|
|
4637
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
4638
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
4639
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
|
4640
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotEnabledException)
|
|
4641
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
|
4642
|
+
end)
|
|
4643
|
+
|
|
4520
4644
|
api.add_operation(:list_devices, Seahorse::Model::Operation.new.tap do |o|
|
|
4521
4645
|
o.name = "ListDevices"
|
|
4522
4646
|
o.http_method = "POST"
|
|
@@ -4577,6 +4701,21 @@ module Aws::CognitoIdentityProvider
|
|
|
4577
4701
|
)
|
|
4578
4702
|
end)
|
|
4579
4703
|
|
|
4704
|
+
api.add_operation(:list_point_in_time_recoveries, Seahorse::Model::Operation.new.tap do |o|
|
|
4705
|
+
o.name = "ListPointInTimeRecoveries"
|
|
4706
|
+
o.http_method = "POST"
|
|
4707
|
+
o.http_request_uri = "/"
|
|
4708
|
+
o.input = Shapes::ShapeRef.new(shape: ListPointInTimeRecoveriesRequest)
|
|
4709
|
+
o.output = Shapes::ShapeRef.new(shape: ListPointInTimeRecoveriesResponse)
|
|
4710
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
4711
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4712
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureUnavailableInTierException)
|
|
4713
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
4714
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
|
4715
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotEnabledException)
|
|
4716
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
|
4717
|
+
end)
|
|
4718
|
+
|
|
4580
4719
|
api.add_operation(:list_resource_servers, Seahorse::Model::Operation.new.tap do |o|
|
|
4581
4720
|
o.name = "ListResourceServers"
|
|
4582
4721
|
o.http_method = "POST"
|
|
@@ -5040,6 +5179,22 @@ module Aws::CognitoIdentityProvider
|
|
|
5040
5179
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
5041
5180
|
end)
|
|
5042
5181
|
|
|
5182
|
+
api.add_operation(:start_point_in_time_recovery, Seahorse::Model::Operation.new.tap do |o|
|
|
5183
|
+
o.name = "StartPointInTimeRecovery"
|
|
5184
|
+
o.http_method = "POST"
|
|
5185
|
+
o.http_request_uri = "/"
|
|
5186
|
+
o.input = Shapes::ShapeRef.new(shape: StartPointInTimeRecoveryRequest)
|
|
5187
|
+
o.output = Shapes::ShapeRef.new(shape: StartPointInTimeRecoveryResponse)
|
|
5188
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
|
5189
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
5190
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureUnavailableInTierException)
|
|
5191
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
5192
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
5193
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
|
5194
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotEnabledException)
|
|
5195
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
|
5196
|
+
end)
|
|
5197
|
+
|
|
5043
5198
|
api.add_operation(:start_user_import_job, Seahorse::Model::Operation.new.tap do |o|
|
|
5044
5199
|
o.name = "StartUserImportJob"
|
|
5045
5200
|
o.http_method = "POST"
|
|
@@ -3063,6 +3063,38 @@ module Aws::CognitoIdentityProvider
|
|
|
3063
3063
|
include Aws::Structure
|
|
3064
3064
|
end
|
|
3065
3065
|
|
|
3066
|
+
# @!attribute [rw] user_pool_id
|
|
3067
|
+
# The ID of the user pool that contains the recovery that you want to
|
|
3068
|
+
# cancel.
|
|
3069
|
+
# @return [String]
|
|
3070
|
+
#
|
|
3071
|
+
# @!attribute [rw] restore_id
|
|
3072
|
+
# The ID of the recovery that you want to cancel. Amazon Cognito
|
|
3073
|
+
# returns this ID in the response to an `InitiatePointInTimeRecovery`
|
|
3074
|
+
# request.
|
|
3075
|
+
# @return [String]
|
|
3076
|
+
#
|
|
3077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CancelPointInTimeRecoveryRequest AWS API Documentation
|
|
3078
|
+
#
|
|
3079
|
+
class CancelPointInTimeRecoveryRequest < Struct.new(
|
|
3080
|
+
:user_pool_id,
|
|
3081
|
+
:restore_id)
|
|
3082
|
+
SENSITIVE = []
|
|
3083
|
+
include Aws::Structure
|
|
3084
|
+
end
|
|
3085
|
+
|
|
3086
|
+
# @!attribute [rw] restoration
|
|
3087
|
+
# The details of the canceled recovery, including its status.
|
|
3088
|
+
# @return [Types::RestorationType]
|
|
3089
|
+
#
|
|
3090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CancelPointInTimeRecoveryResponse AWS API Documentation
|
|
3091
|
+
#
|
|
3092
|
+
class CancelPointInTimeRecoveryResponse < Struct.new(
|
|
3093
|
+
:restoration)
|
|
3094
|
+
SENSITIVE = []
|
|
3095
|
+
include Aws::Structure
|
|
3096
|
+
end
|
|
3097
|
+
|
|
3066
3098
|
# The responses to the challenge that you received in the previous
|
|
3067
3099
|
# request. Each challenge has its own required response parameters. The
|
|
3068
3100
|
# following examples are partial JSON request bodies that highlight
|
|
@@ -5920,6 +5952,40 @@ module Aws::CognitoIdentityProvider
|
|
|
5920
5952
|
include Aws::Structure
|
|
5921
5953
|
end
|
|
5922
5954
|
|
|
5955
|
+
# @!attribute [rw] user_pool_id
|
|
5956
|
+
# The ID of the user pool that contains the recovery that you want to
|
|
5957
|
+
# describe.
|
|
5958
|
+
# @return [String]
|
|
5959
|
+
#
|
|
5960
|
+
# @!attribute [rw] restore_id
|
|
5961
|
+
# The ID of the recovery that you want to describe. Amazon Cognito
|
|
5962
|
+
# returns this ID in the response to an `InitiatePointInTimeRecovery`
|
|
5963
|
+
# request.
|
|
5964
|
+
# @return [String]
|
|
5965
|
+
#
|
|
5966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribePointInTimeRecoveryRequest AWS API Documentation
|
|
5967
|
+
#
|
|
5968
|
+
class DescribePointInTimeRecoveryRequest < Struct.new(
|
|
5969
|
+
:user_pool_id,
|
|
5970
|
+
:restore_id)
|
|
5971
|
+
SENSITIVE = []
|
|
5972
|
+
include Aws::Structure
|
|
5973
|
+
end
|
|
5974
|
+
|
|
5975
|
+
# @!attribute [rw] restoration
|
|
5976
|
+
# The details of the requested recovery, including its status, the
|
|
5977
|
+
# point in time that it restores the user pool to, and the recovery
|
|
5978
|
+
# preview.
|
|
5979
|
+
# @return [Types::RestorationType]
|
|
5980
|
+
#
|
|
5981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribePointInTimeRecoveryResponse AWS API Documentation
|
|
5982
|
+
#
|
|
5983
|
+
class DescribePointInTimeRecoveryResponse < Struct.new(
|
|
5984
|
+
:restoration)
|
|
5985
|
+
SENSITIVE = []
|
|
5986
|
+
include Aws::Structure
|
|
5987
|
+
end
|
|
5988
|
+
|
|
5923
5989
|
# @!attribute [rw] user_pool_id
|
|
5924
5990
|
# The ID of the user pool that hosts the resource server.
|
|
5925
5991
|
# @return [String]
|
|
@@ -8706,6 +8772,42 @@ module Aws::CognitoIdentityProvider
|
|
|
8706
8772
|
include Aws::Structure
|
|
8707
8773
|
end
|
|
8708
8774
|
|
|
8775
|
+
# @!attribute [rw] user_pool_id
|
|
8776
|
+
# The ID of the user pool that you want to recover.
|
|
8777
|
+
# @return [String]
|
|
8778
|
+
#
|
|
8779
|
+
# @!attribute [rw] restore_timestamp
|
|
8780
|
+
# The point in time that you want to recover your user pool to. Amazon
|
|
8781
|
+
# Cognito reverts changes to user data that occurred after this time.
|
|
8782
|
+
# The recovery point must be at least 15 minutes in the past and
|
|
8783
|
+
# within the recovery period of your user pool feature plan: up to 1
|
|
8784
|
+
# day in the past with the Essentials feature plan, or up to 14 days
|
|
8785
|
+
# in the past with the Plus feature plan.
|
|
8786
|
+
# @return [Time]
|
|
8787
|
+
#
|
|
8788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiatePointInTimeRecoveryRequest AWS API Documentation
|
|
8789
|
+
#
|
|
8790
|
+
class InitiatePointInTimeRecoveryRequest < Struct.new(
|
|
8791
|
+
:user_pool_id,
|
|
8792
|
+
:restore_timestamp)
|
|
8793
|
+
SENSITIVE = []
|
|
8794
|
+
include Aws::Structure
|
|
8795
|
+
end
|
|
8796
|
+
|
|
8797
|
+
# @!attribute [rw] restoration
|
|
8798
|
+
# The details of the recovery that you initiated. Includes the
|
|
8799
|
+
# recovery ID that you can use in later requests to describe, start,
|
|
8800
|
+
# or cancel the recovery.
|
|
8801
|
+
# @return [Types::RestorationType]
|
|
8802
|
+
#
|
|
8803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiatePointInTimeRecoveryResponse AWS API Documentation
|
|
8804
|
+
#
|
|
8805
|
+
class InitiatePointInTimeRecoveryResponse < Struct.new(
|
|
8806
|
+
:restoration)
|
|
8807
|
+
SENSITIVE = []
|
|
8808
|
+
include Aws::Structure
|
|
8809
|
+
end
|
|
8810
|
+
|
|
8709
8811
|
# This exception is thrown when Amazon Cognito encounters an internal
|
|
8710
8812
|
# error.
|
|
8711
8813
|
#
|
|
@@ -9329,6 +9431,59 @@ module Aws::CognitoIdentityProvider
|
|
|
9329
9431
|
include Aws::Structure
|
|
9330
9432
|
end
|
|
9331
9433
|
|
|
9434
|
+
# @!attribute [rw] user_pool_id
|
|
9435
|
+
# The ID of the user pool where you want to list point-in-time
|
|
9436
|
+
# recoveries.
|
|
9437
|
+
# @return [String]
|
|
9438
|
+
#
|
|
9439
|
+
# @!attribute [rw] next_token
|
|
9440
|
+
# This API operation returns a limited number of results. The
|
|
9441
|
+
# pagination token is an identifier that you can present in an
|
|
9442
|
+
# additional API request with the same parameters. When you include
|
|
9443
|
+
# the pagination token, Amazon Cognito returns the next set of items
|
|
9444
|
+
# after the current list. Subsequent requests return a new pagination
|
|
9445
|
+
# token. By use of this token, you can paginate through the full list
|
|
9446
|
+
# of items.
|
|
9447
|
+
# @return [String]
|
|
9448
|
+
#
|
|
9449
|
+
# @!attribute [rw] max_results
|
|
9450
|
+
# The maximum number of recoveries that you want Amazon Cognito to
|
|
9451
|
+
# return in the response. Valid values are 1 through 60. The default
|
|
9452
|
+
# value is 60.
|
|
9453
|
+
# @return [Integer]
|
|
9454
|
+
#
|
|
9455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListPointInTimeRecoveriesRequest AWS API Documentation
|
|
9456
|
+
#
|
|
9457
|
+
class ListPointInTimeRecoveriesRequest < Struct.new(
|
|
9458
|
+
:user_pool_id,
|
|
9459
|
+
:next_token,
|
|
9460
|
+
:max_results)
|
|
9461
|
+
SENSITIVE = []
|
|
9462
|
+
include Aws::Structure
|
|
9463
|
+
end
|
|
9464
|
+
|
|
9465
|
+
# @!attribute [rw] restorations
|
|
9466
|
+
# A summary of each requested recovery, including its ID, status, and
|
|
9467
|
+
# the point in time that it restores the user pool to.
|
|
9468
|
+
# @return [Array<Types::RestorationDescriptionType>]
|
|
9469
|
+
#
|
|
9470
|
+
# @!attribute [rw] next_token
|
|
9471
|
+
# The identifier that Amazon Cognito returned with the previous
|
|
9472
|
+
# request to this operation. When you include a pagination token in
|
|
9473
|
+
# your request, Amazon Cognito returns the next set of items in the
|
|
9474
|
+
# list. By use of this token, you can paginate through the full list
|
|
9475
|
+
# of items.
|
|
9476
|
+
# @return [String]
|
|
9477
|
+
#
|
|
9478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListPointInTimeRecoveriesResponse AWS API Documentation
|
|
9479
|
+
#
|
|
9480
|
+
class ListPointInTimeRecoveriesResponse < Struct.new(
|
|
9481
|
+
:restorations,
|
|
9482
|
+
:next_token)
|
|
9483
|
+
SENSITIVE = []
|
|
9484
|
+
include Aws::Structure
|
|
9485
|
+
end
|
|
9486
|
+
|
|
9332
9487
|
# @!attribute [rw] user_pool_id
|
|
9333
9488
|
# The ID of the user pool where you want to list resource servers.
|
|
9334
9489
|
# @return [String]
|
|
@@ -11408,6 +11563,177 @@ module Aws::CognitoIdentityProvider
|
|
|
11408
11563
|
include Aws::Structure
|
|
11409
11564
|
end
|
|
11410
11565
|
|
|
11566
|
+
# A summary of a point-in-time recovery of a user pool.
|
|
11567
|
+
#
|
|
11568
|
+
# @!attribute [rw] restore_id
|
|
11569
|
+
# The ID of the recovery.
|
|
11570
|
+
# @return [String]
|
|
11571
|
+
#
|
|
11572
|
+
# @!attribute [rw] restore_status
|
|
11573
|
+
# The status of the recovery. For a description of each status, see
|
|
11574
|
+
# the `RestoreStatus` parameter of `RestorationType`.
|
|
11575
|
+
# @return [String]
|
|
11576
|
+
#
|
|
11577
|
+
# @!attribute [rw] restore_timestamp
|
|
11578
|
+
# The point in time that the recovery restores the user pool to.
|
|
11579
|
+
# @return [Time]
|
|
11580
|
+
#
|
|
11581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RestorationDescriptionType AWS API Documentation
|
|
11582
|
+
#
|
|
11583
|
+
class RestorationDescriptionType < Struct.new(
|
|
11584
|
+
:restore_id,
|
|
11585
|
+
:restore_status,
|
|
11586
|
+
:restore_timestamp)
|
|
11587
|
+
SENSITIVE = []
|
|
11588
|
+
include Aws::Structure
|
|
11589
|
+
end
|
|
11590
|
+
|
|
11591
|
+
# The details of a point-in-time recovery of a user pool.
|
|
11592
|
+
#
|
|
11593
|
+
# @!attribute [rw] restore_id
|
|
11594
|
+
# The ID of the recovery. Use this ID in requests to describe, start,
|
|
11595
|
+
# or cancel the recovery.
|
|
11596
|
+
# @return [String]
|
|
11597
|
+
#
|
|
11598
|
+
# @!attribute [rw] restore_status
|
|
11599
|
+
# The status of the recovery. Can be one of the following values.
|
|
11600
|
+
#
|
|
11601
|
+
# PREVIEW\_GENERATING
|
|
11602
|
+
#
|
|
11603
|
+
# : Amazon Cognito is waiting for available capacity in the Amazon Web
|
|
11604
|
+
# Services Region or is generating the recovery preview. Write
|
|
11605
|
+
# operations in the user pool are paused.
|
|
11606
|
+
#
|
|
11607
|
+
# PREVIEW\_GENERATED
|
|
11608
|
+
#
|
|
11609
|
+
# : The recovery preview is ready for review. Write operations in the
|
|
11610
|
+
# user pool are paused. Within 24 hours after you initiate the
|
|
11611
|
+
# recovery, apply it with a `StartPointInTimeRecovery` request or
|
|
11612
|
+
# discard it with a `CancelPointInTimeRecovery` request.
|
|
11613
|
+
#
|
|
11614
|
+
# PREVIEW\_CANCELLED
|
|
11615
|
+
#
|
|
11616
|
+
# : You canceled the recovery. Amazon Cognito resumed write operations
|
|
11617
|
+
# and didn't change your user pool data.
|
|
11618
|
+
#
|
|
11619
|
+
# PREVIEW\_GENERATION\_FAILED
|
|
11620
|
+
#
|
|
11621
|
+
# : Amazon Cognito couldn't generate the recovery preview. Amazon
|
|
11622
|
+
# Cognito resumed write operations and didn't change your user pool
|
|
11623
|
+
# data. You can initiate a new recovery.
|
|
11624
|
+
#
|
|
11625
|
+
# PREVIEW\_EXPIRED
|
|
11626
|
+
#
|
|
11627
|
+
# : You didn't start or cancel the recovery within 24 hours after you
|
|
11628
|
+
# initiated it. Amazon Cognito resumed write operations and didn't
|
|
11629
|
+
# change your user pool data.
|
|
11630
|
+
#
|
|
11631
|
+
# RESTORING
|
|
11632
|
+
#
|
|
11633
|
+
# : Amazon Cognito is restoring user data in the user pool to its
|
|
11634
|
+
# state at the recovery point. Write operations in the user pool are
|
|
11635
|
+
# paused.
|
|
11636
|
+
#
|
|
11637
|
+
# RESTORE\_COMPLETED
|
|
11638
|
+
#
|
|
11639
|
+
# : Amazon Cognito restored your user pool to its state at the
|
|
11640
|
+
# recovery point and resumed write operations.
|
|
11641
|
+
#
|
|
11642
|
+
# TEMPORARY\_INTERNAL\_ERROR\_SEE\_SUPPORT\_CASE
|
|
11643
|
+
#
|
|
11644
|
+
# : The recovery encountered an internal error. Write operations in
|
|
11645
|
+
# the user pool remain paused. Amazon Web Services Support contacts
|
|
11646
|
+
# you through a support case to resolve the issue.
|
|
11647
|
+
#
|
|
11648
|
+
# AWS\_ABORTED
|
|
11649
|
+
#
|
|
11650
|
+
# : Amazon Cognito stopped the recovery because of an internal
|
|
11651
|
+
# failure. Write operations in the user pool remain paused, and you
|
|
11652
|
+
# can't cancel or retry the recovery. Amazon Web Services Support
|
|
11653
|
+
# contacts you through a support case to resolve the issue.
|
|
11654
|
+
# @return [String]
|
|
11655
|
+
#
|
|
11656
|
+
# @!attribute [rw] restore_timestamp
|
|
11657
|
+
# The point in time that the recovery restores the user pool to.
|
|
11658
|
+
# @return [Time]
|
|
11659
|
+
#
|
|
11660
|
+
# @!attribute [rw] trigger_timestamp
|
|
11661
|
+
# The end of the period of changes that the recovery reverts. This
|
|
11662
|
+
# time is shortly after the time that you initiated the recovery. The
|
|
11663
|
+
# recovery reverts changes to user data that occurred between
|
|
11664
|
+
# `RestoreTimestamp` and `TriggerTimestamp`.
|
|
11665
|
+
# @return [Time]
|
|
11666
|
+
#
|
|
11667
|
+
# @!attribute [rw] restore_preview
|
|
11668
|
+
# The recovery preview. For each type of entity, the preview shows the
|
|
11669
|
+
# number of entities that the recovery creates, updates, and deletes.
|
|
11670
|
+
# The preview doesn't include user data. Amazon Cognito returns the
|
|
11671
|
+
# preview when it's available.
|
|
11672
|
+
# @return [Array<Types::RestorePreviewType>]
|
|
11673
|
+
#
|
|
11674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RestorationType AWS API Documentation
|
|
11675
|
+
#
|
|
11676
|
+
class RestorationType < Struct.new(
|
|
11677
|
+
:restore_id,
|
|
11678
|
+
:restore_status,
|
|
11679
|
+
:restore_timestamp,
|
|
11680
|
+
:trigger_timestamp,
|
|
11681
|
+
:restore_preview)
|
|
11682
|
+
SENSITIVE = []
|
|
11683
|
+
include Aws::Structure
|
|
11684
|
+
end
|
|
11685
|
+
|
|
11686
|
+
# The number of entities of one type that a point-in-time recovery
|
|
11687
|
+
# creates, updates, and deletes.
|
|
11688
|
+
#
|
|
11689
|
+
# @!attribute [rw] entity
|
|
11690
|
+
# The type of user pool entity that the recovery changes. Can be one
|
|
11691
|
+
# of the following values.
|
|
11692
|
+
#
|
|
11693
|
+
# Users
|
|
11694
|
+
#
|
|
11695
|
+
# : User profiles, including their attributes.
|
|
11696
|
+
#
|
|
11697
|
+
# Groups
|
|
11698
|
+
#
|
|
11699
|
+
# : User pool groups.
|
|
11700
|
+
#
|
|
11701
|
+
# User MFAs
|
|
11702
|
+
#
|
|
11703
|
+
# : The MFA settings of users.
|
|
11704
|
+
#
|
|
11705
|
+
# Passkeys
|
|
11706
|
+
#
|
|
11707
|
+
# : The passkeys that users registered.
|
|
11708
|
+
# @return [String]
|
|
11709
|
+
#
|
|
11710
|
+
# @!attribute [rw] create_count
|
|
11711
|
+
# The number of entities of this type that the recovery creates. These
|
|
11712
|
+
# entities existed at the recovery point and were deleted after it.
|
|
11713
|
+
# @return [Integer]
|
|
11714
|
+
#
|
|
11715
|
+
# @!attribute [rw] update_count
|
|
11716
|
+
# The number of entities of this type that the recovery reverts to
|
|
11717
|
+
# their state at the recovery point. These entities were modified
|
|
11718
|
+
# after the recovery point.
|
|
11719
|
+
# @return [Integer]
|
|
11720
|
+
#
|
|
11721
|
+
# @!attribute [rw] delete_count
|
|
11722
|
+
# The number of entities of this type that the recovery deletes. These
|
|
11723
|
+
# entities were created after the recovery point.
|
|
11724
|
+
# @return [Integer]
|
|
11725
|
+
#
|
|
11726
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RestorePreviewType AWS API Documentation
|
|
11727
|
+
#
|
|
11728
|
+
class RestorePreviewType < Struct.new(
|
|
11729
|
+
:entity,
|
|
11730
|
+
:create_count,
|
|
11731
|
+
:update_count,
|
|
11732
|
+
:delete_count)
|
|
11733
|
+
SENSITIVE = []
|
|
11734
|
+
include Aws::Structure
|
|
11735
|
+
end
|
|
11736
|
+
|
|
11411
11737
|
# @!attribute [rw] token
|
|
11412
11738
|
# The refresh token that you want to revoke.
|
|
11413
11739
|
# @return [String]
|
|
@@ -12657,6 +12983,38 @@ module Aws::CognitoIdentityProvider
|
|
|
12657
12983
|
include Aws::Structure
|
|
12658
12984
|
end
|
|
12659
12985
|
|
|
12986
|
+
# @!attribute [rw] user_pool_id
|
|
12987
|
+
# The ID of the user pool that contains the recovery that you want to
|
|
12988
|
+
# start.
|
|
12989
|
+
# @return [String]
|
|
12990
|
+
#
|
|
12991
|
+
# @!attribute [rw] restore_id
|
|
12992
|
+
# The ID of the recovery that you want to start. Amazon Cognito
|
|
12993
|
+
# returns this ID in the response to an `InitiatePointInTimeRecovery`
|
|
12994
|
+
# request.
|
|
12995
|
+
# @return [String]
|
|
12996
|
+
#
|
|
12997
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartPointInTimeRecoveryRequest AWS API Documentation
|
|
12998
|
+
#
|
|
12999
|
+
class StartPointInTimeRecoveryRequest < Struct.new(
|
|
13000
|
+
:user_pool_id,
|
|
13001
|
+
:restore_id)
|
|
13002
|
+
SENSITIVE = []
|
|
13003
|
+
include Aws::Structure
|
|
13004
|
+
end
|
|
13005
|
+
|
|
13006
|
+
# @!attribute [rw] restoration
|
|
13007
|
+
# The details of the recovery that you started, including its status.
|
|
13008
|
+
# @return [Types::RestorationType]
|
|
13009
|
+
#
|
|
13010
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartPointInTimeRecoveryResponse AWS API Documentation
|
|
13011
|
+
#
|
|
13012
|
+
class StartPointInTimeRecoveryResponse < Struct.new(
|
|
13013
|
+
:restoration)
|
|
13014
|
+
SENSITIVE = []
|
|
13015
|
+
include Aws::Structure
|
|
13016
|
+
end
|
|
13017
|
+
|
|
12660
13018
|
# Represents the request to start the user import job.
|
|
12661
13019
|
#
|
|
12662
13020
|
# @!attribute [rw] user_pool_id
|