aws-sdk-cognitoidentity 1.26.0 → 1.31.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
  SHA256:
3
- metadata.gz: a974fc91a31a307bfae33e171707aca7f9de46617d2c2094e351391f2e5deee0
4
- data.tar.gz: af36c9d3e76f0b66f6bc8b3ee097cbb6fa9780f21a0d0d5e21713ecfae8a3918
3
+ metadata.gz: 4aeed46e521bdfb6681d377ce01cbd122dcb8b259bdcab62881bdb932ee5c4ff
4
+ data.tar.gz: 26be82da99b8c0eb0e19d87a4416cfcf7903bd82c161d8b2fffa8fa4110cb8d2
5
5
  SHA512:
6
- metadata.gz: ccccf59f16d957496861d23180e81135639f182ad5324afb6f17ca16d6d1eca8a39742fc603344825cce9ca3fc508c1fceb42d3940eaf660d9de045baf3010dd
7
- data.tar.gz: 54f9baabcb0afb585db51a037a28dcd73d3abd55af753964b5aabc5883a358082dd827b6147d7314ae00fb624dc42c311907ba6c58a04540be6974ae31dd3016
6
+ metadata.gz: 5ed87a48deb5fd0f443e99acbaedfdef2a2fdaf60cf8e6b15a8809fa1e5c9caffc8b1297d95ec2d2a32896d23c53ada6fe1e166f1e6521988b56bbaeb7e662b8
7
+ data.tar.gz: c881cd564c691d292c203de5d42ca76f228c8e4ac5b9ed1a5fee379fc3b57145546cb01c6e7e01d040de95ef1dc922d30a137899adb90f683082d1a87b724d96
data/CHANGELOG.md ADDED
@@ -0,0 +1,236 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.31.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.30.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.29.0 (2021-01-14)
15
+ ------------------
16
+
17
+ * Feature - Add Attributes For Access Control support for Amazon Cognito Identity Pools to facilitate access to AWS resources based on attributes from social and corporate identity providers
18
+
19
+ 1.28.0 (2020-11-20)
20
+ ------------------
21
+
22
+ * Feature - Added SDK pagination support for ListIdentityPools
23
+
24
+ 1.27.0 (2020-09-30)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.26.0 (2020-09-15)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.25.0 (2020-08-25)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.24.0 (2020-06-23)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.23.1 (2020-06-11)
45
+ ------------------
46
+
47
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
48
+
49
+ 1.23.0 (2020-06-10)
50
+ ------------------
51
+
52
+ * Issue - This version has been yanked. (#2327).
53
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
54
+
55
+ 1.22.0 (2020-05-28)
56
+ ------------------
57
+
58
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
59
+
60
+ 1.21.0 (2020-05-07)
61
+ ------------------
62
+
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.20.0 (2020-04-01)
66
+ ------------------
67
+
68
+ * Feature - Add support for enhanced flow through the addition of the `CognitoIdentityCredentials` - an auto-refreshing credentials provider.
69
+
70
+ 1.19.0 (2020-03-09)
71
+ ------------------
72
+
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.18.0 (2019-11-08)
76
+ ------------------
77
+
78
+ * Feature - This release adds support for disabling classic flow.
79
+
80
+ 1.17.0 (2019-10-23)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.16.0 (2019-07-25)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.15.0 (2019-07-01)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.14.0 (2019-06-17)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.13.0 (2019-05-21)
101
+ ------------------
102
+
103
+ * Feature - API update.
104
+
105
+ 1.12.0 (2019-05-15)
106
+ ------------------
107
+
108
+ * Feature - API update.
109
+
110
+ 1.11.0 (2019-05-14)
111
+ ------------------
112
+
113
+ * Feature - API update.
114
+
115
+ 1.10.0 (2019-03-21)
116
+ ------------------
117
+
118
+ * Feature - API update.
119
+
120
+ 1.9.0 (2019-03-20)
121
+ ------------------
122
+
123
+ * Feature - API update.
124
+
125
+ 1.8.0 (2019-03-18)
126
+ ------------------
127
+
128
+ * Feature - API update.
129
+
130
+ 1.7.0 (2019-03-14)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.6.0 (2018-11-20)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.5.0 (2018-10-24)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.4.0 (2018-10-23)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.3.0 (2018-09-06)
151
+ ------------------
152
+
153
+ * Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
154
+
155
+ 1.2.0 (2018-09-05)
156
+ ------------------
157
+
158
+ * Feature - API update.
159
+
160
+ 1.1.0 (2018-06-26)
161
+ ------------------
162
+
163
+ * Feature - API update.
164
+
165
+ 1.0.1 (2018-02-16)
166
+ ------------------
167
+
168
+ * Issue - Update `aws-sdk-cognitoidentity` gemspec metadata.
169
+
170
+ 1.0.0 (2017-08-29)
171
+ ------------------
172
+
173
+ 1.0.0.rc13 (2017-08-15)
174
+ ------------------
175
+
176
+ * Feature - API update.
177
+
178
+ 1.0.0.rc12 (2017-08-01)
179
+ ------------------
180
+
181
+ * Feature - API update.
182
+
183
+ 1.0.0.rc11 (2017-07-25)
184
+ ------------------
185
+
186
+ * Feature - API update.
187
+
188
+ 1.0.0.rc10 (2017-07-13)
189
+ ------------------
190
+
191
+ * Feature - API update.
192
+
193
+ 1.0.0.rc9 (2017-07-06)
194
+ ------------------
195
+
196
+ * Feature - API update.
197
+
198
+ 1.0.0.rc8 (2017-06-29)
199
+ ------------------
200
+
201
+ * Feature - API update.
202
+
203
+ 1.0.0.rc7 (2017-05-23)
204
+ ------------------
205
+
206
+ * Feature - API update.
207
+
208
+ 1.0.0.rc6 (2017-05-09)
209
+ ------------------
210
+
211
+ * Feature - API update.
212
+
213
+ 1.0.0.rc5 (2017-05-09)
214
+ ------------------
215
+
216
+ * Feature - API update.
217
+
218
+ 1.0.0.rc4 (2017-04-21)
219
+ ------------------
220
+
221
+ * Feature - API update.
222
+
223
+ 1.0.0.rc3 (2017-03-07)
224
+ ------------------
225
+
226
+ * Feature - API update.
227
+
228
+ 1.0.0.rc2 (2017-01-24)
229
+ ------------------
230
+
231
+ * Feature - API update.
232
+
233
+ 1.0.0.rc1 (2016-12-05)
234
+ ------------------
235
+
236
+ * Feature - Initial preview release of the `aws-sdk-cognitoidentity` 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.31.0
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cognitoidentity/customizations'
48
48
  # @!group service
49
49
  module Aws::CognitoIdentity
50
50
 
51
- GEM_VERSION = '1.26.0'
51
+ GEM_VERSION = '1.31.0'
52
52
 
53
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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -382,7 +382,7 @@ module Aws::CognitoIdentity
382
382
  # Please take care in setting this parameter.
383
383
  #
384
384
  # @option params [Array<String>] :open_id_connect_provider_arns
385
- # A list of OpendID Connect provider ARNs.
385
+ # The Amazon Resource Names (ARN) of the OpenID Connect providers.
386
386
  #
387
387
  # @option params [Array<Types::CognitoIdentityProvider>] :cognito_identity_providers
388
388
  # An array of Amazon Cognito user pools and their client IDs.
@@ -634,13 +634,13 @@ module Aws::CognitoIdentity
634
634
  # unauthenticated identity.
635
635
  #
636
636
  # The Logins parameter is required when using identities associated with
637
- # external identity providers such as FaceBook. For examples of `Logins`
637
+ # external identity providers such as Facebook. For examples of `Logins`
638
638
  # maps, see the code examples in the [External Identity Providers][1]
639
639
  # section of the Amazon Cognito Developer Guide.
640
640
  #
641
641
  #
642
642
  #
643
- # [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html
643
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html
644
644
  #
645
645
  # @option params [String] :custom_role_arn
646
646
  # The Amazon Resource Name (ARN) of the role to be assumed when multiple
@@ -783,7 +783,7 @@ module Aws::CognitoIdentity
783
783
  # is returned by GetId. You can optionally add additional logins for the
784
784
  # identity. Supplying multiple logins creates an implicit link.
785
785
  #
786
- # The OpenId token is valid for 10 minutes.
786
+ # The OpenID token is valid for 10 minutes.
787
787
  #
788
788
  # This is a public API. You do not need any credentials to call this
789
789
  # API.
@@ -796,7 +796,7 @@ module Aws::CognitoIdentity
796
796
  # tokens. When using graph.facebook.com and www.amazon.com, supply the
797
797
  # access\_token returned from the provider's authflow. For
798
798
  # accounts.google.com, an Amazon Cognito user pool provider, or any
799
- # other OpenId Connect provider, always include the `id_token`.
799
+ # other OpenID Connect provider, always include the `id_token`.
800
800
  #
801
801
  # @return [Types::GetOpenIdTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
802
802
  #
@@ -862,6 +862,10 @@ module Aws::CognitoIdentity
862
862
  # a user. When you create an identity pool, you can specify the
863
863
  # supported logins.
864
864
  #
865
+ # @option params [Hash<String,String>] :principal_tags
866
+ # Use this operation to configure attribute mappings for custom
867
+ # providers.
868
+ #
865
869
  # @option params [Integer] :token_duration
866
870
  # The expiration time of the token, in seconds. You can specify a custom
867
871
  # expiration time for the token so that you can cache it. If you don't
@@ -891,6 +895,9 @@ module Aws::CognitoIdentity
891
895
  # logins: { # required
892
896
  # "IdentityProviderName" => "IdentityProviderToken",
893
897
  # },
898
+ # principal_tags: {
899
+ # "PrincipalTagID" => "PrincipalTagValue",
900
+ # },
894
901
  # token_duration: 1,
895
902
  # })
896
903
  #
@@ -908,6 +915,47 @@ module Aws::CognitoIdentity
908
915
  req.send_request(options)
909
916
  end
910
917
 
918
+ # Use `GetPrincipalTagAttributeMap` to list all mappings between
919
+ # `PrincipalTags` and user attributes.
920
+ #
921
+ # @option params [required, String] :identity_pool_id
922
+ # You can use this operation to get the ID of the Identity Pool you
923
+ # setup attribute mappings for.
924
+ #
925
+ # @option params [required, String] :identity_provider_name
926
+ # You can use this operation to get the provider name.
927
+ #
928
+ # @return [Types::GetPrincipalTagAttributeMapResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
929
+ #
930
+ # * {Types::GetPrincipalTagAttributeMapResponse#identity_pool_id #identity_pool_id} => String
931
+ # * {Types::GetPrincipalTagAttributeMapResponse#identity_provider_name #identity_provider_name} => String
932
+ # * {Types::GetPrincipalTagAttributeMapResponse#use_defaults #use_defaults} => Boolean
933
+ # * {Types::GetPrincipalTagAttributeMapResponse#principal_tags #principal_tags} => Hash&lt;String,String&gt;
934
+ #
935
+ # @example Request syntax with placeholder values
936
+ #
937
+ # resp = client.get_principal_tag_attribute_map({
938
+ # identity_pool_id: "IdentityPoolId", # required
939
+ # identity_provider_name: "IdentityProviderName", # required
940
+ # })
941
+ #
942
+ # @example Response structure
943
+ #
944
+ # resp.identity_pool_id #=> String
945
+ # resp.identity_provider_name #=> String
946
+ # resp.use_defaults #=> Boolean
947
+ # resp.principal_tags #=> Hash
948
+ # resp.principal_tags["PrincipalTagID"] #=> String
949
+ #
950
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetPrincipalTagAttributeMap AWS API Documentation
951
+ #
952
+ # @overload get_principal_tag_attribute_map(params = {})
953
+ # @param [Hash] params ({})
954
+ def get_principal_tag_attribute_map(params = {}, options = {})
955
+ req = build_request(:get_principal_tag_attribute_map, params)
956
+ req.send_request(options)
957
+ end
958
+
911
959
  # Lists the identities in an identity pool.
912
960
  #
913
961
  # You must use AWS Developer credentials to call this API.
@@ -976,6 +1024,8 @@ module Aws::CognitoIdentity
976
1024
  # * {Types::ListIdentityPoolsResponse#identity_pools #identity_pools} => Array&lt;Types::IdentityPoolShortDescription&gt;
977
1025
  # * {Types::ListIdentityPoolsResponse#next_token #next_token} => String
978
1026
  #
1027
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1028
+ #
979
1029
  # @example Request syntax with placeholder values
980
1030
  #
981
1031
  # resp = client.list_identity_pools({
@@ -1189,7 +1239,7 @@ module Aws::CognitoIdentity
1189
1239
  # How users for a specific identity provider are to mapped to roles.
1190
1240
  # This is a string to RoleMapping object map. The string identifies the
1191
1241
  # identity provider, for example, "graph.facebook.com" or
1192
- # "cognito-idp-east-1.amazonaws.com/us-east-1\_abcdefghi:app\_client\_id".
1242
+ # "cognito-idp.us-east-1.amazonaws.com/us-east-1\_abcdefghi:app\_client\_id".
1193
1243
  #
1194
1244
  # Up to 25 rules can be specified per identity provider.
1195
1245
  #
@@ -1229,10 +1279,61 @@ module Aws::CognitoIdentity
1229
1279
  req.send_request(options)
1230
1280
  end
1231
1281
 
1232
- # Assigns a set of tags to an Amazon Cognito identity pool. A tag is a
1233
- # label that you can use to categorize and manage identity pools in
1234
- # different ways, such as by purpose, owner, environment, or other
1235
- # criteria.
1282
+ # You can use this operation to use default (username and clientID)
1283
+ # attribute or custom attribute mappings.
1284
+ #
1285
+ # @option params [required, String] :identity_pool_id
1286
+ # The ID of the Identity Pool you want to set attribute mappings for.
1287
+ #
1288
+ # @option params [required, String] :identity_provider_name
1289
+ # The provider name you want to use for attribute mappings.
1290
+ #
1291
+ # @option params [Boolean] :use_defaults
1292
+ # You can use this operation to use default (username and clientID)
1293
+ # attribute mappings.
1294
+ #
1295
+ # @option params [Hash<String,String>] :principal_tags
1296
+ # You can use this operation to add principal tags.
1297
+ #
1298
+ # @return [Types::SetPrincipalTagAttributeMapResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1299
+ #
1300
+ # * {Types::SetPrincipalTagAttributeMapResponse#identity_pool_id #identity_pool_id} => String
1301
+ # * {Types::SetPrincipalTagAttributeMapResponse#identity_provider_name #identity_provider_name} => String
1302
+ # * {Types::SetPrincipalTagAttributeMapResponse#use_defaults #use_defaults} => Boolean
1303
+ # * {Types::SetPrincipalTagAttributeMapResponse#principal_tags #principal_tags} => Hash&lt;String,String&gt;
1304
+ #
1305
+ # @example Request syntax with placeholder values
1306
+ #
1307
+ # resp = client.set_principal_tag_attribute_map({
1308
+ # identity_pool_id: "IdentityPoolId", # required
1309
+ # identity_provider_name: "IdentityProviderName", # required
1310
+ # use_defaults: false,
1311
+ # principal_tags: {
1312
+ # "PrincipalTagID" => "PrincipalTagValue",
1313
+ # },
1314
+ # })
1315
+ #
1316
+ # @example Response structure
1317
+ #
1318
+ # resp.identity_pool_id #=> String
1319
+ # resp.identity_provider_name #=> String
1320
+ # resp.use_defaults #=> Boolean
1321
+ # resp.principal_tags #=> Hash
1322
+ # resp.principal_tags["PrincipalTagID"] #=> String
1323
+ #
1324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetPrincipalTagAttributeMap AWS API Documentation
1325
+ #
1326
+ # @overload set_principal_tag_attribute_map(params = {})
1327
+ # @param [Hash] params ({})
1328
+ def set_principal_tag_attribute_map(params = {}, options = {})
1329
+ req = build_request(:set_principal_tag_attribute_map, params)
1330
+ req.send_request(options)
1331
+ end
1332
+
1333
+ # Assigns a set of tags to the specified Amazon Cognito identity pool. A
1334
+ # tag is a label that you can use to categorize and manage identity
1335
+ # pools in different ways, such as by purpose, owner, environment, or
1336
+ # other criteria.
1236
1337
  #
1237
1338
  # Each tag consists of a key and value, both of which you define. A key
1238
1339
  # is a general category for more specific values. For example, if you
@@ -1251,8 +1352,7 @@ module Aws::CognitoIdentity
1251
1352
  # identity pool can have as many as 50 tags.
1252
1353
  #
1253
1354
  # @option params [required, String] :resource_arn
1254
- # The Amazon Resource Name (ARN) of the identity pool to assign the tags
1255
- # to.
1355
+ # The Amazon Resource Name (ARN) of the identity pool.
1256
1356
  #
1257
1357
  # @option params [required, Hash<String,String>] :tags
1258
1358
  # The tags to assign to the identity pool.
@@ -1356,12 +1456,11 @@ module Aws::CognitoIdentity
1356
1456
  req.send_request(options)
1357
1457
  end
1358
1458
 
1359
- # Removes the specified tags from an Amazon Cognito identity pool. You
1360
- # can use this action up to 5 times per second, per account
1459
+ # Removes the specified tags from the specified Amazon Cognito identity
1460
+ # pool. You can use this action up to 5 times per second, per account
1361
1461
  #
1362
1462
  # @option params [required, String] :resource_arn
1363
- # The Amazon Resource Name (ARN) of the identity pool that the tags are
1364
- # assigned to.
1463
+ # The Amazon Resource Name (ARN) of the identity pool.
1365
1464
  #
1366
1465
  # @option params [required, Array<String>] :tag_keys
1367
1466
  # The keys of the tags to remove from the user pool.
@@ -1413,7 +1512,7 @@ module Aws::CognitoIdentity
1413
1512
  # The "domain" by which Cognito will refer to your users.
1414
1513
  #
1415
1514
  # @option params [Array<String>] :open_id_connect_provider_arns
1416
- # A list of OpendID Connect provider ARNs.
1515
+ # The ARNs of the OpenID Connect providers.
1417
1516
  #
1418
1517
  # @option params [Array<Types::CognitoIdentityProvider>] :cognito_identity_providers
1419
1518
  # A list representing an Amazon Cognito user pool and its client ID.
@@ -1508,7 +1607,7 @@ module Aws::CognitoIdentity
1508
1607
  params: params,
1509
1608
  config: config)
1510
1609
  context[:gem_name] = 'aws-sdk-cognitoidentity'
1511
- context[:gem_version] = '1.26.0'
1610
+ context[:gem_version] = '1.31.0'
1512
1611
  Seahorse::Client::Request.new(handlers, context)
1513
1612
  end
1514
1613
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -50,6 +50,8 @@ module Aws::CognitoIdentity
50
50
  GetOpenIdTokenForDeveloperIdentityResponse = Shapes::StructureShape.new(name: 'GetOpenIdTokenForDeveloperIdentityResponse')
51
51
  GetOpenIdTokenInput = Shapes::StructureShape.new(name: 'GetOpenIdTokenInput')
52
52
  GetOpenIdTokenResponse = Shapes::StructureShape.new(name: 'GetOpenIdTokenResponse')
53
+ GetPrincipalTagAttributeMapInput = Shapes::StructureShape.new(name: 'GetPrincipalTagAttributeMapInput')
54
+ GetPrincipalTagAttributeMapResponse = Shapes::StructureShape.new(name: 'GetPrincipalTagAttributeMapResponse')
53
55
  HideDisabled = Shapes::BooleanShape.new(name: 'HideDisabled')
54
56
  IdentitiesList = Shapes::ListShape.new(name: 'IdentitiesList')
55
57
  IdentityDescription = Shapes::StructureShape.new(name: 'IdentityDescription')
@@ -90,6 +92,9 @@ module Aws::CognitoIdentity
90
92
  OIDCProviderList = Shapes::ListShape.new(name: 'OIDCProviderList')
91
93
  OIDCToken = Shapes::StringShape.new(name: 'OIDCToken')
92
94
  PaginationKey = Shapes::StringShape.new(name: 'PaginationKey')
95
+ PrincipalTagID = Shapes::StringShape.new(name: 'PrincipalTagID')
96
+ PrincipalTagValue = Shapes::StringShape.new(name: 'PrincipalTagValue')
97
+ PrincipalTags = Shapes::MapShape.new(name: 'PrincipalTags')
93
98
  QueryLimit = Shapes::IntegerShape.new(name: 'QueryLimit')
94
99
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
95
100
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -103,6 +108,8 @@ module Aws::CognitoIdentity
103
108
  SecretKeyString = Shapes::StringShape.new(name: 'SecretKeyString')
104
109
  SessionTokenString = Shapes::StringShape.new(name: 'SessionTokenString')
105
110
  SetIdentityPoolRolesInput = Shapes::StructureShape.new(name: 'SetIdentityPoolRolesInput')
111
+ SetPrincipalTagAttributeMapInput = Shapes::StructureShape.new(name: 'SetPrincipalTagAttributeMapInput')
112
+ SetPrincipalTagAttributeMapResponse = Shapes::StructureShape.new(name: 'SetPrincipalTagAttributeMapResponse')
106
113
  String = Shapes::StringShape.new(name: 'String')
107
114
  TagKeysType = Shapes::StringShape.new(name: 'TagKeysType')
108
115
  TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
@@ -116,6 +123,7 @@ module Aws::CognitoIdentity
116
123
  UnprocessedIdentityIdList = Shapes::ListShape.new(name: 'UnprocessedIdentityIdList')
117
124
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
118
125
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
126
+ UseDefaults = Shapes::BooleanShape.new(name: 'UseDefaults')
119
127
 
120
128
  CognitoIdentityProvider.add_member(:provider_name, Shapes::ShapeRef.new(shape: CognitoIdentityProviderName, location_name: "ProviderName"))
121
129
  CognitoIdentityProvider.add_member(:client_id, Shapes::ShapeRef.new(shape: CognitoIdentityProviderClientId, location_name: "ClientId"))
@@ -195,6 +203,7 @@ module Aws::CognitoIdentity
195
203
  GetOpenIdTokenForDeveloperIdentityInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
196
204
  GetOpenIdTokenForDeveloperIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
197
205
  GetOpenIdTokenForDeveloperIdentityInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, required: true, location_name: "Logins"))
206
+ GetOpenIdTokenForDeveloperIdentityInput.add_member(:principal_tags, Shapes::ShapeRef.new(shape: PrincipalTags, location_name: "PrincipalTags"))
198
207
  GetOpenIdTokenForDeveloperIdentityInput.add_member(:token_duration, Shapes::ShapeRef.new(shape: TokenDuration, location_name: "TokenDuration"))
199
208
  GetOpenIdTokenForDeveloperIdentityInput.struct_class = Types::GetOpenIdTokenForDeveloperIdentityInput
200
209
 
@@ -210,6 +219,16 @@ module Aws::CognitoIdentity
210
219
  GetOpenIdTokenResponse.add_member(:token, Shapes::ShapeRef.new(shape: OIDCToken, location_name: "Token"))
211
220
  GetOpenIdTokenResponse.struct_class = Types::GetOpenIdTokenResponse
212
221
 
222
+ GetPrincipalTagAttributeMapInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
223
+ GetPrincipalTagAttributeMapInput.add_member(:identity_provider_name, Shapes::ShapeRef.new(shape: IdentityProviderName, required: true, location_name: "IdentityProviderName"))
224
+ GetPrincipalTagAttributeMapInput.struct_class = Types::GetPrincipalTagAttributeMapInput
225
+
226
+ GetPrincipalTagAttributeMapResponse.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
227
+ GetPrincipalTagAttributeMapResponse.add_member(:identity_provider_name, Shapes::ShapeRef.new(shape: IdentityProviderName, location_name: "IdentityProviderName"))
228
+ GetPrincipalTagAttributeMapResponse.add_member(:use_defaults, Shapes::ShapeRef.new(shape: UseDefaults, location_name: "UseDefaults"))
229
+ GetPrincipalTagAttributeMapResponse.add_member(:principal_tags, Shapes::ShapeRef.new(shape: PrincipalTags, location_name: "PrincipalTags"))
230
+ GetPrincipalTagAttributeMapResponse.struct_class = Types::GetPrincipalTagAttributeMapResponse
231
+
213
232
  IdentitiesList.member = Shapes::ShapeRef.new(shape: IdentityDescription)
214
233
 
215
234
  IdentityDescription.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
@@ -322,6 +341,9 @@ module Aws::CognitoIdentity
322
341
 
323
342
  OIDCProviderList.member = Shapes::ShapeRef.new(shape: ARNString)
324
343
 
344
+ PrincipalTags.key = Shapes::ShapeRef.new(shape: PrincipalTagID)
345
+ PrincipalTags.value = Shapes::ShapeRef.new(shape: PrincipalTagValue)
346
+
325
347
  ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
326
348
  ResourceConflictException.struct_class = Types::ResourceConflictException
327
349
 
@@ -349,6 +371,18 @@ module Aws::CognitoIdentity
349
371
  SetIdentityPoolRolesInput.add_member(:role_mappings, Shapes::ShapeRef.new(shape: RoleMappingMap, location_name: "RoleMappings"))
350
372
  SetIdentityPoolRolesInput.struct_class = Types::SetIdentityPoolRolesInput
351
373
 
374
+ SetPrincipalTagAttributeMapInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
375
+ SetPrincipalTagAttributeMapInput.add_member(:identity_provider_name, Shapes::ShapeRef.new(shape: IdentityProviderName, required: true, location_name: "IdentityProviderName"))
376
+ SetPrincipalTagAttributeMapInput.add_member(:use_defaults, Shapes::ShapeRef.new(shape: UseDefaults, location_name: "UseDefaults"))
377
+ SetPrincipalTagAttributeMapInput.add_member(:principal_tags, Shapes::ShapeRef.new(shape: PrincipalTags, location_name: "PrincipalTags"))
378
+ SetPrincipalTagAttributeMapInput.struct_class = Types::SetPrincipalTagAttributeMapInput
379
+
380
+ SetPrincipalTagAttributeMapResponse.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
381
+ SetPrincipalTagAttributeMapResponse.add_member(:identity_provider_name, Shapes::ShapeRef.new(shape: IdentityProviderName, location_name: "IdentityProviderName"))
382
+ SetPrincipalTagAttributeMapResponse.add_member(:use_defaults, Shapes::ShapeRef.new(shape: UseDefaults, location_name: "UseDefaults"))
383
+ SetPrincipalTagAttributeMapResponse.add_member(:principal_tags, Shapes::ShapeRef.new(shape: PrincipalTags, location_name: "PrincipalTags"))
384
+ SetPrincipalTagAttributeMapResponse.struct_class = Types::SetPrincipalTagAttributeMapResponse
385
+
352
386
  TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARNString, required: true, location_name: "ResourceArn"))
353
387
  TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: IdentityPoolTagsType, required: true, location_name: "Tags"))
354
388
  TagResourceInput.struct_class = Types::TagResourceInput
@@ -542,6 +576,19 @@ module Aws::CognitoIdentity
542
576
  o.errors << Shapes::ShapeRef.new(shape: DeveloperUserAlreadyRegisteredException)
543
577
  end)
544
578
 
579
+ api.add_operation(:get_principal_tag_attribute_map, Seahorse::Model::Operation.new.tap do |o|
580
+ o.name = "GetPrincipalTagAttributeMap"
581
+ o.http_method = "POST"
582
+ o.http_request_uri = "/"
583
+ o.input = Shapes::ShapeRef.new(shape: GetPrincipalTagAttributeMapInput)
584
+ o.output = Shapes::ShapeRef.new(shape: GetPrincipalTagAttributeMapResponse)
585
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
586
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
587
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
588
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
589
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
590
+ end)
591
+
545
592
  api.add_operation(:list_identities, Seahorse::Model::Operation.new.tap do |o|
546
593
  o.name = "ListIdentities"
547
594
  o.http_method = "POST"
@@ -566,6 +613,12 @@ module Aws::CognitoIdentity
566
613
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
567
614
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
568
615
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
616
+ o[:pager] = Aws::Pager.new(
617
+ limit_key: "max_results",
618
+ tokens: {
619
+ "next_token" => "next_token"
620
+ }
621
+ )
569
622
  end)
570
623
 
571
624
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -624,6 +677,19 @@ module Aws::CognitoIdentity
624
677
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
625
678
  end)
626
679
 
680
+ api.add_operation(:set_principal_tag_attribute_map, Seahorse::Model::Operation.new.tap do |o|
681
+ o.name = "SetPrincipalTagAttributeMap"
682
+ o.http_method = "POST"
683
+ o.http_request_uri = "/"
684
+ o.input = Shapes::ShapeRef.new(shape: SetPrincipalTagAttributeMapInput)
685
+ o.output = Shapes::ShapeRef.new(shape: SetPrincipalTagAttributeMapResponse)
686
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
687
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
688
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
689
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
690
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
691
+ end)
692
+
627
693
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
628
694
  o.name = "TagResource"
629
695
  o.http_method = "POST"
@@ -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/master/CONTRIBUTING.md
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/master/CONTRIBUTING.md
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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -129,7 +129,7 @@ module Aws::CognitoIdentity
129
129
  # @return [String]
130
130
  #
131
131
  # @!attribute [rw] open_id_connect_provider_arns
132
- # A list of OpendID Connect provider ARNs.
132
+ # The Amazon Resource Names (ARN) of the OpenID Connect providers.
133
133
  # @return [Array<String>]
134
134
  #
135
135
  # @!attribute [rw] cognito_identity_providers
@@ -347,13 +347,13 @@ module Aws::CognitoIdentity
347
347
  # unauthenticated identity.
348
348
  #
349
349
  # The Logins parameter is required when using identities associated
350
- # with external identity providers such as FaceBook. For examples of
350
+ # with external identity providers such as Facebook. For examples of
351
351
  # `Logins` maps, see the code examples in the [External Identity
352
352
  # Providers][1] section of the Amazon Cognito Developer Guide.
353
353
  #
354
354
  #
355
355
  #
356
- # [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html
356
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html
357
357
  # @return [Hash<String,String>]
358
358
  #
359
359
  # @!attribute [rw] custom_role_arn
@@ -520,6 +520,9 @@ module Aws::CognitoIdentity
520
520
  # logins: { # required
521
521
  # "IdentityProviderName" => "IdentityProviderToken",
522
522
  # },
523
+ # principal_tags: {
524
+ # "PrincipalTagID" => "PrincipalTagValue",
525
+ # },
523
526
  # token_duration: 1,
524
527
  # }
525
528
  #
@@ -544,6 +547,11 @@ module Aws::CognitoIdentity
544
547
  # identity pool, you can specify the supported logins.
545
548
  # @return [Hash<String,String>]
546
549
  #
550
+ # @!attribute [rw] principal_tags
551
+ # Use this operation to configure attribute mappings for custom
552
+ # providers.
553
+ # @return [Hash<String,String>]
554
+ #
547
555
  # @!attribute [rw] token_duration
548
556
  # The expiration time of the token, in seconds. You can specify a
549
557
  # custom expiration time for the token so that you can cache it. If
@@ -567,6 +575,7 @@ module Aws::CognitoIdentity
567
575
  :identity_pool_id,
568
576
  :identity_id,
569
577
  :logins,
578
+ :principal_tags,
570
579
  :token_duration)
571
580
  SENSITIVE = []
572
581
  include Aws::Structure
@@ -613,7 +622,7 @@ module Aws::CognitoIdentity
613
622
  # provider tokens. When using graph.facebook.com and www.amazon.com,
614
623
  # supply the access\_token returned from the provider's authflow. For
615
624
  # accounts.google.com, an Amazon Cognito user pool provider, or any
616
- # other OpenId Connect provider, always include the `id_token`.
625
+ # other OpenID Connect provider, always include the `id_token`.
617
626
  # @return [Hash<String,String>]
618
627
  #
619
628
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenInput AWS API Documentation
@@ -645,6 +654,62 @@ module Aws::CognitoIdentity
645
654
  include Aws::Structure
646
655
  end
647
656
 
657
+ # @note When making an API call, you may pass GetPrincipalTagAttributeMapInput
658
+ # data as a hash:
659
+ #
660
+ # {
661
+ # identity_pool_id: "IdentityPoolId", # required
662
+ # identity_provider_name: "IdentityProviderName", # required
663
+ # }
664
+ #
665
+ # @!attribute [rw] identity_pool_id
666
+ # You can use this operation to get the ID of the Identity Pool you
667
+ # setup attribute mappings for.
668
+ # @return [String]
669
+ #
670
+ # @!attribute [rw] identity_provider_name
671
+ # You can use this operation to get the provider name.
672
+ # @return [String]
673
+ #
674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetPrincipalTagAttributeMapInput AWS API Documentation
675
+ #
676
+ class GetPrincipalTagAttributeMapInput < Struct.new(
677
+ :identity_pool_id,
678
+ :identity_provider_name)
679
+ SENSITIVE = []
680
+ include Aws::Structure
681
+ end
682
+
683
+ # @!attribute [rw] identity_pool_id
684
+ # You can use this operation to get the ID of the Identity Pool you
685
+ # setup attribute mappings for.
686
+ # @return [String]
687
+ #
688
+ # @!attribute [rw] identity_provider_name
689
+ # You can use this operation to get the provider name.
690
+ # @return [String]
691
+ #
692
+ # @!attribute [rw] use_defaults
693
+ # You can use this operation to list
694
+ # @return [Boolean]
695
+ #
696
+ # @!attribute [rw] principal_tags
697
+ # You can use this operation to add principal tags. The
698
+ # `PrincipalTags`operation enables you to reference user attributes in
699
+ # your IAM permissions policy.
700
+ # @return [Hash<String,String>]
701
+ #
702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetPrincipalTagAttributeMapResponse AWS API Documentation
703
+ #
704
+ class GetPrincipalTagAttributeMapResponse < Struct.new(
705
+ :identity_pool_id,
706
+ :identity_provider_name,
707
+ :use_defaults,
708
+ :principal_tags)
709
+ SENSITIVE = []
710
+ include Aws::Structure
711
+ end
712
+
648
713
  # A description of the identity.
649
714
  #
650
715
  # @!attribute [rw] identity_id
@@ -733,7 +798,7 @@ module Aws::CognitoIdentity
733
798
  # @return [String]
734
799
  #
735
800
  # @!attribute [rw] open_id_connect_provider_arns
736
- # A list of OpendID Connect provider ARNs.
801
+ # The ARNs of the OpenID Connect providers.
737
802
  # @return [Array<String>]
738
803
  #
739
804
  # @!attribute [rw] cognito_identity_providers
@@ -1352,7 +1417,7 @@ module Aws::CognitoIdentity
1352
1417
  # How users for a specific identity provider are to mapped to roles.
1353
1418
  # This is a string to RoleMapping object map. The string identifies
1354
1419
  # the identity provider, for example, "graph.facebook.com" or
1355
- # "cognito-idp-east-1.amazonaws.com/us-east-1\_abcdefghi:app\_client\_id".
1420
+ # "cognito-idp.us-east-1.amazonaws.com/us-east-1\_abcdefghi:app\_client\_id".
1356
1421
  #
1357
1422
  # Up to 25 rules can be specified per identity provider.
1358
1423
  # @return [Hash<String,Types::RoleMapping>]
@@ -1367,6 +1432,76 @@ module Aws::CognitoIdentity
1367
1432
  include Aws::Structure
1368
1433
  end
1369
1434
 
1435
+ # @note When making an API call, you may pass SetPrincipalTagAttributeMapInput
1436
+ # data as a hash:
1437
+ #
1438
+ # {
1439
+ # identity_pool_id: "IdentityPoolId", # required
1440
+ # identity_provider_name: "IdentityProviderName", # required
1441
+ # use_defaults: false,
1442
+ # principal_tags: {
1443
+ # "PrincipalTagID" => "PrincipalTagValue",
1444
+ # },
1445
+ # }
1446
+ #
1447
+ # @!attribute [rw] identity_pool_id
1448
+ # The ID of the Identity Pool you want to set attribute mappings for.
1449
+ # @return [String]
1450
+ #
1451
+ # @!attribute [rw] identity_provider_name
1452
+ # The provider name you want to use for attribute mappings.
1453
+ # @return [String]
1454
+ #
1455
+ # @!attribute [rw] use_defaults
1456
+ # You can use this operation to use default (username and clientID)
1457
+ # attribute mappings.
1458
+ # @return [Boolean]
1459
+ #
1460
+ # @!attribute [rw] principal_tags
1461
+ # You can use this operation to add principal tags.
1462
+ # @return [Hash<String,String>]
1463
+ #
1464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetPrincipalTagAttributeMapInput AWS API Documentation
1465
+ #
1466
+ class SetPrincipalTagAttributeMapInput < Struct.new(
1467
+ :identity_pool_id,
1468
+ :identity_provider_name,
1469
+ :use_defaults,
1470
+ :principal_tags)
1471
+ SENSITIVE = []
1472
+ include Aws::Structure
1473
+ end
1474
+
1475
+ # @!attribute [rw] identity_pool_id
1476
+ # The ID of the Identity Pool you want to set attribute mappings for.
1477
+ # @return [String]
1478
+ #
1479
+ # @!attribute [rw] identity_provider_name
1480
+ # The provider name you want to use for attribute mappings.
1481
+ # @return [String]
1482
+ #
1483
+ # @!attribute [rw] use_defaults
1484
+ # You can use this operation to select default (username and clientID)
1485
+ # attribute mappings.
1486
+ # @return [Boolean]
1487
+ #
1488
+ # @!attribute [rw] principal_tags
1489
+ # You can use this operation to add principal tags. The
1490
+ # `PrincipalTags`operation enables you to reference user attributes in
1491
+ # your IAM permissions policy.
1492
+ # @return [Hash<String,String>]
1493
+ #
1494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetPrincipalTagAttributeMapResponse AWS API Documentation
1495
+ #
1496
+ class SetPrincipalTagAttributeMapResponse < Struct.new(
1497
+ :identity_pool_id,
1498
+ :identity_provider_name,
1499
+ :use_defaults,
1500
+ :principal_tags)
1501
+ SENSITIVE = []
1502
+ include Aws::Structure
1503
+ end
1504
+
1370
1505
  # @note When making an API call, you may pass TagResourceInput
1371
1506
  # data as a hash:
1372
1507
  #
@@ -1378,8 +1513,7 @@ module Aws::CognitoIdentity
1378
1513
  # }
1379
1514
  #
1380
1515
  # @!attribute [rw] resource_arn
1381
- # The Amazon Resource Name (ARN) of the identity pool to assign the
1382
- # tags to.
1516
+ # The Amazon Resource Name (ARN) of the identity pool.
1383
1517
  # @return [String]
1384
1518
  #
1385
1519
  # @!attribute [rw] tags
@@ -1518,8 +1652,7 @@ module Aws::CognitoIdentity
1518
1652
  # }
1519
1653
  #
1520
1654
  # @!attribute [rw] resource_arn
1521
- # The Amazon Resource Name (ARN) of the identity pool that the tags
1522
- # are assigned to.
1655
+ # The Amazon Resource Name (ARN) of the identity pool.
1523
1656
  # @return [String]
1524
1657
  #
1525
1658
  # @!attribute [rw] tag_keys
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cognitoidentity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.26.0
4
+ version: 1.31.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: 2020-09-15 00:00:00.000000000 Z
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.99.0
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.99.0
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. This gem is part of
48
48
  the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
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-cognitoidentity.rb
56
59
  - lib/aws-sdk-cognitoidentity/client.rb
57
60
  - lib/aws-sdk-cognitoidentity/client_api.rb