aws-sdk-outposts 1.16.0 → 1.17.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts.rb +1 -1
- data/lib/aws-sdk-outposts/client.rb +35 -6
- data/lib/aws-sdk-outposts/client_api.rb +12 -0
- data/lib/aws-sdk-outposts/types.rb +31 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af5b5d4d437d1fde3844cea1e24d3508d83c18cadda63a512db65c858570edd7
|
4
|
+
data.tar.gz: 4a0aa7dbb095558452680b42013a40d053560e660fd67c709168da83d5304090
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d4bcf98b8358d47e9df82a2212d536b276c0f527e15e1d5e4f408d5565a8f409f230674b84cec7f455627123945392af6a28b1824e3915183666b15dd0e67f2
|
7
|
+
data.tar.gz: b30e4a6d84acc90246f087ab7b93c23ba3b9746a589f694134a467459b89a35bff5d92f4e9671b4bbcbe265e61837f7100b0c45cc1bf60e3df4229d88034289a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
data/lib/aws-sdk-outposts.rb
CHANGED
@@ -329,6 +329,8 @@ module Aws::Outposts
|
|
329
329
|
|
330
330
|
# Creates an Outpost.
|
331
331
|
#
|
332
|
+
# You can specify `AvailabilityZone` or `AvailabilityZoneId`.
|
333
|
+
#
|
332
334
|
# @option params [required, String] :name
|
333
335
|
# The name of the Outpost.
|
334
336
|
#
|
@@ -341,13 +343,9 @@ module Aws::Outposts
|
|
341
343
|
# @option params [String] :availability_zone
|
342
344
|
# The Availability Zone.
|
343
345
|
#
|
344
|
-
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
345
|
-
#
|
346
346
|
# @option params [String] :availability_zone_id
|
347
347
|
# The ID of the Availability Zone.
|
348
348
|
#
|
349
|
-
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
350
|
-
#
|
351
349
|
# @option params [Hash<String,String>] :tags
|
352
350
|
# The tags to apply to the Outpost.
|
353
351
|
#
|
@@ -518,7 +516,14 @@ module Aws::Outposts
|
|
518
516
|
req.send_request(options)
|
519
517
|
end
|
520
518
|
|
521
|
-
#
|
519
|
+
# Create a list of the Outposts for your AWS account. Add filters to
|
520
|
+
# your request to return a more specific list of results. Use filters to
|
521
|
+
# match an Outpost lifecycle status, Availibility Zone (`us-east-1a`),
|
522
|
+
# and AZ ID (`use1-az1`).
|
523
|
+
#
|
524
|
+
# If you specify multiple filters, the filters are joined with an `AND`,
|
525
|
+
# and the request returns only results that match all of the specified
|
526
|
+
# filters.
|
522
527
|
#
|
523
528
|
# @option params [String] :next_token
|
524
529
|
# The pagination token.
|
@@ -526,6 +531,27 @@ module Aws::Outposts
|
|
526
531
|
# @option params [Integer] :max_results
|
527
532
|
# The maximum page size.
|
528
533
|
#
|
534
|
+
# @option params [Array<String>] :life_cycle_status_filter
|
535
|
+
# A filter for the lifecycle status of the Outpost.
|
536
|
+
#
|
537
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
538
|
+
# filter, the values are joined with an `OR`, and the request returns
|
539
|
+
# all results that match any of the specified values.
|
540
|
+
#
|
541
|
+
# @option params [Array<String>] :availability_zone_filter
|
542
|
+
# A filter for the Availibility Zone (`us-east-1a`) of the Outpost.
|
543
|
+
#
|
544
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
545
|
+
# filter, the values are joined with an `OR`, and the request returns
|
546
|
+
# all results that match any of the specified values.
|
547
|
+
#
|
548
|
+
# @option params [Array<String>] :availability_zone_id_filter
|
549
|
+
# A filter for the AZ IDs (`use1-az1`) of the Outpost.
|
550
|
+
#
|
551
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
552
|
+
# filter, the values are joined with an `OR`, and the request returns
|
553
|
+
# all results that match any of the specified values.
|
554
|
+
#
|
529
555
|
# @return [Types::ListOutpostsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
530
556
|
#
|
531
557
|
# * {Types::ListOutpostsOutput#outposts #outposts} => Array<Types::Outpost>
|
@@ -538,6 +564,9 @@ module Aws::Outposts
|
|
538
564
|
# resp = client.list_outposts({
|
539
565
|
# next_token: "Token",
|
540
566
|
# max_results: 1,
|
567
|
+
# life_cycle_status_filter: ["LifeCycleStatus"],
|
568
|
+
# availability_zone_filter: ["AvailabilityZone"],
|
569
|
+
# availability_zone_id_filter: ["AvailabilityZoneId"],
|
541
570
|
# })
|
542
571
|
#
|
543
572
|
# @example Response structure
|
@@ -705,7 +734,7 @@ module Aws::Outposts
|
|
705
734
|
params: params,
|
706
735
|
config: config)
|
707
736
|
context[:gem_name] = 'aws-sdk-outposts'
|
708
|
-
context[:gem_version] = '1.
|
737
|
+
context[:gem_version] = '1.17.0'
|
709
738
|
Seahorse::Client::Request.new(handlers, context)
|
710
739
|
end
|
711
740
|
|
@@ -18,6 +18,8 @@ module Aws::Outposts
|
|
18
18
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
19
19
|
AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
|
20
20
|
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
21
|
+
AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList')
|
22
|
+
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
21
23
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
22
24
|
CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
|
23
25
|
CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
|
@@ -35,6 +37,7 @@ module Aws::Outposts
|
|
35
37
|
InstanceTypeListDefinition = Shapes::ListShape.new(name: 'InstanceTypeListDefinition')
|
36
38
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
37
39
|
LifeCycleStatus = Shapes::StringShape.new(name: 'LifeCycleStatus')
|
40
|
+
LifeCycleStatusList = Shapes::ListShape.new(name: 'LifeCycleStatusList')
|
38
41
|
ListOutpostsInput = Shapes::StructureShape.new(name: 'ListOutpostsInput')
|
39
42
|
ListOutpostsOutput = Shapes::StructureShape.new(name: 'ListOutpostsOutput')
|
40
43
|
ListSitesInput = Shapes::StructureShape.new(name: 'ListSitesInput')
|
@@ -73,6 +76,10 @@ module Aws::Outposts
|
|
73
76
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
74
77
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
75
78
|
|
79
|
+
AvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneId)
|
80
|
+
|
81
|
+
AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
82
|
+
|
76
83
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
77
84
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
78
85
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
@@ -124,8 +131,13 @@ module Aws::Outposts
|
|
124
131
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
125
132
|
InternalServerException.struct_class = Types::InternalServerException
|
126
133
|
|
134
|
+
LifeCycleStatusList.member = Shapes::ShapeRef.new(shape: LifeCycleStatus)
|
135
|
+
|
127
136
|
ListOutpostsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
128
137
|
ListOutpostsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
138
|
+
ListOutpostsInput.add_member(:life_cycle_status_filter, Shapes::ShapeRef.new(shape: LifeCycleStatusList, location: "querystring", location_name: "LifeCycleStatusFilter"))
|
139
|
+
ListOutpostsInput.add_member(:availability_zone_filter, Shapes::ShapeRef.new(shape: AvailabilityZoneList, location: "querystring", location_name: "AvailabilityZoneFilter"))
|
140
|
+
ListOutpostsInput.add_member(:availability_zone_id_filter, Shapes::ShapeRef.new(shape: AvailabilityZoneIdList, location: "querystring", location_name: "AvailabilityZoneIdFilter"))
|
129
141
|
ListOutpostsInput.struct_class = Types::ListOutpostsInput
|
130
142
|
|
131
143
|
ListOutpostsOutput.add_member(:outposts, Shapes::ShapeRef.new(shape: outpostListDefinition, location_name: "Outposts"))
|
@@ -74,14 +74,10 @@ module Aws::Outposts
|
|
74
74
|
#
|
75
75
|
# @!attribute [rw] availability_zone
|
76
76
|
# The Availability Zone.
|
77
|
-
#
|
78
|
-
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
79
77
|
# @return [String]
|
80
78
|
#
|
81
79
|
# @!attribute [rw] availability_zone_id
|
82
80
|
# The ID of the Availability Zone.
|
83
|
-
#
|
84
|
-
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
85
81
|
# @return [String]
|
86
82
|
#
|
87
83
|
# @!attribute [rw] tags
|
@@ -281,6 +277,9 @@ module Aws::Outposts
|
|
281
277
|
# {
|
282
278
|
# next_token: "Token",
|
283
279
|
# max_results: 1,
|
280
|
+
# life_cycle_status_filter: ["LifeCycleStatus"],
|
281
|
+
# availability_zone_filter: ["AvailabilityZone"],
|
282
|
+
# availability_zone_id_filter: ["AvailabilityZoneId"],
|
284
283
|
# }
|
285
284
|
#
|
286
285
|
# @!attribute [rw] next_token
|
@@ -291,11 +290,38 @@ module Aws::Outposts
|
|
291
290
|
# The maximum page size.
|
292
291
|
# @return [Integer]
|
293
292
|
#
|
293
|
+
# @!attribute [rw] life_cycle_status_filter
|
294
|
+
# A filter for the lifecycle status of the Outpost.
|
295
|
+
#
|
296
|
+
# Filter values are case sensitive. If you specify multiple values for
|
297
|
+
# a filter, the values are joined with an `OR`, and the request
|
298
|
+
# returns all results that match any of the specified values.
|
299
|
+
# @return [Array<String>]
|
300
|
+
#
|
301
|
+
# @!attribute [rw] availability_zone_filter
|
302
|
+
# A filter for the Availibility Zone (`us-east-1a`) of the Outpost.
|
303
|
+
#
|
304
|
+
# Filter values are case sensitive. If you specify multiple values for
|
305
|
+
# a filter, the values are joined with an `OR`, and the request
|
306
|
+
# returns all results that match any of the specified values.
|
307
|
+
# @return [Array<String>]
|
308
|
+
#
|
309
|
+
# @!attribute [rw] availability_zone_id_filter
|
310
|
+
# A filter for the AZ IDs (`use1-az1`) of the Outpost.
|
311
|
+
#
|
312
|
+
# Filter values are case sensitive. If you specify multiple values for
|
313
|
+
# a filter, the values are joined with an `OR`, and the request
|
314
|
+
# returns all results that match any of the specified values.
|
315
|
+
# @return [Array<String>]
|
316
|
+
#
|
294
317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutpostsInput AWS API Documentation
|
295
318
|
#
|
296
319
|
class ListOutpostsInput < Struct.new(
|
297
320
|
:next_token,
|
298
|
-
:max_results
|
321
|
+
:max_results,
|
322
|
+
:life_cycle_status_filter,
|
323
|
+
:availability_zone_filter,
|
324
|
+
:availability_zone_id_filter)
|
299
325
|
SENSITIVE = []
|
300
326
|
include Aws::Structure
|
301
327
|
end
|
@@ -435,14 +461,10 @@ module Aws::Outposts
|
|
435
461
|
#
|
436
462
|
# @!attribute [rw] availability_zone
|
437
463
|
# The Availability Zone.
|
438
|
-
#
|
439
|
-
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
440
464
|
# @return [String]
|
441
465
|
#
|
442
466
|
# @!attribute [rw] availability_zone_id
|
443
467
|
# The ID of the Availability Zone.
|
444
|
-
#
|
445
|
-
# You must specify `AvailabilityZone` or `AvailabilityZoneId`.
|
446
468
|
# @return [String]
|
447
469
|
#
|
448
470
|
# @!attribute [rw] tags
|
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.17.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: 2021-
|
11
|
+
date: 2021-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|