aws-sdk-outposts 1.23.0 → 1.24.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +747 -9
- data/lib/aws-sdk-outposts/client_api.rb +381 -2
- data/lib/aws-sdk-outposts/types.rb +1035 -37
- data/lib/aws-sdk-outposts.rb +2 -2
- metadata +2 -2
@@ -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,14 @@ 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
|
+
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')
|
81
140
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
82
141
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
83
142
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
@@ -87,6 +146,14 @@ module Aws::Outposts
|
|
87
146
|
Token = Shapes::StringShape.new(name: 'Token')
|
88
147
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
89
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')
|
90
157
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
91
158
|
outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
|
92
159
|
siteListDefinition = Shapes::ListShape.new(name: 'siteListDefinition')
|
@@ -94,10 +161,41 @@ module Aws::Outposts
|
|
94
161
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
95
162
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
96
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
|
+
|
97
177
|
AvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneId)
|
98
178
|
|
99
179
|
AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
100
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
|
+
|
101
199
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
102
200
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
|
103
201
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
@@ -123,6 +221,18 @@ module Aws::Outposts
|
|
123
221
|
CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
|
124
222
|
CreateOutpostOutput.struct_class = Types::CreateOutpostOutput
|
125
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
|
+
|
126
236
|
DeleteOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
|
127
237
|
DeleteOutpostInput.struct_class = Types::DeleteOutpostInput
|
128
238
|
|
@@ -133,6 +243,27 @@ module Aws::Outposts
|
|
133
243
|
|
134
244
|
DeleteSiteOutput.struct_class = Types::DeleteSiteOutput
|
135
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
|
+
|
136
267
|
GetOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
|
137
268
|
GetOutpostInput.struct_class = Types::GetOutpostInput
|
138
269
|
|
@@ -150,6 +281,21 @@ module Aws::Outposts
|
|
150
281
|
GetOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
|
151
282
|
GetOutpostOutput.struct_class = Types::GetOutpostOutput
|
152
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
|
+
|
153
299
|
InstanceTypeItem.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
|
154
300
|
InstanceTypeItem.struct_class = Types::InstanceTypeItem
|
155
301
|
|
@@ -163,7 +309,7 @@ module Aws::Outposts
|
|
163
309
|
LineItem.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
|
164
310
|
LineItem.add_member(:line_item_id, Shapes::ShapeRef.new(shape: LineItemId, location_name: "LineItemId"))
|
165
311
|
LineItem.add_member(:quantity, Shapes::ShapeRef.new(shape: LineItemQuantity, location_name: "Quantity"))
|
166
|
-
LineItem.add_member(:status, Shapes::ShapeRef.new(shape:
|
312
|
+
LineItem.add_member(:status, Shapes::ShapeRef.new(shape: LineItemStatus, location_name: "Status"))
|
167
313
|
LineItem.struct_class = Types::LineItem
|
168
314
|
|
169
315
|
LineItemListDefinition.member = Shapes::ShapeRef.new(shape: LineItem)
|
@@ -174,6 +320,29 @@ module Aws::Outposts
|
|
174
320
|
|
175
321
|
LineItemRequestListDefinition.member = Shapes::ShapeRef.new(shape: LineItemRequest)
|
176
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
|
+
|
177
346
|
ListOutpostsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
178
347
|
ListOutpostsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
179
348
|
ListOutpostsInput.add_member(:life_cycle_status_filter, Shapes::ShapeRef.new(shape: LifeCycleStatusList, location: "querystring", location_name: "LifeCycleStatusFilter"))
|
@@ -211,6 +380,17 @@ module Aws::Outposts
|
|
211
380
|
Order.add_member(:order_fulfilled_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "OrderFulfilledDate"))
|
212
381
|
Order.struct_class = Types::Order
|
213
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
|
+
|
214
394
|
Outpost.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
|
215
395
|
Outpost.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
|
216
396
|
Outpost.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "OutpostArn"))
|
@@ -224,6 +404,17 @@ module Aws::Outposts
|
|
224
404
|
Outpost.add_member(:site_arn, Shapes::ShapeRef.new(shape: SiteArn, location_name: "SiteArn"))
|
225
405
|
Outpost.struct_class = Types::Outpost
|
226
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
|
+
|
227
418
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
228
419
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
229
420
|
|
@@ -233,8 +424,17 @@ module Aws::Outposts
|
|
233
424
|
Site.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
|
234
425
|
Site.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
235
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"))
|
236
432
|
Site.struct_class = Types::Site
|
237
433
|
|
434
|
+
SupportedStorageList.member = Shapes::ShapeRef.new(shape: SupportedStorageEnum)
|
435
|
+
|
436
|
+
SupportedUplinkGbpsListDefinition.member = Shapes::ShapeRef.new(shape: SupportedUplinkGbps)
|
437
|
+
|
238
438
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
239
439
|
|
240
440
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -252,6 +452,39 @@ module Aws::Outposts
|
|
252
452
|
|
253
453
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
254
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
|
+
|
255
488
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
256
489
|
ValidationException.struct_class = Types::ValidationException
|
257
490
|
|
@@ -278,6 +511,19 @@ module Aws::Outposts
|
|
278
511
|
"uid" => "outposts-2019-12-03",
|
279
512
|
}
|
280
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
|
+
|
281
527
|
api.add_operation(:create_order, Seahorse::Model::Operation.new.tap do |o|
|
282
528
|
o.name = "CreateOrder"
|
283
529
|
o.http_method = "POST"
|
@@ -306,6 +552,19 @@ module Aws::Outposts
|
|
306
552
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
307
553
|
end)
|
308
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
|
+
|
309
568
|
api.add_operation(:delete_outpost, Seahorse::Model::Operation.new.tap do |o|
|
310
569
|
o.name = "DeleteOutpost"
|
311
570
|
o.http_method = "DELETE"
|
@@ -332,6 +591,28 @@ module Aws::Outposts
|
|
332
591
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
333
592
|
end)
|
334
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
|
+
|
335
616
|
api.add_operation(:get_outpost, Seahorse::Model::Operation.new.tap do |o|
|
336
617
|
o.name = "GetOutpost"
|
337
618
|
o.http_method = "GET"
|
@@ -356,6 +637,65 @@ module Aws::Outposts
|
|
356
637
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
357
638
|
end)
|
358
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
|
+
|
359
699
|
api.add_operation(:list_outposts, Seahorse::Model::Operation.new.tap do |o|
|
360
700
|
o.name = "ListOutposts"
|
361
701
|
o.http_method = "GET"
|
@@ -422,6 +762,45 @@ module Aws::Outposts
|
|
422
762
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
423
763
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
424
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)
|
425
804
|
end
|
426
805
|
|
427
806
|
end
|