aws-sdk-outposts 1.2.0 → 1.3.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 +4 -4
- data/lib/aws-sdk-outposts.rb +1 -1
- data/lib/aws-sdk-outposts/client.rb +27 -15
- data/lib/aws-sdk-outposts/resource.rb +1 -7
- data/lib/aws-sdk-outposts/types.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61a3d240c7036c20e27485499f05dba7b3f189a6
|
4
|
+
data.tar.gz: 90f68445fbff75f5c43da2c34bcb96f0c90667ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35b4883d44a90348d6f62b18a9a2b5669461450ccecc18a94c39fc901af6d4778370ad8b8a364b4c33ec4364ab7290dbd30486e0f85adebd4de3f02057e2ce9b
|
7
|
+
data.tar.gz: caef14827eb5be62d269adaf69e45ffe9ce8450111a5282fd46a5513336e13a88f4f77e3b83b216d05d8a2df7a8ef783cae18715f60ebdfa1f8ed7708cfd5bea
|
data/lib/aws-sdk-outposts.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:outposts)
|
|
32
32
|
module Aws::Outposts
|
33
33
|
# An API client for Outposts. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::Outposts::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::Outposts
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -319,9 +323,13 @@ module Aws::Outposts
|
|
319
323
|
# @option params [String] :availability_zone
|
320
324
|
# The Availability Zone.
|
321
325
|
#
|
326
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
327
|
+
#
|
322
328
|
# @option params [String] :availability_zone_id
|
323
329
|
# The ID of the Availability Zone.
|
324
330
|
#
|
331
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
332
|
+
#
|
325
333
|
# @return [Types::CreateOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
326
334
|
#
|
327
335
|
# * {Types::CreateOutpostOutput#outpost #outpost} => Types::Outpost
|
@@ -493,6 +501,8 @@ module Aws::Outposts
|
|
493
501
|
# * {Types::ListOutpostsOutput#outposts #outposts} => Array<Types::Outpost>
|
494
502
|
# * {Types::ListOutpostsOutput#next_token #next_token} => String
|
495
503
|
#
|
504
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
505
|
+
#
|
496
506
|
# @example Request syntax with placeholder values
|
497
507
|
#
|
498
508
|
# resp = client.list_outposts({
|
@@ -536,6 +546,8 @@ module Aws::Outposts
|
|
536
546
|
# * {Types::ListSitesOutput#sites #sites} => Array<Types::Site>
|
537
547
|
# * {Types::ListSitesOutput#next_token #next_token} => String
|
538
548
|
#
|
549
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
550
|
+
#
|
539
551
|
# @example Request syntax with placeholder values
|
540
552
|
#
|
541
553
|
# resp = client.list_sites({
|
@@ -574,7 +586,7 @@ module Aws::Outposts
|
|
574
586
|
params: params,
|
575
587
|
config: config)
|
576
588
|
context[:gem_name] = 'aws-sdk-outposts'
|
577
|
-
context[:gem_version] = '1.
|
589
|
+
context[:gem_version] = '1.3.0'
|
578
590
|
Seahorse::Client::Request.new(handlers, context)
|
579
591
|
end
|
580
592
|
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::Outposts
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Outposts::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::Outposts::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Outposts::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -45,10 +45,14 @@ module Aws::Outposts
|
|
45
45
|
#
|
46
46
|
# @!attribute [rw] availability_zone
|
47
47
|
# The Availability Zone.
|
48
|
+
#
|
49
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
48
50
|
# @return [String]
|
49
51
|
#
|
50
52
|
# @!attribute [rw] availability_zone_id
|
51
53
|
# The ID of the Availability Zone.
|
54
|
+
#
|
55
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
52
56
|
# @return [String]
|
53
57
|
#
|
54
58
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpostInput AWS API Documentation
|
@@ -351,10 +355,14 @@ module Aws::Outposts
|
|
351
355
|
#
|
352
356
|
# @!attribute [rw] availability_zone
|
353
357
|
# The Availability Zone.
|
358
|
+
#
|
359
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
354
360
|
# @return [String]
|
355
361
|
#
|
356
362
|
# @!attribute [rw] availability_zone_id
|
357
363
|
# The ID of the Availability Zone.
|
364
|
+
#
|
365
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
358
366
|
# @return [String]
|
359
367
|
#
|
360
368
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Outpost AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-outposts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.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-
|
11
|
+
date: 2020-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|