aws-sdk-outposts 1.70.0 → 1.72.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +168 -12
- data/lib/aws-sdk-outposts/client_api.rb +126 -2
- data/lib/aws-sdk-outposts/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-outposts/endpoints.rb +2 -339
- data/lib/aws-sdk-outposts/plugins/endpoints.rb +1 -68
- data/lib/aws-sdk-outposts/types.rb +283 -4
- data/lib/aws-sdk-outposts.rb +1 -1
- data/sig/client.rbs +47 -6
- data/sig/types.rbs +73 -5
- metadata +4 -4
@@ -14,8 +14,11 @@ module Aws::Outposts
|
|
14
14
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
|
+
AWSServiceName = Shapes::StringShape.new(name: 'AWSServiceName')
|
18
|
+
AWSServiceNameList = Shapes::ListShape.new(name: 'AWSServiceNameList')
|
17
19
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
20
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
21
|
+
AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
|
19
22
|
Address = Shapes::StructureShape.new(name: 'Address')
|
20
23
|
AddressLine1 = Shapes::StringShape.new(name: 'AddressLine1')
|
21
24
|
AddressLine2 = Shapes::StringShape.new(name: 'AddressLine2')
|
@@ -23,7 +26,12 @@ module Aws::Outposts
|
|
23
26
|
AddressType = Shapes::StringShape.new(name: 'AddressType')
|
24
27
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
25
28
|
AssetId = Shapes::StringShape.new(name: 'AssetId')
|
29
|
+
AssetIdList = Shapes::ListShape.new(name: 'AssetIdList')
|
26
30
|
AssetInfo = Shapes::StructureShape.new(name: 'AssetInfo')
|
31
|
+
AssetInstance = Shapes::StructureShape.new(name: 'AssetInstance')
|
32
|
+
AssetInstanceCapacityList = Shapes::ListShape.new(name: 'AssetInstanceCapacityList')
|
33
|
+
AssetInstanceList = Shapes::ListShape.new(name: 'AssetInstanceList')
|
34
|
+
AssetInstanceTypeCapacity = Shapes::StructureShape.new(name: 'AssetInstanceTypeCapacity')
|
27
35
|
AssetListDefinition = Shapes::ListShape.new(name: 'AssetListDefinition')
|
28
36
|
AssetLocation = Shapes::StructureShape.new(name: 'AssetLocation')
|
29
37
|
AssetState = Shapes::StringShape.new(name: 'AssetState')
|
@@ -32,6 +40,8 @@ module Aws::Outposts
|
|
32
40
|
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
33
41
|
AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList')
|
34
42
|
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
43
|
+
BlockingInstance = Shapes::StructureShape.new(name: 'BlockingInstance')
|
44
|
+
BlockingInstancesList = Shapes::ListShape.new(name: 'BlockingInstancesList')
|
35
45
|
CIDR = Shapes::StringShape.new(name: 'CIDR')
|
36
46
|
CIDRList = Shapes::ListShape.new(name: 'CIDRList')
|
37
47
|
CancelCapacityTaskInput = Shapes::StructureShape.new(name: 'CancelCapacityTaskInput')
|
@@ -106,12 +116,15 @@ module Aws::Outposts
|
|
106
116
|
ISO8601Timestamp = Shapes::TimestampShape.new(name: 'ISO8601Timestamp')
|
107
117
|
InstanceFamilies = Shapes::ListShape.new(name: 'InstanceFamilies')
|
108
118
|
InstanceFamilyName = Shapes::StringShape.new(name: 'InstanceFamilyName')
|
119
|
+
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
120
|
+
InstanceIdList = Shapes::ListShape.new(name: 'InstanceIdList')
|
109
121
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
110
122
|
InstanceTypeCapacity = Shapes::StructureShape.new(name: 'InstanceTypeCapacity')
|
111
123
|
InstanceTypeCount = Shapes::IntegerShape.new(name: 'InstanceTypeCount')
|
112
124
|
InstanceTypeItem = Shapes::StructureShape.new(name: 'InstanceTypeItem')
|
113
125
|
InstanceTypeListDefinition = Shapes::ListShape.new(name: 'InstanceTypeListDefinition')
|
114
126
|
InstanceTypeName = Shapes::StringShape.new(name: 'InstanceTypeName')
|
127
|
+
InstancesToExclude = Shapes::StructureShape.new(name: 'InstancesToExclude')
|
115
128
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
116
129
|
LifeCycleStatus = Shapes::StringShape.new(name: 'LifeCycleStatus')
|
117
130
|
LifeCycleStatusList = Shapes::ListShape.new(name: 'LifeCycleStatusList')
|
@@ -125,8 +138,12 @@ module Aws::Outposts
|
|
125
138
|
LineItemRequestListDefinition = Shapes::ListShape.new(name: 'LineItemRequestListDefinition')
|
126
139
|
LineItemStatus = Shapes::StringShape.new(name: 'LineItemStatus')
|
127
140
|
LineItemStatusCounts = Shapes::MapShape.new(name: 'LineItemStatusCounts')
|
141
|
+
ListAssetInstancesInput = Shapes::StructureShape.new(name: 'ListAssetInstancesInput')
|
142
|
+
ListAssetInstancesOutput = Shapes::StructureShape.new(name: 'ListAssetInstancesOutput')
|
128
143
|
ListAssetsInput = Shapes::StructureShape.new(name: 'ListAssetsInput')
|
129
144
|
ListAssetsOutput = Shapes::StructureShape.new(name: 'ListAssetsOutput')
|
145
|
+
ListBlockingInstancesForCapacityTaskInput = Shapes::StructureShape.new(name: 'ListBlockingInstancesForCapacityTaskInput')
|
146
|
+
ListBlockingInstancesForCapacityTaskOutput = Shapes::StructureShape.new(name: 'ListBlockingInstancesForCapacityTaskOutput')
|
130
147
|
ListCapacityTasksInput = Shapes::StructureShape.new(name: 'ListCapacityTasksInput')
|
131
148
|
ListCapacityTasksOutput = Shapes::StructureShape.new(name: 'ListCapacityTasksOutput')
|
132
149
|
ListCatalogItemsInput = Shapes::StructureShape.new(name: 'ListCatalogItemsInput')
|
@@ -160,6 +177,8 @@ module Aws::Outposts
|
|
160
177
|
OutpostId = Shapes::StringShape.new(name: 'OutpostId')
|
161
178
|
OutpostIdOnly = Shapes::StringShape.new(name: 'OutpostIdOnly')
|
162
179
|
OutpostIdentifier = Shapes::StringShape.new(name: 'OutpostIdentifier')
|
180
|
+
OutpostInstanceType = Shapes::StringShape.new(name: 'OutpostInstanceType')
|
181
|
+
OutpostInstanceTypeList = Shapes::ListShape.new(name: 'OutpostInstanceTypeList')
|
163
182
|
OutpostName = Shapes::StringShape.new(name: 'OutpostName')
|
164
183
|
OwnerId = Shapes::StringShape.new(name: 'OwnerId')
|
165
184
|
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
@@ -205,6 +224,7 @@ module Aws::Outposts
|
|
205
224
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
206
225
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
207
226
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
227
|
+
TaskActionOnBlockingInstances = Shapes::StringShape.new(name: 'TaskActionOnBlockingInstances')
|
208
228
|
Token = Shapes::StringShape.new(name: 'Token')
|
209
229
|
TrackingId = Shapes::StringShape.new(name: 'TrackingId')
|
210
230
|
UnderlayIpAddress = Shapes::StringShape.new(name: 'UnderlayIpAddress')
|
@@ -226,9 +246,13 @@ module Aws::Outposts
|
|
226
246
|
outpostListDefinition = Shapes::ListShape.new(name: 'outpostListDefinition')
|
227
247
|
siteListDefinition = Shapes::ListShape.new(name: 'siteListDefinition')
|
228
248
|
|
249
|
+
AWSServiceNameList.member = Shapes::ShapeRef.new(shape: AWSServiceName)
|
250
|
+
|
229
251
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
230
252
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
231
253
|
|
254
|
+
AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId)
|
255
|
+
|
232
256
|
Address.add_member(:contact_name, Shapes::ShapeRef.new(shape: ContactName, location_name: "ContactName"))
|
233
257
|
Address.add_member(:contact_phone_number, Shapes::ShapeRef.new(shape: ContactPhoneNumber, location_name: "ContactPhoneNumber"))
|
234
258
|
Address.add_member(:address_line_1, Shapes::ShapeRef.new(shape: AddressLine1, required: true, location_name: "AddressLine1"))
|
@@ -242,6 +266,8 @@ module Aws::Outposts
|
|
242
266
|
Address.add_member(:municipality, Shapes::ShapeRef.new(shape: Municipality, location_name: "Municipality"))
|
243
267
|
Address.struct_class = Types::Address
|
244
268
|
|
269
|
+
AssetIdList.member = Shapes::ShapeRef.new(shape: AssetId)
|
270
|
+
|
245
271
|
AssetInfo.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "AssetId"))
|
246
272
|
AssetInfo.add_member(:rack_id, Shapes::ShapeRef.new(shape: RackId, location_name: "RackId"))
|
247
273
|
AssetInfo.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "AssetType"))
|
@@ -249,6 +275,21 @@ module Aws::Outposts
|
|
249
275
|
AssetInfo.add_member(:asset_location, Shapes::ShapeRef.new(shape: AssetLocation, location_name: "AssetLocation"))
|
250
276
|
AssetInfo.struct_class = Types::AssetInfo
|
251
277
|
|
278
|
+
AssetInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
279
|
+
AssetInstance.add_member(:instance_type, Shapes::ShapeRef.new(shape: OutpostInstanceType, location_name: "InstanceType"))
|
280
|
+
AssetInstance.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "AssetId"))
|
281
|
+
AssetInstance.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
282
|
+
AssetInstance.add_member(:aws_service_name, Shapes::ShapeRef.new(shape: AWSServiceName, location_name: "AwsServiceName"))
|
283
|
+
AssetInstance.struct_class = Types::AssetInstance
|
284
|
+
|
285
|
+
AssetInstanceCapacityList.member = Shapes::ShapeRef.new(shape: AssetInstanceTypeCapacity)
|
286
|
+
|
287
|
+
AssetInstanceList.member = Shapes::ShapeRef.new(shape: AssetInstance)
|
288
|
+
|
289
|
+
AssetInstanceTypeCapacity.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeName, required: true, location_name: "InstanceType"))
|
290
|
+
AssetInstanceTypeCapacity.add_member(:count, Shapes::ShapeRef.new(shape: InstanceTypeCount, required: true, location_name: "Count"))
|
291
|
+
AssetInstanceTypeCapacity.struct_class = Types::AssetInstanceTypeCapacity
|
292
|
+
|
252
293
|
AssetListDefinition.member = Shapes::ShapeRef.new(shape: AssetInfo)
|
253
294
|
|
254
295
|
AssetLocation.add_member(:rack_elevation, Shapes::ShapeRef.new(shape: RackElevation, location_name: "RackElevation"))
|
@@ -258,6 +299,13 @@ module Aws::Outposts
|
|
258
299
|
|
259
300
|
AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
260
301
|
|
302
|
+
BlockingInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
303
|
+
BlockingInstance.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
304
|
+
BlockingInstance.add_member(:aws_service_name, Shapes::ShapeRef.new(shape: AWSServiceName, location_name: "AwsServiceName"))
|
305
|
+
BlockingInstance.struct_class = Types::BlockingInstance
|
306
|
+
|
307
|
+
BlockingInstancesList.member = Shapes::ShapeRef.new(shape: BlockingInstance)
|
308
|
+
|
261
309
|
CIDRList.member = Shapes::ShapeRef.new(shape: CIDR)
|
262
310
|
|
263
311
|
CancelCapacityTaskInput.add_member(:capacity_task_id, Shapes::ShapeRef.new(shape: CapacityTaskId, required: true, location: "uri", location_name: "CapacityTaskId"))
|
@@ -306,6 +354,8 @@ module Aws::Outposts
|
|
306
354
|
ComputeAttributes.add_member(:host_id, Shapes::ShapeRef.new(shape: HostId, location_name: "HostId"))
|
307
355
|
ComputeAttributes.add_member(:state, Shapes::ShapeRef.new(shape: ComputeAssetState, location_name: "State"))
|
308
356
|
ComputeAttributes.add_member(:instance_families, Shapes::ShapeRef.new(shape: InstanceFamilies, location_name: "InstanceFamilies"))
|
357
|
+
ComputeAttributes.add_member(:instance_type_capacities, Shapes::ShapeRef.new(shape: AssetInstanceCapacityList, location_name: "InstanceTypeCapacities"))
|
358
|
+
ComputeAttributes.add_member(:max_vcpus, Shapes::ShapeRef.new(shape: VCPUCount, location_name: "MaxVcpus"))
|
309
359
|
ComputeAttributes.struct_class = Types::ComputeAttributes
|
310
360
|
|
311
361
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -383,12 +433,14 @@ module Aws::Outposts
|
|
383
433
|
GetCapacityTaskOutput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
|
384
434
|
GetCapacityTaskOutput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
|
385
435
|
GetCapacityTaskOutput.add_member(:requested_instance_pools, Shapes::ShapeRef.new(shape: RequestedInstancePools, location_name: "RequestedInstancePools"))
|
436
|
+
GetCapacityTaskOutput.add_member(:instances_to_exclude, Shapes::ShapeRef.new(shape: InstancesToExclude, location_name: "InstancesToExclude"))
|
386
437
|
GetCapacityTaskOutput.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
|
387
438
|
GetCapacityTaskOutput.add_member(:capacity_task_status, Shapes::ShapeRef.new(shape: CapacityTaskStatus, location_name: "CapacityTaskStatus"))
|
388
439
|
GetCapacityTaskOutput.add_member(:failed, Shapes::ShapeRef.new(shape: CapacityTaskFailure, location_name: "Failed"))
|
389
440
|
GetCapacityTaskOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CreationDate"))
|
390
441
|
GetCapacityTaskOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CompletionDate"))
|
391
442
|
GetCapacityTaskOutput.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "LastModifiedDate"))
|
443
|
+
GetCapacityTaskOutput.add_member(:task_action_on_blocking_instances, Shapes::ShapeRef.new(shape: TaskActionOnBlockingInstances, location_name: "TaskActionOnBlockingInstances"))
|
392
444
|
GetCapacityTaskOutput.struct_class = Types::GetCapacityTaskOutput
|
393
445
|
|
394
446
|
GetCatalogItemInput.add_member(:catalog_item_id, Shapes::ShapeRef.new(shape: SkuCode, required: true, location: "uri", location_name: "CatalogItemId"))
|
@@ -428,7 +480,7 @@ module Aws::Outposts
|
|
428
480
|
GetOutpostOutput.struct_class = Types::GetOutpostOutput
|
429
481
|
|
430
482
|
GetOutpostSupportedInstanceTypesInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
|
431
|
-
GetOutpostSupportedInstanceTypesInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId,
|
483
|
+
GetOutpostSupportedInstanceTypesInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location: "querystring", location_name: "OrderId"))
|
432
484
|
GetOutpostSupportedInstanceTypesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
433
485
|
GetOutpostSupportedInstanceTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
434
486
|
GetOutpostSupportedInstanceTypesInput.struct_class = Types::GetOutpostSupportedInstanceTypesInput
|
@@ -456,6 +508,8 @@ module Aws::Outposts
|
|
456
508
|
|
457
509
|
InstanceFamilies.member = Shapes::ShapeRef.new(shape: InstanceFamilyName)
|
458
510
|
|
511
|
+
InstanceIdList.member = Shapes::ShapeRef.new(shape: InstanceId)
|
512
|
+
|
459
513
|
InstanceTypeCapacity.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeName, required: true, location_name: "InstanceType"))
|
460
514
|
InstanceTypeCapacity.add_member(:count, Shapes::ShapeRef.new(shape: InstanceTypeCount, required: true, location_name: "Count"))
|
461
515
|
InstanceTypeCapacity.struct_class = Types::InstanceTypeCapacity
|
@@ -466,6 +520,11 @@ module Aws::Outposts
|
|
466
520
|
|
467
521
|
InstanceTypeListDefinition.member = Shapes::ShapeRef.new(shape: InstanceTypeItem)
|
468
522
|
|
523
|
+
InstancesToExclude.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceIdList, location_name: "Instances"))
|
524
|
+
InstancesToExclude.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "AccountIds"))
|
525
|
+
InstancesToExclude.add_member(:services, Shapes::ShapeRef.new(shape: AWSServiceNameList, location_name: "Services"))
|
526
|
+
InstancesToExclude.struct_class = Types::InstancesToExclude
|
527
|
+
|
469
528
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
470
529
|
InternalServerException.struct_class = Types::InternalServerException
|
471
530
|
|
@@ -498,6 +557,19 @@ module Aws::Outposts
|
|
498
557
|
LineItemStatusCounts.key = Shapes::ShapeRef.new(shape: LineItemStatus)
|
499
558
|
LineItemStatusCounts.value = Shapes::ShapeRef.new(shape: LineItemQuantity)
|
500
559
|
|
560
|
+
ListAssetInstancesInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
|
561
|
+
ListAssetInstancesInput.add_member(:asset_id_filter, Shapes::ShapeRef.new(shape: AssetIdList, location: "querystring", location_name: "AssetIdFilter"))
|
562
|
+
ListAssetInstancesInput.add_member(:instance_type_filter, Shapes::ShapeRef.new(shape: OutpostInstanceTypeList, location: "querystring", location_name: "InstanceTypeFilter"))
|
563
|
+
ListAssetInstancesInput.add_member(:account_id_filter, Shapes::ShapeRef.new(shape: AccountIdList, location: "querystring", location_name: "AccountIdFilter"))
|
564
|
+
ListAssetInstancesInput.add_member(:aws_service_filter, Shapes::ShapeRef.new(shape: AWSServiceNameList, location: "querystring", location_name: "AwsServiceFilter"))
|
565
|
+
ListAssetInstancesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
566
|
+
ListAssetInstancesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
567
|
+
ListAssetInstancesInput.struct_class = Types::ListAssetInstancesInput
|
568
|
+
|
569
|
+
ListAssetInstancesOutput.add_member(:asset_instances, Shapes::ShapeRef.new(shape: AssetInstanceList, location_name: "AssetInstances"))
|
570
|
+
ListAssetInstancesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
571
|
+
ListAssetInstancesOutput.struct_class = Types::ListAssetInstancesOutput
|
572
|
+
|
501
573
|
ListAssetsInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
|
502
574
|
ListAssetsInput.add_member(:host_id_filter, Shapes::ShapeRef.new(shape: HostIdList, location: "querystring", location_name: "HostIdFilter"))
|
503
575
|
ListAssetsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
@@ -509,6 +581,16 @@ module Aws::Outposts
|
|
509
581
|
ListAssetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
510
582
|
ListAssetsOutput.struct_class = Types::ListAssetsOutput
|
511
583
|
|
584
|
+
ListBlockingInstancesForCapacityTaskInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
|
585
|
+
ListBlockingInstancesForCapacityTaskInput.add_member(:capacity_task_id, Shapes::ShapeRef.new(shape: CapacityTaskId, required: true, location: "uri", location_name: "CapacityTaskId"))
|
586
|
+
ListBlockingInstancesForCapacityTaskInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
587
|
+
ListBlockingInstancesForCapacityTaskInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
588
|
+
ListBlockingInstancesForCapacityTaskInput.struct_class = Types::ListBlockingInstancesForCapacityTaskInput
|
589
|
+
|
590
|
+
ListBlockingInstancesForCapacityTaskOutput.add_member(:blocking_instances, Shapes::ShapeRef.new(shape: BlockingInstancesList, location_name: "BlockingInstances"))
|
591
|
+
ListBlockingInstancesForCapacityTaskOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
592
|
+
ListBlockingInstancesForCapacityTaskOutput.struct_class = Types::ListBlockingInstancesForCapacityTaskOutput
|
593
|
+
|
512
594
|
ListCapacityTasksInput.add_member(:outpost_identifier_filter, Shapes::ShapeRef.new(shape: OutpostIdentifier, location: "querystring", location_name: "OutpostIdentifierFilter"))
|
513
595
|
ListCapacityTasksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
514
596
|
ListCapacityTasksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
@@ -608,6 +690,8 @@ module Aws::Outposts
|
|
608
690
|
Outpost.add_member(:supported_hardware_type, Shapes::ShapeRef.new(shape: SupportedHardwareType, location_name: "SupportedHardwareType"))
|
609
691
|
Outpost.struct_class = Types::Outpost
|
610
692
|
|
693
|
+
OutpostInstanceTypeList.member = Shapes::ShapeRef.new(shape: OutpostInstanceType)
|
694
|
+
|
611
695
|
RackPhysicalProperties.add_member(:power_draw_kva, Shapes::ShapeRef.new(shape: PowerDrawKva, location_name: "PowerDrawKva"))
|
612
696
|
RackPhysicalProperties.add_member(:power_phase, Shapes::ShapeRef.new(shape: PowerPhase, location_name: "PowerPhase"))
|
613
697
|
RackPhysicalProperties.add_member(:power_connector, Shapes::ShapeRef.new(shape: PowerConnector, location_name: "PowerConnector"))
|
@@ -642,21 +726,25 @@ module Aws::Outposts
|
|
642
726
|
Site.struct_class = Types::Site
|
643
727
|
|
644
728
|
StartCapacityTaskInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId"))
|
645
|
-
StartCapacityTaskInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId,
|
729
|
+
StartCapacityTaskInput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
|
646
730
|
StartCapacityTaskInput.add_member(:instance_pools, Shapes::ShapeRef.new(shape: RequestedInstancePools, required: true, location_name: "InstancePools"))
|
731
|
+
StartCapacityTaskInput.add_member(:instances_to_exclude, Shapes::ShapeRef.new(shape: InstancesToExclude, location_name: "InstancesToExclude"))
|
647
732
|
StartCapacityTaskInput.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
|
733
|
+
StartCapacityTaskInput.add_member(:task_action_on_blocking_instances, Shapes::ShapeRef.new(shape: TaskActionOnBlockingInstances, location_name: "TaskActionOnBlockingInstances"))
|
648
734
|
StartCapacityTaskInput.struct_class = Types::StartCapacityTaskInput
|
649
735
|
|
650
736
|
StartCapacityTaskOutput.add_member(:capacity_task_id, Shapes::ShapeRef.new(shape: CapacityTaskId, location_name: "CapacityTaskId"))
|
651
737
|
StartCapacityTaskOutput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
|
652
738
|
StartCapacityTaskOutput.add_member(:order_id, Shapes::ShapeRef.new(shape: OrderId, location_name: "OrderId"))
|
653
739
|
StartCapacityTaskOutput.add_member(:requested_instance_pools, Shapes::ShapeRef.new(shape: RequestedInstancePools, location_name: "RequestedInstancePools"))
|
740
|
+
StartCapacityTaskOutput.add_member(:instances_to_exclude, Shapes::ShapeRef.new(shape: InstancesToExclude, location_name: "InstancesToExclude"))
|
654
741
|
StartCapacityTaskOutput.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
|
655
742
|
StartCapacityTaskOutput.add_member(:capacity_task_status, Shapes::ShapeRef.new(shape: CapacityTaskStatus, location_name: "CapacityTaskStatus"))
|
656
743
|
StartCapacityTaskOutput.add_member(:failed, Shapes::ShapeRef.new(shape: CapacityTaskFailure, location_name: "Failed"))
|
657
744
|
StartCapacityTaskOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CreationDate"))
|
658
745
|
StartCapacityTaskOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "CompletionDate"))
|
659
746
|
StartCapacityTaskOutput.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: ISO8601Timestamp, location_name: "LastModifiedDate"))
|
747
|
+
StartCapacityTaskOutput.add_member(:task_action_on_blocking_instances, Shapes::ShapeRef.new(shape: TaskActionOnBlockingInstances, location_name: "TaskActionOnBlockingInstances"))
|
660
748
|
StartCapacityTaskOutput.struct_class = Types::StartCapacityTaskOutput
|
661
749
|
|
662
750
|
StartConnectionRequest.add_member(:device_serial_number, Shapes::ShapeRef.new(shape: DeviceSerialNumber, location_name: "DeviceSerialNumber"))
|
@@ -975,6 +1063,24 @@ module Aws::Outposts
|
|
975
1063
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
976
1064
|
end)
|
977
1065
|
|
1066
|
+
api.add_operation(:list_asset_instances, Seahorse::Model::Operation.new.tap do |o|
|
1067
|
+
o.name = "ListAssetInstances"
|
1068
|
+
o.http_method = "GET"
|
1069
|
+
o.http_request_uri = "/outposts/{OutpostId}/assetInstances"
|
1070
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssetInstancesInput)
|
1071
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssetInstancesOutput)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1073
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1074
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1075
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1076
|
+
o[:pager] = Aws::Pager.new(
|
1077
|
+
limit_key: "max_results",
|
1078
|
+
tokens: {
|
1079
|
+
"next_token" => "next_token"
|
1080
|
+
}
|
1081
|
+
)
|
1082
|
+
end)
|
1083
|
+
|
978
1084
|
api.add_operation(:list_assets, Seahorse::Model::Operation.new.tap do |o|
|
979
1085
|
o.name = "ListAssets"
|
980
1086
|
o.http_method = "GET"
|
@@ -993,6 +1099,24 @@ module Aws::Outposts
|
|
993
1099
|
)
|
994
1100
|
end)
|
995
1101
|
|
1102
|
+
api.add_operation(:list_blocking_instances_for_capacity_task, Seahorse::Model::Operation.new.tap do |o|
|
1103
|
+
o.name = "ListBlockingInstancesForCapacityTask"
|
1104
|
+
o.http_method = "GET"
|
1105
|
+
o.http_request_uri = "/outposts/{OutpostId}/capacity/{CapacityTaskId}/blockingInstances"
|
1106
|
+
o.input = Shapes::ShapeRef.new(shape: ListBlockingInstancesForCapacityTaskInput)
|
1107
|
+
o.output = Shapes::ShapeRef.new(shape: ListBlockingInstancesForCapacityTaskOutput)
|
1108
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1109
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1110
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1111
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1112
|
+
o[:pager] = Aws::Pager.new(
|
1113
|
+
limit_key: "max_results",
|
1114
|
+
tokens: {
|
1115
|
+
"next_token" => "next_token"
|
1116
|
+
}
|
1117
|
+
)
|
1118
|
+
end)
|
1119
|
+
|
996
1120
|
api.add_operation(:list_capacity_tasks, Seahorse::Model::Operation.new.tap do |o|
|
997
1121
|
o.name = "ListCapacityTasks"
|
998
1122
|
o.http_method = "GET"
|
@@ -52,15 +52,18 @@ module Aws::Outposts
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|