aws-sdk-cognitoidentityprovider 1.79.0 → 1.80.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 +1512 -155
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +63 -0
- data/lib/aws-sdk-cognitoidentityprovider/endpoints.rb +28 -0
- data/lib/aws-sdk-cognitoidentityprovider/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +560 -120
- data/lib/aws-sdk-cognitoidentityprovider.rb +1 -1
- metadata +2 -2
@@ -117,6 +117,7 @@ module Aws::CognitoIdentityProvider
|
|
117
117
|
ClientPermissionListType = Shapes::ListShape.new(name: 'ClientPermissionListType')
|
118
118
|
ClientPermissionType = Shapes::StringShape.new(name: 'ClientPermissionType')
|
119
119
|
ClientSecretType = Shapes::StringShape.new(name: 'ClientSecretType')
|
120
|
+
CloudWatchLogsConfigurationType = Shapes::StructureShape.new(name: 'CloudWatchLogsConfigurationType')
|
120
121
|
CodeDeliveryDetailsListType = Shapes::ListShape.new(name: 'CodeDeliveryDetailsListType')
|
121
122
|
CodeDeliveryDetailsType = Shapes::StructureShape.new(name: 'CodeDeliveryDetailsType')
|
122
123
|
CodeDeliveryFailureException = Shapes::StructureShape.new(name: 'CodeDeliveryFailureException')
|
@@ -214,6 +215,7 @@ module Aws::CognitoIdentityProvider
|
|
214
215
|
EventIdType = Shapes::StringShape.new(name: 'EventIdType')
|
215
216
|
EventResponseType = Shapes::StringShape.new(name: 'EventResponseType')
|
216
217
|
EventRiskType = Shapes::StructureShape.new(name: 'EventRiskType')
|
218
|
+
EventSourceName = Shapes::StringShape.new(name: 'EventSourceName')
|
217
219
|
EventType = Shapes::StringShape.new(name: 'EventType')
|
218
220
|
ExpiredCodeException = Shapes::StructureShape.new(name: 'ExpiredCodeException')
|
219
221
|
ExplicitAuthFlowsListType = Shapes::ListShape.new(name: 'ExplicitAuthFlowsListType')
|
@@ -233,6 +235,8 @@ module Aws::CognitoIdentityProvider
|
|
233
235
|
GetGroupResponse = Shapes::StructureShape.new(name: 'GetGroupResponse')
|
234
236
|
GetIdentityProviderByIdentifierRequest = Shapes::StructureShape.new(name: 'GetIdentityProviderByIdentifierRequest')
|
235
237
|
GetIdentityProviderByIdentifierResponse = Shapes::StructureShape.new(name: 'GetIdentityProviderByIdentifierResponse')
|
238
|
+
GetLogDeliveryConfigurationRequest = Shapes::StructureShape.new(name: 'GetLogDeliveryConfigurationRequest')
|
239
|
+
GetLogDeliveryConfigurationResponse = Shapes::StructureShape.new(name: 'GetLogDeliveryConfigurationResponse')
|
236
240
|
GetSigningCertificateRequest = Shapes::StructureShape.new(name: 'GetSigningCertificateRequest')
|
237
241
|
GetSigningCertificateResponse = Shapes::StructureShape.new(name: 'GetSigningCertificateResponse')
|
238
242
|
GetUICustomizationRequest = Shapes::StructureShape.new(name: 'GetUICustomizationRequest')
|
@@ -296,6 +300,10 @@ module Aws::CognitoIdentityProvider
|
|
296
300
|
ListUsersInGroupResponse = Shapes::StructureShape.new(name: 'ListUsersInGroupResponse')
|
297
301
|
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
|
298
302
|
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
|
303
|
+
LogConfigurationListType = Shapes::ListShape.new(name: 'LogConfigurationListType')
|
304
|
+
LogConfigurationType = Shapes::StructureShape.new(name: 'LogConfigurationType')
|
305
|
+
LogDeliveryConfigurationType = Shapes::StructureShape.new(name: 'LogDeliveryConfigurationType')
|
306
|
+
LogLevel = Shapes::StringShape.new(name: 'LogLevel')
|
299
307
|
LogoutURLsListType = Shapes::ListShape.new(name: 'LogoutURLsListType')
|
300
308
|
LongType = Shapes::IntegerShape.new(name: 'LongType')
|
301
309
|
MFAMethodNotFoundException = Shapes::StructureShape.new(name: 'MFAMethodNotFoundException')
|
@@ -369,6 +377,8 @@ module Aws::CognitoIdentityProvider
|
|
369
377
|
SecretCodeType = Shapes::StringShape.new(name: 'SecretCodeType')
|
370
378
|
SecretHashType = Shapes::StringShape.new(name: 'SecretHashType')
|
371
379
|
SessionType = Shapes::StringShape.new(name: 'SessionType')
|
380
|
+
SetLogDeliveryConfigurationRequest = Shapes::StructureShape.new(name: 'SetLogDeliveryConfigurationRequest')
|
381
|
+
SetLogDeliveryConfigurationResponse = Shapes::StructureShape.new(name: 'SetLogDeliveryConfigurationResponse')
|
372
382
|
SetRiskConfigurationRequest = Shapes::StructureShape.new(name: 'SetRiskConfigurationRequest')
|
373
383
|
SetRiskConfigurationResponse = Shapes::StructureShape.new(name: 'SetRiskConfigurationResponse')
|
374
384
|
SetUICustomizationRequest = Shapes::StructureShape.new(name: 'SetUICustomizationRequest')
|
@@ -810,6 +820,9 @@ module Aws::CognitoIdentityProvider
|
|
810
820
|
|
811
821
|
ClientPermissionListType.member = Shapes::ShapeRef.new(shape: ClientPermissionType)
|
812
822
|
|
823
|
+
CloudWatchLogsConfigurationType.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "LogGroupArn"))
|
824
|
+
CloudWatchLogsConfigurationType.struct_class = Types::CloudWatchLogsConfigurationType
|
825
|
+
|
813
826
|
CodeDeliveryDetailsListType.member = Shapes::ShapeRef.new(shape: CodeDeliveryDetailsType)
|
814
827
|
|
815
828
|
CodeDeliveryDetailsType.add_member(:destination, Shapes::ShapeRef.new(shape: StringType, location_name: "Destination"))
|
@@ -1180,6 +1193,12 @@ module Aws::CognitoIdentityProvider
|
|
1180
1193
|
GetIdentityProviderByIdentifierResponse.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProviderType, required: true, location_name: "IdentityProvider"))
|
1181
1194
|
GetIdentityProviderByIdentifierResponse.struct_class = Types::GetIdentityProviderByIdentifierResponse
|
1182
1195
|
|
1196
|
+
GetLogDeliveryConfigurationRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
1197
|
+
GetLogDeliveryConfigurationRequest.struct_class = Types::GetLogDeliveryConfigurationRequest
|
1198
|
+
|
1199
|
+
GetLogDeliveryConfigurationResponse.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfigurationType, location_name: "LogDeliveryConfiguration"))
|
1200
|
+
GetLogDeliveryConfigurationResponse.struct_class = Types::GetLogDeliveryConfigurationResponse
|
1201
|
+
|
1183
1202
|
GetSigningCertificateRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
1184
1203
|
GetSigningCertificateRequest.struct_class = Types::GetSigningCertificateRequest
|
1185
1204
|
|
@@ -1406,6 +1425,17 @@ module Aws::CognitoIdentityProvider
|
|
1406
1425
|
ListUsersResponse.add_member(:pagination_token, Shapes::ShapeRef.new(shape: SearchPaginationTokenType, location_name: "PaginationToken"))
|
1407
1426
|
ListUsersResponse.struct_class = Types::ListUsersResponse
|
1408
1427
|
|
1428
|
+
LogConfigurationListType.member = Shapes::ShapeRef.new(shape: LogConfigurationType)
|
1429
|
+
|
1430
|
+
LogConfigurationType.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, required: true, location_name: "LogLevel"))
|
1431
|
+
LogConfigurationType.add_member(:event_source, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "EventSource"))
|
1432
|
+
LogConfigurationType.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: CloudWatchLogsConfigurationType, location_name: "CloudWatchLogsConfiguration"))
|
1433
|
+
LogConfigurationType.struct_class = Types::LogConfigurationType
|
1434
|
+
|
1435
|
+
LogDeliveryConfigurationType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
1436
|
+
LogDeliveryConfigurationType.add_member(:log_configurations, Shapes::ShapeRef.new(shape: LogConfigurationListType, required: true, location_name: "LogConfigurations"))
|
1437
|
+
LogDeliveryConfigurationType.struct_class = Types::LogDeliveryConfigurationType
|
1438
|
+
|
1409
1439
|
LogoutURLsListType.member = Shapes::ShapeRef.new(shape: RedirectUrlType)
|
1410
1440
|
|
1411
1441
|
MFAMethodNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
|
@@ -1568,6 +1598,13 @@ module Aws::CognitoIdentityProvider
|
|
1568
1598
|
|
1569
1599
|
SearchedAttributeNamesListType.member = Shapes::ShapeRef.new(shape: AttributeNameType)
|
1570
1600
|
|
1601
|
+
SetLogDeliveryConfigurationRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
1602
|
+
SetLogDeliveryConfigurationRequest.add_member(:log_configurations, Shapes::ShapeRef.new(shape: LogConfigurationListType, required: true, location_name: "LogConfigurations"))
|
1603
|
+
SetLogDeliveryConfigurationRequest.struct_class = Types::SetLogDeliveryConfigurationRequest
|
1604
|
+
|
1605
|
+
SetLogDeliveryConfigurationResponse.add_member(:log_delivery_configuration, Shapes::ShapeRef.new(shape: LogDeliveryConfigurationType, location_name: "LogDeliveryConfiguration"))
|
1606
|
+
SetLogDeliveryConfigurationResponse.struct_class = Types::SetLogDeliveryConfigurationResponse
|
1607
|
+
|
1571
1608
|
SetRiskConfigurationRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
1572
1609
|
SetRiskConfigurationRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
|
1573
1610
|
SetRiskConfigurationRequest.add_member(:compromised_credentials_risk_configuration, Shapes::ShapeRef.new(shape: CompromisedCredentialsRiskConfigurationType, location_name: "CompromisedCredentialsRiskConfiguration"))
|
@@ -2995,6 +3032,19 @@ module Aws::CognitoIdentityProvider
|
|
2995
3032
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2996
3033
|
end)
|
2997
3034
|
|
3035
|
+
api.add_operation(:get_log_delivery_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3036
|
+
o.name = "GetLogDeliveryConfiguration"
|
3037
|
+
o.http_method = "POST"
|
3038
|
+
o.http_request_uri = "/"
|
3039
|
+
o.input = Shapes::ShapeRef.new(shape: GetLogDeliveryConfigurationRequest)
|
3040
|
+
o.output = Shapes::ShapeRef.new(shape: GetLogDeliveryConfigurationResponse)
|
3041
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3042
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
3043
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3044
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
3045
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3046
|
+
end)
|
3047
|
+
|
2998
3048
|
api.add_operation(:get_signing_certificate, Seahorse::Model::Operation.new.tap do |o|
|
2999
3049
|
o.name = "GetSigningCertificate"
|
3000
3050
|
o.http_method = "POST"
|
@@ -3361,6 +3411,19 @@ module Aws::CognitoIdentityProvider
|
|
3361
3411
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
3362
3412
|
end)
|
3363
3413
|
|
3414
|
+
api.add_operation(:set_log_delivery_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3415
|
+
o.name = "SetLogDeliveryConfiguration"
|
3416
|
+
o.http_method = "POST"
|
3417
|
+
o.http_request_uri = "/"
|
3418
|
+
o.input = Shapes::ShapeRef.new(shape: SetLogDeliveryConfigurationRequest)
|
3419
|
+
o.output = Shapes::ShapeRef.new(shape: SetLogDeliveryConfigurationResponse)
|
3420
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3421
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
3422
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3423
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
3424
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3425
|
+
end)
|
3426
|
+
|
3364
3427
|
api.add_operation(:set_risk_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3365
3428
|
o.name = "SetRiskConfiguration"
|
3366
3429
|
o.http_method = "POST"
|
@@ -852,6 +852,20 @@ module Aws::CognitoIdentityProvider
|
|
852
852
|
end
|
853
853
|
end
|
854
854
|
|
855
|
+
class GetLogDeliveryConfiguration
|
856
|
+
def self.build(context)
|
857
|
+
unless context.config.regional_endpoint
|
858
|
+
endpoint = context.config.endpoint.to_s
|
859
|
+
end
|
860
|
+
Aws::CognitoIdentityProvider::EndpointParameters.new(
|
861
|
+
region: context.config.region,
|
862
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
863
|
+
use_fips: context.config.use_fips_endpoint,
|
864
|
+
endpoint: endpoint,
|
865
|
+
)
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
855
869
|
class GetSigningCertificate
|
856
870
|
def self.build(context)
|
857
871
|
unless context.config.regional_endpoint
|
@@ -1132,6 +1146,20 @@ module Aws::CognitoIdentityProvider
|
|
1132
1146
|
end
|
1133
1147
|
end
|
1134
1148
|
|
1149
|
+
class SetLogDeliveryConfiguration
|
1150
|
+
def self.build(context)
|
1151
|
+
unless context.config.regional_endpoint
|
1152
|
+
endpoint = context.config.endpoint.to_s
|
1153
|
+
end
|
1154
|
+
Aws::CognitoIdentityProvider::EndpointParameters.new(
|
1155
|
+
region: context.config.region,
|
1156
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1157
|
+
use_fips: context.config.use_fips_endpoint,
|
1158
|
+
endpoint: endpoint,
|
1159
|
+
)
|
1160
|
+
end
|
1161
|
+
end
|
1162
|
+
|
1135
1163
|
class SetRiskConfiguration
|
1136
1164
|
def self.build(context)
|
1137
1165
|
unless context.config.regional_endpoint
|
@@ -176,6 +176,8 @@ module Aws::CognitoIdentityProvider
|
|
176
176
|
Aws::CognitoIdentityProvider::Endpoints::GetGroup.build(context)
|
177
177
|
when :get_identity_provider_by_identifier
|
178
178
|
Aws::CognitoIdentityProvider::Endpoints::GetIdentityProviderByIdentifier.build(context)
|
179
|
+
when :get_log_delivery_configuration
|
180
|
+
Aws::CognitoIdentityProvider::Endpoints::GetLogDeliveryConfiguration.build(context)
|
179
181
|
when :get_signing_certificate
|
180
182
|
Aws::CognitoIdentityProvider::Endpoints::GetSigningCertificate.build(context)
|
181
183
|
when :get_ui_customization
|
@@ -216,6 +218,8 @@ module Aws::CognitoIdentityProvider
|
|
216
218
|
Aws::CognitoIdentityProvider::Endpoints::RespondToAuthChallenge.build(context)
|
217
219
|
when :revoke_token
|
218
220
|
Aws::CognitoIdentityProvider::Endpoints::RevokeToken.build(context)
|
221
|
+
when :set_log_delivery_configuration
|
222
|
+
Aws::CognitoIdentityProvider::Endpoints::SetLogDeliveryConfiguration.build(context)
|
219
223
|
when :set_risk_configuration
|
220
224
|
Aws::CognitoIdentityProvider::Endpoints::SetRiskConfiguration.build(context)
|
221
225
|
when :set_ui_customization
|