aws-sdk-mobile 1.17.0 → 1.22.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
- SHA1:
3
- metadata.gz: 97bf01feb0819884c90931383c21f0fa7cf651b3
4
- data.tar.gz: 510eb70bac9e13d98934dd822a88b5e556e21fa3
2
+ SHA256:
3
+ metadata.gz: 16b1472f605f6b9a026cd16e63e11fb790db0ffbca0adccd507e12e7467a88c2
4
+ data.tar.gz: e5cbd3b2caffd2f52b45f9353f9ac95a775d2d2e028136464d44f93aa5718c26
5
5
  SHA512:
6
- metadata.gz: 5c25a2b1b23dfdb44f1bbbbce45f16d5731276d57f7328c4c7ff9684a707675a0e0ca49e6bcfdd91c17f8f033acadfe493e00c43b56762ac4c1bbfdada9a5a10
7
- data.tar.gz: f82ad6c331b8d772bcb6437f04a82f53ce7246390dff133bd1c4781d03c75f97663109a7ff3c3db6643ded79dd38c02cf267c38ac453bafb73f858c9e689a2ad
6
+ metadata.gz: e2372ee82af675827656ea009d7b4654fe0127b446c0b7e1e475cd4712a0030eaf7da7709ef6333f11424406a4c66dc4a01e23774afa78cce6297c9ece5fceca
7
+ data.tar.gz: 0b9750650a6ba690294f7a86eab4352a6080d6dfe55efd802b1b6eb2dcd26c2d3e930b64d2bb2264fb8723870167493a3b20248589f78f2634e4fefd9293293b
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-mobile/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::Mobile
47
49
 
48
- GEM_VERSION = '1.17.0'
50
+ GEM_VERSION = '1.22.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:mobile)
32
35
  module Aws::Mobile
33
36
  # An API client for Mobile. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::Mobile::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::Mobile::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -69,6 +72,7 @@ module Aws::Mobile
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -81,13 +85,28 @@ module Aws::Mobile
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,15 +116,15 @@ module Aws::Mobile
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
107
126
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
127
+ # a default `:region` is searched for in the following locations:
109
128
  #
110
129
  # * `Aws.config[:region]`
111
130
  # * `ENV['AWS_REGION']`
@@ -161,7 +180,7 @@ module Aws::Mobile
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +195,7 @@ module Aws::Mobile
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -229,15 +248,19 @@ module Aws::Mobile
229
248
  #
230
249
  # @option options [String] :retry_mode ("legacy")
231
250
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
241
264
  #
242
265
  # @option options [String] :secret_access_key
243
266
  #
@@ -265,8 +288,7 @@ module Aws::Mobile
265
288
  #
266
289
  # @option options [Integer] :http_read_timeout (60) The default
267
290
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
291
+ # safely be set per-request on the session.
270
292
  #
271
293
  # @option options [Float] :http_idle_timeout (5) The number of
272
294
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +300,7 @@ module Aws::Mobile
278
300
  # request body. This option has no effect unless the request has
279
301
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
302
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
303
+ # request on the session.
282
304
  #
283
305
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
306
  # HTTP debug output will be sent to the `:logger`.
@@ -313,7 +335,7 @@ module Aws::Mobile
313
335
  # @option params [String] :region
314
336
  # Default region where project resources should be created.
315
337
  #
316
- # @option params [String, IO] :contents
338
+ # @option params [String, StringIO, File] :contents
317
339
  # ZIP or YAML file which contains configuration settings to be used when
318
340
  # creating the project. This may be the contents of the file downloaded
319
341
  # from the URL provided in an export project operation.
@@ -573,6 +595,8 @@ module Aws::Mobile
573
595
  # * {Types::ListBundlesResult#bundle_list #bundle_list} => Array<Types::BundleDetails>
574
596
  # * {Types::ListBundlesResult#next_token #next_token} => String
575
597
  #
598
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
599
+ #
576
600
  # @example Request syntax with placeholder values
577
601
  #
578
602
  # resp = client.list_bundles({
@@ -616,6 +640,8 @@ module Aws::Mobile
616
640
  # * {Types::ListProjectsResult#projects #projects} => Array<Types::ProjectSummary>
617
641
  # * {Types::ListProjectsResult#next_token #next_token} => String
618
642
  #
643
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
644
+ #
619
645
  # @example Request syntax with placeholder values
620
646
  #
621
647
  # resp = client.list_projects({
@@ -641,7 +667,7 @@ module Aws::Mobile
641
667
 
642
668
  # Update an existing project.
643
669
  #
644
- # @option params [String, IO] :contents
670
+ # @option params [String, StringIO, File] :contents
645
671
  # ZIP or YAML file which contains project configuration to be updated.
646
672
  # This should be the contents of the file downloaded from the URL
647
673
  # provided in an export project operation.
@@ -699,7 +725,7 @@ module Aws::Mobile
699
725
  params: params,
700
726
  config: config)
701
727
  context[:gem_name] = 'aws-sdk-mobile'
702
- context[:gem_version] = '1.17.0'
728
+ context[:gem_version] = '1.22.0'
703
729
  Seahorse::Client::Request.new(handlers, context)
704
730
  end
705
731
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::Mobile
9
- # This class provides a resource oriented interface for Mobile.
10
- # To create a resource object:
11
- # resource = Aws::Mobile::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::Mobile::Client.new(region: 'us-west-2')
15
- # resource = Aws::Mobile::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -18,6 +20,7 @@ module Aws::Mobile
18
20
  #
19
21
  class AccountActionRequiredException < Struct.new(
20
22
  :message)
23
+ SENSITIVE = []
21
24
  include Aws::Structure
22
25
  end
23
26
 
@@ -32,6 +35,7 @@ module Aws::Mobile
32
35
  #
33
36
  class BadRequestException < Struct.new(
34
37
  :message)
38
+ SENSITIVE = []
35
39
  include Aws::Structure
36
40
  end
37
41
 
@@ -70,6 +74,7 @@ module Aws::Mobile
70
74
  :description,
71
75
  :icon_url,
72
76
  :available_platforms)
77
+ SENSITIVE = []
73
78
  include Aws::Structure
74
79
  end
75
80
 
@@ -112,6 +117,7 @@ module Aws::Mobile
112
117
  :region,
113
118
  :contents,
114
119
  :snapshot_id)
120
+ SENSITIVE = []
115
121
  include Aws::Structure
116
122
  end
117
123
 
@@ -125,6 +131,7 @@ module Aws::Mobile
125
131
  #
126
132
  class CreateProjectResult < Struct.new(
127
133
  :details)
134
+ SENSITIVE = []
128
135
  include Aws::Structure
129
136
  end
130
137
 
@@ -145,6 +152,7 @@ module Aws::Mobile
145
152
  #
146
153
  class DeleteProjectRequest < Struct.new(
147
154
  :project_id)
155
+ SENSITIVE = []
148
156
  include Aws::Structure
149
157
  end
150
158
 
@@ -164,6 +172,7 @@ module Aws::Mobile
164
172
  class DeleteProjectResult < Struct.new(
165
173
  :deleted_resources,
166
174
  :orphaned_resources)
175
+ SENSITIVE = []
167
176
  include Aws::Structure
168
177
  end
169
178
 
@@ -184,6 +193,7 @@ module Aws::Mobile
184
193
  #
185
194
  class DescribeBundleRequest < Struct.new(
186
195
  :bundle_id)
196
+ SENSITIVE = []
187
197
  include Aws::Structure
188
198
  end
189
199
 
@@ -197,6 +207,7 @@ module Aws::Mobile
197
207
  #
198
208
  class DescribeBundleResult < Struct.new(
199
209
  :details)
210
+ SENSITIVE = []
200
211
  include Aws::Structure
201
212
  end
202
213
 
@@ -225,6 +236,7 @@ module Aws::Mobile
225
236
  class DescribeProjectRequest < Struct.new(
226
237
  :project_id,
227
238
  :sync_from_resources)
239
+ SENSITIVE = []
228
240
  include Aws::Structure
229
241
  end
230
242
 
@@ -238,6 +250,7 @@ module Aws::Mobile
238
250
  #
239
251
  class DescribeProjectResult < Struct.new(
240
252
  :details)
253
+ SENSITIVE = []
241
254
  include Aws::Structure
242
255
  end
243
256
 
@@ -272,6 +285,7 @@ module Aws::Mobile
272
285
  :bundle_id,
273
286
  :project_id,
274
287
  :platform)
288
+ SENSITIVE = []
275
289
  include Aws::Structure
276
290
  end
277
291
 
@@ -289,6 +303,7 @@ module Aws::Mobile
289
303
  #
290
304
  class ExportBundleResult < Struct.new(
291
305
  :download_url)
306
+ SENSITIVE = []
292
307
  include Aws::Structure
293
308
  end
294
309
 
@@ -310,6 +325,7 @@ module Aws::Mobile
310
325
  #
311
326
  class ExportProjectRequest < Struct.new(
312
327
  :project_id)
328
+ SENSITIVE = []
313
329
  include Aws::Structure
314
330
  end
315
331
 
@@ -343,6 +359,7 @@ module Aws::Mobile
343
359
  :download_url,
344
360
  :share_url,
345
361
  :snapshot_id)
362
+ SENSITIVE = []
346
363
  include Aws::Structure
347
364
  end
348
365
 
@@ -357,6 +374,7 @@ module Aws::Mobile
357
374
  #
358
375
  class InternalFailureException < Struct.new(
359
376
  :message)
377
+ SENSITIVE = []
360
378
  include Aws::Structure
361
379
  end
362
380
 
@@ -378,6 +396,7 @@ module Aws::Mobile
378
396
  class LimitExceededException < Struct.new(
379
397
  :retry_after_seconds,
380
398
  :message)
399
+ SENSITIVE = []
381
400
  include Aws::Structure
382
401
  end
383
402
 
@@ -406,6 +425,7 @@ module Aws::Mobile
406
425
  class ListBundlesRequest < Struct.new(
407
426
  :max_results,
408
427
  :next_token)
428
+ SENSITIVE = []
409
429
  include Aws::Structure
410
430
  end
411
431
 
@@ -427,6 +447,7 @@ module Aws::Mobile
427
447
  class ListBundlesResult < Struct.new(
428
448
  :bundle_list,
429
449
  :next_token)
450
+ SENSITIVE = []
430
451
  include Aws::Structure
431
452
  end
432
453
 
@@ -455,6 +476,7 @@ module Aws::Mobile
455
476
  class ListProjectsRequest < Struct.new(
456
477
  :max_results,
457
478
  :next_token)
479
+ SENSITIVE = []
458
480
  include Aws::Structure
459
481
  end
460
482
 
@@ -475,6 +497,7 @@ module Aws::Mobile
475
497
  class ListProjectsResult < Struct.new(
476
498
  :projects,
477
499
  :next_token)
500
+ SENSITIVE = []
478
501
  include Aws::Structure
479
502
  end
480
503
 
@@ -488,6 +511,7 @@ module Aws::Mobile
488
511
  #
489
512
  class NotFoundException < Struct.new(
490
513
  :message)
514
+ SENSITIVE = []
491
515
  include Aws::Structure
492
516
  end
493
517
 
@@ -537,6 +561,7 @@ module Aws::Mobile
537
561
  :last_updated_date,
538
562
  :console_url,
539
563
  :resources)
564
+ SENSITIVE = []
540
565
  include Aws::Structure
541
566
  end
542
567
 
@@ -555,6 +580,7 @@ module Aws::Mobile
555
580
  class ProjectSummary < Struct.new(
556
581
  :name,
557
582
  :project_id)
583
+ SENSITIVE = []
558
584
  include Aws::Structure
559
585
  end
560
586
 
@@ -593,6 +619,7 @@ module Aws::Mobile
593
619
  :arn,
594
620
  :feature,
595
621
  :attributes)
622
+ SENSITIVE = []
596
623
  include Aws::Structure
597
624
  end
598
625
 
@@ -612,6 +639,7 @@ module Aws::Mobile
612
639
  class ServiceUnavailableException < Struct.new(
613
640
  :retry_after_seconds,
614
641
  :message)
642
+ SENSITIVE = []
615
643
  include Aws::Structure
616
644
  end
617
645
 
@@ -631,6 +659,7 @@ module Aws::Mobile
631
659
  class TooManyRequestsException < Struct.new(
632
660
  :retry_after_seconds,
633
661
  :message)
662
+ SENSITIVE = []
634
663
  include Aws::Structure
635
664
  end
636
665
 
@@ -644,6 +673,7 @@ module Aws::Mobile
644
673
  #
645
674
  class UnauthorizedException < Struct.new(
646
675
  :message)
676
+ SENSITIVE = []
647
677
  include Aws::Structure
648
678
  end
649
679
 
@@ -672,6 +702,7 @@ module Aws::Mobile
672
702
  class UpdateProjectRequest < Struct.new(
673
703
  :contents,
674
704
  :project_id)
705
+ SENSITIVE = []
675
706
  include Aws::Structure
676
707
  end
677
708
 
@@ -685,6 +716,7 @@ module Aws::Mobile
685
716
  #
686
717
  class UpdateProjectResult < Struct.new(
687
718
  :details)
719
+ SENSITIVE = []
688
720
  include Aws::Structure
689
721
  end
690
722
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mobile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.22.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: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-08-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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - AWS Mobile