aws-sdk-cognitoidentityprovider 1.45.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +333 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-cognitoidentityprovider.rb +3 -2
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +53 -3
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +16 -1
- data/lib/aws-sdk-cognitoidentityprovider/errors.rb +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/resource.rb +1 -1
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +216 -13
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a2ad06d5689bad34d9a5f7ff0e885838ea1cf89e5cbfe396818ca00712074cd
|
4
|
+
data.tar.gz: ee20b6499bd2880d2db93ad9f32878a10d9161ee2463b15cdd152262c3e6ce12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f19c84d71d568deedb942a51d791d0e90cfe0edf50e3d9cb8bdbe6dcc24339132afff2b8f0183e0dc41cc90272fd7ff9dc76493becf42e95b6eca99b18fcf3f
|
7
|
+
data.tar.gz: 61f84679de160e86a4bf502543d866cab182a660dc5d55517de61c1f31280a38399df959fb5be7d991f87836519bd075c185377b87248e7e12a6e74a79b9bbfb
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,333 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.50.0 (2021-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.49.0 (2021-02-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.48.0 (2020-11-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds ability to configure Cognito User Pools with third party sms and email providers for sending notifications to users.
|
18
|
+
|
19
|
+
1.47.0 (2020-09-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.46.0 (2020-09-15)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.45.0 (2020-08-25)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.44.0 (2020-08-18)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Adding the option to use a service linked role to publish events to Pinpoint.
|
38
|
+
|
39
|
+
1.43.0 (2020-08-13)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Adding ability to customize expiry for Refresh, Access and ID tokens.
|
43
|
+
|
44
|
+
1.42.0 (2020-07-02)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.41.0 (2020-06-26)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Don't require Authorization for InitiateAuth and RespondToAuthChallenge.
|
53
|
+
|
54
|
+
1.40.0 (2020-06-23)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.39.0 (2020-06-17)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Set `Authorization` header to `nil` for `InitiateAuth` and `RespondToAuthChallenge` APIs.
|
63
|
+
|
64
|
+
1.38.0 (2020-06-15)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - Updated all AuthParameters to be sensitive.
|
68
|
+
|
69
|
+
1.37.1 (2020-06-11)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
73
|
+
|
74
|
+
1.37.0 (2020-06-10)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Issue - This version has been yanked. (#2327).
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.36.0 (2020-05-28)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.35.0 (2020-05-07)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.34.0 (2020-03-16)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Additional response field "CompromisedCredentialsDetected" added to AdminListUserAuthEvents.
|
94
|
+
|
95
|
+
1.33.0 (2020-03-09)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.32.0 (2020-02-11)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Features:This release adds a new setting for a user pool to allow if customer wants their user signup/signin with case insensitive username. The current default setting is case sensitive, and for our next release we will change it to case insensitive.
|
104
|
+
|
105
|
+
1.31.0 (2019-11-26)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - This release adds a new setting for a user pool to configure which recovery methods a user can use to recover their account via the forgot password operation.
|
109
|
+
|
110
|
+
1.30.0 (2019-11-25)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Amazon Cognito Userpools now supports Sign in with Apple as an Identity Provider.
|
114
|
+
|
115
|
+
1.29.0 (2019-11-15)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - This release adds a new option in the User Pool to allow specifying sender's name in the emails sent by Amazon Cognito. This release also adds support to add SES Configuration Set to the emails sent by Amazon Cognito.
|
119
|
+
|
120
|
+
1.28.0 (2019-11-14)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - This release adds a new setting at user pool client to prevent user existence related errors during authentication, confirmation, and password recovery related operations. This release also adds support to enable or disable specific authentication flows for a user pool client.
|
124
|
+
|
125
|
+
1.27.0 (2019-10-23)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
129
|
+
|
130
|
+
1.26.0 (2019-10-04)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - This release adds ClientMetadata input parameter to multiple Cognito User Pools operations, making this parameter available to the customer configured lambda triggers as applicable.
|
134
|
+
|
135
|
+
1.25.0 (2019-07-25)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
139
|
+
|
140
|
+
1.24.0 (2019-07-01)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
144
|
+
|
145
|
+
1.23.0 (2019-06-17)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
149
|
+
|
150
|
+
1.22.0 (2019-05-21)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.21.0 (2019-05-15)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.20.0 (2019-05-14)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.19.0 (2019-05-03)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - API update.
|
169
|
+
|
170
|
+
1.18.0 (2019-04-18)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.17.0 (2019-04-16)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Feature - API update.
|
179
|
+
|
180
|
+
1.16.0 (2019-03-21)
|
181
|
+
------------------
|
182
|
+
|
183
|
+
* Feature - API update.
|
184
|
+
|
185
|
+
1.15.0 (2019-03-21)
|
186
|
+
------------------
|
187
|
+
|
188
|
+
* Feature - API update.
|
189
|
+
|
190
|
+
1.14.0 (2019-03-18)
|
191
|
+
------------------
|
192
|
+
|
193
|
+
* Feature - API update.
|
194
|
+
|
195
|
+
1.13.0 (2019-03-14)
|
196
|
+
------------------
|
197
|
+
|
198
|
+
* Feature - API update.
|
199
|
+
|
200
|
+
1.12.0 (2018-12-20)
|
201
|
+
------------------
|
202
|
+
|
203
|
+
* Feature - API update.
|
204
|
+
|
205
|
+
1.11.0 (2018-11-20)
|
206
|
+
------------------
|
207
|
+
|
208
|
+
* Feature - API update.
|
209
|
+
|
210
|
+
1.10.0 (2018-10-24)
|
211
|
+
------------------
|
212
|
+
|
213
|
+
* Feature - API update.
|
214
|
+
|
215
|
+
1.9.0 (2018-10-23)
|
216
|
+
------------------
|
217
|
+
|
218
|
+
* Feature - API update.
|
219
|
+
|
220
|
+
1.8.0 (2018-09-06)
|
221
|
+
------------------
|
222
|
+
|
223
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
224
|
+
|
225
|
+
1.7.0 (2018-09-05)
|
226
|
+
------------------
|
227
|
+
|
228
|
+
* Feature - API update.
|
229
|
+
|
230
|
+
1.6.0 (2018-08-24)
|
231
|
+
------------------
|
232
|
+
|
233
|
+
* Feature - API update.
|
234
|
+
|
235
|
+
1.5.0 (2018-06-26)
|
236
|
+
------------------
|
237
|
+
|
238
|
+
* Feature - API update.
|
239
|
+
|
240
|
+
1.4.0 (2018-05-17)
|
241
|
+
------------------
|
242
|
+
|
243
|
+
* Feature - API update.
|
244
|
+
|
245
|
+
1.3.0 (2018-02-12)
|
246
|
+
------------------
|
247
|
+
|
248
|
+
* Feature - API update.
|
249
|
+
|
250
|
+
1.2.0 (2017-12-11)
|
251
|
+
------------------
|
252
|
+
|
253
|
+
* Feature - API update.
|
254
|
+
|
255
|
+
1.1.0 (2017-11-29)
|
256
|
+
------------------
|
257
|
+
|
258
|
+
* Feature - API update.
|
259
|
+
|
260
|
+
* Issue - Update `aws-sdk-cognitoidentityprovider` gemspec metadata.
|
261
|
+
|
262
|
+
1.0.0 (2017-08-29)
|
263
|
+
------------------
|
264
|
+
|
265
|
+
1.0.0.rc14 (2017-08-15)
|
266
|
+
------------------
|
267
|
+
|
268
|
+
* Feature - API update.
|
269
|
+
|
270
|
+
1.0.0.rc13 (2017-08-11)
|
271
|
+
------------------
|
272
|
+
|
273
|
+
* Feature - API update.
|
274
|
+
|
275
|
+
1.0.0.rc12 (2017-08-01)
|
276
|
+
------------------
|
277
|
+
|
278
|
+
* Feature - API update.
|
279
|
+
|
280
|
+
1.0.0.rc11 (2017-07-25)
|
281
|
+
------------------
|
282
|
+
|
283
|
+
* Feature - API update.
|
284
|
+
|
285
|
+
1.0.0.rc10 (2017-07-17)
|
286
|
+
------------------
|
287
|
+
|
288
|
+
* Feature - API update.
|
289
|
+
|
290
|
+
1.0.0.rc9 (2017-07-12)
|
291
|
+
------------------
|
292
|
+
|
293
|
+
* Feature - API update.
|
294
|
+
|
295
|
+
1.0.0.rc8 (2017-07-06)
|
296
|
+
------------------
|
297
|
+
|
298
|
+
* Feature - API update.
|
299
|
+
|
300
|
+
1.0.0.rc7 (2017-06-26)
|
301
|
+
------------------
|
302
|
+
|
303
|
+
* Feature - API update.
|
304
|
+
|
305
|
+
1.0.0.rc6 (2017-05-23)
|
306
|
+
------------------
|
307
|
+
|
308
|
+
* Feature - API update.
|
309
|
+
|
310
|
+
1.0.0.rc5 (2017-05-09)
|
311
|
+
------------------
|
312
|
+
|
313
|
+
* Feature - API update.
|
314
|
+
|
315
|
+
1.0.0.rc4 (2017-05-09)
|
316
|
+
------------------
|
317
|
+
|
318
|
+
* Feature - API update.
|
319
|
+
|
320
|
+
1.0.0.rc3 (2017-04-21)
|
321
|
+
------------------
|
322
|
+
|
323
|
+
* Feature - API update.
|
324
|
+
|
325
|
+
1.0.0.rc2 (2017-01-24)
|
326
|
+
------------------
|
327
|
+
|
328
|
+
* Feature - API update.
|
329
|
+
|
330
|
+
1.0.0.rc1 (2016-12-05)
|
331
|
+
------------------
|
332
|
+
|
333
|
+
* Feature - Initial preview release of the `aws-sdk-cognitoidentityprovider` gem.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.50.0
|
@@ -3,10 +3,11 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-cognitoidentityprovider/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::CognitoIdentityProvider
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.50.0'
|
51
52
|
|
52
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -2746,9 +2746,21 @@ module Aws::CognitoIdentityProvider
|
|
2746
2746
|
#
|
2747
2747
|
# @option params [String] :email_verification_message
|
2748
2748
|
# A string representing the email verification message.
|
2749
|
+
# EmailVerificationMessage is allowed only if [EmailSendingAccount][1]
|
2750
|
+
# is DEVELOPER.
|
2751
|
+
#
|
2752
|
+
#
|
2753
|
+
#
|
2754
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
2749
2755
|
#
|
2750
2756
|
# @option params [String] :email_verification_subject
|
2751
2757
|
# A string representing the email verification subject.
|
2758
|
+
# EmailVerificationSubject is allowed only if [EmailSendingAccount][1]
|
2759
|
+
# is DEVELOPER.
|
2760
|
+
#
|
2761
|
+
#
|
2762
|
+
#
|
2763
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
2752
2764
|
#
|
2753
2765
|
# @option params [Types::VerificationMessageTemplateType] :verification_message_template
|
2754
2766
|
# The template for the verification message that the user sees when the
|
@@ -2834,6 +2846,15 @@ module Aws::CognitoIdentityProvider
|
|
2834
2846
|
# verify_auth_challenge_response: "ArnType",
|
2835
2847
|
# pre_token_generation: "ArnType",
|
2836
2848
|
# user_migration: "ArnType",
|
2849
|
+
# custom_sms_sender: {
|
2850
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
2851
|
+
# lambda_arn: "ArnType", # required
|
2852
|
+
# },
|
2853
|
+
# custom_email_sender: {
|
2854
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
2855
|
+
# lambda_arn: "ArnType", # required
|
2856
|
+
# },
|
2857
|
+
# kms_key_id: "ArnType",
|
2837
2858
|
# },
|
2838
2859
|
# auto_verified_attributes: ["phone_number"], # accepts phone_number, email
|
2839
2860
|
# alias_attributes: ["phone_number"], # accepts phone_number, email, preferred_username
|
@@ -2931,6 +2952,11 @@ module Aws::CognitoIdentityProvider
|
|
2931
2952
|
# resp.user_pool.lambda_config.verify_auth_challenge_response #=> String
|
2932
2953
|
# resp.user_pool.lambda_config.pre_token_generation #=> String
|
2933
2954
|
# resp.user_pool.lambda_config.user_migration #=> String
|
2955
|
+
# resp.user_pool.lambda_config.custom_sms_sender.lambda_version #=> String, one of "V1_0"
|
2956
|
+
# resp.user_pool.lambda_config.custom_sms_sender.lambda_arn #=> String
|
2957
|
+
# resp.user_pool.lambda_config.custom_email_sender.lambda_version #=> String, one of "V1_0"
|
2958
|
+
# resp.user_pool.lambda_config.custom_email_sender.lambda_arn #=> String
|
2959
|
+
# resp.user_pool.lambda_config.kms_key_id #=> String
|
2934
2960
|
# resp.user_pool.status #=> String, one of "Enabled", "Disabled"
|
2935
2961
|
# resp.user_pool.last_modified_date #=> Time
|
2936
2962
|
# resp.user_pool.creation_date #=> Time
|
@@ -3746,6 +3772,11 @@ module Aws::CognitoIdentityProvider
|
|
3746
3772
|
# resp.user_pool.lambda_config.verify_auth_challenge_response #=> String
|
3747
3773
|
# resp.user_pool.lambda_config.pre_token_generation #=> String
|
3748
3774
|
# resp.user_pool.lambda_config.user_migration #=> String
|
3775
|
+
# resp.user_pool.lambda_config.custom_sms_sender.lambda_version #=> String, one of "V1_0"
|
3776
|
+
# resp.user_pool.lambda_config.custom_sms_sender.lambda_arn #=> String
|
3777
|
+
# resp.user_pool.lambda_config.custom_email_sender.lambda_version #=> String, one of "V1_0"
|
3778
|
+
# resp.user_pool.lambda_config.custom_email_sender.lambda_arn #=> String
|
3779
|
+
# resp.user_pool.lambda_config.kms_key_id #=> String
|
3749
3780
|
# resp.user_pool.status #=> String, one of "Enabled", "Disabled"
|
3750
3781
|
# resp.user_pool.last_modified_date #=> Time
|
3751
3782
|
# resp.user_pool.creation_date #=> Time
|
@@ -4997,6 +5028,11 @@ module Aws::CognitoIdentityProvider
|
|
4997
5028
|
# resp.user_pools[0].lambda_config.verify_auth_challenge_response #=> String
|
4998
5029
|
# resp.user_pools[0].lambda_config.pre_token_generation #=> String
|
4999
5030
|
# resp.user_pools[0].lambda_config.user_migration #=> String
|
5031
|
+
# resp.user_pools[0].lambda_config.custom_sms_sender.lambda_version #=> String, one of "V1_0"
|
5032
|
+
# resp.user_pools[0].lambda_config.custom_sms_sender.lambda_arn #=> String
|
5033
|
+
# resp.user_pools[0].lambda_config.custom_email_sender.lambda_version #=> String, one of "V1_0"
|
5034
|
+
# resp.user_pools[0].lambda_config.custom_email_sender.lambda_arn #=> String
|
5035
|
+
# resp.user_pools[0].lambda_config.kms_key_id #=> String
|
5000
5036
|
# resp.user_pools[0].status #=> String, one of "Enabled", "Disabled"
|
5001
5037
|
# resp.user_pools[0].last_modified_date #=> Time
|
5002
5038
|
# resp.user_pools[0].creation_date #=> Time
|
@@ -5619,7 +5655,12 @@ module Aws::CognitoIdentityProvider
|
|
5619
5655
|
# one factor can be set as preferred. The preferred MFA factor will be
|
5620
5656
|
# used to authenticate a user if multiple factors are enabled. If
|
5621
5657
|
# multiple options are enabled and no preference is set, a challenge to
|
5622
|
-
# choose an MFA option will be returned during sign in.
|
5658
|
+
# choose an MFA option will be returned during sign in. If an MFA type
|
5659
|
+
# is enabled for a user, the user will be prompted for MFA during all
|
5660
|
+
# sign in attempts, unless device tracking is turned on and the device
|
5661
|
+
# has been trusted. If you would like MFA to be applied selectively
|
5662
|
+
# based on the assessed risk level of sign in attempts, disable MFA for
|
5663
|
+
# users and turn on Adaptive Authentication for the user pool.
|
5623
5664
|
#
|
5624
5665
|
# @option params [Types::SMSMfaSettingsType] :sms_mfa_settings
|
5625
5666
|
# The SMS text message multi-factor authentication (MFA) settings.
|
@@ -6482,6 +6523,15 @@ module Aws::CognitoIdentityProvider
|
|
6482
6523
|
# verify_auth_challenge_response: "ArnType",
|
6483
6524
|
# pre_token_generation: "ArnType",
|
6484
6525
|
# user_migration: "ArnType",
|
6526
|
+
# custom_sms_sender: {
|
6527
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
6528
|
+
# lambda_arn: "ArnType", # required
|
6529
|
+
# },
|
6530
|
+
# custom_email_sender: {
|
6531
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
6532
|
+
# lambda_arn: "ArnType", # required
|
6533
|
+
# },
|
6534
|
+
# kms_key_id: "ArnType",
|
6485
6535
|
# },
|
6486
6536
|
# auto_verified_attributes: ["phone_number"], # accepts phone_number, email
|
6487
6537
|
# sms_verification_message: "SmsVerificationMessageType",
|
@@ -6982,7 +7032,7 @@ module Aws::CognitoIdentityProvider
|
|
6982
7032
|
params: params,
|
6983
7033
|
config: config)
|
6984
7034
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
6985
|
-
context[:gem_version] = '1.
|
7035
|
+
context[:gem_version] = '1.50.0'
|
6986
7036
|
Seahorse::Client::Request.new(handlers, context)
|
6987
7037
|
end
|
6988
7038
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -149,6 +149,10 @@ module Aws::CognitoIdentityProvider
|
|
149
149
|
CustomAttributeNameType = Shapes::StringShape.new(name: 'CustomAttributeNameType')
|
150
150
|
CustomAttributesListType = Shapes::ListShape.new(name: 'CustomAttributesListType')
|
151
151
|
CustomDomainConfigType = Shapes::StructureShape.new(name: 'CustomDomainConfigType')
|
152
|
+
CustomEmailLambdaVersionConfigType = Shapes::StructureShape.new(name: 'CustomEmailLambdaVersionConfigType')
|
153
|
+
CustomEmailSenderLambdaVersionType = Shapes::StringShape.new(name: 'CustomEmailSenderLambdaVersionType')
|
154
|
+
CustomSMSLambdaVersionConfigType = Shapes::StructureShape.new(name: 'CustomSMSLambdaVersionConfigType')
|
155
|
+
CustomSMSSenderLambdaVersionType = Shapes::StringShape.new(name: 'CustomSMSSenderLambdaVersionType')
|
152
156
|
DateType = Shapes::TimestampShape.new(name: 'DateType')
|
153
157
|
DefaultEmailOptionType = Shapes::StringShape.new(name: 'DefaultEmailOptionType')
|
154
158
|
DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
|
@@ -957,6 +961,14 @@ module Aws::CognitoIdentityProvider
|
|
957
961
|
CustomDomainConfigType.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "CertificateArn"))
|
958
962
|
CustomDomainConfigType.struct_class = Types::CustomDomainConfigType
|
959
963
|
|
964
|
+
CustomEmailLambdaVersionConfigType.add_member(:lambda_version, Shapes::ShapeRef.new(shape: CustomEmailSenderLambdaVersionType, required: true, location_name: "LambdaVersion"))
|
965
|
+
CustomEmailLambdaVersionConfigType.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "LambdaArn"))
|
966
|
+
CustomEmailLambdaVersionConfigType.struct_class = Types::CustomEmailLambdaVersionConfigType
|
967
|
+
|
968
|
+
CustomSMSLambdaVersionConfigType.add_member(:lambda_version, Shapes::ShapeRef.new(shape: CustomSMSSenderLambdaVersionType, required: true, location_name: "LambdaVersion"))
|
969
|
+
CustomSMSLambdaVersionConfigType.add_member(:lambda_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "LambdaArn"))
|
970
|
+
CustomSMSLambdaVersionConfigType.struct_class = Types::CustomSMSLambdaVersionConfigType
|
971
|
+
|
960
972
|
DeleteGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupNameType, required: true, location_name: "GroupName"))
|
961
973
|
DeleteGroupRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
|
962
974
|
DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
|
@@ -1274,6 +1286,9 @@ module Aws::CognitoIdentityProvider
|
|
1274
1286
|
LambdaConfigType.add_member(:verify_auth_challenge_response, Shapes::ShapeRef.new(shape: ArnType, location_name: "VerifyAuthChallengeResponse"))
|
1275
1287
|
LambdaConfigType.add_member(:pre_token_generation, Shapes::ShapeRef.new(shape: ArnType, location_name: "PreTokenGeneration"))
|
1276
1288
|
LambdaConfigType.add_member(:user_migration, Shapes::ShapeRef.new(shape: ArnType, location_name: "UserMigration"))
|
1289
|
+
LambdaConfigType.add_member(:custom_sms_sender, Shapes::ShapeRef.new(shape: CustomSMSLambdaVersionConfigType, location_name: "CustomSMSSender"))
|
1290
|
+
LambdaConfigType.add_member(:custom_email_sender, Shapes::ShapeRef.new(shape: CustomEmailLambdaVersionConfigType, location_name: "CustomEmailSender"))
|
1291
|
+
LambdaConfigType.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: ArnType, location_name: "KMSKeyID"))
|
1277
1292
|
LambdaConfigType.struct_class = Types::LambdaConfigType
|
1278
1293
|
|
1279
1294
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3628,6 +3628,15 @@ module Aws::CognitoIdentityProvider
|
|
3628
3628
|
# verify_auth_challenge_response: "ArnType",
|
3629
3629
|
# pre_token_generation: "ArnType",
|
3630
3630
|
# user_migration: "ArnType",
|
3631
|
+
# custom_sms_sender: {
|
3632
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
3633
|
+
# lambda_arn: "ArnType", # required
|
3634
|
+
# },
|
3635
|
+
# custom_email_sender: {
|
3636
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
3637
|
+
# lambda_arn: "ArnType", # required
|
3638
|
+
# },
|
3639
|
+
# kms_key_id: "ArnType",
|
3631
3640
|
# },
|
3632
3641
|
# auto_verified_attributes: ["phone_number"], # accepts phone_number, email
|
3633
3642
|
# alias_attributes: ["phone_number"], # accepts phone_number, email, preferred_username
|
@@ -3757,10 +3766,22 @@ module Aws::CognitoIdentityProvider
|
|
3757
3766
|
#
|
3758
3767
|
# @!attribute [rw] email_verification_message
|
3759
3768
|
# A string representing the email verification message.
|
3769
|
+
# EmailVerificationMessage is allowed only if [EmailSendingAccount][1]
|
3770
|
+
# is DEVELOPER.
|
3771
|
+
#
|
3772
|
+
#
|
3773
|
+
#
|
3774
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
3760
3775
|
# @return [String]
|
3761
3776
|
#
|
3762
3777
|
# @!attribute [rw] email_verification_subject
|
3763
3778
|
# A string representing the email verification subject.
|
3779
|
+
# EmailVerificationSubject is allowed only if [EmailSendingAccount][1]
|
3780
|
+
# is DEVELOPER.
|
3781
|
+
#
|
3782
|
+
#
|
3783
|
+
#
|
3784
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
3764
3785
|
# @return [String]
|
3765
3786
|
#
|
3766
3787
|
# @!attribute [rw] verification_message_template
|
@@ -3898,6 +3919,66 @@ module Aws::CognitoIdentityProvider
|
|
3898
3919
|
include Aws::Structure
|
3899
3920
|
end
|
3900
3921
|
|
3922
|
+
# A custom email sender Lambda configuration type.
|
3923
|
+
#
|
3924
|
+
# @note When making an API call, you may pass CustomEmailLambdaVersionConfigType
|
3925
|
+
# data as a hash:
|
3926
|
+
#
|
3927
|
+
# {
|
3928
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
3929
|
+
# lambda_arn: "ArnType", # required
|
3930
|
+
# }
|
3931
|
+
#
|
3932
|
+
# @!attribute [rw] lambda_version
|
3933
|
+
# The Lambda version represents the signature of the "request"
|
3934
|
+
# attribute in the "event" information Amazon Cognito passes to your
|
3935
|
+
# custom email Lambda function. The only supported value is `V1_0`.
|
3936
|
+
# @return [String]
|
3937
|
+
#
|
3938
|
+
# @!attribute [rw] lambda_arn
|
3939
|
+
# The Lambda Amazon Resource Name of the Lambda function that Amazon
|
3940
|
+
# Cognito triggers to send email notifications to users.
|
3941
|
+
# @return [String]
|
3942
|
+
#
|
3943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CustomEmailLambdaVersionConfigType AWS API Documentation
|
3944
|
+
#
|
3945
|
+
class CustomEmailLambdaVersionConfigType < Struct.new(
|
3946
|
+
:lambda_version,
|
3947
|
+
:lambda_arn)
|
3948
|
+
SENSITIVE = []
|
3949
|
+
include Aws::Structure
|
3950
|
+
end
|
3951
|
+
|
3952
|
+
# A custom SMS sender Lambda configuration type.
|
3953
|
+
#
|
3954
|
+
# @note When making an API call, you may pass CustomSMSLambdaVersionConfigType
|
3955
|
+
# data as a hash:
|
3956
|
+
#
|
3957
|
+
# {
|
3958
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
3959
|
+
# lambda_arn: "ArnType", # required
|
3960
|
+
# }
|
3961
|
+
#
|
3962
|
+
# @!attribute [rw] lambda_version
|
3963
|
+
# The Lambda version represents the signature of the "request"
|
3964
|
+
# attribute in the "event" information Amazon Cognito passes to your
|
3965
|
+
# custom SMS Lambda function. The only supported value is `V1_0`.
|
3966
|
+
# @return [String]
|
3967
|
+
#
|
3968
|
+
# @!attribute [rw] lambda_arn
|
3969
|
+
# The Lambda Amazon Resource Name of the Lambda function that Amazon
|
3970
|
+
# Cognito triggers to send SMS notifications to users.
|
3971
|
+
# @return [String]
|
3972
|
+
#
|
3973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CustomSMSLambdaVersionConfigType AWS API Documentation
|
3974
|
+
#
|
3975
|
+
class CustomSMSLambdaVersionConfigType < Struct.new(
|
3976
|
+
:lambda_version,
|
3977
|
+
:lambda_arn)
|
3978
|
+
SENSITIVE = []
|
3979
|
+
include Aws::Structure
|
3980
|
+
end
|
3981
|
+
|
3901
3982
|
# @note When making an API call, you may pass DeleteGroupRequest
|
3902
3983
|
# data as a hash:
|
3903
3984
|
#
|
@@ -4528,6 +4609,16 @@ module Aws::CognitoIdentityProvider
|
|
4528
4609
|
|
4529
4610
|
# The email configuration type.
|
4530
4611
|
#
|
4612
|
+
# <note markdown="1"> Amazon Cognito has specific regions for use with Amazon SES. For more
|
4613
|
+
# information on the supported regions, see [Email Settings for Amazon
|
4614
|
+
# Cognito User Pools][1].
|
4615
|
+
#
|
4616
|
+
# </note>
|
4617
|
+
#
|
4618
|
+
#
|
4619
|
+
#
|
4620
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html
|
4621
|
+
#
|
4531
4622
|
# @note When making an API call, you may pass EmailConfigurationType
|
4532
4623
|
# data as a hash:
|
4533
4624
|
#
|
@@ -4580,6 +4671,29 @@ module Aws::CognitoIdentityProvider
|
|
4580
4671
|
# customize the FROM address, provide the ARN of an Amazon SES
|
4581
4672
|
# verified email address for the `SourceArn` parameter.
|
4582
4673
|
#
|
4674
|
+
# If EmailSendingAccount is COGNITO\_DEFAULT, the following
|
4675
|
+
# parameters aren't allowed:
|
4676
|
+
#
|
4677
|
+
# * EmailVerificationMessage
|
4678
|
+
#
|
4679
|
+
# * EmailVerificationSubject
|
4680
|
+
#
|
4681
|
+
# * InviteMessageTemplate.EmailMessage
|
4682
|
+
#
|
4683
|
+
# * InviteMessageTemplate.EmailSubject
|
4684
|
+
#
|
4685
|
+
# * VerificationMessageTemplate.EmailMessage
|
4686
|
+
#
|
4687
|
+
# * VerificationMessageTemplate.EmailMessageByLink
|
4688
|
+
#
|
4689
|
+
# * VerificationMessageTemplate.EmailSubject,
|
4690
|
+
#
|
4691
|
+
# * VerificationMessageTemplate.EmailSubjectByLink
|
4692
|
+
#
|
4693
|
+
# <note markdown="1"> DEVELOPER EmailSendingAccount is required.
|
4694
|
+
#
|
4695
|
+
# </note>
|
4696
|
+
#
|
4583
4697
|
# DEVELOPER
|
4584
4698
|
#
|
4585
4699
|
# : When Amazon Cognito emails your users, it uses your Amazon SES
|
@@ -5975,6 +6089,15 @@ module Aws::CognitoIdentityProvider
|
|
5975
6089
|
# verify_auth_challenge_response: "ArnType",
|
5976
6090
|
# pre_token_generation: "ArnType",
|
5977
6091
|
# user_migration: "ArnType",
|
6092
|
+
# custom_sms_sender: {
|
6093
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
6094
|
+
# lambda_arn: "ArnType", # required
|
6095
|
+
# },
|
6096
|
+
# custom_email_sender: {
|
6097
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
6098
|
+
# lambda_arn: "ArnType", # required
|
6099
|
+
# },
|
6100
|
+
# kms_key_id: "ArnType",
|
5978
6101
|
# }
|
5979
6102
|
#
|
5980
6103
|
# @!attribute [rw] pre_sign_up
|
@@ -6017,6 +6140,21 @@ module Aws::CognitoIdentityProvider
|
|
6017
6140
|
# The user migration Lambda config type.
|
6018
6141
|
# @return [String]
|
6019
6142
|
#
|
6143
|
+
# @!attribute [rw] custom_sms_sender
|
6144
|
+
# A custom SMS sender AWS Lambda trigger.
|
6145
|
+
# @return [Types::CustomSMSLambdaVersionConfigType]
|
6146
|
+
#
|
6147
|
+
# @!attribute [rw] custom_email_sender
|
6148
|
+
# A custom email sender AWS Lambda trigger.
|
6149
|
+
# @return [Types::CustomEmailLambdaVersionConfigType]
|
6150
|
+
#
|
6151
|
+
# @!attribute [rw] kms_key_id
|
6152
|
+
# The Amazon Resource Name of Key Management Service [Customer master
|
6153
|
+
# keys](/kms/latest/developerguide/concepts.html#master_keys) . Amazon
|
6154
|
+
# Cognito uses the key to encrypt codes and temporary passwords sent
|
6155
|
+
# to `CustomEmailSender` and `CustomSMSSender`.
|
6156
|
+
# @return [String]
|
6157
|
+
#
|
6020
6158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/LambdaConfigType AWS API Documentation
|
6021
6159
|
#
|
6022
6160
|
class LambdaConfigType < Struct.new(
|
@@ -6029,7 +6167,10 @@ module Aws::CognitoIdentityProvider
|
|
6029
6167
|
:create_auth_challenge,
|
6030
6168
|
:verify_auth_challenge_response,
|
6031
6169
|
:pre_token_generation,
|
6032
|
-
:user_migration
|
6170
|
+
:user_migration,
|
6171
|
+
:custom_sms_sender,
|
6172
|
+
:custom_email_sender,
|
6173
|
+
:kms_key_id)
|
6033
6174
|
SENSITIVE = []
|
6034
6175
|
include Aws::Structure
|
6035
6176
|
end
|
@@ -6690,11 +6831,21 @@ module Aws::CognitoIdentityProvider
|
|
6690
6831
|
# @return [String]
|
6691
6832
|
#
|
6692
6833
|
# @!attribute [rw] email_message
|
6693
|
-
# The message template for email messages.
|
6834
|
+
# The message template for email messages. EmailMessage is allowed
|
6835
|
+
# only if [EmailSendingAccount][1] is DEVELOPER.
|
6836
|
+
#
|
6837
|
+
#
|
6838
|
+
#
|
6839
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
6694
6840
|
# @return [String]
|
6695
6841
|
#
|
6696
6842
|
# @!attribute [rw] email_subject
|
6697
|
-
# The subject line for email messages.
|
6843
|
+
# The subject line for email messages. EmailSubject is allowed only if
|
6844
|
+
# [EmailSendingAccount][1] is DEVELOPER.
|
6845
|
+
#
|
6846
|
+
#
|
6847
|
+
#
|
6848
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
6698
6849
|
# @return [String]
|
6699
6850
|
#
|
6700
6851
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/MessageTemplateType AWS API Documentation
|
@@ -7499,7 +7650,13 @@ module Aws::CognitoIdentityProvider
|
|
7499
7650
|
include Aws::Structure
|
7500
7651
|
end
|
7501
7652
|
|
7502
|
-
# The type used for enabling SMS MFA at the user level.
|
7653
|
+
# The type used for enabling SMS MFA at the user level. Phone numbers
|
7654
|
+
# don't need to be verified to be used for SMS MFA. If an MFA type is
|
7655
|
+
# enabled for a user, the user will be prompted for MFA during all sign
|
7656
|
+
# in attempts, unless device tracking is turned on and the device has
|
7657
|
+
# been trusted. If you would like MFA to be applied selectively based on
|
7658
|
+
# the assessed risk level of sign in attempts, disable MFA for users and
|
7659
|
+
# turn on Adaptive Authentication for the user pool.
|
7503
7660
|
#
|
7504
7661
|
# @note When making an API call, you may pass SMSMfaSettingsType
|
7505
7662
|
# data as a hash:
|
@@ -7510,7 +7667,10 @@ module Aws::CognitoIdentityProvider
|
|
7510
7667
|
# }
|
7511
7668
|
#
|
7512
7669
|
# @!attribute [rw] enabled
|
7513
|
-
# Specifies whether SMS text message MFA is enabled.
|
7670
|
+
# Specifies whether SMS text message MFA is enabled. If an MFA type is
|
7671
|
+
# enabled for a user, the user will be prompted for MFA during all
|
7672
|
+
# sign in attempts, unless device tracking is turned on and the device
|
7673
|
+
# has been trusted.
|
7514
7674
|
# @return [Boolean]
|
7515
7675
|
#
|
7516
7676
|
# @!attribute [rw] preferred_mfa
|
@@ -8119,7 +8279,12 @@ module Aws::CognitoIdentityProvider
|
|
8119
8279
|
# @!attribute [rw] sns_caller_arn
|
8120
8280
|
# The Amazon Resource Name (ARN) of the Amazon Simple Notification
|
8121
8281
|
# Service (SNS) caller. This is the ARN of the IAM role in your AWS
|
8122
|
-
# account which Cognito will use to send SMS messages.
|
8282
|
+
# account which Cognito will use to send SMS messages. SMS messages
|
8283
|
+
# are subject to a [spending limit][1].
|
8284
|
+
#
|
8285
|
+
#
|
8286
|
+
#
|
8287
|
+
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html
|
8123
8288
|
# @return [String]
|
8124
8289
|
#
|
8125
8290
|
# @!attribute [rw] external_id
|
@@ -8212,7 +8377,13 @@ module Aws::CognitoIdentityProvider
|
|
8212
8377
|
include Aws::Structure
|
8213
8378
|
end
|
8214
8379
|
|
8215
|
-
# The type used for enabling software token MFA at the user level.
|
8380
|
+
# The type used for enabling software token MFA at the user level. If an
|
8381
|
+
# MFA type is enabled for a user, the user will be prompted for MFA
|
8382
|
+
# during all sign in attempts, unless device tracking is turned on and
|
8383
|
+
# the device has been trusted. If you would like MFA to be applied
|
8384
|
+
# selectively based on the assessed risk level of sign in attempts,
|
8385
|
+
# disable MFA for users and turn on Adaptive Authentication for the user
|
8386
|
+
# pool.
|
8216
8387
|
#
|
8217
8388
|
# @note When making an API call, you may pass SoftwareTokenMfaSettingsType
|
8218
8389
|
# data as a hash:
|
@@ -8223,7 +8394,10 @@ module Aws::CognitoIdentityProvider
|
|
8223
8394
|
# }
|
8224
8395
|
#
|
8225
8396
|
# @!attribute [rw] enabled
|
8226
|
-
# Specifies whether software token MFA is enabled.
|
8397
|
+
# Specifies whether software token MFA is enabled. If an MFA type is
|
8398
|
+
# enabled for a user, the user will be prompted for MFA during all
|
8399
|
+
# sign in attempts, unless device tracking is turned on and the device
|
8400
|
+
# has been trusted.
|
8227
8401
|
# @return [Boolean]
|
8228
8402
|
#
|
8229
8403
|
# @!attribute [rw] preferred_mfa
|
@@ -9281,6 +9455,15 @@ module Aws::CognitoIdentityProvider
|
|
9281
9455
|
# verify_auth_challenge_response: "ArnType",
|
9282
9456
|
# pre_token_generation: "ArnType",
|
9283
9457
|
# user_migration: "ArnType",
|
9458
|
+
# custom_sms_sender: {
|
9459
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
9460
|
+
# lambda_arn: "ArnType", # required
|
9461
|
+
# },
|
9462
|
+
# custom_email_sender: {
|
9463
|
+
# lambda_version: "V1_0", # required, accepts V1_0
|
9464
|
+
# lambda_arn: "ArnType", # required
|
9465
|
+
# },
|
9466
|
+
# kms_key_id: "ArnType",
|
9284
9467
|
# },
|
9285
9468
|
# auto_verified_attributes: ["phone_number"], # accepts phone_number, email
|
9286
9469
|
# sms_verification_message: "SmsVerificationMessageType",
|
@@ -10347,21 +10530,41 @@ module Aws::CognitoIdentityProvider
|
|
10347
10530
|
# @return [String]
|
10348
10531
|
#
|
10349
10532
|
# @!attribute [rw] email_message
|
10350
|
-
# The email message template.
|
10533
|
+
# The email message template. EmailMessage is allowed only if [
|
10534
|
+
# EmailSendingAccount][1] is DEVELOPER.
|
10535
|
+
#
|
10536
|
+
#
|
10537
|
+
#
|
10538
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
10351
10539
|
# @return [String]
|
10352
10540
|
#
|
10353
10541
|
# @!attribute [rw] email_subject
|
10354
|
-
# The subject line for the email message template.
|
10542
|
+
# The subject line for the email message template. EmailSubject is
|
10543
|
+
# allowed only if [EmailSendingAccount][1] is DEVELOPER.
|
10544
|
+
#
|
10545
|
+
#
|
10546
|
+
#
|
10547
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
10355
10548
|
# @return [String]
|
10356
10549
|
#
|
10357
10550
|
# @!attribute [rw] email_message_by_link
|
10358
10551
|
# The email message template for sending a confirmation link to the
|
10359
|
-
# user.
|
10552
|
+
# user. EmailMessageByLink is allowed only if [
|
10553
|
+
# EmailSendingAccount][1] is DEVELOPER.
|
10554
|
+
#
|
10555
|
+
#
|
10556
|
+
#
|
10557
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
10360
10558
|
# @return [String]
|
10361
10559
|
#
|
10362
10560
|
# @!attribute [rw] email_subject_by_link
|
10363
10561
|
# The subject line for the email message template for sending a
|
10364
|
-
# confirmation link to the user.
|
10562
|
+
# confirmation link to the user. EmailSubjectByLink is allowed only [
|
10563
|
+
# EmailSendingAccount][1] is DEVELOPER.
|
10564
|
+
#
|
10565
|
+
#
|
10566
|
+
#
|
10567
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount
|
10365
10568
|
# @return [String]
|
10366
10569
|
#
|
10367
10570
|
# @!attribute [rw] default_email_option
|
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.50.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:
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.112.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for Amazon Cognito Identity Provider. This gem
|
48
48
|
is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-cognitoidentityprovider.rb
|
56
59
|
- lib/aws-sdk-cognitoidentityprovider/client.rb
|
57
60
|
- lib/aws-sdk-cognitoidentityprovider/client_api.rb
|