aws-sdk-cognitoidentityprovider 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 953f44aba8657537b1fa3fd26809fc339cc56849
|
4
|
+
data.tar.gz: 69ccf7493c166ac08594997cf2baf638ad6463c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a610094cd4143be6f3d99a9ed09474a979f50a87081ec75449f6e21565d62019aef46c0a3433a6208689a000345651477293ddb8c6891375a504ce556d2a662b
|
7
|
+
data.tar.gz: 4eb0492acb4ff108e91649235e90cb447fcb13d12ffbfd8456e7180b949e2f60d906d9aa852bc1552483119598c2a2c05422401eb316868df504743f3631db0e
|
@@ -2152,12 +2152,9 @@ module Aws::CognitoIdentityProvider
|
|
2152
2152
|
# The SMS configuration.
|
2153
2153
|
#
|
2154
2154
|
# @option params [Hash<String,String>] :user_pool_tags
|
2155
|
-
# The
|
2156
|
-
#
|
2157
|
-
#
|
2158
|
-
#
|
2159
|
-
#
|
2160
|
-
# [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html
|
2155
|
+
# The tag keys and values to assign to the user pool. A tag is a label
|
2156
|
+
# that you can use to categorize and manage user pools in different
|
2157
|
+
# ways, such as by purpose, owner, environment, or other criteria.
|
2161
2158
|
#
|
2162
2159
|
# @option params [Types::AdminCreateUserConfigType] :admin_create_user_config
|
2163
2160
|
# The configuration for `AdminCreateUser` requests.
|
@@ -2228,7 +2225,7 @@ module Aws::CognitoIdentityProvider
|
|
2228
2225
|
# external_id: "StringType",
|
2229
2226
|
# },
|
2230
2227
|
# user_pool_tags: {
|
2231
|
-
# "
|
2228
|
+
# "TagKeysType" => "TagValueType",
|
2232
2229
|
# },
|
2233
2230
|
# admin_create_user_config: {
|
2234
2231
|
# allow_admin_create_user_only: false,
|
@@ -2318,7 +2315,7 @@ module Aws::CognitoIdentityProvider
|
|
2318
2315
|
# resp.user_pool.sms_configuration.sns_caller_arn #=> String
|
2319
2316
|
# resp.user_pool.sms_configuration.external_id #=> String
|
2320
2317
|
# resp.user_pool.user_pool_tags #=> Hash
|
2321
|
-
# resp.user_pool.user_pool_tags["
|
2318
|
+
# resp.user_pool.user_pool_tags["TagKeysType"] #=> String
|
2322
2319
|
# resp.user_pool.sms_configuration_failure #=> String
|
2323
2320
|
# resp.user_pool.email_configuration_failure #=> String
|
2324
2321
|
# resp.user_pool.domain #=> String
|
@@ -2374,7 +2371,7 @@ module Aws::CognitoIdentityProvider
|
|
2374
2371
|
#
|
2375
2372
|
#
|
2376
2373
|
#
|
2377
|
-
# [1]:
|
2374
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html
|
2378
2375
|
#
|
2379
2376
|
# @option params [Array<String>] :explicit_auth_flows
|
2380
2377
|
# The explicit authentication flows.
|
@@ -2541,7 +2538,7 @@ module Aws::CognitoIdentityProvider
|
|
2541
2538
|
#
|
2542
2539
|
#
|
2543
2540
|
#
|
2544
|
-
# [1]:
|
2541
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain.html
|
2545
2542
|
#
|
2546
2543
|
# @return [Types::CreateUserPoolDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2547
2544
|
#
|
@@ -3033,7 +3030,7 @@ module Aws::CognitoIdentityProvider
|
|
3033
3030
|
# resp.user_pool.sms_configuration.sns_caller_arn #=> String
|
3034
3031
|
# resp.user_pool.sms_configuration.external_id #=> String
|
3035
3032
|
# resp.user_pool.user_pool_tags #=> Hash
|
3036
|
-
# resp.user_pool.user_pool_tags["
|
3033
|
+
# resp.user_pool.user_pool_tags["TagKeysType"] #=> String
|
3037
3034
|
# resp.user_pool.sms_configuration_failure #=> String
|
3038
3035
|
# resp.user_pool.email_configuration_failure #=> String
|
3039
3036
|
# resp.user_pool.domain #=> String
|
@@ -3894,6 +3891,42 @@ module Aws::CognitoIdentityProvider
|
|
3894
3891
|
req.send_request(options)
|
3895
3892
|
end
|
3896
3893
|
|
3894
|
+
# Lists the tags that are assigned to an Amazon Cognito user pool.
|
3895
|
+
#
|
3896
|
+
# A tag is a label that you can apply to user pools to categorize and
|
3897
|
+
# manage them in different ways, such as by purpose, owner, environment,
|
3898
|
+
# or other criteria.
|
3899
|
+
#
|
3900
|
+
# You can use this action up to 10 times per second, per account.
|
3901
|
+
#
|
3902
|
+
# @option params [required, String] :resource_arn
|
3903
|
+
# The Amazon Resource Name (ARN) of the user pool that the tags are
|
3904
|
+
# assigned to.
|
3905
|
+
#
|
3906
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3907
|
+
#
|
3908
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
3909
|
+
#
|
3910
|
+
# @example Request syntax with placeholder values
|
3911
|
+
#
|
3912
|
+
# resp = client.list_tags_for_resource({
|
3913
|
+
# resource_arn: "ArnType", # required
|
3914
|
+
# })
|
3915
|
+
#
|
3916
|
+
# @example Response structure
|
3917
|
+
#
|
3918
|
+
# resp.tags #=> Hash
|
3919
|
+
# resp.tags["TagKeysType"] #=> String
|
3920
|
+
#
|
3921
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListTagsForResource AWS API Documentation
|
3922
|
+
#
|
3923
|
+
# @overload list_tags_for_resource(params = {})
|
3924
|
+
# @param [Hash] params ({})
|
3925
|
+
def list_tags_for_resource(params = {}, options = {})
|
3926
|
+
req = build_request(:list_tags_for_resource, params)
|
3927
|
+
req.send_request(options)
|
3928
|
+
end
|
3929
|
+
|
3897
3930
|
# Lists the user import jobs.
|
3898
3931
|
#
|
3899
3932
|
# @option params [required, String] :user_pool_id
|
@@ -4846,6 +4879,80 @@ module Aws::CognitoIdentityProvider
|
|
4846
4879
|
req.send_request(options)
|
4847
4880
|
end
|
4848
4881
|
|
4882
|
+
# Assigns a set of tags to an Amazon Cognito user pool. A tag is a label
|
4883
|
+
# that you can use to categorize and manage user pools in different
|
4884
|
+
# ways, such as by purpose, owner, environment, or other criteria.
|
4885
|
+
#
|
4886
|
+
# Each tag consists of a key and value, both of which you define. A key
|
4887
|
+
# is a general category for more specific values. For example, if you
|
4888
|
+
# have two versions of a user pool, one for testing and another for
|
4889
|
+
# production, you might assign an `Environment` tag key to both user
|
4890
|
+
# pools. The value of this key might be `Test` for one user pool and
|
4891
|
+
# `Production` for the other.
|
4892
|
+
#
|
4893
|
+
# Tags are useful for cost tracking and access control. You can activate
|
4894
|
+
# your tags so that they appear on the Billing and Cost Management
|
4895
|
+
# console, where you can track the costs associated with your user
|
4896
|
+
# pools. In an IAM policy, you can constrain permissions for user pools
|
4897
|
+
# based on specific tags or tag values.
|
4898
|
+
#
|
4899
|
+
# You can use this action up to 5 times per second, per account. A user
|
4900
|
+
# pool can have as many as 50 tags.
|
4901
|
+
#
|
4902
|
+
# @option params [required, String] :resource_arn
|
4903
|
+
# The Amazon Resource Name (ARN) of the user pool to assign the tags to.
|
4904
|
+
#
|
4905
|
+
# @option params [Hash<String,String>] :tags
|
4906
|
+
# The tags to assign to the user pool.
|
4907
|
+
#
|
4908
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4909
|
+
#
|
4910
|
+
# @example Request syntax with placeholder values
|
4911
|
+
#
|
4912
|
+
# resp = client.tag_resource({
|
4913
|
+
# resource_arn: "ArnType", # required
|
4914
|
+
# tags: {
|
4915
|
+
# "TagKeysType" => "TagValueType",
|
4916
|
+
# },
|
4917
|
+
# })
|
4918
|
+
#
|
4919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TagResource AWS API Documentation
|
4920
|
+
#
|
4921
|
+
# @overload tag_resource(params = {})
|
4922
|
+
# @param [Hash] params ({})
|
4923
|
+
def tag_resource(params = {}, options = {})
|
4924
|
+
req = build_request(:tag_resource, params)
|
4925
|
+
req.send_request(options)
|
4926
|
+
end
|
4927
|
+
|
4928
|
+
# Removes the specified tags from an Amazon Cognito user pool. You can
|
4929
|
+
# use this action up to 5 times per second, per account
|
4930
|
+
#
|
4931
|
+
# @option params [required, String] :resource_arn
|
4932
|
+
# The Amazon Resource Name (ARN) of the user pool that the tags are
|
4933
|
+
# assigned to.
|
4934
|
+
#
|
4935
|
+
# @option params [Array<String>] :tag_keys
|
4936
|
+
# The keys of the tags to remove from the user pool.
|
4937
|
+
#
|
4938
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4939
|
+
#
|
4940
|
+
# @example Request syntax with placeholder values
|
4941
|
+
#
|
4942
|
+
# resp = client.untag_resource({
|
4943
|
+
# resource_arn: "ArnType", # required
|
4944
|
+
# tag_keys: ["TagKeysType"],
|
4945
|
+
# })
|
4946
|
+
#
|
4947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UntagResource AWS API Documentation
|
4948
|
+
#
|
4949
|
+
# @overload untag_resource(params = {})
|
4950
|
+
# @param [Hash] params ({})
|
4951
|
+
def untag_resource(params = {}, options = {})
|
4952
|
+
req = build_request(:untag_resource, params)
|
4953
|
+
req.send_request(options)
|
4954
|
+
end
|
4955
|
+
|
4849
4956
|
# Provides the feedback for an authentication event whether it was from
|
4850
4957
|
# a valid user or not. This feedback is used for improving the risk
|
4851
4958
|
# evaluation decision for the user pool as part of Amazon Cognito
|
@@ -5179,12 +5286,9 @@ module Aws::CognitoIdentityProvider
|
|
5179
5286
|
# SMS configuration.
|
5180
5287
|
#
|
5181
5288
|
# @option params [Hash<String,String>] :user_pool_tags
|
5182
|
-
# The
|
5183
|
-
#
|
5184
|
-
#
|
5185
|
-
#
|
5186
|
-
#
|
5187
|
-
# [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html
|
5289
|
+
# The tag keys and values to assign to the user pool. A tag is a label
|
5290
|
+
# that you can use to categorize and manage user pools in different
|
5291
|
+
# ways, such as by purpose, owner, environment, or other criteria.
|
5188
5292
|
#
|
5189
5293
|
# @option params [Types::AdminCreateUserConfigType] :admin_create_user_config
|
5190
5294
|
# The configuration for `AdminCreateUser` requests.
|
@@ -5247,7 +5351,7 @@ module Aws::CognitoIdentityProvider
|
|
5247
5351
|
# external_id: "StringType",
|
5248
5352
|
# },
|
5249
5353
|
# user_pool_tags: {
|
5250
|
-
# "
|
5354
|
+
# "TagKeysType" => "TagValueType",
|
5251
5355
|
# },
|
5252
5356
|
# admin_create_user_config: {
|
5253
5357
|
# allow_admin_create_user_only: false,
|
@@ -5474,7 +5578,7 @@ module Aws::CognitoIdentityProvider
|
|
5474
5578
|
#
|
5475
5579
|
#
|
5476
5580
|
#
|
5477
|
-
# [1]:
|
5581
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html
|
5478
5582
|
#
|
5479
5583
|
# @option params [required, String] :domain
|
5480
5584
|
# The domain name for the custom domain that hosts the sign-up and
|
@@ -5608,7 +5712,7 @@ module Aws::CognitoIdentityProvider
|
|
5608
5712
|
params: params,
|
5609
5713
|
config: config)
|
5610
5714
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
5611
|
-
context[:gem_version] = '1.
|
5715
|
+
context[:gem_version] = '1.15.0'
|
5612
5716
|
Seahorse::Client::Request.new(handlers, context)
|
5613
5717
|
end
|
5614
5718
|
|
@@ -268,6 +268,8 @@ module Aws::CognitoIdentityProvider
|
|
268
268
|
ListResourceServersLimitType = Shapes::IntegerShape.new(name: 'ListResourceServersLimitType')
|
269
269
|
ListResourceServersRequest = Shapes::StructureShape.new(name: 'ListResourceServersRequest')
|
270
270
|
ListResourceServersResponse = Shapes::StructureShape.new(name: 'ListResourceServersResponse')
|
271
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
272
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
271
273
|
ListUserImportJobsRequest = Shapes::StructureShape.new(name: 'ListUserImportJobsRequest')
|
272
274
|
ListUserImportJobsResponse = Shapes::StructureShape.new(name: 'ListUserImportJobsResponse')
|
273
275
|
ListUserPoolClientsRequest = Shapes::StructureShape.new(name: 'ListUserPoolClientsRequest')
|
@@ -370,6 +372,10 @@ module Aws::CognitoIdentityProvider
|
|
370
372
|
StringAttributeConstraintsType = Shapes::StructureShape.new(name: 'StringAttributeConstraintsType')
|
371
373
|
StringType = Shapes::StringShape.new(name: 'StringType')
|
372
374
|
SupportedIdentityProvidersListType = Shapes::ListShape.new(name: 'SupportedIdentityProvidersListType')
|
375
|
+
TagKeysType = Shapes::StringShape.new(name: 'TagKeysType')
|
376
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
377
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
378
|
+
TagValueType = Shapes::StringShape.new(name: 'TagValueType')
|
373
379
|
TokenModelType = Shapes::StringShape.new(name: 'TokenModelType')
|
374
380
|
TooManyFailedAttemptsException = Shapes::StructureShape.new(name: 'TooManyFailedAttemptsException')
|
375
381
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
@@ -377,6 +383,8 @@ module Aws::CognitoIdentityProvider
|
|
377
383
|
UnexpectedLambdaException = Shapes::StructureShape.new(name: 'UnexpectedLambdaException')
|
378
384
|
UnsupportedIdentityProviderException = Shapes::StructureShape.new(name: 'UnsupportedIdentityProviderException')
|
379
385
|
UnsupportedUserStateException = Shapes::StructureShape.new(name: 'UnsupportedUserStateException')
|
386
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
387
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
380
388
|
UpdateAuthEventFeedbackRequest = Shapes::StructureShape.new(name: 'UpdateAuthEventFeedbackRequest')
|
381
389
|
UpdateAuthEventFeedbackResponse = Shapes::StructureShape.new(name: 'UpdateAuthEventFeedbackResponse')
|
382
390
|
UpdateDeviceStatusRequest = Shapes::StructureShape.new(name: 'UpdateDeviceStatusRequest')
|
@@ -419,6 +427,7 @@ module Aws::CognitoIdentityProvider
|
|
419
427
|
UserPoolNameType = Shapes::StringShape.new(name: 'UserPoolNameType')
|
420
428
|
UserPoolPolicyType = Shapes::StructureShape.new(name: 'UserPoolPolicyType')
|
421
429
|
UserPoolTaggingException = Shapes::StructureShape.new(name: 'UserPoolTaggingException')
|
430
|
+
UserPoolTagsListType = Shapes::ListShape.new(name: 'UserPoolTagsListType')
|
422
431
|
UserPoolTagsType = Shapes::MapShape.new(name: 'UserPoolTagsType')
|
423
432
|
UserPoolType = Shapes::StructureShape.new(name: 'UserPoolType')
|
424
433
|
UserStatusType = Shapes::StringShape.new(name: 'UserStatusType')
|
@@ -1204,6 +1213,12 @@ module Aws::CognitoIdentityProvider
|
|
1204
1213
|
ListResourceServersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKeyType, location_name: "NextToken"))
|
1205
1214
|
ListResourceServersResponse.struct_class = Types::ListResourceServersResponse
|
1206
1215
|
|
1216
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "ResourceArn"))
|
1217
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
1218
|
+
|
1219
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: UserPoolTagsType, location_name: "Tags"))
|
1220
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1221
|
+
|
1207
1222
|
ListUserImportJobsRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
1208
1223
|
ListUserImportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PoolQueryLimitType, required: true, location_name: "MaxResults"))
|
1209
1224
|
ListUserImportJobsRequest.add_member(:pagination_token, Shapes::ShapeRef.new(shape: PaginationKeyType, location_name: "PaginationToken"))
|
@@ -1474,6 +1489,12 @@ module Aws::CognitoIdentityProvider
|
|
1474
1489
|
|
1475
1490
|
SupportedIdentityProvidersListType.member = Shapes::ShapeRef.new(shape: ProviderNameType)
|
1476
1491
|
|
1492
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "ResourceArn"))
|
1493
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: UserPoolTagsType, location_name: "Tags"))
|
1494
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1495
|
+
|
1496
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1497
|
+
|
1477
1498
|
UICustomizationType.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "UserPoolId"))
|
1478
1499
|
UICustomizationType.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, location_name: "ClientId"))
|
1479
1500
|
UICustomizationType.add_member(:image_url, Shapes::ShapeRef.new(shape: ImageUrlType, location_name: "ImageUrl"))
|
@@ -1483,6 +1504,12 @@ module Aws::CognitoIdentityProvider
|
|
1483
1504
|
UICustomizationType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
|
1484
1505
|
UICustomizationType.struct_class = Types::UICustomizationType
|
1485
1506
|
|
1507
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "ResourceArn"))
|
1508
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: UserPoolTagsListType, location_name: "TagKeys"))
|
1509
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1510
|
+
|
1511
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1512
|
+
|
1486
1513
|
UpdateAuthEventFeedbackRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
1487
1514
|
UpdateAuthEventFeedbackRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
|
1488
1515
|
UpdateAuthEventFeedbackRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: EventIdType, required: true, location_name: "EventId"))
|
@@ -1648,8 +1675,10 @@ module Aws::CognitoIdentityProvider
|
|
1648
1675
|
UserPoolPolicyType.add_member(:password_policy, Shapes::ShapeRef.new(shape: PasswordPolicyType, location_name: "PasswordPolicy"))
|
1649
1676
|
UserPoolPolicyType.struct_class = Types::UserPoolPolicyType
|
1650
1677
|
|
1651
|
-
|
1652
|
-
|
1678
|
+
UserPoolTagsListType.member = Shapes::ShapeRef.new(shape: TagKeysType)
|
1679
|
+
|
1680
|
+
UserPoolTagsType.key = Shapes::ShapeRef.new(shape: TagKeysType)
|
1681
|
+
UserPoolTagsType.value = Shapes::ShapeRef.new(shape: TagValueType)
|
1653
1682
|
|
1654
1683
|
UserPoolType.add_member(:id, Shapes::ShapeRef.new(shape: UserPoolIdType, location_name: "Id"))
|
1655
1684
|
UserPoolType.add_member(:name, Shapes::ShapeRef.new(shape: UserPoolNameType, location_name: "Name"))
|
@@ -2834,6 +2863,19 @@ module Aws::CognitoIdentityProvider
|
|
2834
2863
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2835
2864
|
end)
|
2836
2865
|
|
2866
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
2867
|
+
o.name = "ListTagsForResource"
|
2868
|
+
o.http_method = "POST"
|
2869
|
+
o.http_request_uri = "/"
|
2870
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
2871
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
2872
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2873
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2874
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2875
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2876
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2877
|
+
end)
|
2878
|
+
|
2837
2879
|
api.add_operation(:list_user_import_jobs, Seahorse::Model::Operation.new.tap do |o|
|
2838
2880
|
o.name = "ListUserImportJobs"
|
2839
2881
|
o.http_method = "POST"
|
@@ -3075,6 +3117,32 @@ module Aws::CognitoIdentityProvider
|
|
3075
3117
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
3076
3118
|
end)
|
3077
3119
|
|
3120
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
3121
|
+
o.name = "TagResource"
|
3122
|
+
o.http_method = "POST"
|
3123
|
+
o.http_request_uri = "/"
|
3124
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
3125
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
3126
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3127
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
3128
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3129
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3130
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
3131
|
+
end)
|
3132
|
+
|
3133
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
3134
|
+
o.name = "UntagResource"
|
3135
|
+
o.http_method = "POST"
|
3136
|
+
o.http_request_uri = "/"
|
3137
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
3138
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
3139
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3140
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
3141
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3142
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3143
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
3144
|
+
end)
|
3145
|
+
|
3078
3146
|
api.add_operation(:update_auth_event_feedback, Seahorse::Model::Operation.new.tap do |o|
|
3079
3147
|
o.name = "UpdateAuthEventFeedback"
|
3080
3148
|
o.http_method = "POST"
|
@@ -2632,7 +2632,7 @@ module Aws::CognitoIdentityProvider
|
|
2632
2632
|
#
|
2633
2633
|
#
|
2634
2634
|
#
|
2635
|
-
# [1]:
|
2635
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html
|
2636
2636
|
# @return [Array<String>]
|
2637
2637
|
#
|
2638
2638
|
# @!attribute [rw] explicit_auth_flows
|
@@ -2785,7 +2785,7 @@ module Aws::CognitoIdentityProvider
|
|
2785
2785
|
#
|
2786
2786
|
#
|
2787
2787
|
#
|
2788
|
-
# [1]:
|
2788
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain.html
|
2789
2789
|
# @return [Types::CustomDomainConfigType]
|
2790
2790
|
#
|
2791
2791
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomainRequest AWS API Documentation
|
@@ -2866,7 +2866,7 @@ module Aws::CognitoIdentityProvider
|
|
2866
2866
|
# external_id: "StringType",
|
2867
2867
|
# },
|
2868
2868
|
# user_pool_tags: {
|
2869
|
-
# "
|
2869
|
+
# "TagKeysType" => "TagValueType",
|
2870
2870
|
# },
|
2871
2871
|
# admin_create_user_config: {
|
2872
2872
|
# allow_admin_create_user_only: false,
|
@@ -2983,12 +2983,9 @@ module Aws::CognitoIdentityProvider
|
|
2983
2983
|
# @return [Types::SmsConfigurationType]
|
2984
2984
|
#
|
2985
2985
|
# @!attribute [rw] user_pool_tags
|
2986
|
-
# The
|
2987
|
-
#
|
2988
|
-
#
|
2989
|
-
#
|
2990
|
-
#
|
2991
|
-
# [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html
|
2986
|
+
# The tag keys and values to assign to the user pool. A tag is a label
|
2987
|
+
# that you can use to categorize and manage user pools in different
|
2988
|
+
# ways, such as by purpose, owner, environment, or other criteria.
|
2992
2989
|
# @return [Hash<String,String>]
|
2993
2990
|
#
|
2994
2991
|
# @!attribute [rw] admin_create_user_config
|
@@ -4812,6 +4809,36 @@ module Aws::CognitoIdentityProvider
|
|
4812
4809
|
include Aws::Structure
|
4813
4810
|
end
|
4814
4811
|
|
4812
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
4813
|
+
# data as a hash:
|
4814
|
+
#
|
4815
|
+
# {
|
4816
|
+
# resource_arn: "ArnType", # required
|
4817
|
+
# }
|
4818
|
+
#
|
4819
|
+
# @!attribute [rw] resource_arn
|
4820
|
+
# The Amazon Resource Name (ARN) of the user pool that the tags are
|
4821
|
+
# assigned to.
|
4822
|
+
# @return [String]
|
4823
|
+
#
|
4824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListTagsForResourceRequest AWS API Documentation
|
4825
|
+
#
|
4826
|
+
class ListTagsForResourceRequest < Struct.new(
|
4827
|
+
:resource_arn)
|
4828
|
+
include Aws::Structure
|
4829
|
+
end
|
4830
|
+
|
4831
|
+
# @!attribute [rw] tags
|
4832
|
+
# The tags that are assigned to the user pool.
|
4833
|
+
# @return [Hash<String,String>]
|
4834
|
+
#
|
4835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListTagsForResourceResponse AWS API Documentation
|
4836
|
+
#
|
4837
|
+
class ListTagsForResourceResponse < Struct.new(
|
4838
|
+
:tags)
|
4839
|
+
include Aws::Structure
|
4840
|
+
end
|
4841
|
+
|
4815
4842
|
# Represents the request to list the user import jobs.
|
4816
4843
|
#
|
4817
4844
|
# @note When making an API call, you may pass ListUserImportJobsRequest
|
@@ -5842,7 +5869,7 @@ module Aws::CognitoIdentityProvider
|
|
5842
5869
|
#
|
5843
5870
|
#
|
5844
5871
|
#
|
5845
|
-
# [1]:
|
5872
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html
|
5846
5873
|
# @return [Boolean]
|
5847
5874
|
#
|
5848
5875
|
# @!attribute [rw] required
|
@@ -6485,6 +6512,37 @@ module Aws::CognitoIdentityProvider
|
|
6485
6512
|
include Aws::Structure
|
6486
6513
|
end
|
6487
6514
|
|
6515
|
+
# @note When making an API call, you may pass TagResourceRequest
|
6516
|
+
# data as a hash:
|
6517
|
+
#
|
6518
|
+
# {
|
6519
|
+
# resource_arn: "ArnType", # required
|
6520
|
+
# tags: {
|
6521
|
+
# "TagKeysType" => "TagValueType",
|
6522
|
+
# },
|
6523
|
+
# }
|
6524
|
+
#
|
6525
|
+
# @!attribute [rw] resource_arn
|
6526
|
+
# The Amazon Resource Name (ARN) of the user pool to assign the tags
|
6527
|
+
# to.
|
6528
|
+
# @return [String]
|
6529
|
+
#
|
6530
|
+
# @!attribute [rw] tags
|
6531
|
+
# The tags to assign to the user pool.
|
6532
|
+
# @return [Hash<String,String>]
|
6533
|
+
#
|
6534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TagResourceRequest AWS API Documentation
|
6535
|
+
#
|
6536
|
+
class TagResourceRequest < Struct.new(
|
6537
|
+
:resource_arn,
|
6538
|
+
:tags)
|
6539
|
+
include Aws::Structure
|
6540
|
+
end
|
6541
|
+
|
6542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TagResourceResponse AWS API Documentation
|
6543
|
+
#
|
6544
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
6545
|
+
|
6488
6546
|
# A container for the UI customization information for a user pool's
|
6489
6547
|
# built-in app UI.
|
6490
6548
|
#
|
@@ -6529,6 +6587,35 @@ module Aws::CognitoIdentityProvider
|
|
6529
6587
|
include Aws::Structure
|
6530
6588
|
end
|
6531
6589
|
|
6590
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
6591
|
+
# data as a hash:
|
6592
|
+
#
|
6593
|
+
# {
|
6594
|
+
# resource_arn: "ArnType", # required
|
6595
|
+
# tag_keys: ["TagKeysType"],
|
6596
|
+
# }
|
6597
|
+
#
|
6598
|
+
# @!attribute [rw] resource_arn
|
6599
|
+
# The Amazon Resource Name (ARN) of the user pool that the tags are
|
6600
|
+
# assigned to.
|
6601
|
+
# @return [String]
|
6602
|
+
#
|
6603
|
+
# @!attribute [rw] tag_keys
|
6604
|
+
# The keys of the tags to remove from the user pool.
|
6605
|
+
# @return [Array<String>]
|
6606
|
+
#
|
6607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UntagResourceRequest AWS API Documentation
|
6608
|
+
#
|
6609
|
+
class UntagResourceRequest < Struct.new(
|
6610
|
+
:resource_arn,
|
6611
|
+
:tag_keys)
|
6612
|
+
include Aws::Structure
|
6613
|
+
end
|
6614
|
+
|
6615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UntagResourceResponse AWS API Documentation
|
6616
|
+
#
|
6617
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
6618
|
+
|
6532
6619
|
# @note When making an API call, you may pass UpdateAuthEventFeedbackRequest
|
6533
6620
|
# data as a hash:
|
6534
6621
|
#
|
@@ -7112,7 +7199,7 @@ module Aws::CognitoIdentityProvider
|
|
7112
7199
|
# external_id: "StringType",
|
7113
7200
|
# },
|
7114
7201
|
# user_pool_tags: {
|
7115
|
-
# "
|
7202
|
+
# "TagKeysType" => "TagValueType",
|
7116
7203
|
# },
|
7117
7204
|
# admin_create_user_config: {
|
7118
7205
|
# allow_admin_create_user_only: false,
|
@@ -7192,12 +7279,9 @@ module Aws::CognitoIdentityProvider
|
|
7192
7279
|
# @return [Types::SmsConfigurationType]
|
7193
7280
|
#
|
7194
7281
|
# @!attribute [rw] user_pool_tags
|
7195
|
-
# The
|
7196
|
-
#
|
7197
|
-
#
|
7198
|
-
#
|
7199
|
-
#
|
7200
|
-
# [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html
|
7282
|
+
# The tag keys and values to assign to the user pool. A tag is a label
|
7283
|
+
# that you can use to categorize and manage user pools in different
|
7284
|
+
# ways, such as by purpose, owner, environment, or other criteria.
|
7201
7285
|
# @return [Hash<String,String>]
|
7202
7286
|
#
|
7203
7287
|
# @!attribute [rw] admin_create_user_config
|
@@ -7711,12 +7795,10 @@ module Aws::CognitoIdentityProvider
|
|
7711
7795
|
# @return [Types::SmsConfigurationType]
|
7712
7796
|
#
|
7713
7797
|
# @!attribute [rw] user_pool_tags
|
7714
|
-
# The
|
7715
|
-
#
|
7716
|
-
#
|
7717
|
-
#
|
7718
|
-
#
|
7719
|
-
# [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-cost-allocation-tagging.html
|
7798
|
+
# The tags that are assigned to the user pool. A tag is a label that
|
7799
|
+
# you can apply to user pools to categorize and manage them in
|
7800
|
+
# different ways, such as by purpose, owner, environment, or other
|
7801
|
+
# criteria.
|
7720
7802
|
# @return [Hash<String,String>]
|
7721
7803
|
#
|
7722
7804
|
# @!attribute [rw] sms_configuration_failure
|
@@ -7735,6 +7817,17 @@ module Aws::CognitoIdentityProvider
|
|
7735
7817
|
# @return [String]
|
7736
7818
|
#
|
7737
7819
|
# @!attribute [rw] custom_domain
|
7820
|
+
# A custom domain name that you provide to Amazon Cognito. This
|
7821
|
+
# parameter applies only if you use a custom domain to host the
|
7822
|
+
# sign-up and sign-in pages for your application. For example:
|
7823
|
+
# `auth.example.com`.
|
7824
|
+
#
|
7825
|
+
# For more information about adding a custom domain to your user pool,
|
7826
|
+
# see [Using Your Own Domain for the Hosted UI][1].
|
7827
|
+
#
|
7828
|
+
#
|
7829
|
+
#
|
7830
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html
|
7738
7831
|
# @return [String]
|
7739
7832
|
#
|
7740
7833
|
# @!attribute [rw] admin_create_user_config
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cognitoidentityprovider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|