aws-sdk-outposts 1.2.0 → 1.7.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 +5 -5
- data/lib/aws-sdk-outposts.rb +3 -1
- data/lib/aws-sdk-outposts/client.rb +36 -21
- data/lib/aws-sdk-outposts/client_api.rb +2 -0
- data/lib/aws-sdk-outposts/errors.rb +2 -0
- data/lib/aws-sdk-outposts/resource.rb +3 -7
- data/lib/aws-sdk-outposts/types.rb +30 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b241cafe77340a19ae081fae7f896cb45f1adff35bb02abfbae527137fc6848d
|
4
|
+
data.tar.gz: 3b21550953924cfb6c3cdfbe2428b86cbeabdf5e7c04284803101f6f008cf737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 073a3c0c567bb1608c622ae57773bfb32894b92cb0a4856d862763d8f0fa9aeca87ee178a92be14905e6c83447da8f6e18ed8a2613f45e51b80a67a84901b046
|
7
|
+
data.tar.gz: f3cb9f602edc80ca77ec54dec34e3902d3eaf44e9d102297369c61ce5f62af2a7b6f5b50fb1fdd10611d1da5d5fa01ff614530170e382a543c90618ed24c8a7d
|
data/lib/aws-sdk-outposts.rb
CHANGED
@@ -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:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-outposts/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::Outposts
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.7.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(:outposts)
|
|
32
35
|
module Aws::Outposts
|
33
36
|
# An API client for Outposts. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::Outposts::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::Outposts
|
|
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
|
|
@@ -105,7 +109,7 @@ module Aws::Outposts
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::Outposts
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::Outposts
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::Outposts
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -265,8 +273,7 @@ module Aws::Outposts
|
|
265
273
|
#
|
266
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
275
|
# 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}.
|
276
|
+
# safely be set per-request on the session.
|
270
277
|
#
|
271
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
279
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +285,7 @@ module Aws::Outposts
|
|
278
285
|
# request body. This option has no effect unless the request has
|
279
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
287
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
288
|
+
# request on the session.
|
282
289
|
#
|
283
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -319,9 +326,13 @@ module Aws::Outposts
|
|
319
326
|
# @option params [String] :availability_zone
|
320
327
|
# The Availability Zone.
|
321
328
|
#
|
329
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
330
|
+
#
|
322
331
|
# @option params [String] :availability_zone_id
|
323
332
|
# The ID of the Availability Zone.
|
324
333
|
#
|
334
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
335
|
+
#
|
325
336
|
# @return [Types::CreateOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
326
337
|
#
|
327
338
|
# * {Types::CreateOutpostOutput#outpost #outpost} => Types::Outpost
|
@@ -493,6 +504,8 @@ module Aws::Outposts
|
|
493
504
|
# * {Types::ListOutpostsOutput#outposts #outposts} => Array<Types::Outpost>
|
494
505
|
# * {Types::ListOutpostsOutput#next_token #next_token} => String
|
495
506
|
#
|
507
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
508
|
+
#
|
496
509
|
# @example Request syntax with placeholder values
|
497
510
|
#
|
498
511
|
# resp = client.list_outposts({
|
@@ -536,6 +549,8 @@ module Aws::Outposts
|
|
536
549
|
# * {Types::ListSitesOutput#sites #sites} => Array<Types::Site>
|
537
550
|
# * {Types::ListSitesOutput#next_token #next_token} => String
|
538
551
|
#
|
552
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
553
|
+
#
|
539
554
|
# @example Request syntax with placeholder values
|
540
555
|
#
|
541
556
|
# resp = client.list_sites({
|
@@ -574,7 +589,7 @@ module Aws::Outposts
|
|
574
589
|
params: params,
|
575
590
|
config: config)
|
576
591
|
context[:gem_name] = 'aws-sdk-outposts'
|
577
|
-
context[:gem_version] = '1.
|
592
|
+
context[:gem_version] = '1.7.0'
|
578
593
|
Seahorse::Client::Request.new(handlers, context)
|
579
594
|
end
|
580
595
|
|
@@ -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::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)
|
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:
|
@@ -17,6 +19,7 @@ module Aws::Outposts
|
|
17
19
|
#
|
18
20
|
class AccessDeniedException < Struct.new(
|
19
21
|
:message)
|
22
|
+
SENSITIVE = []
|
20
23
|
include Aws::Structure
|
21
24
|
end
|
22
25
|
|
@@ -45,10 +48,14 @@ module Aws::Outposts
|
|
45
48
|
#
|
46
49
|
# @!attribute [rw] availability_zone
|
47
50
|
# The Availability Zone.
|
51
|
+
#
|
52
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
48
53
|
# @return [String]
|
49
54
|
#
|
50
55
|
# @!attribute [rw] availability_zone_id
|
51
56
|
# The ID of the Availability Zone.
|
57
|
+
#
|
58
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
52
59
|
# @return [String]
|
53
60
|
#
|
54
61
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpostInput AWS API Documentation
|
@@ -59,6 +66,7 @@ module Aws::Outposts
|
|
59
66
|
:site_id,
|
60
67
|
:availability_zone,
|
61
68
|
:availability_zone_id)
|
69
|
+
SENSITIVE = []
|
62
70
|
include Aws::Structure
|
63
71
|
end
|
64
72
|
|
@@ -70,6 +78,7 @@ module Aws::Outposts
|
|
70
78
|
#
|
71
79
|
class CreateOutpostOutput < Struct.new(
|
72
80
|
:outpost)
|
81
|
+
SENSITIVE = []
|
73
82
|
include Aws::Structure
|
74
83
|
end
|
75
84
|
|
@@ -88,6 +97,7 @@ module Aws::Outposts
|
|
88
97
|
#
|
89
98
|
class DeleteOutpostInput < Struct.new(
|
90
99
|
:outpost_id)
|
100
|
+
SENSITIVE = []
|
91
101
|
include Aws::Structure
|
92
102
|
end
|
93
103
|
|
@@ -110,6 +120,7 @@ module Aws::Outposts
|
|
110
120
|
#
|
111
121
|
class DeleteSiteInput < Struct.new(
|
112
122
|
:site_id)
|
123
|
+
SENSITIVE = []
|
113
124
|
include Aws::Structure
|
114
125
|
end
|
115
126
|
|
@@ -132,6 +143,7 @@ module Aws::Outposts
|
|
132
143
|
#
|
133
144
|
class GetOutpostInput < Struct.new(
|
134
145
|
:outpost_id)
|
146
|
+
SENSITIVE = []
|
135
147
|
include Aws::Structure
|
136
148
|
end
|
137
149
|
|
@@ -162,6 +174,7 @@ module Aws::Outposts
|
|
162
174
|
:outpost_id,
|
163
175
|
:next_token,
|
164
176
|
:max_results)
|
177
|
+
SENSITIVE = []
|
165
178
|
include Aws::Structure
|
166
179
|
end
|
167
180
|
|
@@ -188,6 +201,7 @@ module Aws::Outposts
|
|
188
201
|
:next_token,
|
189
202
|
:outpost_id,
|
190
203
|
:outpost_arn)
|
204
|
+
SENSITIVE = []
|
191
205
|
include Aws::Structure
|
192
206
|
end
|
193
207
|
|
@@ -199,6 +213,7 @@ module Aws::Outposts
|
|
199
213
|
#
|
200
214
|
class GetOutpostOutput < Struct.new(
|
201
215
|
:outpost)
|
216
|
+
SENSITIVE = []
|
202
217
|
include Aws::Structure
|
203
218
|
end
|
204
219
|
|
@@ -212,6 +227,7 @@ module Aws::Outposts
|
|
212
227
|
#
|
213
228
|
class InstanceTypeItem < Struct.new(
|
214
229
|
:instance_type)
|
230
|
+
SENSITIVE = []
|
215
231
|
include Aws::Structure
|
216
232
|
end
|
217
233
|
|
@@ -224,6 +240,7 @@ module Aws::Outposts
|
|
224
240
|
#
|
225
241
|
class InternalServerException < Struct.new(
|
226
242
|
:message)
|
243
|
+
SENSITIVE = []
|
227
244
|
include Aws::Structure
|
228
245
|
end
|
229
246
|
|
@@ -248,6 +265,7 @@ module Aws::Outposts
|
|
248
265
|
class ListOutpostsInput < Struct.new(
|
249
266
|
:next_token,
|
250
267
|
:max_results)
|
268
|
+
SENSITIVE = []
|
251
269
|
include Aws::Structure
|
252
270
|
end
|
253
271
|
|
@@ -264,6 +282,7 @@ module Aws::Outposts
|
|
264
282
|
class ListOutpostsOutput < Struct.new(
|
265
283
|
:outposts,
|
266
284
|
:next_token)
|
285
|
+
SENSITIVE = []
|
267
286
|
include Aws::Structure
|
268
287
|
end
|
269
288
|
|
@@ -288,6 +307,7 @@ module Aws::Outposts
|
|
288
307
|
class ListSitesInput < Struct.new(
|
289
308
|
:next_token,
|
290
309
|
:max_results)
|
310
|
+
SENSITIVE = []
|
291
311
|
include Aws::Structure
|
292
312
|
end
|
293
313
|
|
@@ -304,6 +324,7 @@ module Aws::Outposts
|
|
304
324
|
class ListSitesOutput < Struct.new(
|
305
325
|
:sites,
|
306
326
|
:next_token)
|
327
|
+
SENSITIVE = []
|
307
328
|
include Aws::Structure
|
308
329
|
end
|
309
330
|
|
@@ -316,6 +337,7 @@ module Aws::Outposts
|
|
316
337
|
#
|
317
338
|
class NotFoundException < Struct.new(
|
318
339
|
:message)
|
340
|
+
SENSITIVE = []
|
319
341
|
include Aws::Structure
|
320
342
|
end
|
321
343
|
|
@@ -351,10 +373,14 @@ module Aws::Outposts
|
|
351
373
|
#
|
352
374
|
# @!attribute [rw] availability_zone
|
353
375
|
# The Availability Zone.
|
376
|
+
#
|
377
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
354
378
|
# @return [String]
|
355
379
|
#
|
356
380
|
# @!attribute [rw] availability_zone_id
|
357
381
|
# The ID of the Availability Zone.
|
382
|
+
#
|
383
|
+
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
358
384
|
# @return [String]
|
359
385
|
#
|
360
386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Outpost AWS API Documentation
|
@@ -369,6 +395,7 @@ module Aws::Outposts
|
|
369
395
|
:life_cycle_status,
|
370
396
|
:availability_zone,
|
371
397
|
:availability_zone_id)
|
398
|
+
SENSITIVE = []
|
372
399
|
include Aws::Structure
|
373
400
|
end
|
374
401
|
|
@@ -381,6 +408,7 @@ module Aws::Outposts
|
|
381
408
|
#
|
382
409
|
class ServiceQuotaExceededException < Struct.new(
|
383
410
|
:message)
|
411
|
+
SENSITIVE = []
|
384
412
|
include Aws::Structure
|
385
413
|
end
|
386
414
|
|
@@ -409,6 +437,7 @@ module Aws::Outposts
|
|
409
437
|
:account_id,
|
410
438
|
:name,
|
411
439
|
:description)
|
440
|
+
SENSITIVE = []
|
412
441
|
include Aws::Structure
|
413
442
|
end
|
414
443
|
|
@@ -421,6 +450,7 @@ module Aws::Outposts
|
|
421
450
|
#
|
422
451
|
class ValidationException < Struct.new(
|
423
452
|
:message)
|
453
|
+
SENSITIVE = []
|
424
454
|
include Aws::Structure
|
425
455
|
end
|
426
456
|
|
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.7.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-
|
11
|
+
date: 2020-06-23 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.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.
|
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.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Outposts
|