aws-sdk-cognitoidentity 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d62af95e74b8573cc6e9b3f886af646828fbdfcd
4
- data.tar.gz: 973689e16cd1d0333ae6b1c8c9eae18b5ded9af2
3
+ metadata.gz: cd82aeae60b775beaf10b77c644f57bb8e505fdf
4
+ data.tar.gz: c95aeec730bbd63fc3ab5328ddf32b5f395d5531
5
5
  SHA512:
6
- metadata.gz: 6db225e4ae81f6941875af118ad801c2278c4f205d74e4d90b90c57d2347d08ef751e50e273672ecc678611fbaef0a457680056bd554130eda5a7598a51af6e6
7
- data.tar.gz: f7d6f11e5c071dbed10db046276c33a7037dc0da0eb2412b82b577f6f296daa022bdab7f7d8f734c07f85dec4e9cf2489c5441de8ef9558b83870af129395bf5
6
+ metadata.gz: d23930d2ae96b504729e930c06fb70fc35fa74f56f49e1e1b5580d0390525851ab07749186c03db75cadb3b9730756b28e1e39d40a4b4cf4d644c307b5b611c4
7
+ data.tar.gz: da2ffc18beb414452e72f7bd5ee3515a6b9e644b8416a820018228e59758692c1ff2c0e2fb596661da0dd3a7f1f09adbb9110d8bca094acf35d4a1ae993a7919
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cognitoidentity/customizations'
42
42
  # @service
43
43
  module Aws::CognitoIdentity
44
44
 
45
- GEM_VERSION = '1.12.0'
45
+ GEM_VERSION = '1.13.0'
46
46
 
47
47
  end
@@ -1401,7 +1401,7 @@ module Aws::CognitoIdentity
1401
1401
  params: params,
1402
1402
  config: config)
1403
1403
  context[:gem_name] = 'aws-sdk-cognitoidentity'
1404
- context[:gem_version] = '1.12.0'
1404
+ context[:gem_version] = '1.13.0'
1405
1405
  Seahorse::Client::Request.new(handlers, context)
1406
1406
  end
1407
1407
 
@@ -121,6 +121,9 @@ module Aws::CognitoIdentity
121
121
 
122
122
  CognitoIdentityProviderList.member = Shapes::ShapeRef.new(shape: CognitoIdentityProvider)
123
123
 
124
+ ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
125
+ ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
126
+
124
127
  CreateIdentityPoolInput.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, required: true, location_name: "IdentityPoolName"))
125
128
  CreateIdentityPoolInput.add_member(:allow_unauthenticated_identities, Shapes::ShapeRef.new(shape: IdentityPoolUnauthenticated, required: true, location_name: "AllowUnauthenticatedIdentities"))
126
129
  CreateIdentityPoolInput.add_member(:supported_login_providers, Shapes::ShapeRef.new(shape: IdentityProviders, location_name: "SupportedLoginProviders"))
@@ -152,8 +155,14 @@ module Aws::CognitoIdentity
152
155
  DescribeIdentityPoolInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
153
156
  DescribeIdentityPoolInput.struct_class = Types::DescribeIdentityPoolInput
154
157
 
158
+ DeveloperUserAlreadyRegisteredException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
159
+ DeveloperUserAlreadyRegisteredException.struct_class = Types::DeveloperUserAlreadyRegisteredException
160
+
155
161
  DeveloperUserIdentifierList.member = Shapes::ShapeRef.new(shape: DeveloperUserIdentifier)
156
162
 
163
+ ExternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
164
+ ExternalServiceException.struct_class = Types::ExternalServiceException
165
+
157
166
  GetCredentialsForIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
158
167
  GetCredentialsForIdentityInput.add_member(:logins, Shapes::ShapeRef.new(shape: LoginsMap, location_name: "Logins"))
159
168
  GetCredentialsForIdentityInput.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: ARNString, location_name: "CustomRoleArn"))
@@ -232,6 +241,18 @@ module Aws::CognitoIdentity
232
241
  IdentityProviders.key = Shapes::ShapeRef.new(shape: IdentityProviderName)
233
242
  IdentityProviders.value = Shapes::ShapeRef.new(shape: IdentityProviderId)
234
243
 
244
+ InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
245
+ InternalErrorException.struct_class = Types::InternalErrorException
246
+
247
+ InvalidIdentityPoolConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
248
+ InvalidIdentityPoolConfigurationException.struct_class = Types::InvalidIdentityPoolConfigurationException
249
+
250
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
251
+ InvalidParameterException.struct_class = Types::InvalidParameterException
252
+
253
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
254
+ LimitExceededException.struct_class = Types::LimitExceededException
255
+
235
256
  ListIdentitiesInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
236
257
  ListIdentitiesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryLimit, required: true, location_name: "MaxResults"))
237
258
  ListIdentitiesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
@@ -291,8 +312,17 @@ module Aws::CognitoIdentity
291
312
  MergeDeveloperIdentitiesResponse.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, location_name: "IdentityId"))
292
313
  MergeDeveloperIdentitiesResponse.struct_class = Types::MergeDeveloperIdentitiesResponse
293
314
 
315
+ NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
316
+ NotAuthorizedException.struct_class = Types::NotAuthorizedException
317
+
294
318
  OIDCProviderList.member = Shapes::ShapeRef.new(shape: ARNString)
295
319
 
320
+ ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
321
+ ResourceConflictException.struct_class = Types::ResourceConflictException
322
+
323
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
324
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
325
+
296
326
  RoleMapping.add_member(:type, Shapes::ShapeRef.new(shape: RoleMappingType, required: true, location_name: "Type"))
297
327
  RoleMapping.add_member(:ambiguous_role_resolution, Shapes::ShapeRef.new(shape: AmbiguousRoleResolutionType, location_name: "AmbiguousRoleResolution"))
298
328
  RoleMapping.add_member(:rules_configuration, Shapes::ShapeRef.new(shape: RulesConfigurationType, location_name: "RulesConfiguration"))
@@ -320,6 +350,9 @@ module Aws::CognitoIdentity
320
350
 
321
351
  TagResourceResponse.struct_class = Types::TagResourceResponse
322
352
 
353
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
354
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
355
+
323
356
  UnlinkDeveloperIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
324
357
  UnlinkDeveloperIdentityInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
325
358
  UnlinkDeveloperIdentityInput.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, required: true, location_name: "DeveloperProviderName"))
@@ -10,5 +10,181 @@ module Aws::CognitoIdentity
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class ConcurrentModificationException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::CognitoIdentity::Types::ConcurrentModificationException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class DeveloperUserAlreadyRegisteredException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::CognitoIdentity::Types::DeveloperUserAlreadyRegisteredException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class ExternalServiceException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::CognitoIdentity::Types::ExternalServiceException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class InternalErrorException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::CognitoIdentity::Types::InternalErrorException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class InvalidIdentityPoolConfigurationException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::CognitoIdentity::Types::InvalidIdentityPoolConfigurationException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class InvalidParameterException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::CognitoIdentity::Types::InvalidParameterException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class LimitExceededException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::CognitoIdentity::Types::LimitExceededException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class NotAuthorizedException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::CognitoIdentity::Types::NotAuthorizedException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class ResourceConflictException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::CognitoIdentity::Types::ResourceConflictException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
157
+ class ResourceNotFoundException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::CognitoIdentity::Types::ResourceNotFoundException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ end
172
+
173
+ class TooManyRequestsException < ServiceError
174
+
175
+ # @param [Seahorse::Client::RequestContext] context
176
+ # @param [String] message
177
+ # @param [Aws::CognitoIdentity::Types::TooManyRequestsException] data
178
+ def initialize(context, message, data = Aws::EmptyStructure.new)
179
+ super(context, message, data)
180
+ end
181
+
182
+ # @return [String]
183
+ def message
184
+ @message || @data[:message]
185
+ end
186
+
187
+ end
188
+
13
189
  end
14
190
  end
@@ -51,6 +51,19 @@ module Aws::CognitoIdentity
51
51
  include Aws::Structure
52
52
  end
53
53
 
54
+ # Thrown if there are parallel requests to modify a resource.
55
+ #
56
+ # @!attribute [rw] message
57
+ # The message returned by a ConcurrentModificationException.
58
+ # @return [String]
59
+ #
60
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ConcurrentModificationException AWS API Documentation
61
+ #
62
+ class ConcurrentModificationException < Struct.new(
63
+ :message)
64
+ include Aws::Structure
65
+ end
66
+
54
67
  # Input to the CreateIdentityPool action.
55
68
  #
56
69
  # @note When making an API call, you may pass CreateIdentityPoolInput
@@ -255,6 +268,34 @@ module Aws::CognitoIdentity
255
268
  include Aws::Structure
256
269
  end
257
270
 
271
+ # The provided developer user identifier is already registered with
272
+ # Cognito under a different identity ID.
273
+ #
274
+ # @!attribute [rw] message
275
+ # This developer user identifier is already registered with Cognito.
276
+ # @return [String]
277
+ #
278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeveloperUserAlreadyRegisteredException AWS API Documentation
279
+ #
280
+ class DeveloperUserAlreadyRegisteredException < Struct.new(
281
+ :message)
282
+ include Aws::Structure
283
+ end
284
+
285
+ # An exception thrown when a dependent service such as Facebook or
286
+ # Twitter is not responding
287
+ #
288
+ # @!attribute [rw] message
289
+ # The message returned by an ExternalServiceException
290
+ # @return [String]
291
+ #
292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ExternalServiceException AWS API Documentation
293
+ #
294
+ class ExternalServiceException < Struct.new(
295
+ :message)
296
+ include Aws::Structure
297
+ end
298
+
258
299
  # Input to the `GetCredentialsForIdentity` action.
259
300
  #
260
301
  # @note When making an API call, you may pass GetCredentialsForIdentityInput
@@ -692,6 +733,62 @@ module Aws::CognitoIdentity
692
733
  include Aws::Structure
693
734
  end
694
735
 
736
+ # Thrown when the service encounters an error during processing the
737
+ # request.
738
+ #
739
+ # @!attribute [rw] message
740
+ # The message returned by an InternalErrorException.
741
+ # @return [String]
742
+ #
743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/InternalErrorException AWS API Documentation
744
+ #
745
+ class InternalErrorException < Struct.new(
746
+ :message)
747
+ include Aws::Structure
748
+ end
749
+
750
+ # Thrown if the identity pool has no role associated for the given auth
751
+ # type (auth/unauth) or if the AssumeRole fails.
752
+ #
753
+ # @!attribute [rw] message
754
+ # The message returned for an
755
+ # `InvalidIdentityPoolConfigurationException`
756
+ # @return [String]
757
+ #
758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/InvalidIdentityPoolConfigurationException AWS API Documentation
759
+ #
760
+ class InvalidIdentityPoolConfigurationException < Struct.new(
761
+ :message)
762
+ include Aws::Structure
763
+ end
764
+
765
+ # Thrown for missing or bad input parameter(s).
766
+ #
767
+ # @!attribute [rw] message
768
+ # The message returned by an InvalidParameterException.
769
+ # @return [String]
770
+ #
771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/InvalidParameterException AWS API Documentation
772
+ #
773
+ class InvalidParameterException < Struct.new(
774
+ :message)
775
+ include Aws::Structure
776
+ end
777
+
778
+ # Thrown when the total number of user pools has exceeded a preset
779
+ # limit.
780
+ #
781
+ # @!attribute [rw] message
782
+ # The message returned by a LimitExceededException.
783
+ # @return [String]
784
+ #
785
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LimitExceededException AWS API Documentation
786
+ #
787
+ class LimitExceededException < Struct.new(
788
+ :message)
789
+ include Aws::Structure
790
+ end
791
+
695
792
  # Input to the ListIdentities action.
696
793
  #
697
794
  # @note When making an API call, you may pass ListIdentitiesInput
@@ -1013,6 +1110,47 @@ module Aws::CognitoIdentity
1013
1110
  include Aws::Structure
1014
1111
  end
1015
1112
 
1113
+ # Thrown when a user is not authorized to access the requested resource.
1114
+ #
1115
+ # @!attribute [rw] message
1116
+ # The message returned by a NotAuthorizedException
1117
+ # @return [String]
1118
+ #
1119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/NotAuthorizedException AWS API Documentation
1120
+ #
1121
+ class NotAuthorizedException < Struct.new(
1122
+ :message)
1123
+ include Aws::Structure
1124
+ end
1125
+
1126
+ # Thrown when a user tries to use a login which is already linked to
1127
+ # another account.
1128
+ #
1129
+ # @!attribute [rw] message
1130
+ # The message returned by a ResourceConflictException.
1131
+ # @return [String]
1132
+ #
1133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ResourceConflictException AWS API Documentation
1134
+ #
1135
+ class ResourceConflictException < Struct.new(
1136
+ :message)
1137
+ include Aws::Structure
1138
+ end
1139
+
1140
+ # Thrown when the requested resource (for example, a dataset or record)
1141
+ # does not exist.
1142
+ #
1143
+ # @!attribute [rw] message
1144
+ # The message returned by a ResourceNotFoundException.
1145
+ # @return [String]
1146
+ #
1147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ResourceNotFoundException AWS API Documentation
1148
+ #
1149
+ class ResourceNotFoundException < Struct.new(
1150
+ :message)
1151
+ include Aws::Structure
1152
+ end
1153
+
1016
1154
  # A role mapping.
1017
1155
  #
1018
1156
  # @note When making an API call, you may pass RoleMapping
@@ -1184,6 +1322,19 @@ module Aws::CognitoIdentity
1184
1322
  #
1185
1323
  class TagResourceResponse < Aws::EmptyStructure; end
1186
1324
 
1325
+ # Thrown when a request is throttled.
1326
+ #
1327
+ # @!attribute [rw] message
1328
+ # Message returned by a TooManyRequestsException
1329
+ # @return [String]
1330
+ #
1331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/TooManyRequestsException AWS API Documentation
1332
+ #
1333
+ class TooManyRequestsException < Struct.new(
1334
+ :message)
1335
+ include Aws::Structure
1336
+ end
1337
+
1187
1338
  # Input to the `UnlinkDeveloperIdentity` action.
1188
1339
  #
1189
1340
  # @note When making an API call, you may pass UnlinkDeveloperIdentityInput
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.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement