aws-sdk-outposts 1.23.0 → 1.27.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 +824 -16
- data/lib/aws-sdk-outposts/client_api.rb +408 -2
- data/lib/aws-sdk-outposts/types.rb +1093 -35
- data/lib/aws-sdk-outposts.rb +2 -2
- metadata +4 -4
@@ -15,25 +15,59 @@ module Aws::Outposts
|
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
18
|
+
Address = Shapes::StructureShape.new(name: 'Address')
|
19
|
+
AddressLine1 = Shapes::StringShape.new(name: 'AddressLine1')
|
20
|
+
AddressLine2 = Shapes::StringShape.new(name: 'AddressLine2')
|
21
|
+
AddressLine3 = Shapes::StringShape.new(name: 'AddressLine3')
|
22
|
+
AddressType = Shapes::StringShape.new(name: 'AddressType')
|
18
23
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
19
24
|
AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
|
20
25
|
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
21
26
|
AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList')
|
22
27
|
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
28
|
+
CancelOrderInput = Shapes::StructureShape.new(name: 'CancelOrderInput')
|
29
|
+
CancelOrderOutput = Shapes::StructureShape.new(name: 'CancelOrderOutput')
|
30
|
+
CatalogItem = Shapes::StructureShape.new(name: 'CatalogItem')
|
31
|
+
CatalogItemClass = Shapes::StringShape.new(name: 'CatalogItemClass')
|
32
|
+
CatalogItemClassList = Shapes::ListShape.new(name: 'CatalogItemClassList')
|
33
|
+
CatalogItemListDefinition = Shapes::ListShape.new(name: 'CatalogItemListDefinition')
|
34
|
+
CatalogItemPowerKva = Shapes::FloatShape.new(name: 'CatalogItemPowerKva')
|
35
|
+
CatalogItemStatus = Shapes::StringShape.new(name: 'CatalogItemStatus')
|
36
|
+
CatalogItemWeightLbs = Shapes::IntegerShape.new(name: 'CatalogItemWeightLbs')
|
37
|
+
City = Shapes::StringShape.new(name: 'City')
|
23
38
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
39
|
+
ContactName = Shapes::StringShape.new(name: 'ContactName')
|
40
|
+
ContactPhoneNumber = Shapes::StringShape.new(name: 'ContactPhoneNumber')
|
41
|
+
CountryCode = Shapes::StringShape.new(name: 'CountryCode')
|
24
42
|
CreateOrderInput = Shapes::StructureShape.new(name: 'CreateOrderInput')
|
25
43
|
CreateOrderOutput = Shapes::StructureShape.new(name: 'CreateOrderOutput')
|
26
44
|
CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
|
27
45
|
CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
|
46
|
+
CreateSiteInput = Shapes::StructureShape.new(name: 'CreateSiteInput')
|
47
|
+
CreateSiteOutput = Shapes::StructureShape.new(name: 'CreateSiteOutput')
|
28
48
|
DeleteOutpostInput = Shapes::StructureShape.new(name: 'DeleteOutpostInput')
|
29
49
|
DeleteOutpostOutput = Shapes::StructureShape.new(name: 'DeleteOutpostOutput')
|
30
50
|
DeleteSiteInput = Shapes::StructureShape.new(name: 'DeleteSiteInput')
|
31
51
|
DeleteSiteOutput = Shapes::StructureShape.new(name: 'DeleteSiteOutput')
|
52
|
+
DistrictOrCounty = Shapes::StringShape.new(name: 'DistrictOrCounty')
|
53
|
+
EC2Capacity = Shapes::StructureShape.new(name: 'EC2Capacity')
|
54
|
+
EC2CapacityListDefinition = Shapes::ListShape.new(name: 'EC2CapacityListDefinition')
|
55
|
+
EC2FamilyList = Shapes::ListShape.new(name: 'EC2FamilyList')
|
32
56
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
57
|
+
Family = Shapes::StringShape.new(name: 'Family')
|
58
|
+
FiberOpticCableType = Shapes::StringShape.new(name: 'FiberOpticCableType')
|
59
|
+
GetCatalogItemInput = Shapes::StructureShape.new(name: 'GetCatalogItemInput')
|
60
|
+
GetCatalogItemOutput = Shapes::StructureShape.new(name: 'GetCatalogItemOutput')
|
61
|
+
GetOrderInput = Shapes::StructureShape.new(name: 'GetOrderInput')
|
62
|
+
GetOrderOutput = Shapes::StructureShape.new(name: 'GetOrderOutput')
|
33
63
|
GetOutpostInput = Shapes::StructureShape.new(name: 'GetOutpostInput')
|
34
64
|
GetOutpostInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesInput')
|
35
65
|
GetOutpostInstanceTypesOutput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesOutput')
|
36
66
|
GetOutpostOutput = Shapes::StructureShape.new(name: 'GetOutpostOutput')
|
67
|
+
GetSiteAddressInput = Shapes::StructureShape.new(name: 'GetSiteAddressInput')
|
68
|
+
GetSiteAddressOutput = Shapes::StructureShape.new(name: 'GetSiteAddressOutput')
|
69
|
+
GetSiteInput = Shapes::StructureShape.new(name: 'GetSiteInput')
|
70
|
+
GetSiteOutput = Shapes::StructureShape.new(name: 'GetSiteOutput')
|
37
71
|
ISO8601Timestamp = Shapes::TimestampShape.new(name: 'ISO8601Timestamp')
|
38
72
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
39
73
|
InstanceTypeItem = Shapes::StructureShape.new(name: 'InstanceTypeItem')
|
@@ -47,6 +81,12 @@ module Aws::Outposts
|
|
47
81
|
LineItemQuantity = Shapes::IntegerShape.new(name: 'LineItemQuantity')
|
48
82
|
LineItemRequest = Shapes::StructureShape.new(name: 'LineItemRequest')
|
49
83
|
LineItemRequestListDefinition = Shapes::ListShape.new(name: 'LineItemRequestListDefinition')
|
84
|
+
LineItemStatus = Shapes::StringShape.new(name: 'LineItemStatus')
|
85
|
+
LineItemStatusCounts = Shapes::MapShape.new(name: 'LineItemStatusCounts')
|
86
|
+
ListCatalogItemsInput = Shapes::StructureShape.new(name: 'ListCatalogItemsInput')
|
87
|
+
ListCatalogItemsOutput = Shapes::StructureShape.new(name: 'ListCatalogItemsOutput')
|
88
|
+
ListOrdersInput = Shapes::StructureShape.new(name: 'ListOrdersInput')
|
89
|
+
ListOrdersOutput = Shapes::StructureShape.new(name: 'ListOrdersOutput')
|
50
90
|
ListOutpostsInput = Shapes::StructureShape.new(name: 'ListOutpostsInput')
|
51
91
|
ListOutpostsOutput = Shapes::StructureShape.new(name: 'ListOutpostsOutput')
|
52
92
|
ListSitesInput = Shapes::StructureShape.new(name: 'ListSitesInput')
|
@@ -54,10 +94,17 @@ module Aws::Outposts
|
|
54
94
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
55
95
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
56
96
|
MaxResults1000 = Shapes::IntegerShape.new(name: 'MaxResults1000')
|
97
|
+
MaxSize = Shapes::StringShape.new(name: 'MaxSize')
|
98
|
+
MaximumSupportedWeightLbs = Shapes::StringShape.new(name: 'MaximumSupportedWeightLbs')
|
99
|
+
Municipality = Shapes::StringShape.new(name: 'Municipality')
|
57
100
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
101
|
+
OpticalStandard = Shapes::StringShape.new(name: 'OpticalStandard')
|
58
102
|
Order = Shapes::StructureShape.new(name: 'Order')
|
59
103
|
OrderId = Shapes::StringShape.new(name: 'OrderId')
|
60
104
|
OrderStatus = Shapes::StringShape.new(name: 'OrderStatus')
|
105
|
+
OrderSummary = Shapes::StructureShape.new(name: 'OrderSummary')
|
106
|
+
OrderSummaryListDefinition = Shapes::ListShape.new(name: 'OrderSummaryListDefinition')
|
107
|
+
OrderType = Shapes::StringShape.new(name: 'OrderType')
|
61
108
|
Outpost = Shapes::StructureShape.new(name: 'Outpost')
|
62
109
|
OutpostArn = Shapes::StringShape.new(name: 'OutpostArn')
|
63
110
|
OutpostDescription = Shapes::StringShape.new(name: 'OutpostDescription')
|
@@ -68,6 +115,13 @@ module Aws::Outposts
|
|
68
115
|
OwnerId = Shapes::StringShape.new(name: 'OwnerId')
|
69
116
|
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
70
117
|
PaymentTerm = Shapes::StringShape.new(name: 'PaymentTerm')
|
118
|
+
PostalCode = Shapes::StringShape.new(name: 'PostalCode')
|
119
|
+
PowerConnector = Shapes::StringShape.new(name: 'PowerConnector')
|
120
|
+
PowerDrawKva = Shapes::StringShape.new(name: 'PowerDrawKva')
|
121
|
+
PowerFeedDrop = Shapes::StringShape.new(name: 'PowerFeedDrop')
|
122
|
+
PowerPhase = Shapes::StringShape.new(name: 'PowerPhase')
|
123
|
+
Quantity = Shapes::StringShape.new(name: 'Quantity')
|
124
|
+
RackPhysicalProperties = Shapes::StructureShape.new(name: 'RackPhysicalProperties')
|
71
125
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
72
126
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
73
127
|
Site = Shapes::StructureShape.new(name: 'Site')
|
@@ -75,9 +129,15 @@ module Aws::Outposts
|
|
75
129
|
SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
|
76
130
|
SiteId = Shapes::StringShape.new(name: 'SiteId')
|
77
131
|
SiteName = Shapes::StringShape.new(name: 'SiteName')
|
132
|
+
SiteNotes = Shapes::StringShape.new(name: 'SiteNotes')
|
78
133
|
SkuCode = Shapes::StringShape.new(name: 'SkuCode')
|
79
|
-
|
134
|
+
StateOrRegion = Shapes::StringShape.new(name: 'StateOrRegion')
|
80
135
|
String = Shapes::StringShape.new(name: 'String')
|
136
|
+
SupportedHardwareType = Shapes::StringShape.new(name: 'SupportedHardwareType')
|
137
|
+
SupportedStorageEnum = Shapes::StringShape.new(name: 'SupportedStorageEnum')
|
138
|
+
SupportedStorageList = Shapes::ListShape.new(name: 'SupportedStorageList')
|
139
|
+
SupportedUplinkGbps = Shapes::IntegerShape.new(name: 'SupportedUplinkGbps')
|
140
|
+
SupportedUplinkGbpsListDefinition = Shapes::ListShape.new(name: 'SupportedUplinkGbpsListDefinition')
|
81
141
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
82
142
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
83
143
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
@@ -87,6 +147,16 @@ module Aws::Outposts
|
|
87
147
|
Token = Shapes::StringShape.new(name: 'Token')
|
88
148
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
89
149
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
150
|
+
UpdateOutpostInput = Shapes::StructureShape.new(name: 'UpdateOutpostInput')
|
151
|
+
UpdateOutpostOutput = Shapes::StructureShape.new(name: 'UpdateOutpostOutput')
|
152
|
+
UpdateSiteAddressInput = Shapes::StructureShape.new(name: 'UpdateSiteAddressInput')
|
153
|
+
UpdateSiteAddressOutput = Shapes::StructureShape.new(name: 'UpdateSiteAddressOutput')
|
154
|
+
UpdateSiteInput = Shapes::StructureShape.new(name: 'UpdateSiteInput')
|
155
|
+
UpdateSiteOutput = Shapes::StructureShape.new(name: 'UpdateSiteOutput')
|
156
|
+
UpdateSiteRackPhysicalPropertiesInput = Shapes::StructureShape.new(name: 'UpdateSiteRackPhysicalPropertiesInput')
|
157
|
+
UpdateSiteRackPhysicalPropertiesOutput = Shapes::StructureShape.new(name: 'UpdateSiteRackPhysicalPropertiesOutput')
|
158
|
+
UplinkCount = Shapes::StringShape.new(name: 'UplinkCount')
|
159
|
+
UplinkGbps = Shapes::StringShape.new(name: 'UplinkGbps')
|
90
160
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
91
161
|
outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
|
92
162
|
siteListDefinition = Shapes::ListShape.new(name: 'siteListDefinition')
|
@@ -94,10 +164,41 @@ module Aws::Outposts
|
|
94
164
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
95
165
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
96
166
|
|
167
|
+
Address.add_member(:contact_name, Shapes::ShapeRef.new(shape: ContactName, location_name: "ContactName"))
|
168
|
+
Address.add_member(:contact_phone_number, Shapes::ShapeRef.new(shape: ContactPhoneNumber, location_name: "ContactPhoneNumber"))
|
169
|
+
Address.add_member(:address_line_1, Shapes::ShapeRef.new(shape: AddressLine1, required: true, location_name: "AddressLine1"))
|
170
|
+
Address.add_member(:address_line_2, Shapes::ShapeRef.new(shape: AddressLine2, location_name: "AddressLine2"))
|
171
|
+
Address.add_member(:address_line_3, Shapes::ShapeRef.new(shape: AddressLine3, location_name: "AddressLine3"))
|
172
|
+
Address.add_member(:city, Shapes::ShapeRef.new(shape: City, required: true, location_name: "City"))
|
173
|
+
Address.add_member(:state_or_region, Shapes::ShapeRef.new(shape: StateOrRegion, required: true, location_name: "StateOrRegion"))
|
174
|
+
Address.add_member(:district_or_county, Shapes::ShapeRef.new(shape: DistrictOrCounty, location_name: "DistrictOrCounty"))
|
175
|
+
Address.add_member(:postal_code, Shapes::ShapeRef.new(shape: PostalCode, required: true, location_name: "PostalCode"))
|
176
|
+
Address.add_member(:country_code, Shapes::ShapeRef.new(shape: CountryCode, required: true, location_name: "CountryCode"))
|
177
|
+
Address.add_member(:municipality, Shapes::ShapeRef.new(shape: Municipality, location_name: "Municipality"))
|
178
|
+
Address.struct_class = Types::Address
|
179
|
+
|
97
180
|
AvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneId)
|
98
181
|
|
99
182
|
AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
100
183
|
|
184
|
+
CancelOrderInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, required: true, location: "uri", location_name: "OrderId"))
|
185
|
+
CancelOrderInput.struct_class = Types::CancelOrderInput
|
186
|
+
|
187
|
+
CancelOrderOutput.struct_class = Types::CancelOrderOutput
|
188
|
+
|
189
|
+
CatalogItem.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
|
190
|
+
CatalogItem.add_member(:item_status, Shapes::ShapeRef.new(shape: CatalogItemStatus, location_name: "ItemStatus"))
|
191
|
+
CatalogItem.add_member(:ec2_capacities, Shapes::ShapeRef.new(shape: EC2CapacityListDefinition, location_name: "EC2Capacities"))
|
192
|
+
CatalogItem.add_member(:power_kva, Shapes::ShapeRef.new(shape: CatalogItemPowerKva, location_name: "PowerKva"))
|
193
|
+
CatalogItem.add_member(:weight_lbs, Shapes::ShapeRef.new(shape: CatalogItemWeightLbs, location_name: "WeightLbs"))
|
194
|
+
CatalogItem.add_member(:supported_uplink_gbps, Shapes::ShapeRef.new(shape: SupportedUplinkGbpsListDefinition, location_name: "SupportedUplinkGbps"))
|
195
|
+
CatalogItem.add_member(:supported_storage, Shapes::ShapeRef.new(shape: SupportedStorageList, location_name: "SupportedStorage"))
|
196
|
+
CatalogItem.struct_class = Types::CatalogItem
|
197
|
+
|
198
|
+
CatalogItemClassList.member = Shapes::ShapeRef.new(shape: CatalogItemClass)
|
199
|
+
|
200
|
+
CatalogItemListDefinition.member = Shapes::ShapeRef.new(shape: CatalogItem)
|
201
|
+
|
101
202
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
102
203
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
103
204
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
@@ -118,11 +219,24 @@ module Aws::Outposts
|
|
118
219
|
CreateOutpostInput.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
|
119
220
|
CreateOutpostInput.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
120
221
|
CreateOutpostInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
222
|
+
CreateOutpostInput.add_member(:supported_hardware_type, Shapes::ShapeRef.new(shape: SupportedHardwareType, location_name: "SupportedHardwareType"))
|
121
223
|
CreateOutpostInput.struct_class = Types::CreateOutpostInput
|
122
224
|
|
123
225
|
CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
|
124
226
|
CreateOutpostOutput.struct_class = Types::CreateOutpostOutput
|
125
227
|
|
228
|
+
CreateSiteInput.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, required: true, location_name: "Name"))
|
229
|
+
CreateSiteInput.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
|
230
|
+
CreateSiteInput.add_member(:notes, Shapes::ShapeRef.new(shape: SiteNotes, location_name: "Notes"))
|
231
|
+
CreateSiteInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
232
|
+
CreateSiteInput.add_member(:operating_address, Shapes::ShapeRef.new(shape: Address, location_name: "OperatingAddress"))
|
233
|
+
CreateSiteInput.add_member(:shipping_address, Shapes::ShapeRef.new(shape: Address, location_name: "ShippingAddress"))
|
234
|
+
CreateSiteInput.add_member(:rack_physical_properties, Shapes::ShapeRef.new(shape: RackPhysicalProperties, location_name: "RackPhysicalProperties"))
|
235
|
+
CreateSiteInput.struct_class = Types::CreateSiteInput
|
236
|
+
|
237
|
+
CreateSiteOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
|
238
|
+
CreateSiteOutput.struct_class = Types::CreateSiteOutput
|
239
|
+
|
126
240
|
DeleteOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
|
127
241
|
DeleteOutpostInput.struct_class = Types::DeleteOutpostInput
|
128
242
|
|
@@ -133,6 +247,27 @@ module Aws::Outposts
|
|
133
247
|
|
134
248
|
DeleteSiteOutput.struct_class = Types::DeleteSiteOutput
|
135
249
|
|
250
|
+
EC2Capacity.add_member(:family, Shapes::ShapeRef.new(shape: Family, location_name: "Family"))
|
251
|
+
EC2Capacity.add_member(:max_size, Shapes::ShapeRef.new(shape: MaxSize, location_name: "MaxSize"))
|
252
|
+
EC2Capacity.add_member(:quantity, Shapes::ShapeRef.new(shape: Quantity, location_name: "Quantity"))
|
253
|
+
EC2Capacity.struct_class = Types::EC2Capacity
|
254
|
+
|
255
|
+
EC2CapacityListDefinition.member = Shapes::ShapeRef.new(shape: EC2Capacity)
|
256
|
+
|
257
|
+
EC2FamilyList.member = Shapes::ShapeRef.new(shape: Family)
|
258
|
+
|
259
|
+
GetCatalogItemInput.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, required: true, location: "uri", location_name: "CatalogItemId"))
|
260
|
+
GetCatalogItemInput.struct_class = Types::GetCatalogItemInput
|
261
|
+
|
262
|
+
GetCatalogItemOutput.add_member(:catalog_item, Shapes::ShapeRef.new(shape: CatalogItem, location_name: "CatalogItem"))
|
263
|
+
GetCatalogItemOutput.struct_class = Types::GetCatalogItemOutput
|
264
|
+
|
265
|
+
GetOrderInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, required: true, location: "uri", location_name: "OrderId"))
|
266
|
+
GetOrderInput.struct_class = Types::GetOrderInput
|
267
|
+
|
268
|
+
GetOrderOutput.add_member(:order, Shapes::ShapeRef.new(shape: Order, location_name: "Order"))
|
269
|
+
GetOrderOutput.struct_class = Types::GetOrderOutput
|
270
|
+
|
136
271
|
GetOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
|
137
272
|
GetOutpostInput.struct_class = Types::GetOutpostInput
|
138
273
|
|
@@ -150,6 +285,21 @@ module Aws::Outposts
|
|
150
285
|
GetOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
|
151
286
|
GetOutpostOutput.struct_class = Types::GetOutpostOutput
|
152
287
|
|
288
|
+
GetSiteAddressInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
|
289
|
+
GetSiteAddressInput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, required: true, location: "querystring", location_name: "AddressType"))
|
290
|
+
GetSiteAddressInput.struct_class = Types::GetSiteAddressInput
|
291
|
+
|
292
|
+
GetSiteAddressOutput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, location_name: "SiteId"))
|
293
|
+
GetSiteAddressOutput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, location_name: "AddressType"))
|
294
|
+
GetSiteAddressOutput.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
|
295
|
+
GetSiteAddressOutput.struct_class = Types::GetSiteAddressOutput
|
296
|
+
|
297
|
+
GetSiteInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
|
298
|
+
GetSiteInput.struct_class = Types::GetSiteInput
|
299
|
+
|
300
|
+
GetSiteOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
|
301
|
+
GetSiteOutput.struct_class = Types::GetSiteOutput
|
302
|
+
|
153
303
|
InstanceTypeItem.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
|
154
304
|
InstanceTypeItem.struct_class = Types::InstanceTypeItem
|
155
305
|
|
@@ -163,7 +313,7 @@ module Aws::Outposts
|
|
163
313
|
LineItem.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
|
164
314
|
LineItem.add_member(:line_item_id, Shapes::ShapeRef.new(shape: LineItemId, location_name: "LineItemId"))
|
165
315
|
LineItem.add_member(:quantity, Shapes::ShapeRef.new(shape: LineItemQuantity, location_name: "Quantity"))
|
166
|
-
LineItem.add_member(:status, Shapes::ShapeRef.new(shape:
|
316
|
+
LineItem.add_member(:status, Shapes::ShapeRef.new(shape: LineItemStatus, location_name: "Status"))
|
167
317
|
LineItem.struct_class = Types::LineItem
|
168
318
|
|
169
319
|
LineItemListDefinition.member = Shapes::ShapeRef.new(shape: LineItem)
|
@@ -174,6 +324,29 @@ module Aws::Outposts
|
|
174
324
|
|
175
325
|
LineItemRequestListDefinition.member = Shapes::ShapeRef.new(shape: LineItemRequest)
|
176
326
|
|
327
|
+
LineItemStatusCounts.key = Shapes::ShapeRef.new(shape: LineItemStatus)
|
328
|
+
LineItemStatusCounts.value = Shapes::ShapeRef.new(shape: LineItemQuantity)
|
329
|
+
|
330
|
+
ListCatalogItemsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
331
|
+
ListCatalogItemsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
332
|
+
ListCatalogItemsInput.add_member(:item_class_filter, Shapes::ShapeRef.new(shape: CatalogItemClassList, location: "querystring", location_name: "ItemClassFilter"))
|
333
|
+
ListCatalogItemsInput.add_member(:supported_storage_filter, Shapes::ShapeRef.new(shape: SupportedStorageList, location: "querystring", location_name: "SupportedStorageFilter"))
|
334
|
+
ListCatalogItemsInput.add_member(:ec2_family_filter, Shapes::ShapeRef.new(shape: EC2FamilyList, location: "querystring", location_name: "EC2FamilyFilter"))
|
335
|
+
ListCatalogItemsInput.struct_class = Types::ListCatalogItemsInput
|
336
|
+
|
337
|
+
ListCatalogItemsOutput.add_member(:catalog_items, Shapes::ShapeRef.new(shape: CatalogItemListDefinition, location_name: "CatalogItems"))
|
338
|
+
ListCatalogItemsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
339
|
+
ListCatalogItemsOutput.struct_class = Types::ListCatalogItemsOutput
|
340
|
+
|
341
|
+
ListOrdersInput.add_member(:outpost_identifier_filter, Shapes::ShapeRef.new(shape: OutpostIdentifier, location: "querystring", location_name: "OutpostIdentifierFilter"))
|
342
|
+
ListOrdersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
343
|
+
ListOrdersInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
344
|
+
ListOrdersInput.struct_class = Types::ListOrdersInput
|
345
|
+
|
346
|
+
ListOrdersOutput.add_member(:orders, Shapes::ShapeRef.new(shape: OrderSummaryListDefinition, location_name: "Orders"))
|
347
|
+
ListOrdersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
348
|
+
ListOrdersOutput.struct_class = Types::ListOrdersOutput
|
349
|
+
|
177
350
|
ListOutpostsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
178
351
|
ListOutpostsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
179
352
|
ListOutpostsInput.add_member(:life_cycle_status_filter, Shapes::ShapeRef.new(shape: LifeCycleStatusList, location: "querystring", location_name: "LifeCycleStatusFilter"))
|
@@ -211,6 +384,17 @@ module Aws::Outposts
|
|
211
384
|
Order.add_member(:order_fulfilled_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderFulfilledDate"))
|
212
385
|
Order.struct_class = Types::Order
|
213
386
|
|
387
|
+
OrderSummary.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostIdOnly, location_name: "OutpostId"))
|
388
|
+
OrderSummary.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
|
389
|
+
OrderSummary.add_member(:order_type, Shapes::ShapeRef.new(shape: OrderType, location_name: "OrderType"))
|
390
|
+
OrderSummary.add_member(:status, Shapes::ShapeRef.new(shape: OrderStatus, location_name: "Status"))
|
391
|
+
OrderSummary.add_member(:line_item_counts_by_status, Shapes::ShapeRef.new(shape: LineItemStatusCounts, location_name: "LineItemCountsByStatus"))
|
392
|
+
OrderSummary.add_member(:order_submission_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderSubmissionDate"))
|
393
|
+
OrderSummary.add_member(:order_fulfilled_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderFulfilledDate"))
|
394
|
+
OrderSummary.struct_class = Types::OrderSummary
|
395
|
+
|
396
|
+
OrderSummaryListDefinition.member = Shapes::ShapeRef.new(shape: OrderSummary)
|
397
|
+
|
214
398
|
Outpost.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
|
215
399
|
Outpost.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
|
216
400
|
Outpost.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "OutpostArn"))
|
@@ -222,8 +406,20 @@ module Aws::Outposts
|
|
222
406
|
Outpost.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
223
407
|
Outpost.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
224
408
|
Outpost.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
|
409
|
+
Outpost.add_member(:supported_hardware_type, Shapes::ShapeRef.new(shape: SupportedHardwareType, location_name: "SupportedHardwareType"))
|
225
410
|
Outpost.struct_class = Types::Outpost
|
226
411
|
|
412
|
+
RackPhysicalProperties.add_member(:power_draw_kva, Shapes::ShapeRef.new(shape: PowerDrawKva, location_name: "PowerDrawKva"))
|
413
|
+
RackPhysicalProperties.add_member(:power_phase, Shapes::ShapeRef.new(shape: PowerPhase, location_name: "PowerPhase"))
|
414
|
+
RackPhysicalProperties.add_member(:power_connector, Shapes::ShapeRef.new(shape: PowerConnector, location_name: "PowerConnector"))
|
415
|
+
RackPhysicalProperties.add_member(:power_feed_drop, Shapes::ShapeRef.new(shape: PowerFeedDrop, location_name: "PowerFeedDrop"))
|
416
|
+
RackPhysicalProperties.add_member(:uplink_gbps, Shapes::ShapeRef.new(shape: UplinkGbps, location_name: "UplinkGbps"))
|
417
|
+
RackPhysicalProperties.add_member(:uplink_count, Shapes::ShapeRef.new(shape: UplinkCount, location_name: "UplinkCount"))
|
418
|
+
RackPhysicalProperties.add_member(:fiber_optic_cable_type, Shapes::ShapeRef.new(shape: FiberOpticCableType, location_name: "FiberOpticCableType"))
|
419
|
+
RackPhysicalProperties.add_member(:optical_standard, Shapes::ShapeRef.new(shape: OpticalStandard, location_name: "OpticalStandard"))
|
420
|
+
RackPhysicalProperties.add_member(:maximum_supported_weight_lbs, Shapes::ShapeRef.new(shape: MaximumSupportedWeightLbs, location_name: "MaximumSupportedWeightLbs"))
|
421
|
+
RackPhysicalProperties.struct_class = Types::RackPhysicalProperties
|
422
|
+
|
227
423
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
228
424
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
229
425
|
|
@@ -233,8 +429,17 @@ module Aws::Outposts
|
|
233
429
|
Site.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
|
234
430
|
Site.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
235
431
|
Site.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
|
432
|
+
Site.add_member(:notes, Shapes::ShapeRef.new(shape: SiteNotes, location_name: "Notes"))
|
433
|
+
Site.add_member(:operating_address_country_code, Shapes::ShapeRef.new(shape: CountryCode, location_name: "OperatingAddressCountryCode"))
|
434
|
+
Site.add_member(:operating_address_state_or_region, Shapes::ShapeRef.new(shape: StateOrRegion, location_name: "OperatingAddressStateOrRegion"))
|
435
|
+
Site.add_member(:operating_address_city, Shapes::ShapeRef.new(shape: City, location_name: "OperatingAddressCity"))
|
436
|
+
Site.add_member(:rack_physical_properties, Shapes::ShapeRef.new(shape: RackPhysicalProperties, location_name: "RackPhysicalProperties"))
|
236
437
|
Site.struct_class = Types::Site
|
237
438
|
|
439
|
+
SupportedStorageList.member = Shapes::ShapeRef.new(shape: SupportedStorageEnum)
|
440
|
+
|
441
|
+
SupportedUplinkGbpsListDefinition.member = Shapes::ShapeRef.new(shape: SupportedUplinkGbps)
|
442
|
+
|
238
443
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
239
444
|
|
240
445
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -252,6 +457,48 @@ module Aws::Outposts
|
|
252
457
|
|
253
458
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
254
459
|
|
460
|
+
UpdateOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
|
461
|
+
UpdateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, location_name: "Name"))
|
462
|
+
UpdateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
|
463
|
+
UpdateOutpostInput.add_member(:supported_hardware_type, Shapes::ShapeRef.new(shape: SupportedHardwareType, location_name: "SupportedHardwareType"))
|
464
|
+
UpdateOutpostInput.struct_class = Types::UpdateOutpostInput
|
465
|
+
|
466
|
+
UpdateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
|
467
|
+
UpdateOutpostOutput.struct_class = Types::UpdateOutpostOutput
|
468
|
+
|
469
|
+
UpdateSiteAddressInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
|
470
|
+
UpdateSiteAddressInput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, required: true, location_name: "AddressType"))
|
471
|
+
UpdateSiteAddressInput.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "Address"))
|
472
|
+
UpdateSiteAddressInput.struct_class = Types::UpdateSiteAddressInput
|
473
|
+
|
474
|
+
UpdateSiteAddressOutput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, location_name: "AddressType"))
|
475
|
+
UpdateSiteAddressOutput.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
|
476
|
+
UpdateSiteAddressOutput.struct_class = Types::UpdateSiteAddressOutput
|
477
|
+
|
478
|
+
UpdateSiteInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
|
479
|
+
UpdateSiteInput.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, location_name: "Name"))
|
480
|
+
UpdateSiteInput.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
|
481
|
+
UpdateSiteInput.add_member(:notes, Shapes::ShapeRef.new(shape: SiteNotes, location_name: "Notes"))
|
482
|
+
UpdateSiteInput.struct_class = Types::UpdateSiteInput
|
483
|
+
|
484
|
+
UpdateSiteOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
|
485
|
+
UpdateSiteOutput.struct_class = Types::UpdateSiteOutput
|
486
|
+
|
487
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
|
488
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:power_draw_kva, Shapes::ShapeRef.new(shape: PowerDrawKva, location_name: "PowerDrawKva"))
|
489
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:power_phase, Shapes::ShapeRef.new(shape: PowerPhase, location_name: "PowerPhase"))
|
490
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:power_connector, Shapes::ShapeRef.new(shape: PowerConnector, location_name: "PowerConnector"))
|
491
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:power_feed_drop, Shapes::ShapeRef.new(shape: PowerFeedDrop, location_name: "PowerFeedDrop"))
|
492
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:uplink_gbps, Shapes::ShapeRef.new(shape: UplinkGbps, location_name: "UplinkGbps"))
|
493
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:uplink_count, Shapes::ShapeRef.new(shape: UplinkCount, location_name: "UplinkCount"))
|
494
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:fiber_optic_cable_type, Shapes::ShapeRef.new(shape: FiberOpticCableType, location_name: "FiberOpticCableType"))
|
495
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:optical_standard, Shapes::ShapeRef.new(shape: OpticalStandard, location_name: "OpticalStandard"))
|
496
|
+
UpdateSiteRackPhysicalPropertiesInput.add_member(:maximum_supported_weight_lbs, Shapes::ShapeRef.new(shape: MaximumSupportedWeightLbs, location_name: "MaximumSupportedWeightLbs"))
|
497
|
+
UpdateSiteRackPhysicalPropertiesInput.struct_class = Types::UpdateSiteRackPhysicalPropertiesInput
|
498
|
+
|
499
|
+
UpdateSiteRackPhysicalPropertiesOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
|
500
|
+
UpdateSiteRackPhysicalPropertiesOutput.struct_class = Types::UpdateSiteRackPhysicalPropertiesOutput
|
501
|
+
|
255
502
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
256
503
|
ValidationException.struct_class = Types::ValidationException
|
257
504
|
|
@@ -278,6 +525,19 @@ module Aws::Outposts
|
|
278
525
|
"uid" => "outposts-2019-12-03",
|
279
526
|
}
|
280
527
|
|
528
|
+
api.add_operation(:cancel_order, Seahorse::Model::Operation.new.tap do |o|
|
529
|
+
o.name = "CancelOrder"
|
530
|
+
o.http_method = "POST"
|
531
|
+
o.http_request_uri = "/orders/{OrderId}/cancel"
|
532
|
+
o.input = Shapes::ShapeRef.new(shape: CancelOrderInput)
|
533
|
+
o.output = Shapes::ShapeRef.new(shape: CancelOrderOutput)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
539
|
+
end)
|
540
|
+
|
281
541
|
api.add_operation(:create_order, Seahorse::Model::Operation.new.tap do |o|
|
282
542
|
o.name = "CreateOrder"
|
283
543
|
o.http_method = "POST"
|
@@ -306,6 +566,19 @@ module Aws::Outposts
|
|
306
566
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
307
567
|
end)
|
308
568
|
|
569
|
+
api.add_operation(:create_site, Seahorse::Model::Operation.new.tap do |o|
|
570
|
+
o.name = "CreateSite"
|
571
|
+
o.http_method = "POST"
|
572
|
+
o.http_request_uri = "/sites"
|
573
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSiteInput)
|
574
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSiteOutput)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
580
|
+
end)
|
581
|
+
|
309
582
|
api.add_operation(:delete_outpost, Seahorse::Model::Operation.new.tap do |o|
|
310
583
|
o.name = "DeleteOutpost"
|
311
584
|
o.http_method = "DELETE"
|
@@ -332,6 +605,28 @@ module Aws::Outposts
|
|
332
605
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
333
606
|
end)
|
334
607
|
|
608
|
+
api.add_operation(:get_catalog_item, Seahorse::Model::Operation.new.tap do |o|
|
609
|
+
o.name = "GetCatalogItem"
|
610
|
+
o.http_method = "GET"
|
611
|
+
o.http_request_uri = "/catalog/item/{CatalogItemId}"
|
612
|
+
o.input = Shapes::ShapeRef.new(shape: GetCatalogItemInput)
|
613
|
+
o.output = Shapes::ShapeRef.new(shape: GetCatalogItemOutput)
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
617
|
+
end)
|
618
|
+
|
619
|
+
api.add_operation(:get_order, Seahorse::Model::Operation.new.tap do |o|
|
620
|
+
o.name = "GetOrder"
|
621
|
+
o.http_method = "GET"
|
622
|
+
o.http_request_uri = "/orders/{OrderId}"
|
623
|
+
o.input = Shapes::ShapeRef.new(shape: GetOrderInput)
|
624
|
+
o.output = Shapes::ShapeRef.new(shape: GetOrderOutput)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
628
|
+
end)
|
629
|
+
|
335
630
|
api.add_operation(:get_outpost, Seahorse::Model::Operation.new.tap do |o|
|
336
631
|
o.name = "GetOutpost"
|
337
632
|
o.http_method = "GET"
|
@@ -356,6 +651,65 @@ module Aws::Outposts
|
|
356
651
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
357
652
|
end)
|
358
653
|
|
654
|
+
api.add_operation(:get_site, Seahorse::Model::Operation.new.tap do |o|
|
655
|
+
o.name = "GetSite"
|
656
|
+
o.http_method = "GET"
|
657
|
+
o.http_request_uri = "/sites/{SiteId}"
|
658
|
+
o.input = Shapes::ShapeRef.new(shape: GetSiteInput)
|
659
|
+
o.output = Shapes::ShapeRef.new(shape: GetSiteOutput)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
663
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
664
|
+
end)
|
665
|
+
|
666
|
+
api.add_operation(:get_site_address, Seahorse::Model::Operation.new.tap do |o|
|
667
|
+
o.name = "GetSiteAddress"
|
668
|
+
o.http_method = "GET"
|
669
|
+
o.http_request_uri = "/sites/{SiteId}/address"
|
670
|
+
o.input = Shapes::ShapeRef.new(shape: GetSiteAddressInput)
|
671
|
+
o.output = Shapes::ShapeRef.new(shape: GetSiteAddressOutput)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
674
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
675
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
676
|
+
end)
|
677
|
+
|
678
|
+
api.add_operation(:list_catalog_items, Seahorse::Model::Operation.new.tap do |o|
|
679
|
+
o.name = "ListCatalogItems"
|
680
|
+
o.http_method = "GET"
|
681
|
+
o.http_request_uri = "/catalog/items"
|
682
|
+
o.input = Shapes::ShapeRef.new(shape: ListCatalogItemsInput)
|
683
|
+
o.output = Shapes::ShapeRef.new(shape: ListCatalogItemsOutput)
|
684
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
685
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
686
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
687
|
+
o[:pager] = Aws::Pager.new(
|
688
|
+
limit_key: "max_results",
|
689
|
+
tokens: {
|
690
|
+
"next_token" => "next_token"
|
691
|
+
}
|
692
|
+
)
|
693
|
+
end)
|
694
|
+
|
695
|
+
api.add_operation(:list_orders, Seahorse::Model::Operation.new.tap do |o|
|
696
|
+
o.name = "ListOrders"
|
697
|
+
o.http_method = "GET"
|
698
|
+
o.http_request_uri = "/list-orders"
|
699
|
+
o.input = Shapes::ShapeRef.new(shape: ListOrdersInput)
|
700
|
+
o.output = Shapes::ShapeRef.new(shape: ListOrdersOutput)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
702
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
705
|
+
o[:pager] = Aws::Pager.new(
|
706
|
+
limit_key: "max_results",
|
707
|
+
tokens: {
|
708
|
+
"next_token" => "next_token"
|
709
|
+
}
|
710
|
+
)
|
711
|
+
end)
|
712
|
+
|
359
713
|
api.add_operation(:list_outposts, Seahorse::Model::Operation.new.tap do |o|
|
360
714
|
o.name = "ListOutposts"
|
361
715
|
o.http_method = "GET"
|
@@ -422,6 +776,58 @@ module Aws::Outposts
|
|
422
776
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
423
777
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
424
778
|
end)
|
779
|
+
|
780
|
+
api.add_operation(:update_outpost, Seahorse::Model::Operation.new.tap do |o|
|
781
|
+
o.name = "UpdateOutpost"
|
782
|
+
o.http_method = "PATCH"
|
783
|
+
o.http_request_uri = "/outposts/{OutpostId}"
|
784
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateOutpostInput)
|
785
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateOutpostOutput)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
789
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
790
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
791
|
+
end)
|
792
|
+
|
793
|
+
api.add_operation(:update_site, Seahorse::Model::Operation.new.tap do |o|
|
794
|
+
o.name = "UpdateSite"
|
795
|
+
o.http_method = "PATCH"
|
796
|
+
o.http_request_uri = "/sites/{SiteId}"
|
797
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSiteInput)
|
798
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSiteOutput)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
800
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
801
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
802
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
803
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
804
|
+
end)
|
805
|
+
|
806
|
+
api.add_operation(:update_site_address, Seahorse::Model::Operation.new.tap do |o|
|
807
|
+
o.name = "UpdateSiteAddress"
|
808
|
+
o.http_method = "PUT"
|
809
|
+
o.http_request_uri = "/sites/{SiteId}/address"
|
810
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSiteAddressInput)
|
811
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSiteAddressOutput)
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
817
|
+
end)
|
818
|
+
|
819
|
+
api.add_operation(:update_site_rack_physical_properties, Seahorse::Model::Operation.new.tap do |o|
|
820
|
+
o.name = "UpdateSiteRackPhysicalProperties"
|
821
|
+
o.http_method = "PATCH"
|
822
|
+
o.http_request_uri = "/sites/{SiteId}/rackPhysicalProperties"
|
823
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSiteRackPhysicalPropertiesInput)
|
824
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSiteRackPhysicalPropertiesOutput)
|
825
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
829
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
830
|
+
end)
|
425
831
|
end
|
426
832
|
|
427
833
|
end
|