Outposts
public struct Outposts
Client object for interacting with AWS Outposts service.
AWS Outposts is a fully-managed service that extends AWS infrastructure, APIs, and tools to customer premises. By providing local access to AWS-managed infrastructure, AWS Outposts enables customers to build and run applications on premises using the same programming interfaces as in AWS Regions, while using local compute and storage resources for lower latency and local data processing needs.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the Outposts 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.
-
Creates an Outpost.
Declaration
Swift
public func createOutpost(_ input: CreateOutpostInput) -> EventLoopFuture<CreateOutpostOutput>
-
Deletes the Outpost.
Declaration
Swift
public func deleteOutpost(_ input: DeleteOutpostInput) -> EventLoopFuture<DeleteOutpostOutput>
-
Deletes the site.
Declaration
Swift
public func deleteSite(_ input: DeleteSiteInput) -> EventLoopFuture<DeleteSiteOutput>
-
Gets information about the specified Outpost.
Declaration
Swift
public func getOutpost(_ input: GetOutpostInput) -> EventLoopFuture<GetOutpostOutput>
-
Lists the instance types for the specified Outpost.
Declaration
Swift
public func getOutpostInstanceTypes(_ input: GetOutpostInstanceTypesInput) -> EventLoopFuture<GetOutpostInstanceTypesOutput>
-
List the Outposts for your AWS account.
Declaration
Swift
public func listOutposts(_ input: ListOutpostsInput) -> EventLoopFuture<ListOutpostsOutput>
-
Lists the sites for the specified AWS account.
Declaration
Swift
public func listSites(_ input: ListSitesInput) -> EventLoopFuture<ListSitesOutput>
-
List the Outposts for your AWS account.
Declaration
Swift
public func listOutpostsPaginator(_ input: ListOutpostsInput, onPage: @escaping (ListOutpostsOutput, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Lists the sites for the specified AWS account.
Declaration
Swift
public func listSitesPaginator(_ input: ListSitesInput, onPage: @escaping (ListSitesOutput, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct ListOutpostsInput : AWSShape
extension Outposts.ListOutpostsInput: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListSitesInput : AWSShape
extension Outposts.ListSitesInput: AWSPaginateStringToken