aws-sdk-outposts 1.19.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +65 -1
- data/lib/aws-sdk-outposts/client_api.rb +64 -0
- data/lib/aws-sdk-outposts/types.rb +154 -0
- data/lib/aws-sdk-outposts.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc268318b356d99095376890f21dbeb7957782e7f28affae02e001f037f6b17d
|
4
|
+
data.tar.gz: ccfc7307ba9cb0fc0dba946df836a40646fc3811b27e8a11d61a7544e2d56e4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c992d8060231e29f8fb46984e95d4284502f240d33a9f2bd16167cc0625f958e21a38ce47d3359427916a09699fde850e48adfe4bcc3dc54474187d1b893db06
|
7
|
+
data.tar.gz: d2b475911393de76b35c76baf7ad3e3939d58db9b78d1b3c0e901a5b547bd35f17f1e3e76f2299cf2984e12cf4266e65f39691bd6559efe5dbae40ab106f1af9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.23.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.22.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.21.0 (2021-09-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds a new API CreateOrder.
|
18
|
+
|
19
|
+
1.20.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.19.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.23.0
|
@@ -275,6 +275,15 @@ module Aws::Outposts
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -327,6 +336,61 @@ module Aws::Outposts
|
|
327
336
|
|
328
337
|
# @!group API Operations
|
329
338
|
|
339
|
+
# Creates an order for an Outpost.
|
340
|
+
#
|
341
|
+
# @option params [required, String] :outpost_identifier
|
342
|
+
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
343
|
+
#
|
344
|
+
# @option params [required, Array<Types::LineItemRequest>] :line_items
|
345
|
+
# The line items that make up the order.
|
346
|
+
#
|
347
|
+
# @option params [required, String] :payment_option
|
348
|
+
# The payment option for the order.
|
349
|
+
#
|
350
|
+
# @option params [String] :payment_term
|
351
|
+
# The payment terms for the order.
|
352
|
+
#
|
353
|
+
# @return [Types::CreateOrderOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
354
|
+
#
|
355
|
+
# * {Types::CreateOrderOutput#order #order} => Types::Order
|
356
|
+
#
|
357
|
+
# @example Request syntax with placeholder values
|
358
|
+
#
|
359
|
+
# resp = client.create_order({
|
360
|
+
# outpost_identifier: "OutpostIdentifier", # required
|
361
|
+
# line_items: [ # required
|
362
|
+
# {
|
363
|
+
# catalog_item_id: "SkuCode",
|
364
|
+
# quantity: 1,
|
365
|
+
# },
|
366
|
+
# ],
|
367
|
+
# payment_option: "ALL_UPFRONT", # required, accepts ALL_UPFRONT, NO_UPFRONT, PARTIAL_UPFRONT
|
368
|
+
# payment_term: "THREE_YEARS", # accepts THREE_YEARS
|
369
|
+
# })
|
370
|
+
#
|
371
|
+
# @example Response structure
|
372
|
+
#
|
373
|
+
# resp.order.outpost_id #=> String
|
374
|
+
# resp.order.order_id #=> String
|
375
|
+
# resp.order.status #=> String, one of "RECEIVED", "PENDING", "PROCESSING", "INSTALLING", "FULFILLED", "CANCELLED"
|
376
|
+
# resp.order.line_items #=> Array
|
377
|
+
# resp.order.line_items[0].catalog_item_id #=> String
|
378
|
+
# resp.order.line_items[0].line_item_id #=> String
|
379
|
+
# resp.order.line_items[0].quantity #=> Integer
|
380
|
+
# resp.order.line_items[0].status #=> String
|
381
|
+
# resp.order.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
|
382
|
+
# resp.order.order_submission_date #=> Time
|
383
|
+
# resp.order.order_fulfilled_date #=> Time
|
384
|
+
#
|
385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOrder AWS API Documentation
|
386
|
+
#
|
387
|
+
# @overload create_order(params = {})
|
388
|
+
# @param [Hash] params ({})
|
389
|
+
def create_order(params = {}, options = {})
|
390
|
+
req = build_request(:create_order, params)
|
391
|
+
req.send_request(options)
|
392
|
+
end
|
393
|
+
|
330
394
|
# Creates an Outpost.
|
331
395
|
#
|
332
396
|
# You can specify `AvailabilityZone` or `AvailabilityZoneId`.
|
@@ -734,7 +798,7 @@ module Aws::Outposts
|
|
734
798
|
params: params,
|
735
799
|
config: config)
|
736
800
|
context[:gem_name] = 'aws-sdk-outposts'
|
737
|
-
context[:gem_version] = '1.
|
801
|
+
context[:gem_version] = '1.23.0'
|
738
802
|
Seahorse::Client::Request.new(handlers, context)
|
739
803
|
end
|
740
804
|
|
@@ -21,6 +21,8 @@ module Aws::Outposts
|
|
21
21
|
AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList')
|
22
22
|
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
23
23
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
24
|
+
CreateOrderInput = Shapes::StructureShape.new(name: 'CreateOrderInput')
|
25
|
+
CreateOrderOutput = Shapes::StructureShape.new(name: 'CreateOrderOutput')
|
24
26
|
CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
|
25
27
|
CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
|
26
28
|
DeleteOutpostInput = Shapes::StructureShape.new(name: 'DeleteOutpostInput')
|
@@ -32,12 +34,19 @@ module Aws::Outposts
|
|
32
34
|
GetOutpostInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesInput')
|
33
35
|
GetOutpostInstanceTypesOutput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesOutput')
|
34
36
|
GetOutpostOutput = Shapes::StructureShape.new(name: 'GetOutpostOutput')
|
37
|
+
ISO8601Timestamp = Shapes::TimestampShape.new(name: 'ISO8601Timestamp')
|
35
38
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
36
39
|
InstanceTypeItem = Shapes::StructureShape.new(name: 'InstanceTypeItem')
|
37
40
|
InstanceTypeListDefinition = Shapes::ListShape.new(name: 'InstanceTypeListDefinition')
|
38
41
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
39
42
|
LifeCycleStatus = Shapes::StringShape.new(name: 'LifeCycleStatus')
|
40
43
|
LifeCycleStatusList = Shapes::ListShape.new(name: 'LifeCycleStatusList')
|
44
|
+
LineItem = Shapes::StructureShape.new(name: 'LineItem')
|
45
|
+
LineItemId = Shapes::StringShape.new(name: 'LineItemId')
|
46
|
+
LineItemListDefinition = Shapes::ListShape.new(name: 'LineItemListDefinition')
|
47
|
+
LineItemQuantity = Shapes::IntegerShape.new(name: 'LineItemQuantity')
|
48
|
+
LineItemRequest = Shapes::StructureShape.new(name: 'LineItemRequest')
|
49
|
+
LineItemRequestListDefinition = Shapes::ListShape.new(name: 'LineItemRequestListDefinition')
|
41
50
|
ListOutpostsInput = Shapes::StructureShape.new(name: 'ListOutpostsInput')
|
42
51
|
ListOutpostsOutput = Shapes::StructureShape.new(name: 'ListOutpostsOutput')
|
43
52
|
ListSitesInput = Shapes::StructureShape.new(name: 'ListSitesInput')
|
@@ -46,12 +55,19 @@ module Aws::Outposts
|
|
46
55
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
47
56
|
MaxResults1000 = Shapes::IntegerShape.new(name: 'MaxResults1000')
|
48
57
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
58
|
+
Order = Shapes::StructureShape.new(name: 'Order')
|
59
|
+
OrderId = Shapes::StringShape.new(name: 'OrderId')
|
60
|
+
OrderStatus = Shapes::StringShape.new(name: 'OrderStatus')
|
49
61
|
Outpost = Shapes::StructureShape.new(name: 'Outpost')
|
50
62
|
OutpostArn = Shapes::StringShape.new(name: 'OutpostArn')
|
51
63
|
OutpostDescription = Shapes::StringShape.new(name: 'OutpostDescription')
|
52
64
|
OutpostId = Shapes::StringShape.new(name: 'OutpostId')
|
65
|
+
OutpostIdOnly = Shapes::StringShape.new(name: 'OutpostIdOnly')
|
66
|
+
OutpostIdentifier = Shapes::StringShape.new(name: 'OutpostIdentifier')
|
53
67
|
OutpostName = Shapes::StringShape.new(name: 'OutpostName')
|
54
68
|
OwnerId = Shapes::StringShape.new(name: 'OwnerId')
|
69
|
+
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
70
|
+
PaymentTerm = Shapes::StringShape.new(name: 'PaymentTerm')
|
55
71
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
56
72
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
57
73
|
Site = Shapes::StructureShape.new(name: 'Site')
|
@@ -59,6 +75,8 @@ module Aws::Outposts
|
|
59
75
|
SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
|
60
76
|
SiteId = Shapes::StringShape.new(name: 'SiteId')
|
61
77
|
SiteName = Shapes::StringShape.new(name: 'SiteName')
|
78
|
+
SkuCode = Shapes::StringShape.new(name: 'SkuCode')
|
79
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
62
80
|
String = Shapes::StringShape.new(name: 'String')
|
63
81
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
64
82
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -85,6 +103,15 @@ module Aws::Outposts
|
|
85
103
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
86
104
|
ConflictException.struct_class = Types::ConflictException
|
87
105
|
|
106
|
+
CreateOrderInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location_name: "OutpostIdentifier"))
|
107
|
+
CreateOrderInput.add_member(:line_items, Shapes::ShapeRef.new(shape: LineItemRequestListDefinition, required: true, location_name: "LineItems"))
|
108
|
+
CreateOrderInput.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, required: true, location_name: "PaymentOption"))
|
109
|
+
CreateOrderInput.add_member(:payment_term, Shapes::ShapeRef.new(shape: PaymentTerm, location_name: "PaymentTerm"))
|
110
|
+
CreateOrderInput.struct_class = Types::CreateOrderInput
|
111
|
+
|
112
|
+
CreateOrderOutput.add_member(:order, Shapes::ShapeRef.new(shape: Order, location_name: "Order"))
|
113
|
+
CreateOrderOutput.struct_class = Types::CreateOrderOutput
|
114
|
+
|
88
115
|
CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, required: true, location_name: "Name"))
|
89
116
|
CreateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
|
90
117
|
CreateOutpostInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "SiteId"))
|
@@ -133,6 +160,20 @@ module Aws::Outposts
|
|
133
160
|
|
134
161
|
LifeCycleStatusList.member = Shapes::ShapeRef.new(shape: LifeCycleStatus)
|
135
162
|
|
163
|
+
LineItem.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
|
164
|
+
LineItem.add_member(:line_item_id, Shapes::ShapeRef.new(shape: LineItemId, location_name: "LineItemId"))
|
165
|
+
LineItem.add_member(:quantity, Shapes::ShapeRef.new(shape: LineItemQuantity, location_name: "Quantity"))
|
166
|
+
LineItem.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
167
|
+
LineItem.struct_class = Types::LineItem
|
168
|
+
|
169
|
+
LineItemListDefinition.member = Shapes::ShapeRef.new(shape: LineItem)
|
170
|
+
|
171
|
+
LineItemRequest.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
|
172
|
+
LineItemRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: LineItemQuantity, location_name: "Quantity"))
|
173
|
+
LineItemRequest.struct_class = Types::LineItemRequest
|
174
|
+
|
175
|
+
LineItemRequestListDefinition.member = Shapes::ShapeRef.new(shape: LineItemRequest)
|
176
|
+
|
136
177
|
ListOutpostsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
137
178
|
ListOutpostsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
138
179
|
ListOutpostsInput.add_member(:life_cycle_status_filter, Shapes::ShapeRef.new(shape: LifeCycleStatusList, location: "querystring", location_name: "LifeCycleStatusFilter"))
|
@@ -161,6 +202,15 @@ module Aws::Outposts
|
|
161
202
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
162
203
|
NotFoundException.struct_class = Types::NotFoundException
|
163
204
|
|
205
|
+
Order.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostIdOnly, location_name: "OutpostId"))
|
206
|
+
Order.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
|
207
|
+
Order.add_member(:status, Shapes::ShapeRef.new(shape: OrderStatus, location_name: "Status"))
|
208
|
+
Order.add_member(:line_items, Shapes::ShapeRef.new(shape: LineItemListDefinition, location_name: "LineItems"))
|
209
|
+
Order.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "PaymentOption"))
|
210
|
+
Order.add_member(:order_submission_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderSubmissionDate"))
|
211
|
+
Order.add_member(:order_fulfilled_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderFulfilledDate"))
|
212
|
+
Order.struct_class = Types::Order
|
213
|
+
|
164
214
|
Outpost.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
|
165
215
|
Outpost.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
|
166
216
|
Outpost.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "OutpostArn"))
|
@@ -228,6 +278,20 @@ module Aws::Outposts
|
|
228
278
|
"uid" => "outposts-2019-12-03",
|
229
279
|
}
|
230
280
|
|
281
|
+
api.add_operation(:create_order, Seahorse::Model::Operation.new.tap do |o|
|
282
|
+
o.name = "CreateOrder"
|
283
|
+
o.http_method = "POST"
|
284
|
+
o.http_request_uri = "/orders"
|
285
|
+
o.input = Shapes::ShapeRef.new(shape: CreateOrderInput)
|
286
|
+
o.output = Shapes::ShapeRef.new(shape: CreateOrderOutput)
|
287
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
288
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
290
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
291
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
292
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
293
|
+
end)
|
294
|
+
|
231
295
|
api.add_operation(:create_outpost, Seahorse::Model::Operation.new.tap do |o|
|
232
296
|
o.name = "CreateOutpost"
|
233
297
|
o.http_method = "POST"
|
@@ -46,6 +46,60 @@ module Aws::Outposts
|
|
46
46
|
include Aws::Structure
|
47
47
|
end
|
48
48
|
|
49
|
+
# @note When making an API call, you may pass CreateOrderInput
|
50
|
+
# data as a hash:
|
51
|
+
#
|
52
|
+
# {
|
53
|
+
# outpost_identifier: "OutpostIdentifier", # required
|
54
|
+
# line_items: [ # required
|
55
|
+
# {
|
56
|
+
# catalog_item_id: "SkuCode",
|
57
|
+
# quantity: 1,
|
58
|
+
# },
|
59
|
+
# ],
|
60
|
+
# payment_option: "ALL_UPFRONT", # required, accepts ALL_UPFRONT, NO_UPFRONT, PARTIAL_UPFRONT
|
61
|
+
# payment_term: "THREE_YEARS", # accepts THREE_YEARS
|
62
|
+
# }
|
63
|
+
#
|
64
|
+
# @!attribute [rw] outpost_identifier
|
65
|
+
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
66
|
+
# @return [String]
|
67
|
+
#
|
68
|
+
# @!attribute [rw] line_items
|
69
|
+
# The line items that make up the order.
|
70
|
+
# @return [Array<Types::LineItemRequest>]
|
71
|
+
#
|
72
|
+
# @!attribute [rw] payment_option
|
73
|
+
# The payment option for the order.
|
74
|
+
# @return [String]
|
75
|
+
#
|
76
|
+
# @!attribute [rw] payment_term
|
77
|
+
# The payment terms for the order.
|
78
|
+
# @return [String]
|
79
|
+
#
|
80
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOrderInput AWS API Documentation
|
81
|
+
#
|
82
|
+
class CreateOrderInput < Struct.new(
|
83
|
+
:outpost_identifier,
|
84
|
+
:line_items,
|
85
|
+
:payment_option,
|
86
|
+
:payment_term)
|
87
|
+
SENSITIVE = []
|
88
|
+
include Aws::Structure
|
89
|
+
end
|
90
|
+
|
91
|
+
# @!attribute [rw] order
|
92
|
+
# Information about this order.
|
93
|
+
# @return [Types::Order]
|
94
|
+
#
|
95
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOrderOutput AWS API Documentation
|
96
|
+
#
|
97
|
+
class CreateOrderOutput < Struct.new(
|
98
|
+
:order)
|
99
|
+
SENSITIVE = []
|
100
|
+
include Aws::Structure
|
101
|
+
end
|
102
|
+
|
49
103
|
# @note When making an API call, you may pass CreateOutpostInput
|
50
104
|
# data as a hash:
|
51
105
|
#
|
@@ -271,6 +325,62 @@ module Aws::Outposts
|
|
271
325
|
include Aws::Structure
|
272
326
|
end
|
273
327
|
|
328
|
+
# Information about a line item.
|
329
|
+
#
|
330
|
+
# @!attribute [rw] catalog_item_id
|
331
|
+
# The ID of the catalog item.
|
332
|
+
# @return [String]
|
333
|
+
#
|
334
|
+
# @!attribute [rw] line_item_id
|
335
|
+
# The ID of the line item.
|
336
|
+
# @return [String]
|
337
|
+
#
|
338
|
+
# @!attribute [rw] quantity
|
339
|
+
# The quantity of the line item.
|
340
|
+
# @return [Integer]
|
341
|
+
#
|
342
|
+
# @!attribute [rw] status
|
343
|
+
# The status of the line item.
|
344
|
+
# @return [String]
|
345
|
+
#
|
346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/LineItem AWS API Documentation
|
347
|
+
#
|
348
|
+
class LineItem < Struct.new(
|
349
|
+
:catalog_item_id,
|
350
|
+
:line_item_id,
|
351
|
+
:quantity,
|
352
|
+
:status)
|
353
|
+
SENSITIVE = []
|
354
|
+
include Aws::Structure
|
355
|
+
end
|
356
|
+
|
357
|
+
# Information about a line item request.
|
358
|
+
#
|
359
|
+
# @note When making an API call, you may pass LineItemRequest
|
360
|
+
# data as a hash:
|
361
|
+
#
|
362
|
+
# {
|
363
|
+
# catalog_item_id: "SkuCode",
|
364
|
+
# quantity: 1,
|
365
|
+
# }
|
366
|
+
#
|
367
|
+
# @!attribute [rw] catalog_item_id
|
368
|
+
# The ID of the catalog item.
|
369
|
+
# @return [String]
|
370
|
+
#
|
371
|
+
# @!attribute [rw] quantity
|
372
|
+
# The quantity of a line item request.
|
373
|
+
# @return [Integer]
|
374
|
+
#
|
375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/LineItemRequest AWS API Documentation
|
376
|
+
#
|
377
|
+
class LineItemRequest < Struct.new(
|
378
|
+
:catalog_item_id,
|
379
|
+
:quantity)
|
380
|
+
SENSITIVE = []
|
381
|
+
include Aws::Structure
|
382
|
+
end
|
383
|
+
|
274
384
|
# @note When making an API call, you may pass ListOutpostsInput
|
275
385
|
# data as a hash:
|
276
386
|
#
|
@@ -429,6 +539,50 @@ module Aws::Outposts
|
|
429
539
|
include Aws::Structure
|
430
540
|
end
|
431
541
|
|
542
|
+
# Information about an order.
|
543
|
+
#
|
544
|
+
# @!attribute [rw] outpost_id
|
545
|
+
# The ID of the Outpost.
|
546
|
+
# @return [String]
|
547
|
+
#
|
548
|
+
# @!attribute [rw] order_id
|
549
|
+
# The ID of the order.
|
550
|
+
# @return [String]
|
551
|
+
#
|
552
|
+
# @!attribute [rw] status
|
553
|
+
# The status of the order
|
554
|
+
# @return [String]
|
555
|
+
#
|
556
|
+
# @!attribute [rw] line_items
|
557
|
+
# The line items for the order
|
558
|
+
# @return [Array<Types::LineItem>]
|
559
|
+
#
|
560
|
+
# @!attribute [rw] payment_option
|
561
|
+
# The payment option for the order.
|
562
|
+
# @return [String]
|
563
|
+
#
|
564
|
+
# @!attribute [rw] order_submission_date
|
565
|
+
# The submission date for the order.
|
566
|
+
# @return [Time]
|
567
|
+
#
|
568
|
+
# @!attribute [rw] order_fulfilled_date
|
569
|
+
# The fulfillment date of the order.
|
570
|
+
# @return [Time]
|
571
|
+
#
|
572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/Order AWS API Documentation
|
573
|
+
#
|
574
|
+
class Order < Struct.new(
|
575
|
+
:outpost_id,
|
576
|
+
:order_id,
|
577
|
+
:status,
|
578
|
+
:line_items,
|
579
|
+
:payment_option,
|
580
|
+
:order_submission_date,
|
581
|
+
:order_fulfilled_date)
|
582
|
+
SENSITIVE = []
|
583
|
+
include Aws::Structure
|
584
|
+
end
|
585
|
+
|
432
586
|
# Information about an Outpost.
|
433
587
|
#
|
434
588
|
# @!attribute [rw] outpost_id
|
data/lib/aws-sdk-outposts.rb
CHANGED
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-outposts/customizations'
|
|
28
28
|
# structure.
|
29
29
|
#
|
30
30
|
# outposts = Aws::Outposts::Client.new
|
31
|
-
# resp = outposts.
|
31
|
+
# resp = outposts.create_order(params)
|
32
32
|
#
|
33
33
|
# See {Client} for more information.
|
34
34
|
#
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-outposts/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::Outposts
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.23.0'
|
52
52
|
|
53
53
|
end
|
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.23.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-11-04 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.122.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.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|