Class: Aws::ElasticInference::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ElasticInference::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb
Overview
An API client for ElasticInference. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::ElasticInference::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
-
#describe_accelerator_offerings(params = {}) ⇒ Types::DescribeAcceleratorOfferingsResponse
Describes the locations in which a given accelerator type or set of types is present in a given region.
-
#describe_accelerator_types(params = {}) ⇒ Types::DescribeAcceleratorTypesResponse
Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
-
#describe_accelerators(params = {}) ⇒ Types::DescribeAcceleratorsResponse
Describes information over a provided set of accelerators belonging to an account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResult
Returns all tags of an Elastic Inference Accelerator.
-
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to an Elastic Inference Accelerator.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from an Elastic Inference Accelerator.
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.
385 386 387 |
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb', line 385 def initialize(*args) super end |
Instance Method Details
#describe_accelerator_offerings(params = {}) ⇒ Types::DescribeAcceleratorOfferingsResponse
Describes the locations in which a given accelerator type or set of types is present in a given region.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
436 437 438 439 |
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb', line 436 def describe_accelerator_offerings(params = {}, = {}) req = build_request(:describe_accelerator_offerings, params) req.send_request() end |
#describe_accelerator_types(params = {}) ⇒ Types::DescribeAcceleratorTypesResponse
Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
470 471 472 473 |
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb', line 470 def describe_accelerator_types(params = {}, = {}) req = build_request(:describe_accelerator_types, params) req.send_request() end |
#describe_accelerators(params = {}) ⇒ Types::DescribeAcceleratorsResponse
Describes information over a provided set of accelerators belonging to an account.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
543 544 545 546 |
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb', line 543 def describe_accelerators(params = {}, = {}) req = build_request(:describe_accelerators, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResult
Returns all tags of an Elastic Inference Accelerator.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
581 582 583 584 |
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb', line 581 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to an Elastic Inference Accelerator.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
618 619 620 621 |
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb', line 618 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from an Elastic Inference Accelerator.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
653 654 655 656 |
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb', line 653 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |