aws-sdk-outposts 1.23.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +824 -16
- data/lib/aws-sdk-outposts/client_api.rb +408 -2
- data/lib/aws-sdk-outposts/types.rb +1093 -35
- data/lib/aws-sdk-outposts.rb +2 -2
- metadata +4 -4
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::Outposts
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::Outposts
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::Outposts
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -295,7 +303,7 @@ module Aws::Outposts
|
|
295
303
|
# seconds to wait when opening a HTTP session before raising a
|
296
304
|
# `Timeout::Error`.
|
297
305
|
#
|
298
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
307
|
# number of seconds to wait for response data. This value can
|
300
308
|
# safely be set per-request on the session.
|
301
309
|
#
|
@@ -311,6 +319,9 @@ module Aws::Outposts
|
|
311
319
|
# disables this behaviour. This value can safely be set per
|
312
320
|
# request on the session.
|
313
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
314
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
326
|
# HTTP debug output will be sent to the `:logger`.
|
316
327
|
#
|
@@ -336,6 +347,28 @@ module Aws::Outposts
|
|
336
347
|
|
337
348
|
# @!group API Operations
|
338
349
|
|
350
|
+
# Cancels an order for an Outpost.
|
351
|
+
#
|
352
|
+
# @option params [required, String] :order_id
|
353
|
+
# The ID of the order to cancel.
|
354
|
+
#
|
355
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
356
|
+
#
|
357
|
+
# @example Request syntax with placeholder values
|
358
|
+
#
|
359
|
+
# resp = client.cancel_order({
|
360
|
+
# order_id: "OrderId", # required
|
361
|
+
# })
|
362
|
+
#
|
363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CancelOrder AWS API Documentation
|
364
|
+
#
|
365
|
+
# @overload cancel_order(params = {})
|
366
|
+
# @param [Hash] params ({})
|
367
|
+
def cancel_order(params = {}, options = {})
|
368
|
+
req = build_request(:cancel_order, params)
|
369
|
+
req.send_request(options)
|
370
|
+
end
|
371
|
+
|
339
372
|
# Creates an order for an Outpost.
|
340
373
|
#
|
341
374
|
# @option params [required, String] :outpost_identifier
|
@@ -372,12 +405,12 @@ module Aws::Outposts
|
|
372
405
|
#
|
373
406
|
# resp.order.outpost_id #=> String
|
374
407
|
# resp.order.order_id #=> String
|
375
|
-
# resp.order.status #=> String, one of "RECEIVED", "PENDING", "PROCESSING", "INSTALLING", "FULFILLED", "CANCELLED"
|
408
|
+
# resp.order.status #=> String, one of "RECEIVED", "PENDING", "PROCESSING", "INSTALLING", "FULFILLED", "CANCELLED", "PREPARING", "IN_PROGRESS", "COMPLETED", "ERROR"
|
376
409
|
# resp.order.line_items #=> Array
|
377
410
|
# resp.order.line_items[0].catalog_item_id #=> String
|
378
411
|
# resp.order.line_items[0].line_item_id #=> String
|
379
412
|
# resp.order.line_items[0].quantity #=> Integer
|
380
|
-
# resp.order.line_items[0].status #=> String
|
413
|
+
# resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED"
|
381
414
|
# resp.order.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
|
382
415
|
# resp.order.order_submission_date #=> Time
|
383
416
|
# resp.order.order_fulfilled_date #=> Time
|
@@ -402,7 +435,7 @@ module Aws::Outposts
|
|
402
435
|
# The description of the Outpost.
|
403
436
|
#
|
404
437
|
# @option params [required, String] :site_id
|
405
|
-
# The ID of the site.
|
438
|
+
# The ID or the Amazon Resource Name (ARN) of the site.
|
406
439
|
#
|
407
440
|
# @option params [String] :availability_zone
|
408
441
|
# The Availability Zone.
|
@@ -413,6 +446,9 @@ module Aws::Outposts
|
|
413
446
|
# @option params [Hash<String,String>] :tags
|
414
447
|
# The tags to apply to the Outpost.
|
415
448
|
#
|
449
|
+
# @option params [String] :supported_hardware_type
|
450
|
+
# The type of hardware for this Outpost.
|
451
|
+
#
|
416
452
|
# @return [Types::CreateOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
417
453
|
#
|
418
454
|
# * {Types::CreateOutpostOutput#outpost #outpost} => Types::Outpost
|
@@ -428,6 +464,7 @@ module Aws::Outposts
|
|
428
464
|
# tags: {
|
429
465
|
# "TagKey" => "TagValue",
|
430
466
|
# },
|
467
|
+
# supported_hardware_type: "RACK", # accepts RACK, SERVER
|
431
468
|
# })
|
432
469
|
#
|
433
470
|
# @example Response structure
|
@@ -444,6 +481,7 @@ module Aws::Outposts
|
|
444
481
|
# resp.outpost.tags #=> Hash
|
445
482
|
# resp.outpost.tags["TagKey"] #=> String
|
446
483
|
# resp.outpost.site_arn #=> String
|
484
|
+
# resp.outpost.supported_hardware_type #=> String, one of "RACK", "SERVER"
|
447
485
|
#
|
448
486
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost AWS API Documentation
|
449
487
|
#
|
@@ -454,10 +492,129 @@ module Aws::Outposts
|
|
454
492
|
req.send_request(options)
|
455
493
|
end
|
456
494
|
|
495
|
+
# Creates a site for an Outpost.
|
496
|
+
#
|
497
|
+
# @option params [required, String] :name
|
498
|
+
# The name of the site.
|
499
|
+
#
|
500
|
+
# @option params [String] :description
|
501
|
+
# The description of the site.
|
502
|
+
#
|
503
|
+
# @option params [String] :notes
|
504
|
+
# Additional information that you provide about site access
|
505
|
+
# requirements, electrician scheduling, personal protective equipment,
|
506
|
+
# or regulation of equipment materials that could affect your
|
507
|
+
# installation process.
|
508
|
+
#
|
509
|
+
# @option params [Hash<String,String>] :tags
|
510
|
+
# The tags to apply to a site.
|
511
|
+
#
|
512
|
+
# @option params [Types::Address] :operating_address
|
513
|
+
# The location to install and power on the hardware. This address might
|
514
|
+
# be different from the shipping address.
|
515
|
+
#
|
516
|
+
# @option params [Types::Address] :shipping_address
|
517
|
+
# The location to ship the hardware. This address might be different
|
518
|
+
# from the operating address.
|
519
|
+
#
|
520
|
+
# @option params [Types::RackPhysicalProperties] :rack_physical_properties
|
521
|
+
# Information about the physical and logistical details for the rack at
|
522
|
+
# this site. For more information about hardware requirements for racks,
|
523
|
+
# see [Network readiness checklist][1] in the Amazon Web Services
|
524
|
+
# Outposts User Guide.
|
525
|
+
#
|
526
|
+
#
|
527
|
+
#
|
528
|
+
# [1]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-requirements.html#checklist
|
529
|
+
#
|
530
|
+
# @return [Types::CreateSiteOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
531
|
+
#
|
532
|
+
# * {Types::CreateSiteOutput#site #site} => Types::Site
|
533
|
+
#
|
534
|
+
# @example Request syntax with placeholder values
|
535
|
+
#
|
536
|
+
# resp = client.create_site({
|
537
|
+
# name: "SiteName", # required
|
538
|
+
# description: "SiteDescription",
|
539
|
+
# notes: "SiteNotes",
|
540
|
+
# tags: {
|
541
|
+
# "TagKey" => "TagValue",
|
542
|
+
# },
|
543
|
+
# operating_address: {
|
544
|
+
# contact_name: "ContactName",
|
545
|
+
# contact_phone_number: "ContactPhoneNumber",
|
546
|
+
# address_line_1: "AddressLine1", # required
|
547
|
+
# address_line_2: "AddressLine2",
|
548
|
+
# address_line_3: "AddressLine3",
|
549
|
+
# city: "City", # required
|
550
|
+
# state_or_region: "StateOrRegion", # required
|
551
|
+
# district_or_county: "DistrictOrCounty",
|
552
|
+
# postal_code: "PostalCode", # required
|
553
|
+
# country_code: "CountryCode", # required
|
554
|
+
# municipality: "Municipality",
|
555
|
+
# },
|
556
|
+
# shipping_address: {
|
557
|
+
# contact_name: "ContactName",
|
558
|
+
# contact_phone_number: "ContactPhoneNumber",
|
559
|
+
# address_line_1: "AddressLine1", # required
|
560
|
+
# address_line_2: "AddressLine2",
|
561
|
+
# address_line_3: "AddressLine3",
|
562
|
+
# city: "City", # required
|
563
|
+
# state_or_region: "StateOrRegion", # required
|
564
|
+
# district_or_county: "DistrictOrCounty",
|
565
|
+
# postal_code: "PostalCode", # required
|
566
|
+
# country_code: "CountryCode", # required
|
567
|
+
# municipality: "Municipality",
|
568
|
+
# },
|
569
|
+
# rack_physical_properties: {
|
570
|
+
# power_draw_kva: "POWER_5_KVA", # accepts POWER_5_KVA, POWER_10_KVA, POWER_15_KVA
|
571
|
+
# power_phase: "SINGLE_PHASE", # accepts SINGLE_PHASE, THREE_PHASE
|
572
|
+
# power_connector: "L6_30P", # accepts L6_30P, IEC309, AH530P7W, AH532P6W
|
573
|
+
# power_feed_drop: "ABOVE_RACK", # accepts ABOVE_RACK, BELOW_RACK
|
574
|
+
# uplink_gbps: "UPLINK_1G", # accepts UPLINK_1G, UPLINK_10G, UPLINK_40G, UPLINK_100G
|
575
|
+
# uplink_count: "UPLINK_COUNT_1", # accepts UPLINK_COUNT_1, UPLINK_COUNT_2, UPLINK_COUNT_3, UPLINK_COUNT_4, UPLINK_COUNT_5, UPLINK_COUNT_6, UPLINK_COUNT_7, UPLINK_COUNT_8, UPLINK_COUNT_12, UPLINK_COUNT_16
|
576
|
+
# fiber_optic_cable_type: "SINGLE_MODE", # accepts SINGLE_MODE, MULTI_MODE
|
577
|
+
# optical_standard: "OPTIC_10GBASE_SR", # accepts OPTIC_10GBASE_SR, OPTIC_10GBASE_IR, OPTIC_10GBASE_LR, OPTIC_40GBASE_SR, OPTIC_40GBASE_ESR, OPTIC_40GBASE_IR4_LR4L, OPTIC_40GBASE_LR4, OPTIC_100GBASE_SR4, OPTIC_100GBASE_CWDM4, OPTIC_100GBASE_LR4, OPTIC_100G_PSM4_MSA, OPTIC_1000BASE_LX, OPTIC_1000BASE_SX
|
578
|
+
# maximum_supported_weight_lbs: "NO_LIMIT", # accepts NO_LIMIT, MAX_1400_LBS, MAX_1600_LBS, MAX_1800_LBS, MAX_2000_LBS
|
579
|
+
# },
|
580
|
+
# })
|
581
|
+
#
|
582
|
+
# @example Response structure
|
583
|
+
#
|
584
|
+
# resp.site.site_id #=> String
|
585
|
+
# resp.site.account_id #=> String
|
586
|
+
# resp.site.name #=> String
|
587
|
+
# resp.site.description #=> String
|
588
|
+
# resp.site.tags #=> Hash
|
589
|
+
# resp.site.tags["TagKey"] #=> String
|
590
|
+
# resp.site.site_arn #=> String
|
591
|
+
# resp.site.notes #=> String
|
592
|
+
# resp.site.operating_address_country_code #=> String
|
593
|
+
# resp.site.operating_address_state_or_region #=> String
|
594
|
+
# resp.site.operating_address_city #=> String
|
595
|
+
# resp.site.rack_physical_properties.power_draw_kva #=> String, one of "POWER_5_KVA", "POWER_10_KVA", "POWER_15_KVA"
|
596
|
+
# resp.site.rack_physical_properties.power_phase #=> String, one of "SINGLE_PHASE", "THREE_PHASE"
|
597
|
+
# resp.site.rack_physical_properties.power_connector #=> String, one of "L6_30P", "IEC309", "AH530P7W", "AH532P6W"
|
598
|
+
# resp.site.rack_physical_properties.power_feed_drop #=> String, one of "ABOVE_RACK", "BELOW_RACK"
|
599
|
+
# resp.site.rack_physical_properties.uplink_gbps #=> String, one of "UPLINK_1G", "UPLINK_10G", "UPLINK_40G", "UPLINK_100G"
|
600
|
+
# resp.site.rack_physical_properties.uplink_count #=> String, one of "UPLINK_COUNT_1", "UPLINK_COUNT_2", "UPLINK_COUNT_3", "UPLINK_COUNT_4", "UPLINK_COUNT_5", "UPLINK_COUNT_6", "UPLINK_COUNT_7", "UPLINK_COUNT_8", "UPLINK_COUNT_12", "UPLINK_COUNT_16"
|
601
|
+
# resp.site.rack_physical_properties.fiber_optic_cable_type #=> String, one of "SINGLE_MODE", "MULTI_MODE"
|
602
|
+
# resp.site.rack_physical_properties.optical_standard #=> String, one of "OPTIC_10GBASE_SR", "OPTIC_10GBASE_IR", "OPTIC_10GBASE_LR", "OPTIC_40GBASE_SR", "OPTIC_40GBASE_ESR", "OPTIC_40GBASE_IR4_LR4L", "OPTIC_40GBASE_LR4", "OPTIC_100GBASE_SR4", "OPTIC_100GBASE_CWDM4", "OPTIC_100GBASE_LR4", "OPTIC_100G_PSM4_MSA", "OPTIC_1000BASE_LX", "OPTIC_1000BASE_SX"
|
603
|
+
# resp.site.rack_physical_properties.maximum_supported_weight_lbs #=> String, one of "NO_LIMIT", "MAX_1400_LBS", "MAX_1600_LBS", "MAX_1800_LBS", "MAX_2000_LBS"
|
604
|
+
#
|
605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateSite AWS API Documentation
|
606
|
+
#
|
607
|
+
# @overload create_site(params = {})
|
608
|
+
# @param [Hash] params ({})
|
609
|
+
def create_site(params = {}, options = {})
|
610
|
+
req = build_request(:create_site, params)
|
611
|
+
req.send_request(options)
|
612
|
+
end
|
613
|
+
|
457
614
|
# Deletes the Outpost.
|
458
615
|
#
|
459
616
|
# @option params [required, String] :outpost_id
|
460
|
-
# The ID of the Outpost.
|
617
|
+
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
461
618
|
#
|
462
619
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
463
620
|
#
|
@@ -479,7 +636,7 @@ module Aws::Outposts
|
|
479
636
|
# Deletes the site.
|
480
637
|
#
|
481
638
|
# @option params [required, String] :site_id
|
482
|
-
# The ID of the site.
|
639
|
+
# The ID or the Amazon Resource Name (ARN) of the site.
|
483
640
|
#
|
484
641
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
485
642
|
#
|
@@ -498,10 +655,87 @@ module Aws::Outposts
|
|
498
655
|
req.send_request(options)
|
499
656
|
end
|
500
657
|
|
658
|
+
# Gets information about a catalog item.
|
659
|
+
#
|
660
|
+
# @option params [required, String] :catalog_item_id
|
661
|
+
# The ID of the catalog item.
|
662
|
+
#
|
663
|
+
# @return [Types::GetCatalogItemOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
664
|
+
#
|
665
|
+
# * {Types::GetCatalogItemOutput#catalog_item #catalog_item} => Types::CatalogItem
|
666
|
+
#
|
667
|
+
# @example Request syntax with placeholder values
|
668
|
+
#
|
669
|
+
# resp = client.get_catalog_item({
|
670
|
+
# catalog_item_id: "SkuCode", # required
|
671
|
+
# })
|
672
|
+
#
|
673
|
+
# @example Response structure
|
674
|
+
#
|
675
|
+
# resp.catalog_item.catalog_item_id #=> String
|
676
|
+
# resp.catalog_item.item_status #=> String, one of "AVAILABLE", "DISCONTINUED"
|
677
|
+
# resp.catalog_item.ec2_capacities #=> Array
|
678
|
+
# resp.catalog_item.ec2_capacities[0].family #=> String
|
679
|
+
# resp.catalog_item.ec2_capacities[0].max_size #=> String
|
680
|
+
# resp.catalog_item.ec2_capacities[0].quantity #=> String
|
681
|
+
# resp.catalog_item.power_kva #=> Float
|
682
|
+
# resp.catalog_item.weight_lbs #=> Integer
|
683
|
+
# resp.catalog_item.supported_uplink_gbps #=> Array
|
684
|
+
# resp.catalog_item.supported_uplink_gbps[0] #=> Integer
|
685
|
+
# resp.catalog_item.supported_storage #=> Array
|
686
|
+
# resp.catalog_item.supported_storage[0] #=> String, one of "EBS", "S3"
|
687
|
+
#
|
688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCatalogItem AWS API Documentation
|
689
|
+
#
|
690
|
+
# @overload get_catalog_item(params = {})
|
691
|
+
# @param [Hash] params ({})
|
692
|
+
def get_catalog_item(params = {}, options = {})
|
693
|
+
req = build_request(:get_catalog_item, params)
|
694
|
+
req.send_request(options)
|
695
|
+
end
|
696
|
+
|
697
|
+
# Gets an order.
|
698
|
+
#
|
699
|
+
# @option params [required, String] :order_id
|
700
|
+
# The ID of the order.
|
701
|
+
#
|
702
|
+
# @return [Types::GetOrderOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
703
|
+
#
|
704
|
+
# * {Types::GetOrderOutput#order #order} => Types::Order
|
705
|
+
#
|
706
|
+
# @example Request syntax with placeholder values
|
707
|
+
#
|
708
|
+
# resp = client.get_order({
|
709
|
+
# order_id: "OrderId", # required
|
710
|
+
# })
|
711
|
+
#
|
712
|
+
# @example Response structure
|
713
|
+
#
|
714
|
+
# resp.order.outpost_id #=> String
|
715
|
+
# resp.order.order_id #=> String
|
716
|
+
# resp.order.status #=> String, one of "RECEIVED", "PENDING", "PROCESSING", "INSTALLING", "FULFILLED", "CANCELLED", "PREPARING", "IN_PROGRESS", "COMPLETED", "ERROR"
|
717
|
+
# resp.order.line_items #=> Array
|
718
|
+
# resp.order.line_items[0].catalog_item_id #=> String
|
719
|
+
# resp.order.line_items[0].line_item_id #=> String
|
720
|
+
# resp.order.line_items[0].quantity #=> Integer
|
721
|
+
# resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED"
|
722
|
+
# resp.order.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
|
723
|
+
# resp.order.order_submission_date #=> Time
|
724
|
+
# resp.order.order_fulfilled_date #=> Time
|
725
|
+
#
|
726
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOrder AWS API Documentation
|
727
|
+
#
|
728
|
+
# @overload get_order(params = {})
|
729
|
+
# @param [Hash] params ({})
|
730
|
+
def get_order(params = {}, options = {})
|
731
|
+
req = build_request(:get_order, params)
|
732
|
+
req.send_request(options)
|
733
|
+
end
|
734
|
+
|
501
735
|
# Gets information about the specified Outpost.
|
502
736
|
#
|
503
737
|
# @option params [required, String] :outpost_id
|
504
|
-
# The ID of the Outpost.
|
738
|
+
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
505
739
|
#
|
506
740
|
# @return [Types::GetOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
507
741
|
#
|
@@ -527,6 +761,7 @@ module Aws::Outposts
|
|
527
761
|
# resp.outpost.tags #=> Hash
|
528
762
|
# resp.outpost.tags["TagKey"] #=> String
|
529
763
|
# resp.outpost.site_arn #=> String
|
764
|
+
# resp.outpost.supported_hardware_type #=> String, one of "RACK", "SERVER"
|
530
765
|
#
|
531
766
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost AWS API Documentation
|
532
767
|
#
|
@@ -540,7 +775,7 @@ module Aws::Outposts
|
|
540
775
|
# Lists the instance types for the specified Outpost.
|
541
776
|
#
|
542
777
|
# @option params [required, String] :outpost_id
|
543
|
-
# The ID of the Outpost.
|
778
|
+
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
544
779
|
#
|
545
780
|
# @option params [String] :next_token
|
546
781
|
# The pagination token.
|
@@ -580,10 +815,231 @@ module Aws::Outposts
|
|
580
815
|
req.send_request(options)
|
581
816
|
end
|
582
817
|
|
583
|
-
#
|
584
|
-
#
|
585
|
-
#
|
586
|
-
#
|
818
|
+
# Gets information about the specified Outpost site.
|
819
|
+
#
|
820
|
+
# @option params [required, String] :site_id
|
821
|
+
# The ID or the Amazon Resource Name (ARN) of the site.
|
822
|
+
#
|
823
|
+
# @return [Types::GetSiteOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
824
|
+
#
|
825
|
+
# * {Types::GetSiteOutput#site #site} => Types::Site
|
826
|
+
#
|
827
|
+
# @example Request syntax with placeholder values
|
828
|
+
#
|
829
|
+
# resp = client.get_site({
|
830
|
+
# site_id: "SiteId", # required
|
831
|
+
# })
|
832
|
+
#
|
833
|
+
# @example Response structure
|
834
|
+
#
|
835
|
+
# resp.site.site_id #=> String
|
836
|
+
# resp.site.account_id #=> String
|
837
|
+
# resp.site.name #=> String
|
838
|
+
# resp.site.description #=> String
|
839
|
+
# resp.site.tags #=> Hash
|
840
|
+
# resp.site.tags["TagKey"] #=> String
|
841
|
+
# resp.site.site_arn #=> String
|
842
|
+
# resp.site.notes #=> String
|
843
|
+
# resp.site.operating_address_country_code #=> String
|
844
|
+
# resp.site.operating_address_state_or_region #=> String
|
845
|
+
# resp.site.operating_address_city #=> String
|
846
|
+
# resp.site.rack_physical_properties.power_draw_kva #=> String, one of "POWER_5_KVA", "POWER_10_KVA", "POWER_15_KVA"
|
847
|
+
# resp.site.rack_physical_properties.power_phase #=> String, one of "SINGLE_PHASE", "THREE_PHASE"
|
848
|
+
# resp.site.rack_physical_properties.power_connector #=> String, one of "L6_30P", "IEC309", "AH530P7W", "AH532P6W"
|
849
|
+
# resp.site.rack_physical_properties.power_feed_drop #=> String, one of "ABOVE_RACK", "BELOW_RACK"
|
850
|
+
# resp.site.rack_physical_properties.uplink_gbps #=> String, one of "UPLINK_1G", "UPLINK_10G", "UPLINK_40G", "UPLINK_100G"
|
851
|
+
# resp.site.rack_physical_properties.uplink_count #=> String, one of "UPLINK_COUNT_1", "UPLINK_COUNT_2", "UPLINK_COUNT_3", "UPLINK_COUNT_4", "UPLINK_COUNT_5", "UPLINK_COUNT_6", "UPLINK_COUNT_7", "UPLINK_COUNT_8", "UPLINK_COUNT_12", "UPLINK_COUNT_16"
|
852
|
+
# resp.site.rack_physical_properties.fiber_optic_cable_type #=> String, one of "SINGLE_MODE", "MULTI_MODE"
|
853
|
+
# resp.site.rack_physical_properties.optical_standard #=> String, one of "OPTIC_10GBASE_SR", "OPTIC_10GBASE_IR", "OPTIC_10GBASE_LR", "OPTIC_40GBASE_SR", "OPTIC_40GBASE_ESR", "OPTIC_40GBASE_IR4_LR4L", "OPTIC_40GBASE_LR4", "OPTIC_100GBASE_SR4", "OPTIC_100GBASE_CWDM4", "OPTIC_100GBASE_LR4", "OPTIC_100G_PSM4_MSA", "OPTIC_1000BASE_LX", "OPTIC_1000BASE_SX"
|
854
|
+
# resp.site.rack_physical_properties.maximum_supported_weight_lbs #=> String, one of "NO_LIMIT", "MAX_1400_LBS", "MAX_1600_LBS", "MAX_1800_LBS", "MAX_2000_LBS"
|
855
|
+
#
|
856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetSite AWS API Documentation
|
857
|
+
#
|
858
|
+
# @overload get_site(params = {})
|
859
|
+
# @param [Hash] params ({})
|
860
|
+
def get_site(params = {}, options = {})
|
861
|
+
req = build_request(:get_site, params)
|
862
|
+
req.send_request(options)
|
863
|
+
end
|
864
|
+
|
865
|
+
# Gets the site address.
|
866
|
+
#
|
867
|
+
# @option params [required, String] :site_id
|
868
|
+
# The ID or the Amazon Resource Name (ARN) of the site.
|
869
|
+
#
|
870
|
+
# @option params [required, String] :address_type
|
871
|
+
# The type of the address you request.
|
872
|
+
#
|
873
|
+
# @return [Types::GetSiteAddressOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
874
|
+
#
|
875
|
+
# * {Types::GetSiteAddressOutput#site_id #site_id} => String
|
876
|
+
# * {Types::GetSiteAddressOutput#address_type #address_type} => String
|
877
|
+
# * {Types::GetSiteAddressOutput#address #address} => Types::Address
|
878
|
+
#
|
879
|
+
# @example Request syntax with placeholder values
|
880
|
+
#
|
881
|
+
# resp = client.get_site_address({
|
882
|
+
# site_id: "SiteId", # required
|
883
|
+
# address_type: "SHIPPING_ADDRESS", # required, accepts SHIPPING_ADDRESS, OPERATING_ADDRESS
|
884
|
+
# })
|
885
|
+
#
|
886
|
+
# @example Response structure
|
887
|
+
#
|
888
|
+
# resp.site_id #=> String
|
889
|
+
# resp.address_type #=> String, one of "SHIPPING_ADDRESS", "OPERATING_ADDRESS"
|
890
|
+
# resp.address.contact_name #=> String
|
891
|
+
# resp.address.contact_phone_number #=> String
|
892
|
+
# resp.address.address_line_1 #=> String
|
893
|
+
# resp.address.address_line_2 #=> String
|
894
|
+
# resp.address.address_line_3 #=> String
|
895
|
+
# resp.address.city #=> String
|
896
|
+
# resp.address.state_or_region #=> String
|
897
|
+
# resp.address.district_or_county #=> String
|
898
|
+
# resp.address.postal_code #=> String
|
899
|
+
# resp.address.country_code #=> String
|
900
|
+
# resp.address.municipality #=> String
|
901
|
+
#
|
902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetSiteAddress AWS API Documentation
|
903
|
+
#
|
904
|
+
# @overload get_site_address(params = {})
|
905
|
+
# @param [Hash] params ({})
|
906
|
+
def get_site_address(params = {}, options = {})
|
907
|
+
req = build_request(:get_site_address, params)
|
908
|
+
req.send_request(options)
|
909
|
+
end
|
910
|
+
|
911
|
+
# Use to create a list of every item in the catalog. Add filters to your
|
912
|
+
# request to return a more specific list of results. Use filters to
|
913
|
+
# match an item class, storage option, or EC2 family.
|
914
|
+
#
|
915
|
+
# If you specify multiple filters, the filters are joined with an `AND`,
|
916
|
+
# and the request returns only results that match all of the specified
|
917
|
+
# filters.
|
918
|
+
#
|
919
|
+
# @option params [String] :next_token
|
920
|
+
# The pagination token.
|
921
|
+
#
|
922
|
+
# @option params [Integer] :max_results
|
923
|
+
# The maximum page size.
|
924
|
+
#
|
925
|
+
# @option params [Array<String>] :item_class_filter
|
926
|
+
# A filter for the class of items in the catalog.
|
927
|
+
#
|
928
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
929
|
+
# filter, the values are joined with an `OR`, and the request returns
|
930
|
+
# all results that match any of the specified values.
|
931
|
+
#
|
932
|
+
# @option params [Array<String>] :supported_storage_filter
|
933
|
+
# A filter for the storage options of items in the catalog.
|
934
|
+
#
|
935
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
936
|
+
# filter, the values are joined with an `OR`, and the request returns
|
937
|
+
# all results that match any of the specified values.
|
938
|
+
#
|
939
|
+
# @option params [Array<String>] :ec2_family_filter
|
940
|
+
# A filter for EC2 family options for items in the catalog.
|
941
|
+
#
|
942
|
+
# Filter values are case sensitive. If you specify multiple values for a
|
943
|
+
# filter, the values are joined with an `OR`, and the request returns
|
944
|
+
# all results that match any of the specified values.
|
945
|
+
#
|
946
|
+
# @return [Types::ListCatalogItemsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
947
|
+
#
|
948
|
+
# * {Types::ListCatalogItemsOutput#catalog_items #catalog_items} => Array<Types::CatalogItem>
|
949
|
+
# * {Types::ListCatalogItemsOutput#next_token #next_token} => String
|
950
|
+
#
|
951
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
952
|
+
#
|
953
|
+
# @example Request syntax with placeholder values
|
954
|
+
#
|
955
|
+
# resp = client.list_catalog_items({
|
956
|
+
# next_token: "Token",
|
957
|
+
# max_results: 1,
|
958
|
+
# item_class_filter: ["RACK"], # accepts RACK, SERVER
|
959
|
+
# supported_storage_filter: ["EBS"], # accepts EBS, S3
|
960
|
+
# ec2_family_filter: ["Family"],
|
961
|
+
# })
|
962
|
+
#
|
963
|
+
# @example Response structure
|
964
|
+
#
|
965
|
+
# resp.catalog_items #=> Array
|
966
|
+
# resp.catalog_items[0].catalog_item_id #=> String
|
967
|
+
# resp.catalog_items[0].item_status #=> String, one of "AVAILABLE", "DISCONTINUED"
|
968
|
+
# resp.catalog_items[0].ec2_capacities #=> Array
|
969
|
+
# resp.catalog_items[0].ec2_capacities[0].family #=> String
|
970
|
+
# resp.catalog_items[0].ec2_capacities[0].max_size #=> String
|
971
|
+
# resp.catalog_items[0].ec2_capacities[0].quantity #=> String
|
972
|
+
# resp.catalog_items[0].power_kva #=> Float
|
973
|
+
# resp.catalog_items[0].weight_lbs #=> Integer
|
974
|
+
# resp.catalog_items[0].supported_uplink_gbps #=> Array
|
975
|
+
# resp.catalog_items[0].supported_uplink_gbps[0] #=> Integer
|
976
|
+
# resp.catalog_items[0].supported_storage #=> Array
|
977
|
+
# resp.catalog_items[0].supported_storage[0] #=> String, one of "EBS", "S3"
|
978
|
+
# resp.next_token #=> String
|
979
|
+
#
|
980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCatalogItems AWS API Documentation
|
981
|
+
#
|
982
|
+
# @overload list_catalog_items(params = {})
|
983
|
+
# @param [Hash] params ({})
|
984
|
+
def list_catalog_items(params = {}, options = {})
|
985
|
+
req = build_request(:list_catalog_items, params)
|
986
|
+
req.send_request(options)
|
987
|
+
end
|
988
|
+
|
989
|
+
# Create a list of the Outpost orders for your Amazon Web Services
|
990
|
+
# account. You can filter your request by Outpost to return a more
|
991
|
+
# specific list of results.
|
992
|
+
#
|
993
|
+
# @option params [String] :outpost_identifier_filter
|
994
|
+
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
995
|
+
#
|
996
|
+
# @option params [String] :next_token
|
997
|
+
# The pagination token.
|
998
|
+
#
|
999
|
+
# @option params [Integer] :max_results
|
1000
|
+
# The maximum page size.
|
1001
|
+
#
|
1002
|
+
# @return [Types::ListOrdersOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1003
|
+
#
|
1004
|
+
# * {Types::ListOrdersOutput#orders #orders} => Array<Types::OrderSummary>
|
1005
|
+
# * {Types::ListOrdersOutput#next_token #next_token} => String
|
1006
|
+
#
|
1007
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1008
|
+
#
|
1009
|
+
# @example Request syntax with placeholder values
|
1010
|
+
#
|
1011
|
+
# resp = client.list_orders({
|
1012
|
+
# outpost_identifier_filter: "OutpostIdentifier",
|
1013
|
+
# next_token: "Token",
|
1014
|
+
# max_results: 1,
|
1015
|
+
# })
|
1016
|
+
#
|
1017
|
+
# @example Response structure
|
1018
|
+
#
|
1019
|
+
# resp.orders #=> Array
|
1020
|
+
# resp.orders[0].outpost_id #=> String
|
1021
|
+
# resp.orders[0].order_id #=> String
|
1022
|
+
# resp.orders[0].order_type #=> String, one of "OUTPOST", "REPLACEMENT"
|
1023
|
+
# resp.orders[0].status #=> String, one of "RECEIVED", "PENDING", "PROCESSING", "INSTALLING", "FULFILLED", "CANCELLED", "PREPARING", "IN_PROGRESS", "COMPLETED", "ERROR"
|
1024
|
+
# resp.orders[0].line_item_counts_by_status #=> Hash
|
1025
|
+
# resp.orders[0].line_item_counts_by_status["LineItemStatus"] #=> Integer
|
1026
|
+
# resp.orders[0].order_submission_date #=> Time
|
1027
|
+
# resp.orders[0].order_fulfilled_date #=> Time
|
1028
|
+
# resp.next_token #=> String
|
1029
|
+
#
|
1030
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOrders AWS API Documentation
|
1031
|
+
#
|
1032
|
+
# @overload list_orders(params = {})
|
1033
|
+
# @param [Hash] params ({})
|
1034
|
+
def list_orders(params = {}, options = {})
|
1035
|
+
req = build_request(:list_orders, params)
|
1036
|
+
req.send_request(options)
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
# Create a list of the Outposts for your Amazon Web Services account.
|
1040
|
+
# Add filters to your request to return a more specific list of results.
|
1041
|
+
# Use filters to match an Outpost lifecycle status, Availability Zone
|
1042
|
+
# (`us-east-1a`), and AZ ID (`use1-az1`).
|
587
1043
|
#
|
588
1044
|
# If you specify multiple filters, the filters are joined with an `AND`,
|
589
1045
|
# and the request returns only results that match all of the specified
|
@@ -603,7 +1059,7 @@ module Aws::Outposts
|
|
603
1059
|
# all results that match any of the specified values.
|
604
1060
|
#
|
605
1061
|
# @option params [Array<String>] :availability_zone_filter
|
606
|
-
# A filter for the
|
1062
|
+
# A filter for the Availability Zone (`us-east-1a`) of the Outpost.
|
607
1063
|
#
|
608
1064
|
# Filter values are case sensitive. If you specify multiple values for a
|
609
1065
|
# filter, the values are joined with an `OR`, and the request returns
|
@@ -648,6 +1104,7 @@ module Aws::Outposts
|
|
648
1104
|
# resp.outposts[0].tags #=> Hash
|
649
1105
|
# resp.outposts[0].tags["TagKey"] #=> String
|
650
1106
|
# resp.outposts[0].site_arn #=> String
|
1107
|
+
# resp.outposts[0].supported_hardware_type #=> String, one of "RACK", "SERVER"
|
651
1108
|
# resp.next_token #=> String
|
652
1109
|
#
|
653
1110
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts AWS API Documentation
|
@@ -659,7 +1116,7 @@ module Aws::Outposts
|
|
659
1116
|
req.send_request(options)
|
660
1117
|
end
|
661
1118
|
|
662
|
-
# Lists the sites for
|
1119
|
+
# Lists the sites for your Amazon Web Services account.
|
663
1120
|
#
|
664
1121
|
# @option params [String] :next_token
|
665
1122
|
# The pagination token.
|
@@ -691,6 +1148,19 @@ module Aws::Outposts
|
|
691
1148
|
# resp.sites[0].tags #=> Hash
|
692
1149
|
# resp.sites[0].tags["TagKey"] #=> String
|
693
1150
|
# resp.sites[0].site_arn #=> String
|
1151
|
+
# resp.sites[0].notes #=> String
|
1152
|
+
# resp.sites[0].operating_address_country_code #=> String
|
1153
|
+
# resp.sites[0].operating_address_state_or_region #=> String
|
1154
|
+
# resp.sites[0].operating_address_city #=> String
|
1155
|
+
# resp.sites[0].rack_physical_properties.power_draw_kva #=> String, one of "POWER_5_KVA", "POWER_10_KVA", "POWER_15_KVA"
|
1156
|
+
# resp.sites[0].rack_physical_properties.power_phase #=> String, one of "SINGLE_PHASE", "THREE_PHASE"
|
1157
|
+
# resp.sites[0].rack_physical_properties.power_connector #=> String, one of "L6_30P", "IEC309", "AH530P7W", "AH532P6W"
|
1158
|
+
# resp.sites[0].rack_physical_properties.power_feed_drop #=> String, one of "ABOVE_RACK", "BELOW_RACK"
|
1159
|
+
# resp.sites[0].rack_physical_properties.uplink_gbps #=> String, one of "UPLINK_1G", "UPLINK_10G", "UPLINK_40G", "UPLINK_100G"
|
1160
|
+
# resp.sites[0].rack_physical_properties.uplink_count #=> String, one of "UPLINK_COUNT_1", "UPLINK_COUNT_2", "UPLINK_COUNT_3", "UPLINK_COUNT_4", "UPLINK_COUNT_5", "UPLINK_COUNT_6", "UPLINK_COUNT_7", "UPLINK_COUNT_8", "UPLINK_COUNT_12", "UPLINK_COUNT_16"
|
1161
|
+
# resp.sites[0].rack_physical_properties.fiber_optic_cable_type #=> String, one of "SINGLE_MODE", "MULTI_MODE"
|
1162
|
+
# resp.sites[0].rack_physical_properties.optical_standard #=> String, one of "OPTIC_10GBASE_SR", "OPTIC_10GBASE_IR", "OPTIC_10GBASE_LR", "OPTIC_40GBASE_SR", "OPTIC_40GBASE_ESR", "OPTIC_40GBASE_IR4_LR4L", "OPTIC_40GBASE_LR4", "OPTIC_100GBASE_SR4", "OPTIC_100GBASE_CWDM4", "OPTIC_100GBASE_LR4", "OPTIC_100G_PSM4_MSA", "OPTIC_1000BASE_LX", "OPTIC_1000BASE_SX"
|
1163
|
+
# resp.sites[0].rack_physical_properties.maximum_supported_weight_lbs #=> String, one of "NO_LIMIT", "MAX_1400_LBS", "MAX_1600_LBS", "MAX_1800_LBS", "MAX_2000_LBS"
|
694
1164
|
# resp.next_token #=> String
|
695
1165
|
#
|
696
1166
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites AWS API Documentation
|
@@ -785,6 +1255,344 @@ module Aws::Outposts
|
|
785
1255
|
req.send_request(options)
|
786
1256
|
end
|
787
1257
|
|
1258
|
+
# Updates an Outpost.
|
1259
|
+
#
|
1260
|
+
# @option params [required, String] :outpost_id
|
1261
|
+
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
1262
|
+
#
|
1263
|
+
# @option params [String] :name
|
1264
|
+
# The name of the Outpost.
|
1265
|
+
#
|
1266
|
+
# @option params [String] :description
|
1267
|
+
# The description of the Outpost.
|
1268
|
+
#
|
1269
|
+
# @option params [String] :supported_hardware_type
|
1270
|
+
# The type of hardware for this Outpost.
|
1271
|
+
#
|
1272
|
+
# @return [Types::UpdateOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1273
|
+
#
|
1274
|
+
# * {Types::UpdateOutpostOutput#outpost #outpost} => Types::Outpost
|
1275
|
+
#
|
1276
|
+
# @example Request syntax with placeholder values
|
1277
|
+
#
|
1278
|
+
# resp = client.update_outpost({
|
1279
|
+
# outpost_id: "OutpostId", # required
|
1280
|
+
# name: "OutpostName",
|
1281
|
+
# description: "OutpostDescription",
|
1282
|
+
# supported_hardware_type: "RACK", # accepts RACK, SERVER
|
1283
|
+
# })
|
1284
|
+
#
|
1285
|
+
# @example Response structure
|
1286
|
+
#
|
1287
|
+
# resp.outpost.outpost_id #=> String
|
1288
|
+
# resp.outpost.owner_id #=> String
|
1289
|
+
# resp.outpost.outpost_arn #=> String
|
1290
|
+
# resp.outpost.site_id #=> String
|
1291
|
+
# resp.outpost.name #=> String
|
1292
|
+
# resp.outpost.description #=> String
|
1293
|
+
# resp.outpost.life_cycle_status #=> String
|
1294
|
+
# resp.outpost.availability_zone #=> String
|
1295
|
+
# resp.outpost.availability_zone_id #=> String
|
1296
|
+
# resp.outpost.tags #=> Hash
|
1297
|
+
# resp.outpost.tags["TagKey"] #=> String
|
1298
|
+
# resp.outpost.site_arn #=> String
|
1299
|
+
# resp.outpost.supported_hardware_type #=> String, one of "RACK", "SERVER"
|
1300
|
+
#
|
1301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateOutpost AWS API Documentation
|
1302
|
+
#
|
1303
|
+
# @overload update_outpost(params = {})
|
1304
|
+
# @param [Hash] params ({})
|
1305
|
+
def update_outpost(params = {}, options = {})
|
1306
|
+
req = build_request(:update_outpost, params)
|
1307
|
+
req.send_request(options)
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
# Updates the site.
|
1311
|
+
#
|
1312
|
+
# @option params [required, String] :site_id
|
1313
|
+
# The ID or the Amazon Resource Name (ARN) of the site.
|
1314
|
+
#
|
1315
|
+
# @option params [String] :name
|
1316
|
+
# The name of the site.
|
1317
|
+
#
|
1318
|
+
# @option params [String] :description
|
1319
|
+
# The description of the site.
|
1320
|
+
#
|
1321
|
+
# @option params [String] :notes
|
1322
|
+
# Notes about a site.
|
1323
|
+
#
|
1324
|
+
# @return [Types::UpdateSiteOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1325
|
+
#
|
1326
|
+
# * {Types::UpdateSiteOutput#site #site} => Types::Site
|
1327
|
+
#
|
1328
|
+
# @example Request syntax with placeholder values
|
1329
|
+
#
|
1330
|
+
# resp = client.update_site({
|
1331
|
+
# site_id: "SiteId", # required
|
1332
|
+
# name: "SiteName",
|
1333
|
+
# description: "SiteDescription",
|
1334
|
+
# notes: "SiteNotes",
|
1335
|
+
# })
|
1336
|
+
#
|
1337
|
+
# @example Response structure
|
1338
|
+
#
|
1339
|
+
# resp.site.site_id #=> String
|
1340
|
+
# resp.site.account_id #=> String
|
1341
|
+
# resp.site.name #=> String
|
1342
|
+
# resp.site.description #=> String
|
1343
|
+
# resp.site.tags #=> Hash
|
1344
|
+
# resp.site.tags["TagKey"] #=> String
|
1345
|
+
# resp.site.site_arn #=> String
|
1346
|
+
# resp.site.notes #=> String
|
1347
|
+
# resp.site.operating_address_country_code #=> String
|
1348
|
+
# resp.site.operating_address_state_or_region #=> String
|
1349
|
+
# resp.site.operating_address_city #=> String
|
1350
|
+
# resp.site.rack_physical_properties.power_draw_kva #=> String, one of "POWER_5_KVA", "POWER_10_KVA", "POWER_15_KVA"
|
1351
|
+
# resp.site.rack_physical_properties.power_phase #=> String, one of "SINGLE_PHASE", "THREE_PHASE"
|
1352
|
+
# resp.site.rack_physical_properties.power_connector #=> String, one of "L6_30P", "IEC309", "AH530P7W", "AH532P6W"
|
1353
|
+
# resp.site.rack_physical_properties.power_feed_drop #=> String, one of "ABOVE_RACK", "BELOW_RACK"
|
1354
|
+
# resp.site.rack_physical_properties.uplink_gbps #=> String, one of "UPLINK_1G", "UPLINK_10G", "UPLINK_40G", "UPLINK_100G"
|
1355
|
+
# resp.site.rack_physical_properties.uplink_count #=> String, one of "UPLINK_COUNT_1", "UPLINK_COUNT_2", "UPLINK_COUNT_3", "UPLINK_COUNT_4", "UPLINK_COUNT_5", "UPLINK_COUNT_6", "UPLINK_COUNT_7", "UPLINK_COUNT_8", "UPLINK_COUNT_12", "UPLINK_COUNT_16"
|
1356
|
+
# resp.site.rack_physical_properties.fiber_optic_cable_type #=> String, one of "SINGLE_MODE", "MULTI_MODE"
|
1357
|
+
# resp.site.rack_physical_properties.optical_standard #=> String, one of "OPTIC_10GBASE_SR", "OPTIC_10GBASE_IR", "OPTIC_10GBASE_LR", "OPTIC_40GBASE_SR", "OPTIC_40GBASE_ESR", "OPTIC_40GBASE_IR4_LR4L", "OPTIC_40GBASE_LR4", "OPTIC_100GBASE_SR4", "OPTIC_100GBASE_CWDM4", "OPTIC_100GBASE_LR4", "OPTIC_100G_PSM4_MSA", "OPTIC_1000BASE_LX", "OPTIC_1000BASE_SX"
|
1358
|
+
# resp.site.rack_physical_properties.maximum_supported_weight_lbs #=> String, one of "NO_LIMIT", "MAX_1400_LBS", "MAX_1600_LBS", "MAX_1800_LBS", "MAX_2000_LBS"
|
1359
|
+
#
|
1360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateSite AWS API Documentation
|
1361
|
+
#
|
1362
|
+
# @overload update_site(params = {})
|
1363
|
+
# @param [Hash] params ({})
|
1364
|
+
def update_site(params = {}, options = {})
|
1365
|
+
req = build_request(:update_site, params)
|
1366
|
+
req.send_request(options)
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
# Updates the site address.
|
1370
|
+
#
|
1371
|
+
# To update a site address with an order `IN_PROGRESS`, you must wait
|
1372
|
+
# for the order to complete or cancel the order.
|
1373
|
+
#
|
1374
|
+
# You can update the operating address before you place an order at the
|
1375
|
+
# site, or after all Outposts that belong to the site have been
|
1376
|
+
# deactivated.
|
1377
|
+
#
|
1378
|
+
# @option params [required, String] :site_id
|
1379
|
+
# The ID or the Amazon Resource Name (ARN) of the site.
|
1380
|
+
#
|
1381
|
+
# @option params [required, String] :address_type
|
1382
|
+
# The type of the address.
|
1383
|
+
#
|
1384
|
+
# @option params [required, Types::Address] :address
|
1385
|
+
# The address for the site.
|
1386
|
+
#
|
1387
|
+
# @return [Types::UpdateSiteAddressOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1388
|
+
#
|
1389
|
+
# * {Types::UpdateSiteAddressOutput#address_type #address_type} => String
|
1390
|
+
# * {Types::UpdateSiteAddressOutput#address #address} => Types::Address
|
1391
|
+
#
|
1392
|
+
# @example Request syntax with placeholder values
|
1393
|
+
#
|
1394
|
+
# resp = client.update_site_address({
|
1395
|
+
# site_id: "SiteId", # required
|
1396
|
+
# address_type: "SHIPPING_ADDRESS", # required, accepts SHIPPING_ADDRESS, OPERATING_ADDRESS
|
1397
|
+
# address: { # required
|
1398
|
+
# contact_name: "ContactName",
|
1399
|
+
# contact_phone_number: "ContactPhoneNumber",
|
1400
|
+
# address_line_1: "AddressLine1", # required
|
1401
|
+
# address_line_2: "AddressLine2",
|
1402
|
+
# address_line_3: "AddressLine3",
|
1403
|
+
# city: "City", # required
|
1404
|
+
# state_or_region: "StateOrRegion", # required
|
1405
|
+
# district_or_county: "DistrictOrCounty",
|
1406
|
+
# postal_code: "PostalCode", # required
|
1407
|
+
# country_code: "CountryCode", # required
|
1408
|
+
# municipality: "Municipality",
|
1409
|
+
# },
|
1410
|
+
# })
|
1411
|
+
#
|
1412
|
+
# @example Response structure
|
1413
|
+
#
|
1414
|
+
# resp.address_type #=> String, one of "SHIPPING_ADDRESS", "OPERATING_ADDRESS"
|
1415
|
+
# resp.address.contact_name #=> String
|
1416
|
+
# resp.address.contact_phone_number #=> String
|
1417
|
+
# resp.address.address_line_1 #=> String
|
1418
|
+
# resp.address.address_line_2 #=> String
|
1419
|
+
# resp.address.address_line_3 #=> String
|
1420
|
+
# resp.address.city #=> String
|
1421
|
+
# resp.address.state_or_region #=> String
|
1422
|
+
# resp.address.district_or_county #=> String
|
1423
|
+
# resp.address.postal_code #=> String
|
1424
|
+
# resp.address.country_code #=> String
|
1425
|
+
# resp.address.municipality #=> String
|
1426
|
+
#
|
1427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateSiteAddress AWS API Documentation
|
1428
|
+
#
|
1429
|
+
# @overload update_site_address(params = {})
|
1430
|
+
# @param [Hash] params ({})
|
1431
|
+
def update_site_address(params = {}, options = {})
|
1432
|
+
req = build_request(:update_site_address, params)
|
1433
|
+
req.send_request(options)
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
# Update the physical and logistical details for a rack at a site. For
|
1437
|
+
# more information about hardware requirements for racks, see [Network
|
1438
|
+
# readiness checklist][1] in the Amazon Web Services Outposts User
|
1439
|
+
# Guide.
|
1440
|
+
#
|
1441
|
+
# To update a rack at a site with an order of `IN_PROGRESS`, you must
|
1442
|
+
# wait for the order to complete or cancel the order.
|
1443
|
+
#
|
1444
|
+
#
|
1445
|
+
#
|
1446
|
+
# [1]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-requirements.html#checklist
|
1447
|
+
#
|
1448
|
+
# @option params [required, String] :site_id
|
1449
|
+
# The ID or the Amazon Resource Name (ARN) of the site.
|
1450
|
+
#
|
1451
|
+
# @option params [String] :power_draw_kva
|
1452
|
+
# Specify in kVA the power draw available at the hardware placement
|
1453
|
+
# position for the rack.
|
1454
|
+
#
|
1455
|
+
# @option params [String] :power_phase
|
1456
|
+
# Specify the power option that you can provide for hardware.
|
1457
|
+
#
|
1458
|
+
# * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz
|
1459
|
+
#
|
1460
|
+
# * Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz
|
1461
|
+
#
|
1462
|
+
# @option params [String] :power_connector
|
1463
|
+
# Specify the power connector that Amazon Web Services should plan to
|
1464
|
+
# provide for connections to the hardware. Note the correlation between
|
1465
|
+
# `PowerPhase` and `PowerConnector`.
|
1466
|
+
#
|
1467
|
+
# * Single-phase AC feed
|
1468
|
+
#
|
1469
|
+
# * **L6-30P** – (common in US); 30A; single phase
|
1470
|
+
#
|
1471
|
+
# * **IEC309 (blue)** – P+N+E, 6hr; 32 A; single phase
|
1472
|
+
#
|
1473
|
+
# * Three-phase AC feed
|
1474
|
+
#
|
1475
|
+
# * **AH530P7W (red)** – 3P+N+E, 7hr; 30A; three phase
|
1476
|
+
#
|
1477
|
+
# * **AH532P6W (red)** – 3P+N+E, 6hr; 32A; three phase
|
1478
|
+
#
|
1479
|
+
# @option params [String] :power_feed_drop
|
1480
|
+
# Specify whether the power feed comes above or below the rack.
|
1481
|
+
#
|
1482
|
+
# @option params [String] :uplink_gbps
|
1483
|
+
# Specify the uplink speed the rack should support for the connection to
|
1484
|
+
# the Region.
|
1485
|
+
#
|
1486
|
+
# @option params [String] :uplink_count
|
1487
|
+
# Racks come with two Outpost network devices. Depending on the
|
1488
|
+
# supported uplink speed at the site, the Outpost network devices
|
1489
|
+
# provide a variable number of uplinks. Specify the number of uplinks
|
1490
|
+
# for each Outpost network device that you intend to use to connect the
|
1491
|
+
# rack to your network. Note the correlation between `UplinkGbps` and
|
1492
|
+
# `UplinkCount`.
|
1493
|
+
#
|
1494
|
+
# * 1Gbps - Uplinks available: 1, 2, 4, 6, 8
|
1495
|
+
#
|
1496
|
+
# * 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16
|
1497
|
+
#
|
1498
|
+
# * 40 and 100 Gbps- Uplinks available: 1, 2, 4
|
1499
|
+
#
|
1500
|
+
# @option params [String] :fiber_optic_cable_type
|
1501
|
+
# Specify the type of fiber that you will use to attach the Outpost to
|
1502
|
+
# your network.
|
1503
|
+
#
|
1504
|
+
# @option params [String] :optical_standard
|
1505
|
+
# Specify the type of optical standard that you will use to attach the
|
1506
|
+
# Outpost to your network. This field is dependent on uplink speed,
|
1507
|
+
# fiber type, and distance to the upstream device. For more information
|
1508
|
+
# about networking requirements for racks, see [Network][1] in the
|
1509
|
+
# Amazon Web Services Outposts User Guide.
|
1510
|
+
#
|
1511
|
+
# * `OPTIC_10GBASE_SR`\: 10GBASE-SR
|
1512
|
+
#
|
1513
|
+
# * `OPTIC_10GBASE_IR`\: 10GBASE-IR
|
1514
|
+
#
|
1515
|
+
# * `OPTIC_10GBASE_LR`\: 10GBASE-LR
|
1516
|
+
#
|
1517
|
+
# * `OPTIC_40GBASE_SR`\: 40GBASE-SR
|
1518
|
+
#
|
1519
|
+
# * `OPTIC_40GBASE_ESR`\: 40GBASE-ESR
|
1520
|
+
#
|
1521
|
+
# * `OPTIC_40GBASE_IR4_LR4L`\: 40GBASE-IR (LR4L)
|
1522
|
+
#
|
1523
|
+
# * `OPTIC_40GBASE_LR4`\: 40GBASE-LR4
|
1524
|
+
#
|
1525
|
+
# * `OPTIC_100GBASE_SR4`\: 100GBASE-SR4
|
1526
|
+
#
|
1527
|
+
# * `OPTIC_100GBASE_CWDM4`\: 100GBASE-CWDM4
|
1528
|
+
#
|
1529
|
+
# * `OPTIC_100GBASE_LR4`\: 100GBASE-LR4
|
1530
|
+
#
|
1531
|
+
# * `OPTIC_100G_PSM4_MSA`\: 100G PSM4 MSA
|
1532
|
+
#
|
1533
|
+
# * `OPTIC_1000BASE_LX`\: 1000Base-LX
|
1534
|
+
#
|
1535
|
+
# * `OPTIC_1000BASE_SX`\: 1000Base-SX
|
1536
|
+
#
|
1537
|
+
#
|
1538
|
+
#
|
1539
|
+
# [1]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-requirements.html#facility-networking
|
1540
|
+
#
|
1541
|
+
# @option params [String] :maximum_supported_weight_lbs
|
1542
|
+
# Specify the maximum rack weight that this site can support. `NO_LIMIT`
|
1543
|
+
# is over 2000lbs.
|
1544
|
+
#
|
1545
|
+
# @return [Types::UpdateSiteRackPhysicalPropertiesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1546
|
+
#
|
1547
|
+
# * {Types::UpdateSiteRackPhysicalPropertiesOutput#site #site} => Types::Site
|
1548
|
+
#
|
1549
|
+
# @example Request syntax with placeholder values
|
1550
|
+
#
|
1551
|
+
# resp = client.update_site_rack_physical_properties({
|
1552
|
+
# site_id: "SiteId", # required
|
1553
|
+
# power_draw_kva: "POWER_5_KVA", # accepts POWER_5_KVA, POWER_10_KVA, POWER_15_KVA
|
1554
|
+
# power_phase: "SINGLE_PHASE", # accepts SINGLE_PHASE, THREE_PHASE
|
1555
|
+
# power_connector: "L6_30P", # accepts L6_30P, IEC309, AH530P7W, AH532P6W
|
1556
|
+
# power_feed_drop: "ABOVE_RACK", # accepts ABOVE_RACK, BELOW_RACK
|
1557
|
+
# uplink_gbps: "UPLINK_1G", # accepts UPLINK_1G, UPLINK_10G, UPLINK_40G, UPLINK_100G
|
1558
|
+
# uplink_count: "UPLINK_COUNT_1", # accepts UPLINK_COUNT_1, UPLINK_COUNT_2, UPLINK_COUNT_3, UPLINK_COUNT_4, UPLINK_COUNT_5, UPLINK_COUNT_6, UPLINK_COUNT_7, UPLINK_COUNT_8, UPLINK_COUNT_12, UPLINK_COUNT_16
|
1559
|
+
# fiber_optic_cable_type: "SINGLE_MODE", # accepts SINGLE_MODE, MULTI_MODE
|
1560
|
+
# optical_standard: "OPTIC_10GBASE_SR", # accepts OPTIC_10GBASE_SR, OPTIC_10GBASE_IR, OPTIC_10GBASE_LR, OPTIC_40GBASE_SR, OPTIC_40GBASE_ESR, OPTIC_40GBASE_IR4_LR4L, OPTIC_40GBASE_LR4, OPTIC_100GBASE_SR4, OPTIC_100GBASE_CWDM4, OPTIC_100GBASE_LR4, OPTIC_100G_PSM4_MSA, OPTIC_1000BASE_LX, OPTIC_1000BASE_SX
|
1561
|
+
# maximum_supported_weight_lbs: "NO_LIMIT", # accepts NO_LIMIT, MAX_1400_LBS, MAX_1600_LBS, MAX_1800_LBS, MAX_2000_LBS
|
1562
|
+
# })
|
1563
|
+
#
|
1564
|
+
# @example Response structure
|
1565
|
+
#
|
1566
|
+
# resp.site.site_id #=> String
|
1567
|
+
# resp.site.account_id #=> String
|
1568
|
+
# resp.site.name #=> String
|
1569
|
+
# resp.site.description #=> String
|
1570
|
+
# resp.site.tags #=> Hash
|
1571
|
+
# resp.site.tags["TagKey"] #=> String
|
1572
|
+
# resp.site.site_arn #=> String
|
1573
|
+
# resp.site.notes #=> String
|
1574
|
+
# resp.site.operating_address_country_code #=> String
|
1575
|
+
# resp.site.operating_address_state_or_region #=> String
|
1576
|
+
# resp.site.operating_address_city #=> String
|
1577
|
+
# resp.site.rack_physical_properties.power_draw_kva #=> String, one of "POWER_5_KVA", "POWER_10_KVA", "POWER_15_KVA"
|
1578
|
+
# resp.site.rack_physical_properties.power_phase #=> String, one of "SINGLE_PHASE", "THREE_PHASE"
|
1579
|
+
# resp.site.rack_physical_properties.power_connector #=> String, one of "L6_30P", "IEC309", "AH530P7W", "AH532P6W"
|
1580
|
+
# resp.site.rack_physical_properties.power_feed_drop #=> String, one of "ABOVE_RACK", "BELOW_RACK"
|
1581
|
+
# resp.site.rack_physical_properties.uplink_gbps #=> String, one of "UPLINK_1G", "UPLINK_10G", "UPLINK_40G", "UPLINK_100G"
|
1582
|
+
# resp.site.rack_physical_properties.uplink_count #=> String, one of "UPLINK_COUNT_1", "UPLINK_COUNT_2", "UPLINK_COUNT_3", "UPLINK_COUNT_4", "UPLINK_COUNT_5", "UPLINK_COUNT_6", "UPLINK_COUNT_7", "UPLINK_COUNT_8", "UPLINK_COUNT_12", "UPLINK_COUNT_16"
|
1583
|
+
# resp.site.rack_physical_properties.fiber_optic_cable_type #=> String, one of "SINGLE_MODE", "MULTI_MODE"
|
1584
|
+
# resp.site.rack_physical_properties.optical_standard #=> String, one of "OPTIC_10GBASE_SR", "OPTIC_10GBASE_IR", "OPTIC_10GBASE_LR", "OPTIC_40GBASE_SR", "OPTIC_40GBASE_ESR", "OPTIC_40GBASE_IR4_LR4L", "OPTIC_40GBASE_LR4", "OPTIC_100GBASE_SR4", "OPTIC_100GBASE_CWDM4", "OPTIC_100GBASE_LR4", "OPTIC_100G_PSM4_MSA", "OPTIC_1000BASE_LX", "OPTIC_1000BASE_SX"
|
1585
|
+
# resp.site.rack_physical_properties.maximum_supported_weight_lbs #=> String, one of "NO_LIMIT", "MAX_1400_LBS", "MAX_1600_LBS", "MAX_1800_LBS", "MAX_2000_LBS"
|
1586
|
+
#
|
1587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateSiteRackPhysicalProperties AWS API Documentation
|
1588
|
+
#
|
1589
|
+
# @overload update_site_rack_physical_properties(params = {})
|
1590
|
+
# @param [Hash] params ({})
|
1591
|
+
def update_site_rack_physical_properties(params = {}, options = {})
|
1592
|
+
req = build_request(:update_site_rack_physical_properties, params)
|
1593
|
+
req.send_request(options)
|
1594
|
+
end
|
1595
|
+
|
788
1596
|
# @!endgroup
|
789
1597
|
|
790
1598
|
# @param params ({})
|
@@ -798,7 +1606,7 @@ module Aws::Outposts
|
|
798
1606
|
params: params,
|
799
1607
|
config: config)
|
800
1608
|
context[:gem_name] = 'aws-sdk-outposts'
|
801
|
-
context[:gem_version] = '1.
|
1609
|
+
context[:gem_version] = '1.27.0'
|
802
1610
|
Seahorse::Client::Request.new(handlers, context)
|
803
1611
|
end
|
804
1612
|
|