aws-sdk-cognitosync 1.47.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitosync/client.rb +70 -46
- data/lib/aws-sdk-cognitosync/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-cognitosync.rb +1 -1
- data/sig/client.rbs +310 -0
- data/sig/errors.rbs +55 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +351 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2882856f271f0d5306abbd24e1981cfd97a34e2dc707980c4150d598375c02d1
|
4
|
+
data.tar.gz: 663527af6b9617b7c5978ef0175a2746f0d60b0a05e474d5edb0acbfd6210820
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c6f5c30ca5e9a1ee7ec35b0e46dd20aa9777c040095a6f7ac842383f5ceeca8e017a7b44be50712f9d2a7f99d11d5c57f2e507fd449ea9570eabb32dc9e8002
|
7
|
+
data.tar.gz: 7345dbd3a2e0b837fcc1b6ba769a72c0393f80230c8bab1f9f8f304dec45be5445fb8bf82d6ab221bc854c715921fde4c7655ddb3cf9d241ffd81ade6c82bf02
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.48.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.47.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::CognitoSync
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::CognitoSync
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::CognitoSync
|
|
337
346
|
# @option options [Aws::CognitoSync::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CognitoSync::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
365
399
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
368
402
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
372
405
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -1249,7 +1273,7 @@ module Aws::CognitoSync
|
|
1249
1273
|
params: params,
|
1250
1274
|
config: config)
|
1251
1275
|
context[:gem_name] = 'aws-sdk-cognitosync'
|
1252
|
-
context[:gem_version] = '1.
|
1276
|
+
context[:gem_version] = '1.49.0'
|
1253
1277
|
Seahorse::Client::Request.new(handlers, context)
|
1254
1278
|
end
|
1255
1279
|
|
@@ -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 '\
|
data/lib/aws-sdk-cognitosync.rb
CHANGED
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.
|
4
|
+
version: 1.49.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:
|
11
|
+
date: 2024-04-25 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.
|
22
|
+
version: 3.193.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.
|
32
|
+
version: 3.193.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.
|
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: []
|