aws-sdk-outposts 1.54.0 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,8 +33,18 @@ module Aws::Outposts
33
33
  AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
34
34
  CIDR = Shapes::StringShape.new(name: 'CIDR')
35
35
  CIDRList = Shapes::ListShape.new(name: 'CIDRList')
36
+ CancelCapacityTaskInput = Shapes::StructureShape.new(name: 'CancelCapacityTaskInput')
37
+ CancelCapacityTaskOutput = Shapes::StructureShape.new(name: 'CancelCapacityTaskOutput')
36
38
  CancelOrderInput = Shapes::StructureShape.new(name: 'CancelOrderInput')
37
39
  CancelOrderOutput = Shapes::StructureShape.new(name: 'CancelOrderOutput')
40
+ CapacityTaskFailure = Shapes::StructureShape.new(name: 'CapacityTaskFailure')
41
+ CapacityTaskFailureType = Shapes::StringShape.new(name: 'CapacityTaskFailureType')
42
+ CapacityTaskId = Shapes::StringShape.new(name: 'CapacityTaskId')
43
+ CapacityTaskList = Shapes::ListShape.new(name: 'CapacityTaskList')
44
+ CapacityTaskStatus = Shapes::StringShape.new(name: 'CapacityTaskStatus')
45
+ CapacityTaskStatusList = Shapes::ListShape.new(name: 'CapacityTaskStatusList')
46
+ CapacityTaskStatusReason = Shapes::StringShape.new(name: 'CapacityTaskStatusReason')
47
+ CapacityTaskSummary = Shapes::StructureShape.new(name: 'CapacityTaskSummary')
38
48
  CatalogItem = Shapes::StructureShape.new(name: 'CatalogItem')
39
49
  CatalogItemClass = Shapes::StringShape.new(name: 'CatalogItemClass')
40
50
  CatalogItemClassList = Shapes::ListShape.new(name: 'CatalogItemClassList')
@@ -65,12 +75,15 @@ module Aws::Outposts
65
75
  DeleteSiteOutput = Shapes::StructureShape.new(name: 'DeleteSiteOutput')
66
76
  DeviceSerialNumber = Shapes::StringShape.new(name: 'DeviceSerialNumber')
67
77
  DistrictOrCounty = Shapes::StringShape.new(name: 'DistrictOrCounty')
78
+ DryRun = Shapes::BooleanShape.new(name: 'DryRun')
68
79
  EC2Capacity = Shapes::StructureShape.new(name: 'EC2Capacity')
69
80
  EC2CapacityListDefinition = Shapes::ListShape.new(name: 'EC2CapacityListDefinition')
70
81
  EC2FamilyList = Shapes::ListShape.new(name: 'EC2FamilyList')
71
82
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
72
83
  Family = Shapes::StringShape.new(name: 'Family')
73
84
  FiberOpticCableType = Shapes::StringShape.new(name: 'FiberOpticCableType')
85
+ GetCapacityTaskInput = Shapes::StructureShape.new(name: 'GetCapacityTaskInput')
86
+ GetCapacityTaskOutput = Shapes::StructureShape.new(name: 'GetCapacityTaskOutput')
74
87
  GetCatalogItemInput = Shapes::StructureShape.new(name: 'GetCatalogItemInput')
75
88
  GetCatalogItemOutput = Shapes::StructureShape.new(name: 'GetCatalogItemOutput')
76
89
  GetConnectionRequest = Shapes::StructureShape.new(name: 'GetConnectionRequest')
@@ -81,6 +94,8 @@ module Aws::Outposts
81
94
  GetOutpostInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesInput')
82
95
  GetOutpostInstanceTypesOutput = Shapes::StructureShape.new(name: 'GetOutpostInstanceTypesOutput')
83
96
  GetOutpostOutput = Shapes::StructureShape.new(name: 'GetOutpostOutput')
97
+ GetOutpostSupportedInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostSupportedInstanceTypesInput')
98
+ GetOutpostSupportedInstanceTypesOutput = Shapes::StructureShape.new(name: 'GetOutpostSupportedInstanceTypesOutput')
84
99
  GetSiteAddressInput = Shapes::StructureShape.new(name: 'GetSiteAddressInput')
85
100
  GetSiteAddressOutput = Shapes::StructureShape.new(name: 'GetSiteAddressOutput')
86
101
  GetSiteInput = Shapes::StructureShape.new(name: 'GetSiteInput')
@@ -91,8 +106,11 @@ module Aws::Outposts
91
106
  InstanceFamilies = Shapes::ListShape.new(name: 'InstanceFamilies')
92
107
  InstanceFamilyName = Shapes::StringShape.new(name: 'InstanceFamilyName')
93
108
  InstanceType = Shapes::StringShape.new(name: 'InstanceType')
109
+ InstanceTypeCapacity = Shapes::StructureShape.new(name: 'InstanceTypeCapacity')
110
+ InstanceTypeCount = Shapes::IntegerShape.new(name: 'InstanceTypeCount')
94
111
  InstanceTypeItem = Shapes::StructureShape.new(name: 'InstanceTypeItem')
95
112
  InstanceTypeListDefinition = Shapes::ListShape.new(name: 'InstanceTypeListDefinition')
113
+ InstanceTypeName = Shapes::StringShape.new(name: 'InstanceTypeName')
96
114
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
97
115
  LifeCycleStatus = Shapes::StringShape.new(name: 'LifeCycleStatus')
98
116
  LifeCycleStatusList = Shapes::ListShape.new(name: 'LifeCycleStatusList')
@@ -108,6 +126,8 @@ module Aws::Outposts
108
126
  LineItemStatusCounts = Shapes::MapShape.new(name: 'LineItemStatusCounts')
109
127
  ListAssetsInput = Shapes::StructureShape.new(name: 'ListAssetsInput')
110
128
  ListAssetsOutput = Shapes::StructureShape.new(name: 'ListAssetsOutput')
129
+ ListCapacityTasksInput = Shapes::StructureShape.new(name: 'ListCapacityTasksInput')
130
+ ListCapacityTasksOutput = Shapes::StructureShape.new(name: 'ListCapacityTasksOutput')
111
131
  ListCatalogItemsInput = Shapes::StructureShape.new(name: 'ListCatalogItemsInput')
112
132
  ListCatalogItemsOutput = Shapes::StructureShape.new(name: 'ListCatalogItemsOutput')
113
133
  ListOrdersInput = Shapes::StructureShape.new(name: 'ListOrdersInput')
@@ -152,6 +172,7 @@ module Aws::Outposts
152
172
  RackElevation = Shapes::FloatShape.new(name: 'RackElevation')
153
173
  RackId = Shapes::StringShape.new(name: 'RackId')
154
174
  RackPhysicalProperties = Shapes::StructureShape.new(name: 'RackPhysicalProperties')
175
+ RequestedInstancePools = Shapes::ListShape.new(name: 'RequestedInstancePools')
155
176
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
156
177
  ServerEndpoint = Shapes::StringShape.new(name: 'ServerEndpoint')
157
178
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -164,6 +185,8 @@ module Aws::Outposts
164
185
  SiteName = Shapes::StringShape.new(name: 'SiteName')
165
186
  SiteNotes = Shapes::StringShape.new(name: 'SiteNotes')
166
187
  SkuCode = Shapes::StringShape.new(name: 'SkuCode')
188
+ StartCapacityTaskInput = Shapes::StructureShape.new(name: 'StartCapacityTaskInput')
189
+ StartCapacityTaskOutput = Shapes::StructureShape.new(name: 'StartCapacityTaskOutput')
167
190
  StartConnectionRequest = Shapes::StructureShape.new(name: 'StartConnectionRequest')
168
191
  StartConnectionResponse = Shapes::StructureShape.new(name: 'StartConnectionResponse')
169
192
  StateOrRegion = Shapes::StringShape.new(name: 'StateOrRegion')
@@ -235,11 +258,34 @@ module Aws::Outposts
235
258
 
236
259
  CIDRList.member = Shapes::ShapeRef.new(shape: CIDR)
237
260
 
261
+ CancelCapacityTaskInput.add_member(:capacity_task_id, Shapes::ShapeRef.new(shape: CapacityTaskId, required: true, location: "uri", location_name: "CapacityTaskId"))
262
+ CancelCapacityTaskInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
263
+ CancelCapacityTaskInput.struct_class = Types::CancelCapacityTaskInput
264
+
265
+ CancelCapacityTaskOutput.struct_class = Types::CancelCapacityTaskOutput
266
+
238
267
  CancelOrderInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, required: true, location: "uri", location_name: "OrderId"))
239
268
  CancelOrderInput.struct_class = Types::CancelOrderInput
240
269
 
241
270
  CancelOrderOutput.struct_class = Types::CancelOrderOutput
242
271
 
272
+ CapacityTaskFailure.add_member(:reason, Shapes::ShapeRef.new(shape: CapacityTaskStatusReason, required: true, location_name: "Reason"))
273
+ CapacityTaskFailure.add_member(:type, Shapes::ShapeRef.new(shape: CapacityTaskFailureType, location_name: "Type"))
274
+ CapacityTaskFailure.struct_class = Types::CapacityTaskFailure
275
+
276
+ CapacityTaskList.member = Shapes::ShapeRef.new(shape: CapacityTaskSummary)
277
+
278
+ CapacityTaskStatusList.member = Shapes::ShapeRef.new(shape: CapacityTaskStatus)
279
+
280
+ CapacityTaskSummary.add_member(:capacity_task_id, Shapes::ShapeRef.new(shape: CapacityTaskId, location_name: "CapacityTaskId"))
281
+ CapacityTaskSummary.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
282
+ CapacityTaskSummary.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
283
+ CapacityTaskSummary.add_member(:capacity_task_status, Shapes::ShapeRef.new(shape: CapacityTaskStatus, location_name: "CapacityTaskStatus"))
284
+ CapacityTaskSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CreationDate"))
285
+ CapacityTaskSummary.add_member(:completion_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CompletionDate"))
286
+ CapacityTaskSummary.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "LastModifiedDate"))
287
+ CapacityTaskSummary.struct_class = Types::CapacityTaskSummary
288
+
243
289
  CatalogItem.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, location_name: "CatalogItemId"))
244
290
  CatalogItem.add_member(:item_status, Shapes::ShapeRef.new(shape: CatalogItemStatus, location_name: "ItemStatus"))
245
291
  CatalogItem.add_member(:ec2_capacities, Shapes::ShapeRef.new(shape: EC2CapacityListDefinition, location_name: "EC2Capacities"))
@@ -327,6 +373,22 @@ module Aws::Outposts
327
373
 
328
374
  EC2FamilyList.member = Shapes::ShapeRef.new(shape: Family)
329
375
 
376
+ GetCapacityTaskInput.add_member(:capacity_task_id, Shapes::ShapeRef.new(shape: CapacityTaskId, required: true, location: "uri", location_name: "CapacityTaskId"))
377
+ GetCapacityTaskInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
378
+ GetCapacityTaskInput.struct_class = Types::GetCapacityTaskInput
379
+
380
+ GetCapacityTaskOutput.add_member(:capacity_task_id, Shapes::ShapeRef.new(shape: CapacityTaskId, location_name: "CapacityTaskId"))
381
+ GetCapacityTaskOutput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
382
+ GetCapacityTaskOutput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
383
+ GetCapacityTaskOutput.add_member(:requested_instance_pools, Shapes::ShapeRef.new(shape: RequestedInstancePools, location_name: "RequestedInstancePools"))
384
+ GetCapacityTaskOutput.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
385
+ GetCapacityTaskOutput.add_member(:capacity_task_status, Shapes::ShapeRef.new(shape: CapacityTaskStatus, location_name: "CapacityTaskStatus"))
386
+ GetCapacityTaskOutput.add_member(:failed, Shapes::ShapeRef.new(shape: CapacityTaskFailure, location_name: "Failed"))
387
+ GetCapacityTaskOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CreationDate"))
388
+ GetCapacityTaskOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CompletionDate"))
389
+ GetCapacityTaskOutput.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "LastModifiedDate"))
390
+ GetCapacityTaskOutput.struct_class = Types::GetCapacityTaskOutput
391
+
330
392
  GetCatalogItemInput.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, required: true, location: "uri", location_name: "CatalogItemId"))
331
393
  GetCatalogItemInput.struct_class = Types::GetCatalogItemInput
332
394
 
@@ -363,6 +425,16 @@ module Aws::Outposts
363
425
  GetOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
364
426
  GetOutpostOutput.struct_class = Types::GetOutpostOutput
365
427
 
428
+ GetOutpostSupportedInstanceTypesInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
429
+ GetOutpostSupportedInstanceTypesInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, required: true, location: "querystring", location_name: "OrderId"))
430
+ GetOutpostSupportedInstanceTypesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
431
+ GetOutpostSupportedInstanceTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
432
+ GetOutpostSupportedInstanceTypesInput.struct_class = Types::GetOutpostSupportedInstanceTypesInput
433
+
434
+ GetOutpostSupportedInstanceTypesOutput.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypeListDefinition, location_name: "InstanceTypes"))
435
+ GetOutpostSupportedInstanceTypesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
436
+ GetOutpostSupportedInstanceTypesOutput.struct_class = Types::GetOutpostSupportedInstanceTypesOutput
437
+
366
438
  GetSiteAddressInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
367
439
  GetSiteAddressInput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, required: true, location: "querystring", location_name: "AddressType"))
368
440
  GetSiteAddressInput.struct_class = Types::GetSiteAddressInput
@@ -382,6 +454,10 @@ module Aws::Outposts
382
454
 
383
455
  InstanceFamilies.member = Shapes::ShapeRef.new(shape: InstanceFamilyName)
384
456
 
457
+ InstanceTypeCapacity.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeName, required: true, location_name: "InstanceType"))
458
+ InstanceTypeCapacity.add_member(:count, Shapes::ShapeRef.new(shape: InstanceTypeCount, required: true, location_name: "Count"))
459
+ InstanceTypeCapacity.struct_class = Types::InstanceTypeCapacity
460
+
385
461
  InstanceTypeItem.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
386
462
  InstanceTypeItem.struct_class = Types::InstanceTypeItem
387
463
 
@@ -430,6 +506,16 @@ module Aws::Outposts
430
506
  ListAssetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
431
507
  ListAssetsOutput.struct_class = Types::ListAssetsOutput
432
508
 
509
+ ListCapacityTasksInput.add_member(:outpost_identifier_filter, Shapes::ShapeRef.new(shape: OutpostIdentifier, location: "querystring", location_name: "OutpostIdentifierFilter"))
510
+ ListCapacityTasksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
511
+ ListCapacityTasksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
512
+ ListCapacityTasksInput.add_member(:capacity_task_status_filter, Shapes::ShapeRef.new(shape: CapacityTaskStatusList, location: "querystring", location_name: "CapacityTaskStatusFilter"))
513
+ ListCapacityTasksInput.struct_class = Types::ListCapacityTasksInput
514
+
515
+ ListCapacityTasksOutput.add_member(:capacity_tasks, Shapes::ShapeRef.new(shape: CapacityTaskList, location_name: "CapacityTasks"))
516
+ ListCapacityTasksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
517
+ ListCapacityTasksOutput.struct_class = Types::ListCapacityTasksOutput
518
+
433
519
  ListCatalogItemsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
434
520
  ListCatalogItemsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
435
521
  ListCatalogItemsInput.add_member(:item_class_filter, Shapes::ShapeRef.new(shape: CatalogItemClassList, location: "querystring", location_name: "ItemClassFilter"))
@@ -530,6 +616,8 @@ module Aws::Outposts
530
616
  RackPhysicalProperties.add_member(:maximum_supported_weight_lbs, Shapes::ShapeRef.new(shape: MaximumSupportedWeightLbs, location_name: "MaximumSupportedWeightLbs"))
531
617
  RackPhysicalProperties.struct_class = Types::RackPhysicalProperties
532
618
 
619
+ RequestedInstancePools.member = Shapes::ShapeRef.new(shape: InstanceTypeCapacity)
620
+
533
621
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
534
622
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
535
623
 
@@ -550,6 +638,24 @@ module Aws::Outposts
550
638
  Site.add_member(:rack_physical_properties, Shapes::ShapeRef.new(shape: RackPhysicalProperties, location_name: "RackPhysicalProperties"))
551
639
  Site.struct_class = Types::Site
552
640
 
641
+ StartCapacityTaskInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
642
+ StartCapacityTaskInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, required: true, location_name: "OrderId"))
643
+ StartCapacityTaskInput.add_member(:instance_pools, Shapes::ShapeRef.new(shape: RequestedInstancePools, required: true, location_name: "InstancePools"))
644
+ StartCapacityTaskInput.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
645
+ StartCapacityTaskInput.struct_class = Types::StartCapacityTaskInput
646
+
647
+ StartCapacityTaskOutput.add_member(:capacity_task_id, Shapes::ShapeRef.new(shape: CapacityTaskId, location_name: "CapacityTaskId"))
648
+ StartCapacityTaskOutput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
649
+ StartCapacityTaskOutput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
650
+ StartCapacityTaskOutput.add_member(:requested_instance_pools, Shapes::ShapeRef.new(shape: RequestedInstancePools, location_name: "RequestedInstancePools"))
651
+ StartCapacityTaskOutput.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
652
+ StartCapacityTaskOutput.add_member(:capacity_task_status, Shapes::ShapeRef.new(shape: CapacityTaskStatus, location_name: "CapacityTaskStatus"))
653
+ StartCapacityTaskOutput.add_member(:failed, Shapes::ShapeRef.new(shape: CapacityTaskFailure, location_name: "Failed"))
654
+ StartCapacityTaskOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CreationDate"))
655
+ StartCapacityTaskOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CompletionDate"))
656
+ StartCapacityTaskOutput.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "LastModifiedDate"))
657
+ StartCapacityTaskOutput.struct_class = Types::StartCapacityTaskOutput
658
+
553
659
  StartConnectionRequest.add_member(:device_serial_number, Shapes::ShapeRef.new(shape: DeviceSerialNumber, location_name: "DeviceSerialNumber"))
554
660
  StartConnectionRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, required: true, location_name: "AssetId"))
555
661
  StartConnectionRequest.add_member(:client_public_key, Shapes::ShapeRef.new(shape: WireGuardPublicKey, required: true, location_name: "ClientPublicKey"))
@@ -653,6 +759,19 @@ module Aws::Outposts
653
759
  "uid" => "outposts-2019-12-03",
654
760
  }
655
761
 
762
+ api.add_operation(:cancel_capacity_task, Seahorse::Model::Operation.new.tap do |o|
763
+ o.name = "CancelCapacityTask"
764
+ o.http_method = "POST"
765
+ o.http_request_uri = "/outposts/{OutpostId}/capacity/{CapacityTaskId}"
766
+ o.input = Shapes::ShapeRef.new(shape: CancelCapacityTaskInput)
767
+ o.output = Shapes::ShapeRef.new(shape: CancelCapacityTaskOutput)
768
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
769
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
770
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
771
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
772
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
773
+ end)
774
+
656
775
  api.add_operation(:cancel_order, Seahorse::Model::Operation.new.tap do |o|
657
776
  o.name = "CancelOrder"
658
777
  o.http_method = "POST"
@@ -733,6 +852,18 @@ module Aws::Outposts
733
852
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
734
853
  end)
735
854
 
855
+ api.add_operation(:get_capacity_task, Seahorse::Model::Operation.new.tap do |o|
856
+ o.name = "GetCapacityTask"
857
+ o.http_method = "GET"
858
+ o.http_request_uri = "/outposts/{OutpostId}/capacity/{CapacityTaskId}"
859
+ o.input = Shapes::ShapeRef.new(shape: GetCapacityTaskInput)
860
+ o.output = Shapes::ShapeRef.new(shape: GetCapacityTaskOutput)
861
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
862
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
863
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
864
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
865
+ end)
866
+
736
867
  api.add_operation(:get_catalog_item, Seahorse::Model::Operation.new.tap do |o|
737
868
  o.name = "GetCatalogItem"
738
869
  o.http_method = "GET"
@@ -797,6 +928,24 @@ module Aws::Outposts
797
928
  )
798
929
  end)
799
930
 
931
+ api.add_operation(:get_outpost_supported_instance_types, Seahorse::Model::Operation.new.tap do |o|
932
+ o.name = "GetOutpostSupportedInstanceTypes"
933
+ o.http_method = "GET"
934
+ o.http_request_uri = "/outposts/{OutpostId}/supportedInstanceTypes"
935
+ o.input = Shapes::ShapeRef.new(shape: GetOutpostSupportedInstanceTypesInput)
936
+ o.output = Shapes::ShapeRef.new(shape: GetOutpostSupportedInstanceTypesOutput)
937
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
938
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
939
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
940
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
941
+ o[:pager] = Aws::Pager.new(
942
+ limit_key: "max_results",
943
+ tokens: {
944
+ "next_token" => "next_token"
945
+ }
946
+ )
947
+ end)
948
+
800
949
  api.add_operation(:get_site, Seahorse::Model::Operation.new.tap do |o|
801
950
  o.name = "GetSite"
802
951
  o.http_method = "GET"
@@ -839,6 +988,24 @@ module Aws::Outposts
839
988
  )
840
989
  end)
841
990
 
991
+ api.add_operation(:list_capacity_tasks, Seahorse::Model::Operation.new.tap do |o|
992
+ o.name = "ListCapacityTasks"
993
+ o.http_method = "GET"
994
+ o.http_request_uri = "/capacity/tasks"
995
+ o.input = Shapes::ShapeRef.new(shape: ListCapacityTasksInput)
996
+ o.output = Shapes::ShapeRef.new(shape: ListCapacityTasksOutput)
997
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
998
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
999
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1000
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1001
+ o[:pager] = Aws::Pager.new(
1002
+ limit_key: "max_results",
1003
+ tokens: {
1004
+ "next_token" => "next_token"
1005
+ }
1006
+ )
1007
+ end)
1008
+
842
1009
  api.add_operation(:list_catalog_items, Seahorse::Model::Operation.new.tap do |o|
843
1010
  o.name = "ListCatalogItems"
844
1011
  o.http_method = "GET"
@@ -919,6 +1086,19 @@ module Aws::Outposts
919
1086
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
920
1087
  end)
921
1088
 
1089
+ api.add_operation(:start_capacity_task, Seahorse::Model::Operation.new.tap do |o|
1090
+ o.name = "StartCapacityTask"
1091
+ o.http_method = "POST"
1092
+ o.http_request_uri = "/outposts/{OutpostId}/capacity"
1093
+ o.input = Shapes::ShapeRef.new(shape: StartCapacityTaskInput)
1094
+ o.output = Shapes::ShapeRef.new(shape: StartCapacityTaskOutput)
1095
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1096
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1099
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1100
+ end)
1101
+
922
1102
  api.add_operation(:start_connection, Seahorse::Model::Operation.new.tap do |o|
923
1103
  o.name = "StartConnection"
924
1104
  o.http_method = "POST"
@@ -12,6 +12,20 @@ module Aws::Outposts
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class CancelCapacityTask
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::Outposts::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
15
29
  class CancelOrder
16
30
  def self.build(context)
17
31
  unless context.config.regional_endpoint
@@ -96,6 +110,20 @@ module Aws::Outposts
96
110
  end
97
111
  end
98
112
 
113
+ class GetCapacityTask
114
+ def self.build(context)
115
+ unless context.config.regional_endpoint
116
+ endpoint = context.config.endpoint.to_s
117
+ end
118
+ Aws::Outposts::EndpointParameters.new(
119
+ region: context.config.region,
120
+ use_dual_stack: context.config.use_dualstack_endpoint,
121
+ use_fips: context.config.use_fips_endpoint,
122
+ endpoint: endpoint,
123
+ )
124
+ end
125
+ end
126
+
99
127
  class GetCatalogItem
100
128
  def self.build(context)
101
129
  unless context.config.regional_endpoint
@@ -166,6 +194,20 @@ module Aws::Outposts
166
194
  end
167
195
  end
168
196
 
197
+ class GetOutpostSupportedInstanceTypes
198
+ def self.build(context)
199
+ unless context.config.regional_endpoint
200
+ endpoint = context.config.endpoint.to_s
201
+ end
202
+ Aws::Outposts::EndpointParameters.new(
203
+ region: context.config.region,
204
+ use_dual_stack: context.config.use_dualstack_endpoint,
205
+ use_fips: context.config.use_fips_endpoint,
206
+ endpoint: endpoint,
207
+ )
208
+ end
209
+ end
210
+
169
211
  class GetSite
170
212
  def self.build(context)
171
213
  unless context.config.regional_endpoint
@@ -208,6 +250,20 @@ module Aws::Outposts
208
250
  end
209
251
  end
210
252
 
253
+ class ListCapacityTasks
254
+ def self.build(context)
255
+ unless context.config.regional_endpoint
256
+ endpoint = context.config.endpoint.to_s
257
+ end
258
+ Aws::Outposts::EndpointParameters.new(
259
+ region: context.config.region,
260
+ use_dual_stack: context.config.use_dualstack_endpoint,
261
+ use_fips: context.config.use_fips_endpoint,
262
+ endpoint: endpoint,
263
+ )
264
+ end
265
+ end
266
+
211
267
  class ListCatalogItems
212
268
  def self.build(context)
213
269
  unless context.config.regional_endpoint
@@ -278,6 +334,20 @@ module Aws::Outposts
278
334
  end
279
335
  end
280
336
 
337
+ class StartCapacityTask
338
+ def self.build(context)
339
+ unless context.config.regional_endpoint
340
+ endpoint = context.config.endpoint.to_s
341
+ end
342
+ Aws::Outposts::EndpointParameters.new(
343
+ region: context.config.region,
344
+ use_dual_stack: context.config.use_dualstack_endpoint,
345
+ use_fips: context.config.use_fips_endpoint,
346
+ endpoint: endpoint,
347
+ )
348
+ end
349
+ end
350
+
281
351
  class StartConnection
282
352
  def self.build(context)
283
353
  unless context.config.regional_endpoint
@@ -58,6 +58,8 @@ module Aws::Outposts
58
58
 
59
59
  def parameters_for_operation(context)
60
60
  case context.operation_name
61
+ when :cancel_capacity_task
62
+ Aws::Outposts::Endpoints::CancelCapacityTask.build(context)
61
63
  when :cancel_order
62
64
  Aws::Outposts::Endpoints::CancelOrder.build(context)
63
65
  when :create_order
@@ -70,6 +72,8 @@ module Aws::Outposts
70
72
  Aws::Outposts::Endpoints::DeleteOutpost.build(context)
71
73
  when :delete_site
72
74
  Aws::Outposts::Endpoints::DeleteSite.build(context)
75
+ when :get_capacity_task
76
+ Aws::Outposts::Endpoints::GetCapacityTask.build(context)
73
77
  when :get_catalog_item
74
78
  Aws::Outposts::Endpoints::GetCatalogItem.build(context)
75
79
  when :get_connection
@@ -80,12 +84,16 @@ module Aws::Outposts
80
84
  Aws::Outposts::Endpoints::GetOutpost.build(context)
81
85
  when :get_outpost_instance_types
82
86
  Aws::Outposts::Endpoints::GetOutpostInstanceTypes.build(context)
87
+ when :get_outpost_supported_instance_types
88
+ Aws::Outposts::Endpoints::GetOutpostSupportedInstanceTypes.build(context)
83
89
  when :get_site
84
90
  Aws::Outposts::Endpoints::GetSite.build(context)
85
91
  when :get_site_address
86
92
  Aws::Outposts::Endpoints::GetSiteAddress.build(context)
87
93
  when :list_assets
88
94
  Aws::Outposts::Endpoints::ListAssets.build(context)
95
+ when :list_capacity_tasks
96
+ Aws::Outposts::Endpoints::ListCapacityTasks.build(context)
89
97
  when :list_catalog_items
90
98
  Aws::Outposts::Endpoints::ListCatalogItems.build(context)
91
99
  when :list_orders
@@ -96,6 +104,8 @@ module Aws::Outposts
96
104
  Aws::Outposts::Endpoints::ListSites.build(context)
97
105
  when :list_tags_for_resource
98
106
  Aws::Outposts::Endpoints::ListTagsForResource.build(context)
107
+ when :start_capacity_task
108
+ Aws::Outposts::Endpoints::StartCapacityTask.build(context)
99
109
  when :start_connection
100
110
  Aws::Outposts::Endpoints::StartConnection.build(context)
101
111
  when :tag_resource