Class: Aws::Outposts::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Outposts::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb
Overview
An API client for Outposts. To construct a client, you need to configure a :region and :credentials.
client = Aws::Outposts::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#cancel_capacity_task(params = {}) ⇒ Struct
Cancels the capacity task.
-
#cancel_order(params = {}) ⇒ Struct
Cancels the specified order for an Outpost.
-
#create_order(params = {}) ⇒ Types::CreateOrderOutput
Creates an order for an Outpost.
-
#create_outpost(params = {}) ⇒ Types::CreateOutpostOutput
Creates an Outpost.
-
#create_renewal(params = {}) ⇒ Types::CreateRenewalOutput
Creates a renewal contract for the specified Outpost.
-
#create_site(params = {}) ⇒ Types::CreateSiteOutput
Creates a site for an Outpost.
-
#delete_outpost(params = {}) ⇒ Struct
Deletes the specified Outpost.
-
#delete_site(params = {}) ⇒ Struct
Deletes the specified site.
-
#get_capacity_task(params = {}) ⇒ Types::GetCapacityTaskOutput
Gets details of the specified capacity task.
-
#get_catalog_item(params = {}) ⇒ Types::GetCatalogItemOutput
Gets information about the specified catalog item.
-
#get_connection(params = {}) ⇒ Types::GetConnectionResponse
Amazon Web Services uses this action to install Outpost servers. -
#get_order(params = {}) ⇒ Types::GetOrderOutput
Gets information about the specified order.
-
#get_outpost(params = {}) ⇒ Types::GetOutpostOutput
Gets information about the specified Outpost.
-
#get_outpost_billing_information(params = {}) ⇒ Types::GetOutpostBillingInformationOutput
Gets current and historical billing information about the specified Outpost.
-
#get_outpost_instance_types(params = {}) ⇒ Types::GetOutpostInstanceTypesOutput
Gets the instance types for the specified Outpost.
-
#get_outpost_supported_instance_types(params = {}) ⇒ Types::GetOutpostSupportedInstanceTypesOutput
Gets the instance types that an Outpost can support in
InstanceTypeCapacity. -
#get_renewal_pricing(params = {}) ⇒ Types::GetRenewalPricingOutput
Gets all available renewal pricing options for the specified Outpost.
-
#get_site(params = {}) ⇒ Types::GetSiteOutput
Gets information about the specified Outpost site.
-
#get_site_address(params = {}) ⇒ Types::GetSiteAddressOutput
Gets the site address of the specified site.
-
#list_asset_instances(params = {}) ⇒ Types::ListAssetInstancesOutput
A list of Amazon EC2 instances, belonging to all accounts, running on the specified Outpost.
-
#list_assets(params = {}) ⇒ Types::ListAssetsOutput
Lists the hardware assets for the specified Outpost.
-
#list_blocking_instances_for_capacity_task(params = {}) ⇒ Types::ListBlockingInstancesForCapacityTaskOutput
A list of Amazon EC2 instances running on the Outpost and belonging to the account that initiated the capacity task.
-
#list_capacity_tasks(params = {}) ⇒ Types::ListCapacityTasksOutput
Lists the capacity tasks for your Amazon Web Services account.
-
#list_catalog_items(params = {}) ⇒ Types::ListCatalogItemsOutput
Lists the items in the catalog.
-
#list_orders(params = {}) ⇒ Types::ListOrdersOutput
Lists the Outpost orders for your Amazon Web Services account.
-
#list_outposts(params = {}) ⇒ Types::ListOutpostsOutput
Lists the Outposts for your Amazon Web Services account.
-
#list_sites(params = {}) ⇒ Types::ListSitesOutput
Lists the Outpost sites for your Amazon Web Services account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
-
#start_capacity_task(params = {}) ⇒ Types::StartCapacityTaskOutput
Starts the specified capacity task.
-
#start_connection(params = {}) ⇒ Types::StartConnectionResponse
Amazon Web Services uses this action to install Outpost servers. -
#start_outpost_decommission(params = {}) ⇒ Types::StartOutpostDecommissionOutput
Starts the decommission process to return the Outposts racks or servers.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified resource.
-
#update_outpost(params = {}) ⇒ Types::UpdateOutpostOutput
Updates an Outpost.
-
#update_site(params = {}) ⇒ Types::UpdateSiteOutput
Updates the specified site.
-
#update_site_address(params = {}) ⇒ Types::UpdateSiteAddressOutput
Updates the address of the specified site.
-
#update_site_rack_physical_properties(params = {}) ⇒ Types::UpdateSiteRackPhysicalPropertiesOutput
Update the physical and logistical details for a rack at a site.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
473 474 475 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 473 def initialize(*args) super end |
Instance Method Details
#cancel_capacity_task(params = {}) ⇒ Struct
Cancels the capacity task.
501 502 503 504 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 501 def cancel_capacity_task(params = {}, = {}) req = build_request(:cancel_capacity_task, params) req.send_request() end |
#cancel_order(params = {}) ⇒ Struct
Cancels the specified order for an Outpost.
523 524 525 526 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 523 def cancel_order(params = {}, = {}) req = build_request(:cancel_order, params) req.send_request() end |
#create_order(params = {}) ⇒ Types::CreateOrderOutput
Creates an order for an Outpost.
588 589 590 591 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 588 def create_order(params = {}, = {}) req = build_request(:create_order, params) req.send_request() end |
#create_outpost(params = {}) ⇒ Types::CreateOutpostOutput
Creates an Outpost.
You can specify either an Availability one or an AZ ID.
656 657 658 659 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 656 def create_outpost(params = {}, = {}) req = build_request(:create_outpost, params) req.send_request() end |
#create_renewal(params = {}) ⇒ Types::CreateRenewalOutput
Creates a renewal contract for the specified Outpost.
708 709 710 711 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 708 def create_renewal(params = {}, = {}) req = build_request(:create_renewal, params) req.send_request() end |
#create_site(params = {}) ⇒ Types::CreateSiteOutput
Creates a site for an Outpost.
827 828 829 830 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 827 def create_site(params = {}, = {}) req = build_request(:create_site, params) req.send_request() end |
#delete_outpost(params = {}) ⇒ Struct
Deletes the specified Outpost.
849 850 851 852 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 849 def delete_outpost(params = {}, = {}) req = build_request(:delete_outpost, params) req.send_request() end |
#delete_site(params = {}) ⇒ Struct
Deletes the specified site.
871 872 873 874 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 871 def delete_site(params = {}, = {}) req = build_request(:delete_site, params) req.send_request() end |
#get_capacity_task(params = {}) ⇒ Types::GetCapacityTaskOutput
Gets details of the specified capacity task.
935 936 937 938 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 935 def get_capacity_task(params = {}, = {}) req = build_request(:get_capacity_task, params) req.send_request() end |
#get_catalog_item(params = {}) ⇒ Types::GetCatalogItemOutput
Gets information about the specified catalog item.
974 975 976 977 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 974 def get_catalog_item(params = {}, = {}) req = build_request(:get_catalog_item, params) req.send_request() end |
#get_connection(params = {}) ⇒ Types::GetConnectionResponse
Gets information about the specified connection.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
1026 1027 1028 1029 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1026 def get_connection(params = {}, = {}) req = build_request(:get_connection, params) req.send_request() end |
#get_order(params = {}) ⇒ Types::GetOrderOutput
Gets information about the specified order.
1074 1075 1076 1077 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1074 def get_order(params = {}, = {}) req = build_request(:get_order, params) req.send_request() end |
#get_outpost(params = {}) ⇒ Types::GetOutpostOutput
Gets information about the specified Outpost.
1114 1115 1116 1117 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1114 def get_outpost(params = {}, = {}) req = build_request(:get_outpost, params) req.send_request() end |
#get_outpost_billing_information(params = {}) ⇒ Types::GetOutpostBillingInformationOutput
Gets current and historical billing information about the specified Outpost.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1170 1171 1172 1173 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1170 def get_outpost_billing_information(params = {}, = {}) req = build_request(:get_outpost_billing_information, params) req.send_request() end |
#get_outpost_instance_types(params = {}) ⇒ Types::GetOutpostInstanceTypesOutput
Gets the instance types for the specified Outpost.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1216 1217 1218 1219 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1216 def get_outpost_instance_types(params = {}, = {}) req = build_request(:get_outpost_instance_types, params) req.send_request() end |
#get_outpost_supported_instance_types(params = {}) ⇒ Types::GetOutpostSupportedInstanceTypesOutput
Gets the instance types that an Outpost can support in
InstanceTypeCapacity. This will generally include instance types
that are not currently configured and therefore cannot be launched
with the current Outpost capacity configuration.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1270 1271 1272 1273 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1270 def get_outpost_supported_instance_types(params = {}, = {}) req = build_request(:get_outpost_supported_instance_types, params) req.send_request() end |
#get_renewal_pricing(params = {}) ⇒ Types::GetRenewalPricingOutput
Gets all available renewal pricing options for the specified Outpost.
1305 1306 1307 1308 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1305 def get_renewal_pricing(params = {}, = {}) req = build_request(:get_renewal_pricing, params) req.send_request() end |
#get_site(params = {}) ⇒ Types::GetSiteOutput
Gets information about the specified Outpost site.
1352 1353 1354 1355 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1352 def get_site(params = {}, = {}) req = build_request(:get_site, params) req.send_request() end |
#get_site_address(params = {}) ⇒ Types::GetSiteAddressOutput
Gets the site address of the specified site.
1398 1399 1400 1401 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1398 def get_site_address(params = {}, = {}) req = build_request(:get_site_address, params) req.send_request() end |
#list_asset_instances(params = {}) ⇒ Types::ListAssetInstancesOutput
A list of Amazon EC2 instances, belonging to all accounts, running on the specified Outpost. Does not include Amazon EBS or Amazon S3 instances.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1461 1462 1463 1464 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1461 def list_asset_instances(params = {}, = {}) req = build_request(:list_asset_instances, params) req.send_request() end |
#list_assets(params = {}) ⇒ Types::ListAssetsOutput
Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1542 1543 1544 1545 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1542 def list_assets(params = {}, = {}) req = build_request(:list_assets, params) req.send_request() end |
#list_blocking_instances_for_capacity_task(params = {}) ⇒ Types::ListBlockingInstancesForCapacityTaskOutput
A list of Amazon EC2 instances running on the Outpost and belonging to the account that initiated the capacity task. Use this list to specify the instances you cannot stop to free up capacity to run the capacity task.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1593 1594 1595 1596 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1593 def list_blocking_instances_for_capacity_task(params = {}, = {}) req = build_request(:list_blocking_instances_for_capacity_task, params) req.send_request() end |
#list_capacity_tasks(params = {}) ⇒ Types::ListCapacityTasksOutput
Lists the capacity tasks for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1652 1653 1654 1655 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1652 def list_capacity_tasks(params = {}, = {}) req = build_request(:list_capacity_tasks, params) req.send_request() end |
#list_catalog_items(params = {}) ⇒ Types::ListCatalogItemsOutput
Lists the items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1718 1719 1720 1721 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1718 def list_catalog_items(params = {}, = {}) req = build_request(:list_catalog_items, params) req.send_request() end |
#list_orders(params = {}) ⇒ Types::ListOrdersOutput
Lists the Outpost orders for your Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1766 1767 1768 1769 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1766 def list_orders(params = {}, = {}) req = build_request(:list_orders, params) req.send_request() end |
#list_outposts(params = {}) ⇒ Types::ListOutpostsOutput
Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1833 1834 1835 1836 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1833 def list_outposts(params = {}, = {}) req = build_request(:list_outposts, params) req.send_request() end |
#list_sites(params = {}) ⇒ Types::ListSitesOutput
Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1908 1909 1910 1911 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1908 def list_sites(params = {}, = {}) req = build_request(:list_sites, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
1937 1938 1939 1940 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 1937 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#start_capacity_task(params = {}) ⇒ Types::StartCapacityTaskOutput
Starts the specified capacity task. You can have one active capacity task for each order and each Outpost.
2044 2045 2046 2047 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 2044 def start_capacity_task(params = {}, = {}) req = build_request(:start_capacity_task, params) req.send_request() end |
#start_connection(params = {}) ⇒ Types::StartConnectionResponse
Starts the connection required for Outpost server installation.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
2102 2103 2104 2105 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 2102 def start_connection(params = {}, = {}) req = build_request(:start_connection, params) req.send_request() end |
#start_outpost_decommission(params = {}) ⇒ Types::StartOutpostDecommissionOutput
Starts the decommission process to return the Outposts racks or servers.
2138 2139 2140 2141 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 2138 def start_outpost_decommission(params = {}, = {}) req = build_request(:start_outpost_decommission, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to the specified resource.
2166 2167 2168 2169 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 2166 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified resource.
2192 2193 2194 2195 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 2192 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_outpost(params = {}) ⇒ Types::UpdateOutpostOutput
Updates an Outpost.
2244 2245 2246 2247 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 2244 def update_outpost(params = {}, = {}) req = build_request(:update_outpost, params) req.send_request() end |
#update_site(params = {}) ⇒ Types::UpdateSiteOutput
Updates the specified site.
2303 2304 2305 2306 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 2303 def update_site(params = {}, = {}) req = build_request(:update_site, params) req.send_request() end |
#update_site_address(params = {}) ⇒ Types::UpdateSiteAddressOutput
Updates the address of the specified site.
You can't update a site address if there is an order in progress. You must wait for the order to complete or cancel the order.
You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.
2370 2371 2372 2373 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 2370 def update_site_address(params = {}, = {}) req = build_request(:update_site_address, params) req.send_request() end |
#update_site_rack_physical_properties(params = {}) ⇒ Types::UpdateSiteRackPhysicalPropertiesOutput
Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.
To update a rack at a site with an order of IN_PROGRESS, you must
wait for the order to complete or cancel the order.
2531 2532 2533 2534 |
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb', line 2531 def update_site_rack_physical_properties(params = {}, = {}) req = build_request(:update_site_rack_physical_properties, params) req.send_request() end |