ElasticInference
public struct ElasticInference
Client object for interacting with AWS ElasticInference service.
Elastic Inference public APIs.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the ElasticInference client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)
Parameters
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if the client shall manage its own EventLoopGroup.
-
Describes the locations in which a given accelerator type or set of types is present in a given region.
Declaration
Swift
public func describeAcceleratorOfferings(_ input: DescribeAcceleratorOfferingsRequest) -> EventLoopFuture<DescribeAcceleratorOfferingsResponse>
-
Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.
Declaration
Swift
public func describeAcceleratorTypes(_ input: DescribeAcceleratorTypesRequest) -> EventLoopFuture<DescribeAcceleratorTypesResponse>
-
Describes information over a provided set of accelerators belonging to an account.
Declaration
Swift
public func describeAccelerators(_ input: DescribeAcceleratorsRequest) -> EventLoopFuture<DescribeAcceleratorsResponse>
-
Returns all tags of an Elastic Inference Accelerator.
Declaration
Swift
public func listTagsForResource(_ input: ListTagsForResourceRequest) -> EventLoopFuture<ListTagsForResourceResult>
-
Adds the specified tags to an Elastic Inference Accelerator.
Declaration
Swift
public func tagResource(_ input: TagResourceRequest) -> EventLoopFuture<TagResourceResult>
-
Removes the specified tags from an Elastic Inference Accelerator.
Declaration
Swift
public func untagResource(_ input: UntagResourceRequest) -> EventLoopFuture<UntagResourceResult>
-
Describes information over a provided set of accelerators belonging to an account.
Declaration
Swift
public func describeAcceleratorsPaginator(_ input: DescribeAcceleratorsRequest, onPage: @escaping (DescribeAcceleratorsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct DescribeAcceleratorsRequest : AWSShape
extension ElasticInference.DescribeAcceleratorsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum LocationType : String, CustomStringConvertible, Codable