aws-sdk-cognitosync 1.37.0 → 1.38.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: 3f71a46a64c9b38dce922add00ffd700ff4914bcc1ad8360f19067ae8e7b8aaf
4
- data.tar.gz: 3ec282e85dfcc2fecc0aa509271c605eb0a1a7c51db5be6340f6a002bbf3879b
3
+ metadata.gz: 57d34fb8de4b2b5c348b8bfd877bea5016c4cd796ac6cf84d5d2e204d9b40751
4
+ data.tar.gz: b5c53c8ebbdeae4f3945d02f7a930d6df3996b24e68bf3d9b62b5aa0d5cdcf59
5
5
  SHA512:
6
- metadata.gz: bff3e5c978bc88b6964a4c90e0669a06d3b1a87bc84be0a639b27e9d7458fce63f67dfef5a9ee99624d1590aea55e423ed68a827c7592f20131a49a2f089e92f
7
- data.tar.gz: 5f17bdd039fa72d177f93960ebb21caa0e449a918d64a4b4b9285febf5c21950a93f075d3a1fa6f9f676e4133034f18815b13125ea2ea5d44a7b424270dd1316
6
+ metadata.gz: b4c15b2d147d55847afc1dffad000e98fef25317597db02d677a3d62fe2fbf0c7e502daf8f7ea16774630f975256678db2b5f48610392b6c9067a3421ff57a85
7
+ data.tar.gz: 6a3958f472c3a035cfe84a3ed4f6a9c5ad7f331bbd6a1c32684873b6d34b6424b14b51c6b587a84d91a325970b3591e51e57a35315de65951db00dd162f64e76
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.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.37.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -253,4 +260,4 @@ Unreleased Changes
253
260
  1.0.0.rc1 (2016-12-05)
254
261
  ------------------
255
262
 
256
- * Feature - Initial preview release of the `aws-sdk-cognitosync` gem.
263
+ * Feature - Initial preview release of the `aws-sdk-cognitosync` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.38.0
@@ -1229,7 +1229,7 @@ module Aws::CognitoSync
1229
1229
  params: params,
1230
1230
  config: config)
1231
1231
  context[:gem_name] = 'aws-sdk-cognitosync'
1232
- context[:gem_version] = '1.37.0'
1232
+ context[:gem_version] = '1.38.0'
1233
1233
  Seahorse::Client::Request.new(handlers, context)
1234
1234
  end
1235
1235
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::CognitoSync
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-sync-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-sync-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-sync.#{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-sync.#{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
- dGF0aW9uIjoiVGhlIEFXUyByZWdp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BvaW50Ijp7InVybCI6Imh0dHBz
100
- Oi8vY29nbml0by1zeW5jLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVh
101
- bFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
102
- fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJy
103
- b3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24g
104
- ZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19
105
- LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8v
106
- Y29nbml0by1zeW5jLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3Vm
107
- Zml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJl
108
- bmRwb2ludCJ9XX1dfQ==
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -28,13 +28,6 @@ module Aws::CognitoSync
28
28
 
29
29
  # The input for the BulkPublish operation.
30
30
  #
31
- # @note When making an API call, you may pass BulkPublishRequest
32
- # data as a hash:
33
- #
34
- # {
35
- # identity_pool_id: "IdentityPoolId", # required
36
- # }
37
- #
38
31
  # @!attribute [rw] identity_pool_id
39
32
  # A name-spaced GUID (for example,
40
33
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -67,15 +60,6 @@ module Aws::CognitoSync
67
60
 
68
61
  # Configuration options for configure Cognito streams.
69
62
  #
70
- # @note When making an API call, you may pass CognitoStreams
71
- # data as a hash:
72
- #
73
- # {
74
- # stream_name: "StreamName",
75
- # role_arn: "AssumeRoleArn",
76
- # streaming_status: "ENABLED", # accepts ENABLED, DISABLED
77
- # }
78
- #
79
63
  # @!attribute [rw] stream_name
80
64
  # The name of the Cognito stream to receive updates. This stream must
81
65
  # be in the developers account and in the same region as the identity
@@ -173,15 +157,6 @@ module Aws::CognitoSync
173
157
 
174
158
  # A request to delete the specific dataset.
175
159
  #
176
- # @note When making an API call, you may pass DeleteDatasetRequest
177
- # data as a hash:
178
- #
179
- # {
180
- # identity_pool_id: "IdentityPoolId", # required
181
- # identity_id: "IdentityId", # required
182
- # dataset_name: "DatasetName", # required
183
- # }
184
- #
185
160
  # @!attribute [rw] identity_pool_id
186
161
  # A name-spaced GUID (for example,
187
162
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -231,15 +206,6 @@ module Aws::CognitoSync
231
206
  # A request for meta data about a dataset (creation date, number of
232
207
  # records, size) by owner and dataset name.
233
208
  #
234
- # @note When making an API call, you may pass DescribeDatasetRequest
235
- # data as a hash:
236
- #
237
- # {
238
- # identity_pool_id: "IdentityPoolId", # required
239
- # identity_id: "IdentityId", # required
240
- # dataset_name: "DatasetName", # required
241
- # }
242
- #
243
209
  # @!attribute [rw] identity_pool_id
244
210
  # A name-spaced GUID (for example,
245
211
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -287,13 +253,6 @@ module Aws::CognitoSync
287
253
 
288
254
  # A request for usage information about the identity pool.
289
255
  #
290
- # @note When making an API call, you may pass DescribeIdentityPoolUsageRequest
291
- # data as a hash:
292
- #
293
- # {
294
- # identity_pool_id: "IdentityPoolId", # required
295
- # }
296
- #
297
256
  # @!attribute [rw] identity_pool_id
298
257
  # A name-spaced GUID (for example,
299
258
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -324,14 +283,6 @@ module Aws::CognitoSync
324
283
 
325
284
  # A request for information about the usage of an identity pool.
326
285
  #
327
- # @note When making an API call, you may pass DescribeIdentityUsageRequest
328
- # data as a hash:
329
- #
330
- # {
331
- # identity_pool_id: "IdentityPoolId", # required
332
- # identity_id: "IdentityId", # required
333
- # }
334
- #
335
286
  # @!attribute [rw] identity_pool_id
336
287
  # A name-spaced GUID (for example,
337
288
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -384,13 +335,6 @@ module Aws::CognitoSync
384
335
 
385
336
  # The input for the GetBulkPublishDetails operation.
386
337
  #
387
- # @note When making an API call, you may pass GetBulkPublishDetailsRequest
388
- # data as a hash:
389
- #
390
- # {
391
- # identity_pool_id: "IdentityPoolId", # required
392
- # }
393
- #
394
338
  # @!attribute [rw] identity_pool_id
395
339
  # A name-spaced GUID (for example,
396
340
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -454,13 +398,6 @@ module Aws::CognitoSync
454
398
 
455
399
  # A request for a list of the configured Cognito Events
456
400
  #
457
- # @note When making an API call, you may pass GetCognitoEventsRequest
458
- # data as a hash:
459
- #
460
- # {
461
- # identity_pool_id: "IdentityPoolId", # required
462
- # }
463
- #
464
401
  # @!attribute [rw] identity_pool_id
465
402
  # The Cognito Identity Pool ID for the request
466
403
  # @return [String]
@@ -489,13 +426,6 @@ module Aws::CognitoSync
489
426
 
490
427
  # The input for the GetIdentityPoolConfiguration operation.
491
428
  #
492
- # @note When making an API call, you may pass GetIdentityPoolConfigurationRequest
493
- # data as a hash:
494
- #
495
- # {
496
- # identity_pool_id: "IdentityPoolId", # required
497
- # }
498
- #
499
429
  # @!attribute [rw] identity_pool_id
500
430
  # A name-spaced GUID (for example,
501
431
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -693,16 +623,6 @@ module Aws::CognitoSync
693
623
 
694
624
  # Request for a list of datasets for an identity.
695
625
  #
696
- # @note When making an API call, you may pass ListDatasetsRequest
697
- # data as a hash:
698
- #
699
- # {
700
- # identity_pool_id: "IdentityPoolId", # required
701
- # identity_id: "IdentityId", # required
702
- # next_token: "String",
703
- # max_results: 1,
704
- # }
705
- #
706
626
  # @!attribute [rw] identity_pool_id
707
627
  # A name-spaced GUID (for example,
708
628
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -760,14 +680,6 @@ module Aws::CognitoSync
760
680
 
761
681
  # A request for usage information on an identity pool.
762
682
  #
763
- # @note When making an API call, you may pass ListIdentityPoolUsageRequest
764
- # data as a hash:
765
- #
766
- # {
767
- # next_token: "String",
768
- # max_results: 1,
769
- # }
770
- #
771
683
  # @!attribute [rw] next_token
772
684
  # A pagination token for obtaining the next page of results.
773
685
  # @return [String]
@@ -816,19 +728,6 @@ module Aws::CognitoSync
816
728
 
817
729
  # A request for a list of records.
818
730
  #
819
- # @note When making an API call, you may pass ListRecordsRequest
820
- # data as a hash:
821
- #
822
- # {
823
- # identity_pool_id: "IdentityPoolId", # required
824
- # identity_id: "IdentityId", # required
825
- # dataset_name: "DatasetName", # required
826
- # last_sync_count: 1,
827
- # next_token: "String",
828
- # max_results: 1,
829
- # sync_session_token: "SyncSessionToken",
830
- # }
831
- #
832
731
  # @!attribute [rw] identity_pool_id
833
732
  # A name-spaced GUID (for example,
834
733
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -946,14 +845,6 @@ module Aws::CognitoSync
946
845
 
947
846
  # Configuration options to be applied to the identity pool.
948
847
  #
949
- # @note When making an API call, you may pass PushSync
950
- # data as a hash:
951
- #
952
- # {
953
- # application_arns: ["ApplicationArn"],
954
- # role_arn: "AssumeRoleArn",
955
- # }
956
- #
957
848
  # @!attribute [rw] application_arns
958
849
  # List of SNS platform application ARNs that could be used by clients.
959
850
  # @return [Array<String>]
@@ -1013,17 +904,6 @@ module Aws::CognitoSync
1013
904
 
1014
905
  # An update operation for a record.
1015
906
  #
1016
- # @note When making an API call, you may pass RecordPatch
1017
- # data as a hash:
1018
- #
1019
- # {
1020
- # op: "replace", # required, accepts replace, remove
1021
- # key: "RecordKey", # required
1022
- # value: "RecordValue",
1023
- # sync_count: 1, # required
1024
- # device_last_modified_date: Time.now,
1025
- # }
1026
- #
1027
907
  # @!attribute [rw] op
1028
908
  # An operation, either replace or remove.
1029
909
  # @return [String]
@@ -1058,16 +938,6 @@ module Aws::CognitoSync
1058
938
 
1059
939
  # A request to RegisterDevice.
1060
940
  #
1061
- # @note When making an API call, you may pass RegisterDeviceRequest
1062
- # data as a hash:
1063
- #
1064
- # {
1065
- # identity_pool_id: "IdentityPoolId", # required
1066
- # identity_id: "IdentityId", # required
1067
- # platform: "APNS", # required, accepts APNS, APNS_SANDBOX, GCM, ADM
1068
- # token: "PushToken", # required
1069
- # }
1070
- #
1071
941
  # @!attribute [rw] identity_pool_id
1072
942
  # A name-spaced GUID (for example,
1073
943
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -1144,16 +1014,6 @@ module Aws::CognitoSync
1144
1014
  #
1145
1015
  # "
1146
1016
  #
1147
- # @note When making an API call, you may pass SetCognitoEventsRequest
1148
- # data as a hash:
1149
- #
1150
- # {
1151
- # identity_pool_id: "IdentityPoolId", # required
1152
- # events: { # required
1153
- # "CognitoEventType" => "LambdaFunctionArn",
1154
- # },
1155
- # }
1156
- #
1157
1017
  # @!attribute [rw] identity_pool_id
1158
1018
  # The Cognito Identity Pool to use when configuring Cognito Events
1159
1019
  # @return [String]
@@ -1173,22 +1033,6 @@ module Aws::CognitoSync
1173
1033
 
1174
1034
  # The input for the SetIdentityPoolConfiguration operation.
1175
1035
  #
1176
- # @note When making an API call, you may pass SetIdentityPoolConfigurationRequest
1177
- # data as a hash:
1178
- #
1179
- # {
1180
- # identity_pool_id: "IdentityPoolId", # required
1181
- # push_sync: {
1182
- # application_arns: ["ApplicationArn"],
1183
- # role_arn: "AssumeRoleArn",
1184
- # },
1185
- # cognito_streams: {
1186
- # stream_name: "StreamName",
1187
- # role_arn: "AssumeRoleArn",
1188
- # streaming_status: "ENABLED", # accepts ENABLED, DISABLED
1189
- # },
1190
- # }
1191
- #
1192
1036
  # @!attribute [rw] identity_pool_id
1193
1037
  # A name-spaced GUID (for example,
1194
1038
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -1241,16 +1085,6 @@ module Aws::CognitoSync
1241
1085
 
1242
1086
  # A request to SubscribeToDatasetRequest.
1243
1087
  #
1244
- # @note When making an API call, you may pass SubscribeToDatasetRequest
1245
- # data as a hash:
1246
- #
1247
- # {
1248
- # identity_pool_id: "IdentityPoolId", # required
1249
- # identity_id: "IdentityId", # required
1250
- # dataset_name: "DatasetName", # required
1251
- # device_id: "DeviceId", # required
1252
- # }
1253
- #
1254
1088
  # @!attribute [rw] identity_pool_id
1255
1089
  # A name-spaced GUID (for example,
1256
1090
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -1302,16 +1136,6 @@ module Aws::CognitoSync
1302
1136
 
1303
1137
  # A request to UnsubscribeFromDataset.
1304
1138
  #
1305
- # @note When making an API call, you may pass UnsubscribeFromDatasetRequest
1306
- # data as a hash:
1307
- #
1308
- # {
1309
- # identity_pool_id: "IdentityPoolId", # required
1310
- # identity_id: "IdentityId", # required
1311
- # dataset_name: "DatasetName", # required
1312
- # device_id: "DeviceId", # required
1313
- # }
1314
- #
1315
1139
  # @!attribute [rw] identity_pool_id
1316
1140
  # A name-spaced GUID (for example,
1317
1141
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -1350,27 +1174,6 @@ module Aws::CognitoSync
1350
1174
  # A request to post updates to records or add and delete records for a
1351
1175
  # dataset and user.
1352
1176
  #
1353
- # @note When making an API call, you may pass UpdateRecordsRequest
1354
- # data as a hash:
1355
- #
1356
- # {
1357
- # identity_pool_id: "IdentityPoolId", # required
1358
- # identity_id: "IdentityId", # required
1359
- # dataset_name: "DatasetName", # required
1360
- # device_id: "DeviceId",
1361
- # record_patches: [
1362
- # {
1363
- # op: "replace", # required, accepts replace, remove
1364
- # key: "RecordKey", # required
1365
- # value: "RecordValue",
1366
- # sync_count: 1, # required
1367
- # device_last_modified_date: Time.now,
1368
- # },
1369
- # ],
1370
- # sync_session_token: "SyncSessionToken", # required
1371
- # client_context: "ClientContext",
1372
- # }
1373
- #
1374
1177
  # @!attribute [rw] identity_pool_id
1375
1178
  # A name-spaced GUID (for example,
1376
1179
  # us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cognitosync/customizations'
52
52
  # @!group service
53
53
  module Aws::CognitoSync
54
54
 
55
- GEM_VERSION = '1.37.0'
55
+ GEM_VERSION = '1.38.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cognitosync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.37.0
4
+ version: 1.38.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