aws-sdk-outposts 1.88.0 → 1.90.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +39 -3
- data/lib/aws-sdk-outposts/client_api.rb +30 -1
- data/lib/aws-sdk-outposts/types.rb +35 -0
- data/lib/aws-sdk-outposts.rb +1 -1
- data/sig/client.rbs +13 -1
- data/sig/types.rbs +12 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b563c5b0894f75fdcddbcc12b9bb62a54df599b4a3595394157ea3136d604d4
|
4
|
+
data.tar.gz: 9c57056d35fe66158c1fe70ed9510b70243d414038492b940021539823bdd310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 213df5f5d193082a0475edb594d95770d6de2edcfbea36ac76a98762ecf7594b567ffd591f57a5ae9ba88872266c4f017c0cc32cc190213388814d3166a8cfc7
|
7
|
+
data.tar.gz: 311a7250298308adae257d5f300ebdc19b6997ee9205be7f74d58c6bbcb7eab8781f5ad0e22d196f9e357f184af78345590b61ae932b87c9020a7165a780be38
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.90.0 (2025-10-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the new StartOutpostDecommission API, which starts the decommission process to return Outposts racks or servers.
|
8
|
+
|
9
|
+
1.89.0 (2025-08-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.88.0 (2025-08-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.90.0
|
@@ -530,7 +530,7 @@ module Aws::Outposts
|
|
530
530
|
# @option params [required, String] :outpost_identifier
|
531
531
|
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
532
532
|
#
|
533
|
-
# @option params [
|
533
|
+
# @option params [Array<Types::LineItemRequest>] :line_items
|
534
534
|
# The line items that make up the order.
|
535
535
|
#
|
536
536
|
# @option params [required, String] :payment_option
|
@@ -547,7 +547,7 @@ module Aws::Outposts
|
|
547
547
|
#
|
548
548
|
# resp = client.create_order({
|
549
549
|
# outpost_identifier: "OutpostIdentifier", # required
|
550
|
-
# line_items: [
|
550
|
+
# line_items: [
|
551
551
|
# {
|
552
552
|
# catalog_item_id: "SkuCode",
|
553
553
|
# quantity: 1,
|
@@ -1998,6 +1998,42 @@ module Aws::Outposts
|
|
1998
1998
|
req.send_request(options)
|
1999
1999
|
end
|
2000
2000
|
|
2001
|
+
# Starts the decommission process to return the Outposts racks or
|
2002
|
+
# servers.
|
2003
|
+
#
|
2004
|
+
# @option params [required, String] :outpost_identifier
|
2005
|
+
# The ID or ARN of the Outpost that you want to decommission.
|
2006
|
+
#
|
2007
|
+
# @option params [Boolean] :validate_only
|
2008
|
+
# Validates the request without starting the decommission process.
|
2009
|
+
#
|
2010
|
+
# @return [Types::StartOutpostDecommissionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2011
|
+
#
|
2012
|
+
# * {Types::StartOutpostDecommissionOutput#status #status} => String
|
2013
|
+
# * {Types::StartOutpostDecommissionOutput#blocking_resource_types #blocking_resource_types} => Array<String>
|
2014
|
+
#
|
2015
|
+
# @example Request syntax with placeholder values
|
2016
|
+
#
|
2017
|
+
# resp = client.start_outpost_decommission({
|
2018
|
+
# outpost_identifier: "OutpostIdentifier", # required
|
2019
|
+
# validate_only: false,
|
2020
|
+
# })
|
2021
|
+
#
|
2022
|
+
# @example Response structure
|
2023
|
+
#
|
2024
|
+
# resp.status #=> String, one of "SKIPPED", "BLOCKED", "REQUESTED"
|
2025
|
+
# resp.blocking_resource_types #=> Array
|
2026
|
+
# resp.blocking_resource_types[0] #=> String, one of "EC2_INSTANCE", "OUTPOST_RAM_SHARE", "LGW_ROUTING_DOMAIN", "LGW_ROUTE_TABLE", "LGW_VIRTUAL_INTERFACE_GROUP", "OUTPOST_ORDER_CANCELLABLE", "OUTPOST_ORDER_INTERVENTION_REQUIRED"
|
2027
|
+
#
|
2028
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartOutpostDecommission AWS API Documentation
|
2029
|
+
#
|
2030
|
+
# @overload start_outpost_decommission(params = {})
|
2031
|
+
# @param [Hash] params ({})
|
2032
|
+
def start_outpost_decommission(params = {}, options = {})
|
2033
|
+
req = build_request(:start_outpost_decommission, params)
|
2034
|
+
req.send_request(options)
|
2035
|
+
end
|
2036
|
+
|
2001
2037
|
# Adds tags to the specified resource.
|
2002
2038
|
#
|
2003
2039
|
# @option params [required, String] :resource_arn
|
@@ -2409,7 +2445,7 @@ module Aws::Outposts
|
|
2409
2445
|
tracer: tracer
|
2410
2446
|
)
|
2411
2447
|
context[:gem_name] = 'aws-sdk-outposts'
|
2412
|
-
context[:gem_version] = '1.
|
2448
|
+
context[:gem_version] = '1.90.0'
|
2413
2449
|
Seahorse::Client::Request.new(handlers, context)
|
2414
2450
|
end
|
2415
2451
|
|
@@ -43,6 +43,8 @@ module Aws::Outposts
|
|
43
43
|
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
44
44
|
BlockingInstance = Shapes::StructureShape.new(name: 'BlockingInstance')
|
45
45
|
BlockingInstancesList = Shapes::ListShape.new(name: 'BlockingInstancesList')
|
46
|
+
BlockingResourceType = Shapes::StringShape.new(name: 'BlockingResourceType')
|
47
|
+
BlockingResourceTypeList = Shapes::ListShape.new(name: 'BlockingResourceTypeList')
|
46
48
|
CIDR = Shapes::StringShape.new(name: 'CIDR')
|
47
49
|
CIDRList = Shapes::ListShape.new(name: 'CIDRList')
|
48
50
|
CancelCapacityTaskInput = Shapes::StructureShape.new(name: 'CancelCapacityTaskInput')
|
@@ -81,6 +83,7 @@ module Aws::Outposts
|
|
81
83
|
CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
|
82
84
|
CreateSiteInput = Shapes::StructureShape.new(name: 'CreateSiteInput')
|
83
85
|
CreateSiteOutput = Shapes::StructureShape.new(name: 'CreateSiteOutput')
|
86
|
+
DecommissionRequestStatus = Shapes::StringShape.new(name: 'DecommissionRequestStatus')
|
84
87
|
DeleteOutpostInput = Shapes::StructureShape.new(name: 'DeleteOutpostInput')
|
85
88
|
DeleteOutpostOutput = Shapes::StructureShape.new(name: 'DeleteOutpostOutput')
|
86
89
|
DeleteSiteInput = Shapes::StructureShape.new(name: 'DeleteSiteInput')
|
@@ -214,6 +217,8 @@ module Aws::Outposts
|
|
214
217
|
StartCapacityTaskOutput = Shapes::StructureShape.new(name: 'StartCapacityTaskOutput')
|
215
218
|
StartConnectionRequest = Shapes::StructureShape.new(name: 'StartConnectionRequest')
|
216
219
|
StartConnectionResponse = Shapes::StructureShape.new(name: 'StartConnectionResponse')
|
220
|
+
StartOutpostDecommissionInput = Shapes::StructureShape.new(name: 'StartOutpostDecommissionInput')
|
221
|
+
StartOutpostDecommissionOutput = Shapes::StructureShape.new(name: 'StartOutpostDecommissionOutput')
|
217
222
|
StateOrRegion = Shapes::StringShape.new(name: 'StateOrRegion')
|
218
223
|
StateOrRegionList = Shapes::ListShape.new(name: 'StateOrRegionList')
|
219
224
|
StatusList = Shapes::ListShape.new(name: 'StatusList')
|
@@ -250,6 +255,7 @@ module Aws::Outposts
|
|
250
255
|
UplinkCount = Shapes::StringShape.new(name: 'UplinkCount')
|
251
256
|
UplinkGbps = Shapes::StringShape.new(name: 'UplinkGbps')
|
252
257
|
VCPUCount = Shapes::IntegerShape.new(name: 'VCPUCount')
|
258
|
+
ValidateOnly = Shapes::BooleanShape.new(name: 'ValidateOnly')
|
253
259
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
254
260
|
WireGuardPublicKey = Shapes::StringShape.new(name: 'WireGuardPublicKey')
|
255
261
|
outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
|
@@ -315,6 +321,8 @@ module Aws::Outposts
|
|
315
321
|
|
316
322
|
BlockingInstancesList.member = Shapes::ShapeRef.new(shape: BlockingInstance)
|
317
323
|
|
324
|
+
BlockingResourceTypeList.member = Shapes::ShapeRef.new(shape: BlockingResourceType)
|
325
|
+
|
318
326
|
CIDRList.member = Shapes::ShapeRef.new(shape: CIDR)
|
319
327
|
|
320
328
|
CancelCapacityTaskInput.add_member(:capacity_task_id, Shapes::ShapeRef.new(shape: CapacityTaskId, required: true, location: "uri", location_name: "CapacityTaskId"))
|
@@ -384,7 +392,7 @@ module Aws::Outposts
|
|
384
392
|
CountryCodeList.member = Shapes::ShapeRef.new(shape: CountryCode)
|
385
393
|
|
386
394
|
CreateOrderInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location_name: "OutpostIdentifier"))
|
387
|
-
CreateOrderInput.add_member(:line_items, Shapes::ShapeRef.new(shape: LineItemRequestListDefinition,
|
395
|
+
CreateOrderInput.add_member(:line_items, Shapes::ShapeRef.new(shape: LineItemRequestListDefinition, location_name: "LineItems"))
|
388
396
|
CreateOrderInput.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, required: true, location_name: "PaymentOption"))
|
389
397
|
CreateOrderInput.add_member(:payment_term, Shapes::ShapeRef.new(shape: PaymentTerm, location_name: "PaymentTerm"))
|
390
398
|
CreateOrderInput.struct_class = Types::CreateOrderInput
|
@@ -783,6 +791,14 @@ module Aws::Outposts
|
|
783
791
|
StartConnectionResponse.add_member(:underlay_ip_address, Shapes::ShapeRef.new(shape: UnderlayIpAddress, location_name: "UnderlayIpAddress"))
|
784
792
|
StartConnectionResponse.struct_class = Types::StartConnectionResponse
|
785
793
|
|
794
|
+
StartOutpostDecommissionInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
|
795
|
+
StartOutpostDecommissionInput.add_member(:validate_only, Shapes::ShapeRef.new(shape: ValidateOnly, location_name: "ValidateOnly"))
|
796
|
+
StartOutpostDecommissionInput.struct_class = Types::StartOutpostDecommissionInput
|
797
|
+
|
798
|
+
StartOutpostDecommissionOutput.add_member(:status, Shapes::ShapeRef.new(shape: DecommissionRequestStatus, location_name: "Status"))
|
799
|
+
StartOutpostDecommissionOutput.add_member(:blocking_resource_types, Shapes::ShapeRef.new(shape: BlockingResourceTypeList, location_name: "BlockingResourceTypes"))
|
800
|
+
StartOutpostDecommissionOutput.struct_class = Types::StartOutpostDecommissionOutput
|
801
|
+
|
786
802
|
StateOrRegionList.member = Shapes::ShapeRef.new(shape: StateOrRegion)
|
787
803
|
|
788
804
|
StatusList.member = Shapes::ShapeRef.new(shape: AssetState)
|
@@ -1297,6 +1313,19 @@ module Aws::Outposts
|
|
1297
1313
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1298
1314
|
end)
|
1299
1315
|
|
1316
|
+
api.add_operation(:start_outpost_decommission, Seahorse::Model::Operation.new.tap do |o|
|
1317
|
+
o.name = "StartOutpostDecommission"
|
1318
|
+
o.http_method = "POST"
|
1319
|
+
o.http_request_uri = "/outposts/{OutpostId}/decommission"
|
1320
|
+
o.input = Shapes::ShapeRef.new(shape: StartOutpostDecommissionInput)
|
1321
|
+
o.output = Shapes::ShapeRef.new(shape: StartOutpostDecommissionOutput)
|
1322
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1323
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1324
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1325
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1326
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1327
|
+
end)
|
1328
|
+
|
1300
1329
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1301
1330
|
o.name = "TagResource"
|
1302
1331
|
o.http_method = "POST"
|
@@ -2273,6 +2273,41 @@ module Aws::Outposts
|
|
2273
2273
|
include Aws::Structure
|
2274
2274
|
end
|
2275
2275
|
|
2276
|
+
# @!attribute [rw] outpost_identifier
|
2277
|
+
# The ID or ARN of the Outpost that you want to decommission.
|
2278
|
+
# @return [String]
|
2279
|
+
#
|
2280
|
+
# @!attribute [rw] validate_only
|
2281
|
+
# Validates the request without starting the decommission process.
|
2282
|
+
# @return [Boolean]
|
2283
|
+
#
|
2284
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartOutpostDecommissionInput AWS API Documentation
|
2285
|
+
#
|
2286
|
+
class StartOutpostDecommissionInput < Struct.new(
|
2287
|
+
:outpost_identifier,
|
2288
|
+
:validate_only)
|
2289
|
+
SENSITIVE = []
|
2290
|
+
include Aws::Structure
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
# @!attribute [rw] status
|
2294
|
+
# The status of the decommission request.
|
2295
|
+
# @return [String]
|
2296
|
+
#
|
2297
|
+
# @!attribute [rw] blocking_resource_types
|
2298
|
+
# The resources still associated with the Outpost that you are
|
2299
|
+
# decommissioning.
|
2300
|
+
# @return [Array<String>]
|
2301
|
+
#
|
2302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartOutpostDecommissionOutput AWS API Documentation
|
2303
|
+
#
|
2304
|
+
class StartOutpostDecommissionOutput < Struct.new(
|
2305
|
+
:status,
|
2306
|
+
:blocking_resource_types)
|
2307
|
+
SENSITIVE = []
|
2308
|
+
include Aws::Structure
|
2309
|
+
end
|
2310
|
+
|
2276
2311
|
# Provides information about your Amazon Web Services Outposts
|
2277
2312
|
# subscriptions.
|
2278
2313
|
#
|
data/lib/aws-sdk-outposts.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -104,7 +104,7 @@ module Aws
|
|
104
104
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#create_order-instance_method
|
105
105
|
def create_order: (
|
106
106
|
outpost_identifier: ::String,
|
107
|
-
line_items: Array[
|
107
|
+
?line_items: Array[
|
108
108
|
{
|
109
109
|
catalog_item_id: ::String?,
|
110
110
|
quantity: ::Integer?
|
@@ -509,6 +509,18 @@ module Aws
|
|
509
509
|
) -> _StartConnectionResponseSuccess
|
510
510
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartConnectionResponseSuccess
|
511
511
|
|
512
|
+
interface _StartOutpostDecommissionResponseSuccess
|
513
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartOutpostDecommissionOutput]
|
514
|
+
def status: () -> ("SKIPPED" | "BLOCKED" | "REQUESTED")
|
515
|
+
def blocking_resource_types: () -> ::Array[("EC2_INSTANCE" | "OUTPOST_RAM_SHARE" | "LGW_ROUTING_DOMAIN" | "LGW_ROUTE_TABLE" | "LGW_VIRTUAL_INTERFACE_GROUP" | "OUTPOST_ORDER_CANCELLABLE" | "OUTPOST_ORDER_INTERVENTION_REQUIRED")]
|
516
|
+
end
|
517
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#start_outpost_decommission-instance_method
|
518
|
+
def start_outpost_decommission: (
|
519
|
+
outpost_identifier: ::String,
|
520
|
+
?validate_only: bool
|
521
|
+
) -> _StartOutpostDecommissionResponseSuccess
|
522
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartOutpostDecommissionResponseSuccess
|
523
|
+
|
512
524
|
interface _TagResourceResponseSuccess
|
513
525
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
514
526
|
end
|
data/sig/types.rbs
CHANGED
@@ -637,6 +637,18 @@ module Aws::Outposts
|
|
637
637
|
SENSITIVE: []
|
638
638
|
end
|
639
639
|
|
640
|
+
class StartOutpostDecommissionInput
|
641
|
+
attr_accessor outpost_identifier: ::String
|
642
|
+
attr_accessor validate_only: bool
|
643
|
+
SENSITIVE: []
|
644
|
+
end
|
645
|
+
|
646
|
+
class StartOutpostDecommissionOutput
|
647
|
+
attr_accessor status: ("SKIPPED" | "BLOCKED" | "REQUESTED")
|
648
|
+
attr_accessor blocking_resource_types: ::Array[("EC2_INSTANCE" | "OUTPOST_RAM_SHARE" | "LGW_ROUTING_DOMAIN" | "LGW_ROUTE_TABLE" | "LGW_VIRTUAL_INTERFACE_GROUP" | "OUTPOST_ORDER_CANCELLABLE" | "OUTPOST_ORDER_INTERVENTION_REQUIRED")]
|
649
|
+
SENSITIVE: []
|
650
|
+
end
|
651
|
+
|
640
652
|
class Subscription
|
641
653
|
attr_accessor subscription_id: ::String
|
642
654
|
attr_accessor subscription_type: ("ORIGINAL" | "RENEWAL" | "CAPACITY_INCREASE")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.90.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.231.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.231.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|