aws-sdk-cognitosync 1.47.0 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e0553cd73ad6b59668fc110516ce47b6d86f2f01ebaba57e034c444409f4a43
4
- data.tar.gz: 43dbeb289a73f487c79ed87d95c2d37ba25ca3f219b55d60555a20a845a7072b
3
+ metadata.gz: d7ab4b48a84fef3c503df3290ec824021704945123dab2d948670a939bfefa60
4
+ data.tar.gz: 8d27f34b4e695045f87a0aba18964424a17fab3bd4bfdc32c79ecd67cbac2f92
5
5
  SHA512:
6
- metadata.gz: af65ecacee67b23e1f0f2592a41809b3b735015f6e91498de2ac1ca483aa6e41441489332133bacf83834f185367a4a28fcfdecac77d31717f2b5be8c31137db
7
- data.tar.gz: bbd61af1e28e33cbaea3d343f47f9bdf71e0e0776f89ad471f4e57976079eb65bc376411f468431db4dd15c6b3e4c653572558f7cabdd19bed9caefdeb37dc67
6
+ metadata.gz: c73451a747baf9f19052736e9e7c5d1e12b6df62a8c4380492f0d77d146ff6f8a3cbb9a69dc30bd53f5aaf2ea461d1a3691ade88ca3cd30bb289b0d2c6940b48
7
+ data.tar.gz: 006ad03e63deb4ea7ae3810f6ac68977cdb27a535a1c0abbd4d6203b457ec004709cbc7888214d02fb6ef7bd0cfbf3179680a7be72fe2001ac9f7a47b73ddce1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.48.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.47.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.48.0
@@ -1249,7 +1249,7 @@ module Aws::CognitoSync
1249
1249
  params: params,
1250
1250
  config: config)
1251
1251
  context[:gem_name] = 'aws-sdk-cognitosync'
1252
- context[:gem_version] = '1.47.0'
1252
+ context[:gem_version] = '1.48.0'
1253
1253
  Seahorse::Client::Request.new(handlers, context)
1254
1254
  end
1255
1255
 
@@ -14,6 +14,7 @@ module Aws::CognitoSync
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CognitoSync::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -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.47.0'
55
+ GEM_VERSION = '1.48.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,310 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CognitoSync
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _BulkPublishResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::BulkPublishResponse]
77
+ def identity_pool_id: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#bulk_publish-instance_method
80
+ def bulk_publish: (
81
+ identity_pool_id: ::String
82
+ ) -> _BulkPublishResponseSuccess
83
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BulkPublishResponseSuccess
84
+
85
+ interface _DeleteDatasetResponseSuccess
86
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDatasetResponse]
87
+ def dataset: () -> Types::Dataset
88
+ end
89
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#delete_dataset-instance_method
90
+ def delete_dataset: (
91
+ identity_pool_id: ::String,
92
+ identity_id: ::String,
93
+ dataset_name: ::String
94
+ ) -> _DeleteDatasetResponseSuccess
95
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDatasetResponseSuccess
96
+
97
+ interface _DescribeDatasetResponseSuccess
98
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDatasetResponse]
99
+ def dataset: () -> Types::Dataset
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#describe_dataset-instance_method
102
+ def describe_dataset: (
103
+ identity_pool_id: ::String,
104
+ identity_id: ::String,
105
+ dataset_name: ::String
106
+ ) -> _DescribeDatasetResponseSuccess
107
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDatasetResponseSuccess
108
+
109
+ interface _DescribeIdentityPoolUsageResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeIdentityPoolUsageResponse]
111
+ def identity_pool_usage: () -> Types::IdentityPoolUsage
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#describe_identity_pool_usage-instance_method
114
+ def describe_identity_pool_usage: (
115
+ identity_pool_id: ::String
116
+ ) -> _DescribeIdentityPoolUsageResponseSuccess
117
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeIdentityPoolUsageResponseSuccess
118
+
119
+ interface _DescribeIdentityUsageResponseSuccess
120
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeIdentityUsageResponse]
121
+ def identity_usage: () -> Types::IdentityUsage
122
+ end
123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#describe_identity_usage-instance_method
124
+ def describe_identity_usage: (
125
+ identity_pool_id: ::String,
126
+ identity_id: ::String
127
+ ) -> _DescribeIdentityUsageResponseSuccess
128
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeIdentityUsageResponseSuccess
129
+
130
+ interface _GetBulkPublishDetailsResponseSuccess
131
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBulkPublishDetailsResponse]
132
+ def identity_pool_id: () -> ::String
133
+ def bulk_publish_start_time: () -> ::Time
134
+ def bulk_publish_complete_time: () -> ::Time
135
+ def bulk_publish_status: () -> ("NOT_STARTED" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED")
136
+ def failure_message: () -> ::String
137
+ end
138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#get_bulk_publish_details-instance_method
139
+ def get_bulk_publish_details: (
140
+ identity_pool_id: ::String
141
+ ) -> _GetBulkPublishDetailsResponseSuccess
142
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBulkPublishDetailsResponseSuccess
143
+
144
+ interface _GetCognitoEventsResponseSuccess
145
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCognitoEventsResponse]
146
+ def events: () -> ::Hash[::String, ::String]
147
+ end
148
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#get_cognito_events-instance_method
149
+ def get_cognito_events: (
150
+ identity_pool_id: ::String
151
+ ) -> _GetCognitoEventsResponseSuccess
152
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCognitoEventsResponseSuccess
153
+
154
+ interface _GetIdentityPoolConfigurationResponseSuccess
155
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIdentityPoolConfigurationResponse]
156
+ def identity_pool_id: () -> ::String
157
+ def push_sync: () -> Types::PushSync
158
+ def cognito_streams: () -> Types::CognitoStreams
159
+ end
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#get_identity_pool_configuration-instance_method
161
+ def get_identity_pool_configuration: (
162
+ identity_pool_id: ::String
163
+ ) -> _GetIdentityPoolConfigurationResponseSuccess
164
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIdentityPoolConfigurationResponseSuccess
165
+
166
+ interface _ListDatasetsResponseSuccess
167
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDatasetsResponse]
168
+ def datasets: () -> ::Array[Types::Dataset]
169
+ def count: () -> ::Integer
170
+ def next_token: () -> ::String
171
+ end
172
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#list_datasets-instance_method
173
+ def list_datasets: (
174
+ identity_pool_id: ::String,
175
+ identity_id: ::String,
176
+ ?next_token: ::String,
177
+ ?max_results: ::Integer
178
+ ) -> _ListDatasetsResponseSuccess
179
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatasetsResponseSuccess
180
+
181
+ interface _ListIdentityPoolUsageResponseSuccess
182
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIdentityPoolUsageResponse]
183
+ def identity_pool_usages: () -> ::Array[Types::IdentityPoolUsage]
184
+ def max_results: () -> ::Integer
185
+ def count: () -> ::Integer
186
+ def next_token: () -> ::String
187
+ end
188
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#list_identity_pool_usage-instance_method
189
+ def list_identity_pool_usage: (
190
+ ?next_token: ::String,
191
+ ?max_results: ::Integer
192
+ ) -> _ListIdentityPoolUsageResponseSuccess
193
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIdentityPoolUsageResponseSuccess
194
+
195
+ interface _ListRecordsResponseSuccess
196
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecordsResponse]
197
+ def records: () -> ::Array[Types::Record]
198
+ def next_token: () -> ::String
199
+ def count: () -> ::Integer
200
+ def dataset_sync_count: () -> ::Integer
201
+ def last_modified_by: () -> ::String
202
+ def merged_dataset_names: () -> ::Array[::String]
203
+ def dataset_exists: () -> bool
204
+ def dataset_deleted_after_requested_sync_count: () -> bool
205
+ def sync_session_token: () -> ::String
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#list_records-instance_method
208
+ def list_records: (
209
+ identity_pool_id: ::String,
210
+ identity_id: ::String,
211
+ dataset_name: ::String,
212
+ ?last_sync_count: ::Integer,
213
+ ?next_token: ::String,
214
+ ?max_results: ::Integer,
215
+ ?sync_session_token: ::String
216
+ ) -> _ListRecordsResponseSuccess
217
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecordsResponseSuccess
218
+
219
+ interface _RegisterDeviceResponseSuccess
220
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterDeviceResponse]
221
+ def device_id: () -> ::String
222
+ end
223
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#register_device-instance_method
224
+ def register_device: (
225
+ identity_pool_id: ::String,
226
+ identity_id: ::String,
227
+ platform: ("APNS" | "APNS_SANDBOX" | "GCM" | "ADM"),
228
+ token: ::String
229
+ ) -> _RegisterDeviceResponseSuccess
230
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterDeviceResponseSuccess
231
+
232
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#set_cognito_events-instance_method
233
+ def set_cognito_events: (
234
+ identity_pool_id: ::String,
235
+ events: Hash[::String, ::String]
236
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
237
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
238
+
239
+ interface _SetIdentityPoolConfigurationResponseSuccess
240
+ include ::Seahorse::Client::_ResponseSuccess[Types::SetIdentityPoolConfigurationResponse]
241
+ def identity_pool_id: () -> ::String
242
+ def push_sync: () -> Types::PushSync
243
+ def cognito_streams: () -> Types::CognitoStreams
244
+ end
245
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#set_identity_pool_configuration-instance_method
246
+ def set_identity_pool_configuration: (
247
+ identity_pool_id: ::String,
248
+ ?push_sync: {
249
+ application_arns: Array[::String]?,
250
+ role_arn: ::String?
251
+ },
252
+ ?cognito_streams: {
253
+ stream_name: ::String?,
254
+ role_arn: ::String?,
255
+ streaming_status: ("ENABLED" | "DISABLED")?
256
+ }
257
+ ) -> _SetIdentityPoolConfigurationResponseSuccess
258
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetIdentityPoolConfigurationResponseSuccess
259
+
260
+ interface _SubscribeToDatasetResponseSuccess
261
+ include ::Seahorse::Client::_ResponseSuccess[Types::SubscribeToDatasetResponse]
262
+ end
263
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#subscribe_to_dataset-instance_method
264
+ def subscribe_to_dataset: (
265
+ identity_pool_id: ::String,
266
+ identity_id: ::String,
267
+ dataset_name: ::String,
268
+ device_id: ::String
269
+ ) -> _SubscribeToDatasetResponseSuccess
270
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubscribeToDatasetResponseSuccess
271
+
272
+ interface _UnsubscribeFromDatasetResponseSuccess
273
+ include ::Seahorse::Client::_ResponseSuccess[Types::UnsubscribeFromDatasetResponse]
274
+ end
275
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#unsubscribe_from_dataset-instance_method
276
+ def unsubscribe_from_dataset: (
277
+ identity_pool_id: ::String,
278
+ identity_id: ::String,
279
+ dataset_name: ::String,
280
+ device_id: ::String
281
+ ) -> _UnsubscribeFromDatasetResponseSuccess
282
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UnsubscribeFromDatasetResponseSuccess
283
+
284
+ interface _UpdateRecordsResponseSuccess
285
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRecordsResponse]
286
+ def records: () -> ::Array[Types::Record]
287
+ end
288
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Client.html#update_records-instance_method
289
+ def update_records: (
290
+ identity_pool_id: ::String,
291
+ identity_id: ::String,
292
+ dataset_name: ::String,
293
+ ?device_id: ::String,
294
+ ?record_patches: Array[
295
+ {
296
+ op: ("replace" | "remove"),
297
+ key: ::String,
298
+ value: ::String?,
299
+ sync_count: ::Integer,
300
+ device_last_modified_date: ::Time?
301
+ },
302
+ ],
303
+ sync_session_token: ::String,
304
+ ?client_context: ::String
305
+ ) -> _UpdateRecordsResponseSuccess
306
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRecordsResponseSuccess
307
+ end
308
+ end
309
+ end
310
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,55 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CognitoSync
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AlreadyStreamedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConcurrentModificationException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class DuplicateRequestException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class InternalErrorException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class InvalidConfigurationException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class InvalidLambdaFunctionOutputException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class InvalidParameterException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class LambdaThrottledException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ class LimitExceededException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ end
41
+ class NotAuthorizedException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ end
44
+ class ResourceConflictException < ::Aws::Errors::ServiceError
45
+ def message: () -> ::String
46
+ end
47
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
48
+ def message: () -> ::String
49
+ end
50
+ class TooManyRequestsException < ::Aws::Errors::ServiceError
51
+ def message: () -> ::String
52
+ end
53
+ end
54
+ end
55
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CognitoSync
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoSync/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,351 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::CognitoSync
9
+ module Types
10
+
11
+ class AlreadyStreamedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class BulkPublishRequest
17
+ attr_accessor identity_pool_id: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class BulkPublishResponse
22
+ attr_accessor identity_pool_id: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class CognitoStreams
27
+ attr_accessor stream_name: ::String
28
+ attr_accessor role_arn: ::String
29
+ attr_accessor streaming_status: ("ENABLED" | "DISABLED")
30
+ SENSITIVE: []
31
+ end
32
+
33
+ class ConcurrentModificationException
34
+ attr_accessor message: ::String
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class Dataset
39
+ attr_accessor identity_id: ::String
40
+ attr_accessor dataset_name: ::String
41
+ attr_accessor creation_date: ::Time
42
+ attr_accessor last_modified_date: ::Time
43
+ attr_accessor last_modified_by: ::String
44
+ attr_accessor data_storage: ::Integer
45
+ attr_accessor num_records: ::Integer
46
+ SENSITIVE: []
47
+ end
48
+
49
+ class DeleteDatasetRequest
50
+ attr_accessor identity_pool_id: ::String
51
+ attr_accessor identity_id: ::String
52
+ attr_accessor dataset_name: ::String
53
+ SENSITIVE: []
54
+ end
55
+
56
+ class DeleteDatasetResponse
57
+ attr_accessor dataset: Types::Dataset
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class DescribeDatasetRequest
62
+ attr_accessor identity_pool_id: ::String
63
+ attr_accessor identity_id: ::String
64
+ attr_accessor dataset_name: ::String
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class DescribeDatasetResponse
69
+ attr_accessor dataset: Types::Dataset
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class DescribeIdentityPoolUsageRequest
74
+ attr_accessor identity_pool_id: ::String
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class DescribeIdentityPoolUsageResponse
79
+ attr_accessor identity_pool_usage: Types::IdentityPoolUsage
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class DescribeIdentityUsageRequest
84
+ attr_accessor identity_pool_id: ::String
85
+ attr_accessor identity_id: ::String
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class DescribeIdentityUsageResponse
90
+ attr_accessor identity_usage: Types::IdentityUsage
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class DuplicateRequestException
95
+ attr_accessor message: ::String
96
+ SENSITIVE: []
97
+ end
98
+
99
+ class GetBulkPublishDetailsRequest
100
+ attr_accessor identity_pool_id: ::String
101
+ SENSITIVE: []
102
+ end
103
+
104
+ class GetBulkPublishDetailsResponse
105
+ attr_accessor identity_pool_id: ::String
106
+ attr_accessor bulk_publish_start_time: ::Time
107
+ attr_accessor bulk_publish_complete_time: ::Time
108
+ attr_accessor bulk_publish_status: ("NOT_STARTED" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED")
109
+ attr_accessor failure_message: ::String
110
+ SENSITIVE: []
111
+ end
112
+
113
+ class GetCognitoEventsRequest
114
+ attr_accessor identity_pool_id: ::String
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class GetCognitoEventsResponse
119
+ attr_accessor events: ::Hash[::String, ::String]
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class GetIdentityPoolConfigurationRequest
124
+ attr_accessor identity_pool_id: ::String
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class GetIdentityPoolConfigurationResponse
129
+ attr_accessor identity_pool_id: ::String
130
+ attr_accessor push_sync: Types::PushSync
131
+ attr_accessor cognito_streams: Types::CognitoStreams
132
+ SENSITIVE: []
133
+ end
134
+
135
+ class IdentityPoolUsage
136
+ attr_accessor identity_pool_id: ::String
137
+ attr_accessor sync_sessions_count: ::Integer
138
+ attr_accessor data_storage: ::Integer
139
+ attr_accessor last_modified_date: ::Time
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class IdentityUsage
144
+ attr_accessor identity_id: ::String
145
+ attr_accessor identity_pool_id: ::String
146
+ attr_accessor last_modified_date: ::Time
147
+ attr_accessor dataset_count: ::Integer
148
+ attr_accessor data_storage: ::Integer
149
+ SENSITIVE: []
150
+ end
151
+
152
+ class InternalErrorException
153
+ attr_accessor message: ::String
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class InvalidConfigurationException
158
+ attr_accessor message: ::String
159
+ SENSITIVE: []
160
+ end
161
+
162
+ class InvalidLambdaFunctionOutputException
163
+ attr_accessor message: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class InvalidParameterException
168
+ attr_accessor message: ::String
169
+ SENSITIVE: []
170
+ end
171
+
172
+ class LambdaThrottledException
173
+ attr_accessor message: ::String
174
+ SENSITIVE: []
175
+ end
176
+
177
+ class LimitExceededException
178
+ attr_accessor message: ::String
179
+ SENSITIVE: []
180
+ end
181
+
182
+ class ListDatasetsRequest
183
+ attr_accessor identity_pool_id: ::String
184
+ attr_accessor identity_id: ::String
185
+ attr_accessor next_token: ::String
186
+ attr_accessor max_results: ::Integer
187
+ SENSITIVE: []
188
+ end
189
+
190
+ class ListDatasetsResponse
191
+ attr_accessor datasets: ::Array[Types::Dataset]
192
+ attr_accessor count: ::Integer
193
+ attr_accessor next_token: ::String
194
+ SENSITIVE: []
195
+ end
196
+
197
+ class ListIdentityPoolUsageRequest
198
+ attr_accessor next_token: ::String
199
+ attr_accessor max_results: ::Integer
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class ListIdentityPoolUsageResponse
204
+ attr_accessor identity_pool_usages: ::Array[Types::IdentityPoolUsage]
205
+ attr_accessor max_results: ::Integer
206
+ attr_accessor count: ::Integer
207
+ attr_accessor next_token: ::String
208
+ SENSITIVE: []
209
+ end
210
+
211
+ class ListRecordsRequest
212
+ attr_accessor identity_pool_id: ::String
213
+ attr_accessor identity_id: ::String
214
+ attr_accessor dataset_name: ::String
215
+ attr_accessor last_sync_count: ::Integer
216
+ attr_accessor next_token: ::String
217
+ attr_accessor max_results: ::Integer
218
+ attr_accessor sync_session_token: ::String
219
+ SENSITIVE: []
220
+ end
221
+
222
+ class ListRecordsResponse
223
+ attr_accessor records: ::Array[Types::Record]
224
+ attr_accessor next_token: ::String
225
+ attr_accessor count: ::Integer
226
+ attr_accessor dataset_sync_count: ::Integer
227
+ attr_accessor last_modified_by: ::String
228
+ attr_accessor merged_dataset_names: ::Array[::String]
229
+ attr_accessor dataset_exists: bool
230
+ attr_accessor dataset_deleted_after_requested_sync_count: bool
231
+ attr_accessor sync_session_token: ::String
232
+ SENSITIVE: []
233
+ end
234
+
235
+ class NotAuthorizedException
236
+ attr_accessor message: ::String
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class PushSync
241
+ attr_accessor application_arns: ::Array[::String]
242
+ attr_accessor role_arn: ::String
243
+ SENSITIVE: []
244
+ end
245
+
246
+ class Record
247
+ attr_accessor key: ::String
248
+ attr_accessor value: ::String
249
+ attr_accessor sync_count: ::Integer
250
+ attr_accessor last_modified_date: ::Time
251
+ attr_accessor last_modified_by: ::String
252
+ attr_accessor device_last_modified_date: ::Time
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class RecordPatch
257
+ attr_accessor op: ("replace" | "remove")
258
+ attr_accessor key: ::String
259
+ attr_accessor value: ::String
260
+ attr_accessor sync_count: ::Integer
261
+ attr_accessor device_last_modified_date: ::Time
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class RegisterDeviceRequest
266
+ attr_accessor identity_pool_id: ::String
267
+ attr_accessor identity_id: ::String
268
+ attr_accessor platform: ("APNS" | "APNS_SANDBOX" | "GCM" | "ADM")
269
+ attr_accessor token: ::String
270
+ SENSITIVE: []
271
+ end
272
+
273
+ class RegisterDeviceResponse
274
+ attr_accessor device_id: ::String
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class ResourceConflictException
279
+ attr_accessor message: ::String
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class ResourceNotFoundException
284
+ attr_accessor message: ::String
285
+ SENSITIVE: []
286
+ end
287
+
288
+ class SetCognitoEventsRequest
289
+ attr_accessor identity_pool_id: ::String
290
+ attr_accessor events: ::Hash[::String, ::String]
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class SetIdentityPoolConfigurationRequest
295
+ attr_accessor identity_pool_id: ::String
296
+ attr_accessor push_sync: Types::PushSync
297
+ attr_accessor cognito_streams: Types::CognitoStreams
298
+ SENSITIVE: []
299
+ end
300
+
301
+ class SetIdentityPoolConfigurationResponse
302
+ attr_accessor identity_pool_id: ::String
303
+ attr_accessor push_sync: Types::PushSync
304
+ attr_accessor cognito_streams: Types::CognitoStreams
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class SubscribeToDatasetRequest
309
+ attr_accessor identity_pool_id: ::String
310
+ attr_accessor identity_id: ::String
311
+ attr_accessor dataset_name: ::String
312
+ attr_accessor device_id: ::String
313
+ SENSITIVE: []
314
+ end
315
+
316
+ class SubscribeToDatasetResponse < Aws::EmptyStructure
317
+ end
318
+
319
+ class TooManyRequestsException
320
+ attr_accessor message: ::String
321
+ SENSITIVE: []
322
+ end
323
+
324
+ class UnsubscribeFromDatasetRequest
325
+ attr_accessor identity_pool_id: ::String
326
+ attr_accessor identity_id: ::String
327
+ attr_accessor dataset_name: ::String
328
+ attr_accessor device_id: ::String
329
+ SENSITIVE: []
330
+ end
331
+
332
+ class UnsubscribeFromDatasetResponse < Aws::EmptyStructure
333
+ end
334
+
335
+ class UpdateRecordsRequest
336
+ attr_accessor identity_pool_id: ::String
337
+ attr_accessor identity_id: ::String
338
+ attr_accessor dataset_name: ::String
339
+ attr_accessor device_id: ::String
340
+ attr_accessor record_patches: ::Array[Types::RecordPatch]
341
+ attr_accessor sync_session_token: ::String
342
+ attr_accessor client_context: ::String
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class UpdateRecordsResponse
347
+ attr_accessor records: ::Array[Types::Record]
348
+ SENSITIVE: []
349
+ end
350
+ end
351
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CognitoSync
10
+ module Waiters
11
+ end
12
+ end
13
+ 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.47.0
4
+ version: 1.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-cognitosync/plugins/endpoints.rb
67
67
  - lib/aws-sdk-cognitosync/resource.rb
68
68
  - lib/aws-sdk-cognitosync/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cognitosync
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cognitosync/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - Amazon Cognito Sync
94
99
  test_files: []