aws-sdk-cognitoidentity 1.41.0 → 1.42.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: 18f1b58329fcaa4ba8e57fa3a997d5a3732d85ece21aaf8e9e89cfbb9cb91a7b
4
- data.tar.gz: 7e08ec1c39e7760f225968dc002675e82c62ec9ce74fbc9d0dbb252b3ae0224e
3
+ metadata.gz: ac368e4767fd94043f5cf4b35b8f00bf80518d4c23d107aac058fa8a764a392e
4
+ data.tar.gz: 7a6a833b674062c6863dcec1825f8dc84a83516f43d70b739d48b17bfb8a8cd6
5
5
  SHA512:
6
- metadata.gz: fad5dc4be8f2a22d0eb68ab39fc524acc93d8071d0a2cbf24dc81731b914bd2974124416176264cfce714ef81f4b435c0efd3e779525d9c57b75364ec2e2f7d5
7
- data.tar.gz: 36d7af3a536f3d45a154b221b4b2420e7719cf873d581809a720d1be354d53f1b8365b673632e5e58f2b31750fdb0acc7c0fc966e283c85e6718d61d4cfa724e
6
+ metadata.gz: 350de19578a9204faec6cc8e0648640d8c67dfee5dcd99f1e3365e6db905b7503329f6840a53130b4b57ca38e757872122747d897227aff7ff743d9d4d5318af
7
+ data.tar.gz: 5c7ca81ff56bd7aab15d3bfba7d9ba475a60b72e680f5b8abcec3164d2fd2a6499f3986e5336f8bf57f29cbefca4ea7ccc74f6322f04018ab4ee3606f7afed19
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.41.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -288,4 +295,4 @@ Unreleased Changes
288
295
  1.0.0.rc1 (2016-12-05)
289
296
  ------------------
290
297
 
291
- * Feature - Initial preview release of the `aws-sdk-cognitoidentity` gem.
298
+ * Feature - Initial preview release of the `aws-sdk-cognitoidentity` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.41.0
1
+ 1.42.0
@@ -1648,7 +1648,7 @@ module Aws::CognitoIdentity
1648
1648
  params: params,
1649
1649
  config: config)
1650
1650
  context[:gem_name] = 'aws-sdk-cognitoidentity'
1651
- context[:gem_version] = '1.41.0'
1651
+ context[:gem_version] = '1.42.0'
1652
1652
  Seahorse::Client::Request.new(handlers, context)
1653
1653
  end
1654
1654
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::CognitoIdentity
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://cognito-identity.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVG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G9pbnQiOnsidXJs
100
- IjoiaHR0cHM6Ly9jb2duaXRvLWlkZW50aXR5LntSZWdpb259LntQYXJ0aXRp
101
- b25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9
102
- LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRp
103
- b25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhp
104
- cyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBl
105
- IjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVy
106
- bCI6Imh0dHBzOi8vY29nbml0by1pZGVudGl0eS57UmVnaW9ufS57UGFydGl0
107
- aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVy
108
- cyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -12,15 +12,6 @@ module Aws::CognitoIdentity
12
12
 
13
13
  # A provider representing an Amazon Cognito user pool and its client ID.
14
14
  #
15
- # @note When making an API call, you may pass CognitoIdentityProvider
16
- # data as a hash:
17
- #
18
- # {
19
- # provider_name: "CognitoIdentityProviderName",
20
- # client_id: "CognitoIdentityProviderClientId",
21
- # server_side_token_check: false,
22
- # }
23
- #
24
15
  # @!attribute [rw] provider_name
25
16
  # The provider name for an Amazon Cognito user pool. For example,
26
17
  # `cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789`.
@@ -70,31 +61,6 @@ module Aws::CognitoIdentity
70
61
 
71
62
  # Input to the CreateIdentityPool action.
72
63
  #
73
- # @note When making an API call, you may pass CreateIdentityPoolInput
74
- # data as a hash:
75
- #
76
- # {
77
- # identity_pool_name: "IdentityPoolName", # required
78
- # allow_unauthenticated_identities: false, # required
79
- # allow_classic_flow: false,
80
- # supported_login_providers: {
81
- # "IdentityProviderName" => "IdentityProviderId",
82
- # },
83
- # developer_provider_name: "DeveloperProviderName",
84
- # open_id_connect_provider_arns: ["ARNString"],
85
- # cognito_identity_providers: [
86
- # {
87
- # provider_name: "CognitoIdentityProviderName",
88
- # client_id: "CognitoIdentityProviderClientId",
89
- # server_side_token_check: false,
90
- # },
91
- # ],
92
- # saml_provider_arns: ["ARNString"],
93
- # identity_pool_tags: {
94
- # "TagKeysType" => "TagValueType",
95
- # },
96
- # }
97
- #
98
64
  # @!attribute [rw] identity_pool_name
99
65
  # A string that you provide.
100
66
  # @return [String]
@@ -194,13 +160,6 @@ module Aws::CognitoIdentity
194
160
 
195
161
  # Input to the `DeleteIdentities` action.
196
162
  #
197
- # @note When making an API call, you may pass DeleteIdentitiesInput
198
- # data as a hash:
199
- #
200
- # {
201
- # identity_ids_to_delete: ["IdentityId"], # required
202
- # }
203
- #
204
163
  # @!attribute [rw] identity_ids_to_delete
205
164
  # A list of 1-60 identities that you want to delete.
206
165
  # @return [Array<String>]
@@ -230,13 +189,6 @@ module Aws::CognitoIdentity
230
189
 
231
190
  # Input to the DeleteIdentityPool action.
232
191
  #
233
- # @note When making an API call, you may pass DeleteIdentityPoolInput
234
- # data as a hash:
235
- #
236
- # {
237
- # identity_pool_id: "IdentityPoolId", # required
238
- # }
239
- #
240
192
  # @!attribute [rw] identity_pool_id
241
193
  # An identity pool ID in the format REGION:GUID.
242
194
  # @return [String]
@@ -251,13 +203,6 @@ module Aws::CognitoIdentity
251
203
 
252
204
  # Input to the `DescribeIdentity` action.
253
205
  #
254
- # @note When making an API call, you may pass DescribeIdentityInput
255
- # data as a hash:
256
- #
257
- # {
258
- # identity_id: "IdentityId", # required
259
- # }
260
- #
261
206
  # @!attribute [rw] identity_id
262
207
  # A unique identifier in the format REGION:GUID.
263
208
  # @return [String]
@@ -272,13 +217,6 @@ module Aws::CognitoIdentity
272
217
 
273
218
  # Input to the DescribeIdentityPool action.
274
219
  #
275
- # @note When making an API call, you may pass DescribeIdentityPoolInput
276
- # data as a hash:
277
- #
278
- # {
279
- # identity_pool_id: "IdentityPoolId", # required
280
- # }
281
- #
282
220
  # @!attribute [rw] identity_pool_id
283
221
  # An identity pool ID in the format REGION:GUID.
284
222
  # @return [String]
@@ -323,17 +261,6 @@ module Aws::CognitoIdentity
323
261
 
324
262
  # Input to the `GetCredentialsForIdentity` action.
325
263
  #
326
- # @note When making an API call, you may pass GetCredentialsForIdentityInput
327
- # data as a hash:
328
- #
329
- # {
330
- # identity_id: "IdentityId", # required
331
- # logins: {
332
- # "IdentityProviderName" => "IdentityProviderToken",
333
- # },
334
- # custom_role_arn: "ARNString",
335
- # }
336
- #
337
264
  # @!attribute [rw] identity_id
338
265
  # A unique identifier in the format REGION:GUID.
339
266
  # @return [String]
@@ -396,17 +323,6 @@ module Aws::CognitoIdentity
396
323
 
397
324
  # Input to the GetId action.
398
325
  #
399
- # @note When making an API call, you may pass GetIdInput
400
- # data as a hash:
401
- #
402
- # {
403
- # account_id: "AccountId",
404
- # identity_pool_id: "IdentityPoolId", # required
405
- # logins: {
406
- # "IdentityProviderName" => "IdentityProviderToken",
407
- # },
408
- # }
409
- #
410
326
  # @!attribute [rw] account_id
411
327
  # A standard AWS account ID (9+ digits).
412
328
  # @return [String]
@@ -462,13 +378,6 @@ module Aws::CognitoIdentity
462
378
 
463
379
  # Input to the `GetIdentityPoolRoles` action.
464
380
  #
465
- # @note When making an API call, you may pass GetIdentityPoolRolesInput
466
- # data as a hash:
467
- #
468
- # {
469
- # identity_pool_id: "IdentityPoolId", # required
470
- # }
471
- #
472
381
  # @!attribute [rw] identity_pool_id
473
382
  # An identity pool ID in the format REGION:GUID.
474
383
  # @return [String]
@@ -511,21 +420,6 @@ module Aws::CognitoIdentity
511
420
 
512
421
  # Input to the `GetOpenIdTokenForDeveloperIdentity` action.
513
422
  #
514
- # @note When making an API call, you may pass GetOpenIdTokenForDeveloperIdentityInput
515
- # data as a hash:
516
- #
517
- # {
518
- # identity_pool_id: "IdentityPoolId", # required
519
- # identity_id: "IdentityId",
520
- # logins: { # required
521
- # "IdentityProviderName" => "IdentityProviderToken",
522
- # },
523
- # principal_tags: {
524
- # "PrincipalTagID" => "PrincipalTagValue",
525
- # },
526
- # token_duration: 1,
527
- # }
528
- #
529
423
  # @!attribute [rw] identity_pool_id
530
424
  # An identity pool ID in the format REGION:GUID.
531
425
  # @return [String]
@@ -603,16 +497,6 @@ module Aws::CognitoIdentity
603
497
 
604
498
  # Input to the GetOpenIdToken action.
605
499
  #
606
- # @note When making an API call, you may pass GetOpenIdTokenInput
607
- # data as a hash:
608
- #
609
- # {
610
- # identity_id: "IdentityId", # required
611
- # logins: {
612
- # "IdentityProviderName" => "IdentityProviderToken",
613
- # },
614
- # }
615
- #
616
500
  # @!attribute [rw] identity_id
617
501
  # A unique identifier in the format REGION:GUID.
618
502
  # @return [String]
@@ -654,14 +538,6 @@ module Aws::CognitoIdentity
654
538
  include Aws::Structure
655
539
  end
656
540
 
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
541
  # @!attribute [rw] identity_pool_id
666
542
  # You can use this operation to get the ID of the Identity Pool you
667
543
  # setup attribute mappings for.
@@ -741,32 +617,6 @@ module Aws::CognitoIdentity
741
617
 
742
618
  # An object representing an Amazon Cognito identity pool.
743
619
  #
744
- # @note When making an API call, you may pass IdentityPool
745
- # data as a hash:
746
- #
747
- # {
748
- # identity_pool_id: "IdentityPoolId", # required
749
- # identity_pool_name: "IdentityPoolName", # required
750
- # allow_unauthenticated_identities: false, # required
751
- # allow_classic_flow: false,
752
- # supported_login_providers: {
753
- # "IdentityProviderName" => "IdentityProviderId",
754
- # },
755
- # developer_provider_name: "DeveloperProviderName",
756
- # open_id_connect_provider_arns: ["ARNString"],
757
- # cognito_identity_providers: [
758
- # {
759
- # provider_name: "CognitoIdentityProviderName",
760
- # client_id: "CognitoIdentityProviderClientId",
761
- # server_side_token_check: false,
762
- # },
763
- # ],
764
- # saml_provider_arns: ["ARNString"],
765
- # identity_pool_tags: {
766
- # "TagKeysType" => "TagValueType",
767
- # },
768
- # }
769
- #
770
620
  # @!attribute [rw] identity_pool_id
771
621
  # An identity pool ID in the format REGION:GUID.
772
622
  # @return [String]
@@ -915,16 +765,6 @@ module Aws::CognitoIdentity
915
765
 
916
766
  # Input to the ListIdentities action.
917
767
  #
918
- # @note When making an API call, you may pass ListIdentitiesInput
919
- # data as a hash:
920
- #
921
- # {
922
- # identity_pool_id: "IdentityPoolId", # required
923
- # max_results: 1, # required
924
- # next_token: "PaginationKey",
925
- # hide_disabled: false,
926
- # }
927
- #
928
768
  # @!attribute [rw] identity_pool_id
929
769
  # An identity pool ID in the format REGION:GUID.
930
770
  # @return [String]
@@ -980,14 +820,6 @@ module Aws::CognitoIdentity
980
820
 
981
821
  # Input to the ListIdentityPools action.
982
822
  #
983
- # @note When making an API call, you may pass ListIdentityPoolsInput
984
- # data as a hash:
985
- #
986
- # {
987
- # max_results: 1, # required
988
- # next_token: "PaginationKey",
989
- # }
990
- #
991
823
  # @!attribute [rw] max_results
992
824
  # The maximum number of identities to return.
993
825
  # @return [Integer]
@@ -1024,13 +856,6 @@ module Aws::CognitoIdentity
1024
856
  include Aws::Structure
1025
857
  end
1026
858
 
1027
- # @note When making an API call, you may pass ListTagsForResourceInput
1028
- # data as a hash:
1029
- #
1030
- # {
1031
- # resource_arn: "ARNString", # required
1032
- # }
1033
- #
1034
859
  # @!attribute [rw] resource_arn
1035
860
  # The Amazon Resource Name (ARN) of the identity pool that the tags
1036
861
  # are assigned to.
@@ -1058,17 +883,6 @@ module Aws::CognitoIdentity
1058
883
 
1059
884
  # Input to the `LookupDeveloperIdentityInput` action.
1060
885
  #
1061
- # @note When making an API call, you may pass LookupDeveloperIdentityInput
1062
- # data as a hash:
1063
- #
1064
- # {
1065
- # identity_pool_id: "IdentityPoolId", # required
1066
- # identity_id: "IdentityId",
1067
- # developer_user_identifier: "DeveloperUserIdentifier",
1068
- # max_results: 1,
1069
- # next_token: "PaginationKey",
1070
- # }
1071
- #
1072
886
  # @!attribute [rw] identity_pool_id
1073
887
  # An identity pool ID in the format REGION:GUID.
1074
888
  # @return [String]
@@ -1144,16 +958,6 @@ module Aws::CognitoIdentity
1144
958
  # A rule that maps a claim name, a claim value, and a match type to a
1145
959
  # role ARN.
1146
960
  #
1147
- # @note When making an API call, you may pass MappingRule
1148
- # data as a hash:
1149
- #
1150
- # {
1151
- # claim: "ClaimName", # required
1152
- # match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
1153
- # value: "ClaimValue", # required
1154
- # role_arn: "ARNString", # required
1155
- # }
1156
- #
1157
961
  # @!attribute [rw] claim
1158
962
  # The claim name that must be present in the token, for example,
1159
963
  # "isAdmin" or "paid".
@@ -1186,16 +990,6 @@ module Aws::CognitoIdentity
1186
990
 
1187
991
  # Input to the `MergeDeveloperIdentities` action.
1188
992
  #
1189
- # @note When making an API call, you may pass MergeDeveloperIdentitiesInput
1190
- # data as a hash:
1191
- #
1192
- # {
1193
- # source_user_identifier: "DeveloperUserIdentifier", # required
1194
- # destination_user_identifier: "DeveloperUserIdentifier", # required
1195
- # developer_provider_name: "DeveloperProviderName", # required
1196
- # identity_pool_id: "IdentityPoolId", # required
1197
- # }
1198
- #
1199
993
  # @!attribute [rw] source_user_identifier
1200
994
  # User identifier for the source user. The value should be a
1201
995
  # `DeveloperUserIdentifier`.
@@ -1291,24 +1085,6 @@ module Aws::CognitoIdentity
1291
1085
 
1292
1086
  # A role mapping.
1293
1087
  #
1294
- # @note When making an API call, you may pass RoleMapping
1295
- # data as a hash:
1296
- #
1297
- # {
1298
- # type: "Token", # required, accepts Token, Rules
1299
- # ambiguous_role_resolution: "AuthenticatedRole", # accepts AuthenticatedRole, Deny
1300
- # rules_configuration: {
1301
- # rules: [ # required
1302
- # {
1303
- # claim: "ClaimName", # required
1304
- # match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
1305
- # value: "ClaimValue", # required
1306
- # role_arn: "ARNString", # required
1307
- # },
1308
- # ],
1309
- # },
1310
- # }
1311
- #
1312
1088
  # @!attribute [rw] type
1313
1089
  # The role mapping type. Token will use `cognito:roles` and
1314
1090
  # `cognito:preferred_role` claims from the Cognito identity provider
@@ -1345,20 +1121,6 @@ module Aws::CognitoIdentity
1345
1121
 
1346
1122
  # A container for rules.
1347
1123
  #
1348
- # @note When making an API call, you may pass RulesConfigurationType
1349
- # data as a hash:
1350
- #
1351
- # {
1352
- # rules: [ # required
1353
- # {
1354
- # claim: "ClaimName", # required
1355
- # match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
1356
- # value: "ClaimValue", # required
1357
- # role_arn: "ARNString", # required
1358
- # },
1359
- # ],
1360
- # }
1361
- #
1362
1124
  # @!attribute [rw] rules
1363
1125
  # An array of rules. You can specify up to 25 rules per identity
1364
1126
  # provider.
@@ -1377,32 +1139,6 @@ module Aws::CognitoIdentity
1377
1139
 
1378
1140
  # Input to the `SetIdentityPoolRoles` action.
1379
1141
  #
1380
- # @note When making an API call, you may pass SetIdentityPoolRolesInput
1381
- # data as a hash:
1382
- #
1383
- # {
1384
- # identity_pool_id: "IdentityPoolId", # required
1385
- # roles: { # required
1386
- # "RoleType" => "ARNString",
1387
- # },
1388
- # role_mappings: {
1389
- # "IdentityProviderName" => {
1390
- # type: "Token", # required, accepts Token, Rules
1391
- # ambiguous_role_resolution: "AuthenticatedRole", # accepts AuthenticatedRole, Deny
1392
- # rules_configuration: {
1393
- # rules: [ # required
1394
- # {
1395
- # claim: "ClaimName", # required
1396
- # match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
1397
- # value: "ClaimValue", # required
1398
- # role_arn: "ARNString", # required
1399
- # },
1400
- # ],
1401
- # },
1402
- # },
1403
- # },
1404
- # }
1405
- #
1406
1142
  # @!attribute [rw] identity_pool_id
1407
1143
  # An identity pool ID in the format REGION:GUID.
1408
1144
  # @return [String]
@@ -1432,18 +1168,6 @@ module Aws::CognitoIdentity
1432
1168
  include Aws::Structure
1433
1169
  end
1434
1170
 
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
1171
  # @!attribute [rw] identity_pool_id
1448
1172
  # The ID of the Identity Pool you want to set attribute mappings for.
1449
1173
  # @return [String]
@@ -1502,16 +1226,6 @@ module Aws::CognitoIdentity
1502
1226
  include Aws::Structure
1503
1227
  end
1504
1228
 
1505
- # @note When making an API call, you may pass TagResourceInput
1506
- # data as a hash:
1507
- #
1508
- # {
1509
- # resource_arn: "ARNString", # required
1510
- # tags: { # required
1511
- # "TagKeysType" => "TagValueType",
1512
- # },
1513
- # }
1514
- #
1515
1229
  # @!attribute [rw] resource_arn
1516
1230
  # The Amazon Resource Name (ARN) of the identity pool.
1517
1231
  # @return [String]
@@ -1549,16 +1263,6 @@ module Aws::CognitoIdentity
1549
1263
 
1550
1264
  # Input to the `UnlinkDeveloperIdentity` action.
1551
1265
  #
1552
- # @note When making an API call, you may pass UnlinkDeveloperIdentityInput
1553
- # data as a hash:
1554
- #
1555
- # {
1556
- # identity_id: "IdentityId", # required
1557
- # identity_pool_id: "IdentityPoolId", # required
1558
- # developer_provider_name: "DeveloperProviderName", # required
1559
- # developer_user_identifier: "DeveloperUserIdentifier", # required
1560
- # }
1561
- #
1562
1266
  # @!attribute [rw] identity_id
1563
1267
  # A unique identifier in the format REGION:GUID.
1564
1268
  # @return [String]
@@ -1589,17 +1293,6 @@ module Aws::CognitoIdentity
1589
1293
 
1590
1294
  # Input to the UnlinkIdentity action.
1591
1295
  #
1592
- # @note When making an API call, you may pass UnlinkIdentityInput
1593
- # data as a hash:
1594
- #
1595
- # {
1596
- # identity_id: "IdentityId", # required
1597
- # logins: { # required
1598
- # "IdentityProviderName" => "IdentityProviderToken",
1599
- # },
1600
- # logins_to_remove: ["IdentityProviderName"], # required
1601
- # }
1602
- #
1603
1296
  # @!attribute [rw] identity_id
1604
1297
  # A unique identifier in the format REGION:GUID.
1605
1298
  # @return [String]
@@ -1643,14 +1336,6 @@ module Aws::CognitoIdentity
1643
1336
  include Aws::Structure
1644
1337
  end
1645
1338
 
1646
- # @note When making an API call, you may pass UntagResourceInput
1647
- # data as a hash:
1648
- #
1649
- # {
1650
- # resource_arn: "ARNString", # required
1651
- # tag_keys: ["TagKeysType"], # required
1652
- # }
1653
- #
1654
1339
  # @!attribute [rw] resource_arn
1655
1340
  # The Amazon Resource Name (ARN) of the identity pool.
1656
1341
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cognitoidentity/customizations'
52
52
  # @!group service
53
53
  module Aws::CognitoIdentity
54
54
 
55
- GEM_VERSION = '1.41.0'
55
+ GEM_VERSION = '1.42.0'
56
56
 
57
57
  end
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.41.0
4
+ version: 1.42.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core