aws-sdk-outposts 1.20.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,29 +15,78 @@ 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')
42
+ CreateOrderInput = Shapes::StructureShape.new(name: 'CreateOrderInput')
43
+ CreateOrderOutput = Shapes::StructureShape.new(name: 'CreateOrderOutput')
24
44
  CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
25
45
  CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
46
+ CreateSiteInput = Shapes::StructureShape.new(name: 'CreateSiteInput')
47
+ CreateSiteOutput = Shapes::StructureShape.new(name: 'CreateSiteOutput')
26
48
  DeleteOutpostInput = Shapes::StructureShape.new(name: 'DeleteOutpostInput')
27
49
  DeleteOutpostOutput = Shapes::StructureShape.new(name: 'DeleteOutpostOutput')
28
50
  DeleteSiteInput = Shapes::StructureShape.new(name: 'DeleteSiteInput')
29
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')
30
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')
31
63
  GetOutpostInput = Shapes::StructureShape.new(name: 'GetOutpostInput')
32
64
  GetOutpostInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesInput')
33
65
  GetOutpostInstanceTypesOutput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesOutput')
34
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')
71
+ ISO8601Timestamp = Shapes::TimestampShape.new(name: 'ISO8601Timestamp')
35
72
  InstanceType = Shapes::StringShape.new(name: 'InstanceType')
36
73
  InstanceTypeItem = Shapes::StructureShape.new(name: 'InstanceTypeItem')
37
74
  InstanceTypeListDefinition = Shapes::ListShape.new(name: 'InstanceTypeListDefinition')
38
75
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
39
76
  LifeCycleStatus = Shapes::StringShape.new(name: 'LifeCycleStatus')
40
77
  LifeCycleStatusList = Shapes::ListShape.new(name: 'LifeCycleStatusList')
78
+ LineItem = Shapes::StructureShape.new(name: 'LineItem')
79
+ LineItemId = Shapes::StringShape.new(name: 'LineItemId')
80
+ LineItemListDefinition = Shapes::ListShape.new(name: 'LineItemListDefinition')
81
+ LineItemQuantity = Shapes::IntegerShape.new(name: 'LineItemQuantity')
82
+ LineItemRequest = Shapes::StructureShape.new(name: 'LineItemRequest')
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')
41
90
  ListOutpostsInput = Shapes::StructureShape.new(name: 'ListOutpostsInput')
42
91
  ListOutpostsOutput = Shapes::StructureShape.new(name: 'ListOutpostsOutput')
43
92
  ListSitesInput = Shapes::StructureShape.new(name: 'ListSitesInput')
@@ -45,13 +94,34 @@ module Aws::Outposts
45
94
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
46
95
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
47
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')
48
100
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
101
+ OpticalStandard = Shapes::StringShape.new(name: 'OpticalStandard')
102
+ Order = Shapes::StructureShape.new(name: 'Order')
103
+ OrderId = Shapes::StringShape.new(name: 'OrderId')
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')
49
108
  Outpost = Shapes::StructureShape.new(name: 'Outpost')
50
109
  OutpostArn = Shapes::StringShape.new(name: 'OutpostArn')
51
110
  OutpostDescription = Shapes::StringShape.new(name: 'OutpostDescription')
52
111
  OutpostId = Shapes::StringShape.new(name: 'OutpostId')
112
+ OutpostIdOnly = Shapes::StringShape.new(name: 'OutpostIdOnly')
113
+ OutpostIdentifier = Shapes::StringShape.new(name: 'OutpostIdentifier')
53
114
  OutpostName = Shapes::StringShape.new(name: 'OutpostName')
54
115
  OwnerId = Shapes::StringShape.new(name: 'OwnerId')
116
+ PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
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')
55
125
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
56
126
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
57
127
  Site = Shapes::StructureShape.new(name: 'Site')
@@ -59,7 +129,14 @@ module Aws::Outposts
59
129
  SiteDescription = Shapes::StringShape.new(name: 'SiteDescription')
60
130
  SiteId = Shapes::StringShape.new(name: 'SiteId')
61
131
  SiteName = Shapes::StringShape.new(name: 'SiteName')
132
+ SiteNotes = Shapes::StringShape.new(name: 'SiteNotes')
133
+ SkuCode = Shapes::StringShape.new(name: 'SkuCode')
134
+ StateOrRegion = Shapes::StringShape.new(name: 'StateOrRegion')
62
135
  String = Shapes::StringShape.new(name: 'String')
136
+ SupportedStorageEnum = Shapes::StringShape.new(name: 'SupportedStorageEnum')
137
+ SupportedStorageList = Shapes::ListShape.new(name: 'SupportedStorageList')
138
+ SupportedUplinkGbps = Shapes::IntegerShape.new(name: 'SupportedUplinkGbps')
139
+ SupportedUplinkGbpsListDefinition = Shapes::ListShape.new(name: 'SupportedUplinkGbpsListDefinition')
63
140
  TagKey = Shapes::StringShape.new(name: 'TagKey')
64
141
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
65
142
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -69,6 +146,14 @@ module Aws::Outposts
69
146
  Token = Shapes::StringShape.new(name: 'Token')
70
147
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
71
148
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
149
+ UpdateSiteAddressInput = Shapes::StructureShape.new(name: 'UpdateSiteAddressInput')
150
+ UpdateSiteAddressOutput = Shapes::StructureShape.new(name: 'UpdateSiteAddressOutput')
151
+ UpdateSiteInput = Shapes::StructureShape.new(name: 'UpdateSiteInput')
152
+ UpdateSiteOutput = Shapes::StructureShape.new(name: 'UpdateSiteOutput')
153
+ UpdateSiteRackPhysicalPropertiesInput = Shapes::StructureShape.new(name: 'UpdateSiteRackPhysicalPropertiesInput')
154
+ UpdateSiteRackPhysicalPropertiesOutput = Shapes::StructureShape.new(name: 'UpdateSiteRackPhysicalPropertiesOutput')
155
+ UplinkCount = Shapes::StringShape.new(name: 'UplinkCount')
156
+ UplinkGbps = Shapes::StringShape.new(name: 'UplinkGbps')
72
157
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
73
158
  outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
74
159
  siteListDefinition = Shapes::ListShape.new(name: 'siteListDefinition')
@@ -76,15 +161,55 @@ module Aws::Outposts
76
161
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
77
162
  AccessDeniedException.struct_class = Types::AccessDeniedException
78
163
 
164
+ Address.add_member(:contact_name, Shapes::ShapeRef.new(shape: ContactName, location_name: "ContactName"))
165
+ Address.add_member(:contact_phone_number, Shapes::ShapeRef.new(shape: ContactPhoneNumber, location_name: "ContactPhoneNumber"))
166
+ Address.add_member(:address_line_1, Shapes::ShapeRef.new(shape: AddressLine1, required: true, location_name: "AddressLine1"))
167
+ Address.add_member(:address_line_2, Shapes::ShapeRef.new(shape: AddressLine2, location_name: "AddressLine2"))
168
+ Address.add_member(:address_line_3, Shapes::ShapeRef.new(shape: AddressLine3, location_name: "AddressLine3"))
169
+ Address.add_member(:city, Shapes::ShapeRef.new(shape: City, required: true, location_name: "City"))
170
+ Address.add_member(:state_or_region, Shapes::ShapeRef.new(shape: StateOrRegion, required: true, location_name: "StateOrRegion"))
171
+ Address.add_member(:district_or_county, Shapes::ShapeRef.new(shape: DistrictOrCounty, location_name: "DistrictOrCounty"))
172
+ Address.add_member(:postal_code, Shapes::ShapeRef.new(shape: PostalCode, required: true, location_name: "PostalCode"))
173
+ Address.add_member(:country_code, Shapes::ShapeRef.new(shape: CountryCode, required: true, location_name: "CountryCode"))
174
+ Address.add_member(:municipality, Shapes::ShapeRef.new(shape: Municipality, location_name: "Municipality"))
175
+ Address.struct_class = Types::Address
176
+
79
177
  AvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneId)
80
178
 
81
179
  AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
82
180
 
181
+ CancelOrderInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, required: true, location: "uri", location_name: "OrderId"))
182
+ CancelOrderInput.struct_class = Types::CancelOrderInput
183
+
184
+ CancelOrderOutput.struct_class = Types::CancelOrderOutput
185
+
186
+ CatalogItem.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
187
+ CatalogItem.add_member(:item_status, Shapes::ShapeRef.new(shape: CatalogItemStatus, location_name: "ItemStatus"))
188
+ CatalogItem.add_member(:ec2_capacities, Shapes::ShapeRef.new(shape: EC2CapacityListDefinition, location_name: "EC2Capacities"))
189
+ CatalogItem.add_member(:power_kva, Shapes::ShapeRef.new(shape: CatalogItemPowerKva, location_name: "PowerKva"))
190
+ CatalogItem.add_member(:weight_lbs, Shapes::ShapeRef.new(shape: CatalogItemWeightLbs, location_name: "WeightLbs"))
191
+ CatalogItem.add_member(:supported_uplink_gbps, Shapes::ShapeRef.new(shape: SupportedUplinkGbpsListDefinition, location_name: "SupportedUplinkGbps"))
192
+ CatalogItem.add_member(:supported_storage, Shapes::ShapeRef.new(shape: SupportedStorageList, location_name: "SupportedStorage"))
193
+ CatalogItem.struct_class = Types::CatalogItem
194
+
195
+ CatalogItemClassList.member = Shapes::ShapeRef.new(shape: CatalogItemClass)
196
+
197
+ CatalogItemListDefinition.member = Shapes::ShapeRef.new(shape: CatalogItem)
198
+
83
199
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
84
200
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
85
201
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
86
202
  ConflictException.struct_class = Types::ConflictException
87
203
 
204
+ CreateOrderInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location_name: "OutpostIdentifier"))
205
+ CreateOrderInput.add_member(:line_items, Shapes::ShapeRef.new(shape: LineItemRequestListDefinition, required: true, location_name: "LineItems"))
206
+ CreateOrderInput.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, required: true, location_name: "PaymentOption"))
207
+ CreateOrderInput.add_member(:payment_term, Shapes::ShapeRef.new(shape: PaymentTerm, location_name: "PaymentTerm"))
208
+ CreateOrderInput.struct_class = Types::CreateOrderInput
209
+
210
+ CreateOrderOutput.add_member(:order, Shapes::ShapeRef.new(shape: Order, location_name: "Order"))
211
+ CreateOrderOutput.struct_class = Types::CreateOrderOutput
212
+
88
213
  CreateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, required: true, location_name: "Name"))
89
214
  CreateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
90
215
  CreateOutpostInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location_name: "SiteId"))
@@ -96,6 +221,18 @@ module Aws::Outposts
96
221
  CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
97
222
  CreateOutpostOutput.struct_class = Types::CreateOutpostOutput
98
223
 
224
+ CreateSiteInput.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, required: true, location_name: "Name"))
225
+ CreateSiteInput.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
226
+ CreateSiteInput.add_member(:notes, Shapes::ShapeRef.new(shape: SiteNotes, location_name: "Notes"))
227
+ CreateSiteInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
228
+ CreateSiteInput.add_member(:operating_address, Shapes::ShapeRef.new(shape: Address, location_name: "OperatingAddress"))
229
+ CreateSiteInput.add_member(:shipping_address, Shapes::ShapeRef.new(shape: Address, location_name: "ShippingAddress"))
230
+ CreateSiteInput.add_member(:rack_physical_properties, Shapes::ShapeRef.new(shape: RackPhysicalProperties, location_name: "RackPhysicalProperties"))
231
+ CreateSiteInput.struct_class = Types::CreateSiteInput
232
+
233
+ CreateSiteOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
234
+ CreateSiteOutput.struct_class = Types::CreateSiteOutput
235
+
99
236
  DeleteOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
100
237
  DeleteOutpostInput.struct_class = Types::DeleteOutpostInput
101
238
 
@@ -106,6 +243,27 @@ module Aws::Outposts
106
243
 
107
244
  DeleteSiteOutput.struct_class = Types::DeleteSiteOutput
108
245
 
246
+ EC2Capacity.add_member(:family, Shapes::ShapeRef.new(shape: Family, location_name: "Family"))
247
+ EC2Capacity.add_member(:max_size, Shapes::ShapeRef.new(shape: MaxSize, location_name: "MaxSize"))
248
+ EC2Capacity.add_member(:quantity, Shapes::ShapeRef.new(shape: Quantity, location_name: "Quantity"))
249
+ EC2Capacity.struct_class = Types::EC2Capacity
250
+
251
+ EC2CapacityListDefinition.member = Shapes::ShapeRef.new(shape: EC2Capacity)
252
+
253
+ EC2FamilyList.member = Shapes::ShapeRef.new(shape: Family)
254
+
255
+ GetCatalogItemInput.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, required: true, location: "uri", location_name: "CatalogItemId"))
256
+ GetCatalogItemInput.struct_class = Types::GetCatalogItemInput
257
+
258
+ GetCatalogItemOutput.add_member(:catalog_item, Shapes::ShapeRef.new(shape: CatalogItem, location_name: "CatalogItem"))
259
+ GetCatalogItemOutput.struct_class = Types::GetCatalogItemOutput
260
+
261
+ GetOrderInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, required: true, location: "uri", location_name: "OrderId"))
262
+ GetOrderInput.struct_class = Types::GetOrderInput
263
+
264
+ GetOrderOutput.add_member(:order, Shapes::ShapeRef.new(shape: Order, location_name: "Order"))
265
+ GetOrderOutput.struct_class = Types::GetOrderOutput
266
+
109
267
  GetOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
110
268
  GetOutpostInput.struct_class = Types::GetOutpostInput
111
269
 
@@ -123,6 +281,21 @@ module Aws::Outposts
123
281
  GetOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
124
282
  GetOutpostOutput.struct_class = Types::GetOutpostOutput
125
283
 
284
+ GetSiteAddressInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
285
+ GetSiteAddressInput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, required: true, location: "querystring", location_name: "AddressType"))
286
+ GetSiteAddressInput.struct_class = Types::GetSiteAddressInput
287
+
288
+ GetSiteAddressOutput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, location_name: "SiteId"))
289
+ GetSiteAddressOutput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, location_name: "AddressType"))
290
+ GetSiteAddressOutput.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
291
+ GetSiteAddressOutput.struct_class = Types::GetSiteAddressOutput
292
+
293
+ GetSiteInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
294
+ GetSiteInput.struct_class = Types::GetSiteInput
295
+
296
+ GetSiteOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
297
+ GetSiteOutput.struct_class = Types::GetSiteOutput
298
+
126
299
  InstanceTypeItem.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
127
300
  InstanceTypeItem.struct_class = Types::InstanceTypeItem
128
301
 
@@ -133,6 +306,43 @@ module Aws::Outposts
133
306
 
134
307
  LifeCycleStatusList.member = Shapes::ShapeRef.new(shape: LifeCycleStatus)
135
308
 
309
+ LineItem.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
310
+ LineItem.add_member(:line_item_id, Shapes::ShapeRef.new(shape: LineItemId, location_name: "LineItemId"))
311
+ LineItem.add_member(:quantity, Shapes::ShapeRef.new(shape: LineItemQuantity, location_name: "Quantity"))
312
+ LineItem.add_member(:status, Shapes::ShapeRef.new(shape: LineItemStatus, location_name: "Status"))
313
+ LineItem.struct_class = Types::LineItem
314
+
315
+ LineItemListDefinition.member = Shapes::ShapeRef.new(shape: LineItem)
316
+
317
+ LineItemRequest.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
318
+ LineItemRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: LineItemQuantity, location_name: "Quantity"))
319
+ LineItemRequest.struct_class = Types::LineItemRequest
320
+
321
+ LineItemRequestListDefinition.member = Shapes::ShapeRef.new(shape: LineItemRequest)
322
+
323
+ LineItemStatusCounts.key = Shapes::ShapeRef.new(shape: LineItemStatus)
324
+ LineItemStatusCounts.value = Shapes::ShapeRef.new(shape: LineItemQuantity)
325
+
326
+ ListCatalogItemsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
327
+ ListCatalogItemsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
328
+ ListCatalogItemsInput.add_member(:item_class_filter, Shapes::ShapeRef.new(shape: CatalogItemClassList, location: "querystring", location_name: "ItemClassFilter"))
329
+ ListCatalogItemsInput.add_member(:supported_storage_filter, Shapes::ShapeRef.new(shape: SupportedStorageList, location: "querystring", location_name: "SupportedStorageFilter"))
330
+ ListCatalogItemsInput.add_member(:ec2_family_filter, Shapes::ShapeRef.new(shape: EC2FamilyList, location: "querystring", location_name: "EC2FamilyFilter"))
331
+ ListCatalogItemsInput.struct_class = Types::ListCatalogItemsInput
332
+
333
+ ListCatalogItemsOutput.add_member(:catalog_items, Shapes::ShapeRef.new(shape: CatalogItemListDefinition, location_name: "CatalogItems"))
334
+ ListCatalogItemsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
335
+ ListCatalogItemsOutput.struct_class = Types::ListCatalogItemsOutput
336
+
337
+ ListOrdersInput.add_member(:outpost_identifier_filter, Shapes::ShapeRef.new(shape: OutpostIdentifier, location: "querystring", location_name: "OutpostIdentifierFilter"))
338
+ ListOrdersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
339
+ ListOrdersInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
340
+ ListOrdersInput.struct_class = Types::ListOrdersInput
341
+
342
+ ListOrdersOutput.add_member(:orders, Shapes::ShapeRef.new(shape: OrderSummaryListDefinition, location_name: "Orders"))
343
+ ListOrdersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
344
+ ListOrdersOutput.struct_class = Types::ListOrdersOutput
345
+
136
346
  ListOutpostsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
137
347
  ListOutpostsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
138
348
  ListOutpostsInput.add_member(:life_cycle_status_filter, Shapes::ShapeRef.new(shape: LifeCycleStatusList, location: "querystring", location_name: "LifeCycleStatusFilter"))
@@ -161,6 +371,26 @@ module Aws::Outposts
161
371
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
162
372
  NotFoundException.struct_class = Types::NotFoundException
163
373
 
374
+ Order.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostIdOnly, location_name: "OutpostId"))
375
+ Order.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
376
+ Order.add_member(:status, Shapes::ShapeRef.new(shape: OrderStatus, location_name: "Status"))
377
+ Order.add_member(:line_items, Shapes::ShapeRef.new(shape: LineItemListDefinition, location_name: "LineItems"))
378
+ Order.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "PaymentOption"))
379
+ Order.add_member(:order_submission_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderSubmissionDate"))
380
+ Order.add_member(:order_fulfilled_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderFulfilledDate"))
381
+ Order.struct_class = Types::Order
382
+
383
+ OrderSummary.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostIdOnly, location_name: "OutpostId"))
384
+ OrderSummary.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
385
+ OrderSummary.add_member(:order_type, Shapes::ShapeRef.new(shape: OrderType, location_name: "OrderType"))
386
+ OrderSummary.add_member(:status, Shapes::ShapeRef.new(shape: OrderStatus, location_name: "Status"))
387
+ OrderSummary.add_member(:line_item_counts_by_status, Shapes::ShapeRef.new(shape: LineItemStatusCounts, location_name: "LineItemCountsByStatus"))
388
+ OrderSummary.add_member(:order_submission_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderSubmissionDate"))
389
+ OrderSummary.add_member(:order_fulfilled_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderFulfilledDate"))
390
+ OrderSummary.struct_class = Types::OrderSummary
391
+
392
+ OrderSummaryListDefinition.member = Shapes::ShapeRef.new(shape: OrderSummary)
393
+
164
394
  Outpost.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
165
395
  Outpost.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
166
396
  Outpost.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "OutpostArn"))
@@ -174,6 +404,17 @@ module Aws::Outposts
174
404
  Outpost.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
175
405
  Outpost.struct_class = Types::Outpost
176
406
 
407
+ RackPhysicalProperties.add_member(:power_draw_kva, Shapes::ShapeRef.new(shape: PowerDrawKva, location_name: "PowerDrawKva"))
408
+ RackPhysicalProperties.add_member(:power_phase, Shapes::ShapeRef.new(shape: PowerPhase, location_name: "PowerPhase"))
409
+ RackPhysicalProperties.add_member(:power_connector, Shapes::ShapeRef.new(shape: PowerConnector, location_name: "PowerConnector"))
410
+ RackPhysicalProperties.add_member(:power_feed_drop, Shapes::ShapeRef.new(shape: PowerFeedDrop, location_name: "PowerFeedDrop"))
411
+ RackPhysicalProperties.add_member(:uplink_gbps, Shapes::ShapeRef.new(shape: UplinkGbps, location_name: "UplinkGbps"))
412
+ RackPhysicalProperties.add_member(:uplink_count, Shapes::ShapeRef.new(shape: UplinkCount, location_name: "UplinkCount"))
413
+ RackPhysicalProperties.add_member(:fiber_optic_cable_type, Shapes::ShapeRef.new(shape: FiberOpticCableType, location_name: "FiberOpticCableType"))
414
+ RackPhysicalProperties.add_member(:optical_standard, Shapes::ShapeRef.new(shape: OpticalStandard, location_name: "OpticalStandard"))
415
+ RackPhysicalProperties.add_member(:maximum_supported_weight_lbs, Shapes::ShapeRef.new(shape: MaximumSupportedWeightLbs, location_name: "MaximumSupportedWeightLbs"))
416
+ RackPhysicalProperties.struct_class = Types::RackPhysicalProperties
417
+
177
418
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
178
419
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
179
420
 
@@ -183,8 +424,17 @@ module Aws::Outposts
183
424
  Site.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
184
425
  Site.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
185
426
  Site.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
427
+ Site.add_member(:notes, Shapes::ShapeRef.new(shape: SiteNotes, location_name: "Notes"))
428
+ Site.add_member(:operating_address_country_code, Shapes::ShapeRef.new(shape: CountryCode, location_name: "OperatingAddressCountryCode"))
429
+ Site.add_member(:operating_address_state_or_region, Shapes::ShapeRef.new(shape: StateOrRegion, location_name: "OperatingAddressStateOrRegion"))
430
+ Site.add_member(:operating_address_city, Shapes::ShapeRef.new(shape: City, location_name: "OperatingAddressCity"))
431
+ Site.add_member(:rack_physical_properties, Shapes::ShapeRef.new(shape: RackPhysicalProperties, location_name: "RackPhysicalProperties"))
186
432
  Site.struct_class = Types::Site
187
433
 
434
+ SupportedStorageList.member = Shapes::ShapeRef.new(shape: SupportedStorageEnum)
435
+
436
+ SupportedUplinkGbpsListDefinition.member = Shapes::ShapeRef.new(shape: SupportedUplinkGbps)
437
+
188
438
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
189
439
 
190
440
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -202,6 +452,39 @@ module Aws::Outposts
202
452
 
203
453
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
204
454
 
455
+ UpdateSiteAddressInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
456
+ UpdateSiteAddressInput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, required: true, location_name: "AddressType"))
457
+ UpdateSiteAddressInput.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "Address"))
458
+ UpdateSiteAddressInput.struct_class = Types::UpdateSiteAddressInput
459
+
460
+ UpdateSiteAddressOutput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, location_name: "AddressType"))
461
+ UpdateSiteAddressOutput.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
462
+ UpdateSiteAddressOutput.struct_class = Types::UpdateSiteAddressOutput
463
+
464
+ UpdateSiteInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
465
+ UpdateSiteInput.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, location_name: "Name"))
466
+ UpdateSiteInput.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
467
+ UpdateSiteInput.add_member(:notes, Shapes::ShapeRef.new(shape: SiteNotes, location_name: "Notes"))
468
+ UpdateSiteInput.struct_class = Types::UpdateSiteInput
469
+
470
+ UpdateSiteOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
471
+ UpdateSiteOutput.struct_class = Types::UpdateSiteOutput
472
+
473
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
474
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:power_draw_kva, Shapes::ShapeRef.new(shape: PowerDrawKva, location_name: "PowerDrawKva"))
475
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:power_phase, Shapes::ShapeRef.new(shape: PowerPhase, location_name: "PowerPhase"))
476
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:power_connector, Shapes::ShapeRef.new(shape: PowerConnector, location_name: "PowerConnector"))
477
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:power_feed_drop, Shapes::ShapeRef.new(shape: PowerFeedDrop, location_name: "PowerFeedDrop"))
478
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:uplink_gbps, Shapes::ShapeRef.new(shape: UplinkGbps, location_name: "UplinkGbps"))
479
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:uplink_count, Shapes::ShapeRef.new(shape: UplinkCount, location_name: "UplinkCount"))
480
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:fiber_optic_cable_type, Shapes::ShapeRef.new(shape: FiberOpticCableType, location_name: "FiberOpticCableType"))
481
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:optical_standard, Shapes::ShapeRef.new(shape: OpticalStandard, location_name: "OpticalStandard"))
482
+ UpdateSiteRackPhysicalPropertiesInput.add_member(:maximum_supported_weight_lbs, Shapes::ShapeRef.new(shape: MaximumSupportedWeightLbs, location_name: "MaximumSupportedWeightLbs"))
483
+ UpdateSiteRackPhysicalPropertiesInput.struct_class = Types::UpdateSiteRackPhysicalPropertiesInput
484
+
485
+ UpdateSiteRackPhysicalPropertiesOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
486
+ UpdateSiteRackPhysicalPropertiesOutput.struct_class = Types::UpdateSiteRackPhysicalPropertiesOutput
487
+
205
488
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
206
489
  ValidationException.struct_class = Types::ValidationException
207
490
 
@@ -228,6 +511,33 @@ module Aws::Outposts
228
511
  "uid" => "outposts-2019-12-03",
229
512
  }
230
513
 
514
+ api.add_operation(:cancel_order, Seahorse::Model::Operation.new.tap do |o|
515
+ o.name = "CancelOrder"
516
+ o.http_method = "POST"
517
+ o.http_request_uri = "/orders/{OrderId}/cancel"
518
+ o.input = Shapes::ShapeRef.new(shape: CancelOrderInput)
519
+ o.output = Shapes::ShapeRef.new(shape: CancelOrderOutput)
520
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
521
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
522
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
523
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
524
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
525
+ end)
526
+
527
+ api.add_operation(:create_order, Seahorse::Model::Operation.new.tap do |o|
528
+ o.name = "CreateOrder"
529
+ o.http_method = "POST"
530
+ o.http_request_uri = "/orders"
531
+ o.input = Shapes::ShapeRef.new(shape: CreateOrderInput)
532
+ o.output = Shapes::ShapeRef.new(shape: CreateOrderOutput)
533
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
534
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
535
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
536
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
537
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
538
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
539
+ end)
540
+
231
541
  api.add_operation(:create_outpost, Seahorse::Model::Operation.new.tap do |o|
232
542
  o.name = "CreateOutpost"
233
543
  o.http_method = "POST"
@@ -242,6 +552,19 @@ module Aws::Outposts
242
552
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
243
553
  end)
244
554
 
555
+ api.add_operation(:create_site, Seahorse::Model::Operation.new.tap do |o|
556
+ o.name = "CreateSite"
557
+ o.http_method = "POST"
558
+ o.http_request_uri = "/sites"
559
+ o.input = Shapes::ShapeRef.new(shape: CreateSiteInput)
560
+ o.output = Shapes::ShapeRef.new(shape: CreateSiteOutput)
561
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
562
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
563
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
564
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
565
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
566
+ end)
567
+
245
568
  api.add_operation(:delete_outpost, Seahorse::Model::Operation.new.tap do |o|
246
569
  o.name = "DeleteOutpost"
247
570
  o.http_method = "DELETE"
@@ -268,6 +591,28 @@ module Aws::Outposts
268
591
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
269
592
  end)
270
593
 
594
+ api.add_operation(:get_catalog_item, Seahorse::Model::Operation.new.tap do |o|
595
+ o.name = "GetCatalogItem"
596
+ o.http_method = "GET"
597
+ o.http_request_uri = "/catalog/item/{CatalogItemId}"
598
+ o.input = Shapes::ShapeRef.new(shape: GetCatalogItemInput)
599
+ o.output = Shapes::ShapeRef.new(shape: GetCatalogItemOutput)
600
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
601
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
602
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
603
+ end)
604
+
605
+ api.add_operation(:get_order, Seahorse::Model::Operation.new.tap do |o|
606
+ o.name = "GetOrder"
607
+ o.http_method = "GET"
608
+ o.http_request_uri = "/orders/{OrderId}"
609
+ o.input = Shapes::ShapeRef.new(shape: GetOrderInput)
610
+ o.output = Shapes::ShapeRef.new(shape: GetOrderOutput)
611
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
612
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
613
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
614
+ end)
615
+
271
616
  api.add_operation(:get_outpost, Seahorse::Model::Operation.new.tap do |o|
272
617
  o.name = "GetOutpost"
273
618
  o.http_method = "GET"
@@ -292,6 +637,65 @@ module Aws::Outposts
292
637
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
293
638
  end)
294
639
 
640
+ api.add_operation(:get_site, Seahorse::Model::Operation.new.tap do |o|
641
+ o.name = "GetSite"
642
+ o.http_method = "GET"
643
+ o.http_request_uri = "/sites/{SiteId}"
644
+ o.input = Shapes::ShapeRef.new(shape: GetSiteInput)
645
+ o.output = Shapes::ShapeRef.new(shape: GetSiteOutput)
646
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
647
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
648
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
649
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
650
+ end)
651
+
652
+ api.add_operation(:get_site_address, Seahorse::Model::Operation.new.tap do |o|
653
+ o.name = "GetSiteAddress"
654
+ o.http_method = "GET"
655
+ o.http_request_uri = "/sites/{SiteId}/address"
656
+ o.input = Shapes::ShapeRef.new(shape: GetSiteAddressInput)
657
+ o.output = Shapes::ShapeRef.new(shape: GetSiteAddressOutput)
658
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
659
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
660
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
661
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
662
+ end)
663
+
664
+ api.add_operation(:list_catalog_items, Seahorse::Model::Operation.new.tap do |o|
665
+ o.name = "ListCatalogItems"
666
+ o.http_method = "GET"
667
+ o.http_request_uri = "/catalog/items"
668
+ o.input = Shapes::ShapeRef.new(shape: ListCatalogItemsInput)
669
+ o.output = Shapes::ShapeRef.new(shape: ListCatalogItemsOutput)
670
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
671
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
672
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
673
+ o[:pager] = Aws::Pager.new(
674
+ limit_key: "max_results",
675
+ tokens: {
676
+ "next_token" => "next_token"
677
+ }
678
+ )
679
+ end)
680
+
681
+ api.add_operation(:list_orders, Seahorse::Model::Operation.new.tap do |o|
682
+ o.name = "ListOrders"
683
+ o.http_method = "GET"
684
+ o.http_request_uri = "/list-orders"
685
+ o.input = Shapes::ShapeRef.new(shape: ListOrdersInput)
686
+ o.output = Shapes::ShapeRef.new(shape: ListOrdersOutput)
687
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
688
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
689
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
690
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
691
+ o[:pager] = Aws::Pager.new(
692
+ limit_key: "max_results",
693
+ tokens: {
694
+ "next_token" => "next_token"
695
+ }
696
+ )
697
+ end)
698
+
295
699
  api.add_operation(:list_outposts, Seahorse::Model::Operation.new.tap do |o|
296
700
  o.name = "ListOutposts"
297
701
  o.http_method = "GET"
@@ -358,6 +762,45 @@ module Aws::Outposts
358
762
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
359
763
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
360
764
  end)
765
+
766
+ api.add_operation(:update_site, Seahorse::Model::Operation.new.tap do |o|
767
+ o.name = "UpdateSite"
768
+ o.http_method = "PATCH"
769
+ o.http_request_uri = "/sites/{SiteId}"
770
+ o.input = Shapes::ShapeRef.new(shape: UpdateSiteInput)
771
+ o.output = Shapes::ShapeRef.new(shape: UpdateSiteOutput)
772
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
773
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
774
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
775
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
776
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
777
+ end)
778
+
779
+ api.add_operation(:update_site_address, Seahorse::Model::Operation.new.tap do |o|
780
+ o.name = "UpdateSiteAddress"
781
+ o.http_method = "PUT"
782
+ o.http_request_uri = "/sites/{SiteId}/address"
783
+ o.input = Shapes::ShapeRef.new(shape: UpdateSiteAddressInput)
784
+ o.output = Shapes::ShapeRef.new(shape: UpdateSiteAddressOutput)
785
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
786
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
787
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
788
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
789
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
790
+ end)
791
+
792
+ api.add_operation(:update_site_rack_physical_properties, Seahorse::Model::Operation.new.tap do |o|
793
+ o.name = "UpdateSiteRackPhysicalProperties"
794
+ o.http_method = "PATCH"
795
+ o.http_request_uri = "/sites/{SiteId}/rackPhysicalProperties"
796
+ o.input = Shapes::ShapeRef.new(shape: UpdateSiteRackPhysicalPropertiesInput)
797
+ o.output = Shapes::ShapeRef.new(shape: UpdateSiteRackPhysicalPropertiesOutput)
798
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
799
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
800
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
801
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
802
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
803
+ end)
361
804
  end
362
805
 
363
806
  end