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
accessKeyIdPublic access key provided by AWS
secretAccessKeyPrivate access key provided by AWS
sessionTokenToken provided by STS.AssumeRole() which allows access to another AWS account
regionRegion of server you want to communicate with
endpointCustom endpoint URL to use instead of standard AWS servers
middlewaresArray of middlewares to apply to requests and responses
eventLoopGroupProviderEventLoopGroup to use. Use
useAWSClientSharedif 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 : AWSShapeextension ElasticInference.DescribeAcceleratorsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum LocationType : String, CustomStringConvertible, Codable
View on GitHub
ElasticInference Structure Reference