aws-sdk-cognitoidentityprovider 1.16.0 → 1.17.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: 12bc169344cdd44f7ae77cc98f8acf2b1178489f
|
4
|
+
data.tar.gz: 37f5cd20f5d091054627646244ca62450c12dc85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fa0fd761b81fa2084d01a2757a81b9bfe0e2cc6421bf8af5e1583a5082f3dff421c0eb0b3d11f550c7eb65c0b542098b21b80b37a68a2f6e0506f3340192fc0
|
7
|
+
data.tar.gz: 8a0921e823c530cc25338645c2ae22a7bd3b52aab57fd8f36870fe1363440acce3baed1b03ae9a11b64ce8aeabf0c048d8251b276e1da6adb46376947bc76344
|
@@ -209,6 +209,49 @@ module Aws::CognitoIdentityProvider
|
|
209
209
|
# When `true`, request parameters are validated before
|
210
210
|
# sending the request.
|
211
211
|
#
|
212
|
+
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
213
|
+
# requests through. Formatted like 'http://proxy.com:123'.
|
214
|
+
#
|
215
|
+
# @option options [Float] :http_open_timeout (15) The number of
|
216
|
+
# seconds to wait when opening a HTTP session before rasing a
|
217
|
+
# `Timeout::Error`.
|
218
|
+
#
|
219
|
+
# @option options [Integer] :http_read_timeout (60) The default
|
220
|
+
# number of seconds to wait for response data. This value can
|
221
|
+
# safely be set
|
222
|
+
# per-request on the session yeidled by {#session_for}.
|
223
|
+
#
|
224
|
+
# @option options [Float] :http_idle_timeout (5) The number of
|
225
|
+
# seconds a connection is allowed to sit idble before it is
|
226
|
+
# considered stale. Stale connections are closed and removed
|
227
|
+
# from the pool before making a request.
|
228
|
+
#
|
229
|
+
# @option options [Float] :http_continue_timeout (1) The number of
|
230
|
+
# seconds to wait for a 100-continue response before sending the
|
231
|
+
# request body. This option has no effect unless the request has
|
232
|
+
# "Expect" header set to "100-continue". Defaults to `nil` which
|
233
|
+
# disables this behaviour. This value can safely be set per
|
234
|
+
# request on the session yeidled by {#session_for}.
|
235
|
+
#
|
236
|
+
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
237
|
+
# HTTP debug output will be sent to the `:logger`.
|
238
|
+
#
|
239
|
+
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
|
240
|
+
# SSL peer certificates are verified when establishing a
|
241
|
+
# connection.
|
242
|
+
#
|
243
|
+
# @option options [String] :ssl_ca_bundle Full path to the SSL
|
244
|
+
# certificate authority bundle file that should be used when
|
245
|
+
# verifying peer certificates. If you do not pass
|
246
|
+
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
247
|
+
# will be used if available.
|
248
|
+
#
|
249
|
+
# @option options [String] :ssl_ca_directory Full path of the
|
250
|
+
# directory that contains the unbundled SSL certificate
|
251
|
+
# authority files for verifying peer certificates. If you do
|
252
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
253
|
+
# system default will be used if available.
|
254
|
+
#
|
212
255
|
def initialize(*args)
|
213
256
|
super
|
214
257
|
end
|
@@ -2219,6 +2262,7 @@ module Aws::CognitoIdentityProvider
|
|
2219
2262
|
# email_configuration: {
|
2220
2263
|
# source_arn: "ArnType",
|
2221
2264
|
# reply_to_email_address: "EmailAddressType",
|
2265
|
+
# email_sending_account: "COGNITO_DEFAULT", # accepts COGNITO_DEFAULT, DEVELOPER
|
2222
2266
|
# },
|
2223
2267
|
# sms_configuration: {
|
2224
2268
|
# sns_caller_arn: "ArnType", # required
|
@@ -2312,6 +2356,7 @@ module Aws::CognitoIdentityProvider
|
|
2312
2356
|
# resp.user_pool.estimated_number_of_users #=> Integer
|
2313
2357
|
# resp.user_pool.email_configuration.source_arn #=> String
|
2314
2358
|
# resp.user_pool.email_configuration.reply_to_email_address #=> String
|
2359
|
+
# resp.user_pool.email_configuration.email_sending_account #=> String, one of "COGNITO_DEFAULT", "DEVELOPER"
|
2315
2360
|
# resp.user_pool.sms_configuration.sns_caller_arn #=> String
|
2316
2361
|
# resp.user_pool.sms_configuration.external_id #=> String
|
2317
2362
|
# resp.user_pool.user_pool_tags #=> Hash
|
@@ -3027,6 +3072,7 @@ module Aws::CognitoIdentityProvider
|
|
3027
3072
|
# resp.user_pool.estimated_number_of_users #=> Integer
|
3028
3073
|
# resp.user_pool.email_configuration.source_arn #=> String
|
3029
3074
|
# resp.user_pool.email_configuration.reply_to_email_address #=> String
|
3075
|
+
# resp.user_pool.email_configuration.email_sending_account #=> String, one of "COGNITO_DEFAULT", "DEVELOPER"
|
3030
3076
|
# resp.user_pool.sms_configuration.sns_caller_arn #=> String
|
3031
3077
|
# resp.user_pool.sms_configuration.external_id #=> String
|
3032
3078
|
# resp.user_pool.user_pool_tags #=> Hash
|
@@ -5345,6 +5391,7 @@ module Aws::CognitoIdentityProvider
|
|
5345
5391
|
# email_configuration: {
|
5346
5392
|
# source_arn: "ArnType",
|
5347
5393
|
# reply_to_email_address: "EmailAddressType",
|
5394
|
+
# email_sending_account: "COGNITO_DEFAULT", # accepts COGNITO_DEFAULT, DEVELOPER
|
5348
5395
|
# },
|
5349
5396
|
# sms_configuration: {
|
5350
5397
|
# sns_caller_arn: "ArnType", # required
|
@@ -5712,7 +5759,7 @@ module Aws::CognitoIdentityProvider
|
|
5712
5759
|
params: params,
|
5713
5760
|
config: config)
|
5714
5761
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
5715
|
-
context[:gem_version] = '1.
|
5762
|
+
context[:gem_version] = '1.17.0'
|
5716
5763
|
Seahorse::Client::Request.new(handlers, context)
|
5717
5764
|
end
|
5718
5765
|
|
@@ -188,6 +188,7 @@ module Aws::CognitoIdentityProvider
|
|
188
188
|
EmailConfigurationType = Shapes::StructureShape.new(name: 'EmailConfigurationType')
|
189
189
|
EmailNotificationBodyType = Shapes::StringShape.new(name: 'EmailNotificationBodyType')
|
190
190
|
EmailNotificationSubjectType = Shapes::StringShape.new(name: 'EmailNotificationSubjectType')
|
191
|
+
EmailSendingAccountType = Shapes::StringShape.new(name: 'EmailSendingAccountType')
|
191
192
|
EmailVerificationMessageByLinkType = Shapes::StringShape.new(name: 'EmailVerificationMessageByLinkType')
|
192
193
|
EmailVerificationMessageType = Shapes::StringShape.new(name: 'EmailVerificationMessageType')
|
193
194
|
EmailVerificationSubjectByLinkType = Shapes::StringShape.new(name: 'EmailVerificationSubjectByLinkType')
|
@@ -1013,6 +1014,7 @@ module Aws::CognitoIdentityProvider
|
|
1013
1014
|
|
1014
1015
|
EmailConfigurationType.add_member(:source_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "SourceArn"))
|
1015
1016
|
EmailConfigurationType.add_member(:reply_to_email_address, Shapes::ShapeRef.new(shape: EmailAddressType, location_name: "ReplyToEmailAddress"))
|
1017
|
+
EmailConfigurationType.add_member(:email_sending_account, Shapes::ShapeRef.new(shape: EmailSendingAccountType, location_name: "EmailSendingAccount"))
|
1016
1018
|
EmailConfigurationType.struct_class = Types::EmailConfigurationType
|
1017
1019
|
|
1018
1020
|
EventContextDataType.add_member(:ip_address, Shapes::ShapeRef.new(shape: StringType, location_name: "IpAddress"))
|
@@ -2018,6 +2020,12 @@ module Aws::CognitoIdentityProvider
|
|
2018
2020
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2019
2021
|
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
|
2020
2022
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2023
|
+
o[:pager] = Aws::Pager.new(
|
2024
|
+
limit_key: "limit",
|
2025
|
+
tokens: {
|
2026
|
+
"next_token" => "next_token"
|
2027
|
+
}
|
2028
|
+
)
|
2021
2029
|
end)
|
2022
2030
|
|
2023
2031
|
api.add_operation(:admin_list_user_auth_events, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2033,6 +2041,12 @@ module Aws::CognitoIdentityProvider
|
|
2033
2041
|
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
|
2034
2042
|
o.errors << Shapes::ShapeRef.new(shape: UserPoolAddOnNotEnabledException)
|
2035
2043
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2044
|
+
o[:pager] = Aws::Pager.new(
|
2045
|
+
limit_key: "max_results",
|
2046
|
+
tokens: {
|
2047
|
+
"next_token" => "next_token"
|
2048
|
+
}
|
2049
|
+
)
|
2036
2050
|
end)
|
2037
2051
|
|
2038
2052
|
api.add_operation(:admin_remove_user_from_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2172,6 +2186,9 @@ module Aws::CognitoIdentityProvider
|
|
2172
2186
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2173
2187
|
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
|
2174
2188
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2189
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
|
2190
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
|
2191
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
|
2175
2192
|
end)
|
2176
2193
|
|
2177
2194
|
api.add_operation(:admin_user_global_sign_out, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2835,6 +2852,12 @@ module Aws::CognitoIdentityProvider
|
|
2835
2852
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2836
2853
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2837
2854
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2855
|
+
o[:pager] = Aws::Pager.new(
|
2856
|
+
limit_key: "limit",
|
2857
|
+
tokens: {
|
2858
|
+
"next_token" => "next_token"
|
2859
|
+
}
|
2860
|
+
)
|
2838
2861
|
end)
|
2839
2862
|
|
2840
2863
|
api.add_operation(:list_identity_providers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2848,6 +2871,12 @@ module Aws::CognitoIdentityProvider
|
|
2848
2871
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2849
2872
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2850
2873
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2874
|
+
o[:pager] = Aws::Pager.new(
|
2875
|
+
limit_key: "max_results",
|
2876
|
+
tokens: {
|
2877
|
+
"next_token" => "next_token"
|
2878
|
+
}
|
2879
|
+
)
|
2851
2880
|
end)
|
2852
2881
|
|
2853
2882
|
api.add_operation(:list_resource_servers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2861,6 +2890,12 @@ module Aws::CognitoIdentityProvider
|
|
2861
2890
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2862
2891
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2863
2892
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2893
|
+
o[:pager] = Aws::Pager.new(
|
2894
|
+
limit_key: "max_results",
|
2895
|
+
tokens: {
|
2896
|
+
"next_token" => "next_token"
|
2897
|
+
}
|
2898
|
+
)
|
2864
2899
|
end)
|
2865
2900
|
|
2866
2901
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2900,6 +2935,12 @@ module Aws::CognitoIdentityProvider
|
|
2900
2935
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2901
2936
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2902
2937
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2938
|
+
o[:pager] = Aws::Pager.new(
|
2939
|
+
limit_key: "max_results",
|
2940
|
+
tokens: {
|
2941
|
+
"next_token" => "next_token"
|
2942
|
+
}
|
2943
|
+
)
|
2903
2944
|
end)
|
2904
2945
|
|
2905
2946
|
api.add_operation(:list_user_pools, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2912,6 +2953,12 @@ module Aws::CognitoIdentityProvider
|
|
2912
2953
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2913
2954
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2914
2955
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2956
|
+
o[:pager] = Aws::Pager.new(
|
2957
|
+
limit_key: "max_results",
|
2958
|
+
tokens: {
|
2959
|
+
"next_token" => "next_token"
|
2960
|
+
}
|
2961
|
+
)
|
2915
2962
|
end)
|
2916
2963
|
|
2917
2964
|
api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2938,6 +2985,12 @@ module Aws::CognitoIdentityProvider
|
|
2938
2985
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2939
2986
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2940
2987
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
2988
|
+
o[:pager] = Aws::Pager.new(
|
2989
|
+
limit_key: "limit",
|
2990
|
+
tokens: {
|
2991
|
+
"next_token" => "next_token"
|
2992
|
+
}
|
2993
|
+
)
|
2941
2994
|
end)
|
2942
2995
|
|
2943
2996
|
api.add_operation(:resend_confirmation_code, Seahorse::Model::Operation.new.tap do |o|
|
@@ -283,6 +283,12 @@ module Aws::CognitoIdentityProvider
|
|
283
283
|
# must call `AdminCreateUser` again, specifying `"RESEND"` for the
|
284
284
|
# `MessageAction` parameter. The default value for this parameter is
|
285
285
|
# 7.
|
286
|
+
#
|
287
|
+
# <note markdown="1"> If you set a value for `TemporaryPasswordValidityDays` in
|
288
|
+
# `PasswordPolicy`, that value will be used and
|
289
|
+
# `UnusedAccountValidityDays` will be deprecated for that user pool.
|
290
|
+
#
|
291
|
+
# </note>
|
286
292
|
# @return [Integer]
|
287
293
|
#
|
288
294
|
# @!attribute [rw] invite_message_template
|
@@ -2860,6 +2866,7 @@ module Aws::CognitoIdentityProvider
|
|
2860
2866
|
# email_configuration: {
|
2861
2867
|
# source_arn: "ArnType",
|
2862
2868
|
# reply_to_email_address: "EmailAddressType",
|
2869
|
+
# email_sending_account: "COGNITO_DEFAULT", # accepts COGNITO_DEFAULT, DEVELOPER
|
2863
2870
|
# },
|
2864
2871
|
# sms_configuration: {
|
2865
2872
|
# sns_caller_arn: "ArnType", # required
|
@@ -3660,21 +3667,83 @@ module Aws::CognitoIdentityProvider
|
|
3660
3667
|
# {
|
3661
3668
|
# source_arn: "ArnType",
|
3662
3669
|
# reply_to_email_address: "EmailAddressType",
|
3670
|
+
# email_sending_account: "COGNITO_DEFAULT", # accepts COGNITO_DEFAULT, DEVELOPER
|
3663
3671
|
# }
|
3664
3672
|
#
|
3665
3673
|
# @!attribute [rw] source_arn
|
3666
|
-
# The Amazon Resource Name (ARN) of
|
3674
|
+
# The Amazon Resource Name (ARN) of a verified email address in Amazon
|
3675
|
+
# SES. This email address is used in one of the following ways,
|
3676
|
+
# depending on the value that you specify for the
|
3677
|
+
# `EmailSendingAccount` parameter:
|
3678
|
+
#
|
3679
|
+
# * If you specify `COGNITO_DEFAULT`, Amazon Cognito uses this address
|
3680
|
+
# as the custom FROM address when it emails your users by using its
|
3681
|
+
# built-in email account.
|
3682
|
+
#
|
3683
|
+
# * If you specify `DEVELOPER`, Amazon Cognito emails your users with
|
3684
|
+
# this address by calling Amazon SES on your behalf.
|
3667
3685
|
# @return [String]
|
3668
3686
|
#
|
3669
3687
|
# @!attribute [rw] reply_to_email_address
|
3670
3688
|
# The destination to which the receiver of the email should reply to.
|
3671
3689
|
# @return [String]
|
3672
3690
|
#
|
3691
|
+
# @!attribute [rw] email_sending_account
|
3692
|
+
# Specifies whether Amazon Cognito emails your users by using its
|
3693
|
+
# built-in email functionality or your Amazon SES email configuration.
|
3694
|
+
# Specify one of the following values:
|
3695
|
+
#
|
3696
|
+
# COGNITO\_DEFAULT
|
3697
|
+
#
|
3698
|
+
# : When Amazon Cognito emails your users, it uses its built-in email
|
3699
|
+
# functionality. When you use the default option, Amazon Cognito
|
3700
|
+
# allows only a limited number of emails each day for your user
|
3701
|
+
# pool. For typical production environments, the default email limit
|
3702
|
+
# is below the required delivery volume. To achieve a higher
|
3703
|
+
# delivery volume, specify DEVELOPER to use your Amazon SES email
|
3704
|
+
# configuration.
|
3705
|
+
#
|
3706
|
+
# To look up the email delivery limit for the default option, see
|
3707
|
+
# [Limits in Amazon Cognito][1] in the *Amazon Cognito Developer
|
3708
|
+
# Guide*.
|
3709
|
+
#
|
3710
|
+
# The default FROM address is no-reply@verificationemail.com. To
|
3711
|
+
# customize the FROM address, provide the ARN of an Amazon SES
|
3712
|
+
# verified email address for the `SourceArn` parameter.
|
3713
|
+
#
|
3714
|
+
# DEVELOPER
|
3715
|
+
#
|
3716
|
+
# : When Amazon Cognito emails your users, it uses your Amazon SES
|
3717
|
+
# configuration. Amazon Cognito calls Amazon SES on your behalf to
|
3718
|
+
# send email from your verified email address. When you use this
|
3719
|
+
# option, the email delivery limits are the same limits that apply
|
3720
|
+
# to your Amazon SES verified email address in your AWS account.
|
3721
|
+
#
|
3722
|
+
# If you use this option, you must provide the ARN of an Amazon SES
|
3723
|
+
# verified email address for the `SourceArn` parameter.
|
3724
|
+
#
|
3725
|
+
# Before Amazon Cognito can email your users, it requires additional
|
3726
|
+
# permissions to call Amazon SES on your behalf. When you update
|
3727
|
+
# your user pool with this option, Amazon Cognito creates a
|
3728
|
+
# *service-linked role*, which is a type of IAM role, in your AWS
|
3729
|
+
# account. This role contains the permissions that allow Amazon
|
3730
|
+
# Cognito to access Amazon SES and send email messages with your
|
3731
|
+
# address. For more information about the service-linked role that
|
3732
|
+
# Amazon Cognito creates, see [Using Service-Linked Roles for Amazon
|
3733
|
+
# Cognito][2] in the *Amazon Cognito Developer Guide*.
|
3734
|
+
#
|
3735
|
+
#
|
3736
|
+
#
|
3737
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html
|
3738
|
+
# [2]: https://docs.aws.amazon.com/cognito/latest/developerguide/using-service-linked-roles.html
|
3739
|
+
# @return [String]
|
3740
|
+
#
|
3673
3741
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EmailConfigurationType AWS API Documentation
|
3674
3742
|
#
|
3675
3743
|
class EmailConfigurationType < Struct.new(
|
3676
3744
|
:source_arn,
|
3677
|
-
:reply_to_email_address
|
3745
|
+
:reply_to_email_address,
|
3746
|
+
:email_sending_account)
|
3678
3747
|
include Aws::Structure
|
3679
3748
|
end
|
3680
3749
|
|
@@ -7193,6 +7262,7 @@ module Aws::CognitoIdentityProvider
|
|
7193
7262
|
# email_configuration: {
|
7194
7263
|
# source_arn: "ArnType",
|
7195
7264
|
# reply_to_email_address: "EmailAddressType",
|
7265
|
+
# email_sending_account: "COGNITO_DEFAULT", # accepts COGNITO_DEFAULT, DEVELOPER
|
7196
7266
|
# },
|
7197
7267
|
# sms_configuration: {
|
7198
7268
|
# sns_caller_arn: "ArnType", # required
|
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.17.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-
|
11
|
+
date: 2019-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|