WorkLink
public struct WorkLink
Client object for interacting with AWS WorkLink service.
Amazon WorkLink is a cloud-based service that provides secure access to internal websites and web apps from iOS and Android phones. In a single step, your users, such as employees, can access internal websites as efficiently as they access any other public website. They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink authenticates the user’s access and securely renders authorized internal web content in a secure rendering service in the AWS cloud. Amazon WorkLink doesn’t download or store any internal web content on mobile devices.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the WorkLink 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.
-
Specifies a domain to be associated to Amazon WorkLink.
Declaration
Swift
public func associateDomain(_ input: AssociateDomainRequest) -> EventLoopFuture<AssociateDomainResponse>
-
Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.
Declaration
Swift
public func associateWebsiteAuthorizationProvider(_ input: AssociateWebsiteAuthorizationProviderRequest) -> EventLoopFuture<AssociateWebsiteAuthorizationProviderResponse>
-
Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.
Declaration
Swift
public func associateWebsiteCertificateAuthority(_ input: AssociateWebsiteCertificateAuthorityRequest) -> EventLoopFuture<AssociateWebsiteCertificateAuthorityResponse>
-
Creates a fleet. A fleet consists of resources and the configuration that delivers associated websites to authorized users who download and set up the Amazon WorkLink app.
Declaration
Swift
public func createFleet(_ input: CreateFleetRequest) -> EventLoopFuture<CreateFleetResponse>
-
Deletes a fleet. Prevents users from accessing previously associated websites.
Declaration
Swift
public func deleteFleet(_ input: DeleteFleetRequest) -> EventLoopFuture<DeleteFleetResponse>
-
Describes the configuration for delivering audit streams to the customer account.
Declaration
Swift
public func describeAuditStreamConfiguration(_ input: DescribeAuditStreamConfigurationRequest) -> EventLoopFuture<DescribeAuditStreamConfigurationResponse>
-
Describes the networking configuration to access the internal websites associated with the specified fleet.
Declaration
Swift
public func describeCompanyNetworkConfiguration(_ input: DescribeCompanyNetworkConfigurationRequest) -> EventLoopFuture<DescribeCompanyNetworkConfigurationResponse>
-
Provides information about a user’s device.
Declaration
Swift
public func describeDevice(_ input: DescribeDeviceRequest) -> EventLoopFuture<DescribeDeviceResponse>
-
Describes the device policy configuration for the specified fleet.
Declaration
Swift
public func describeDevicePolicyConfiguration(_ input: DescribeDevicePolicyConfigurationRequest) -> EventLoopFuture<DescribeDevicePolicyConfigurationResponse>
-
Provides information about the domain.
Declaration
Swift
public func describeDomain(_ input: DescribeDomainRequest) -> EventLoopFuture<DescribeDomainResponse>
-
Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.
Declaration
Swift
public func describeFleetMetadata(_ input: DescribeFleetMetadataRequest) -> EventLoopFuture<DescribeFleetMetadataResponse>
-
Describes the identity provider configuration of the specified fleet.
Declaration
Swift
public func describeIdentityProviderConfiguration(_ input: DescribeIdentityProviderConfigurationRequest) -> EventLoopFuture<DescribeIdentityProviderConfigurationResponse>
-
Provides information about the certificate authority.
Declaration
Swift
public func describeWebsiteCertificateAuthority(_ input: DescribeWebsiteCertificateAuthorityRequest) -> EventLoopFuture<DescribeWebsiteCertificateAuthorityResponse>
-
Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.
Declaration
Swift
public func disassociateDomain(_ input: DisassociateDomainRequest) -> EventLoopFuture<DisassociateDomainResponse>
-
Disassociates a website authorization provider from a specified fleet. After the disassociation, users can’t load any associated websites that require this authorization provider.
Declaration
Swift
public func disassociateWebsiteAuthorizationProvider(_ input: DisassociateWebsiteAuthorizationProviderRequest) -> EventLoopFuture<DisassociateWebsiteAuthorizationProviderResponse>
-
Removes a certificate authority (CA).
Declaration
Swift
public func disassociateWebsiteCertificateAuthority(_ input: DisassociateWebsiteCertificateAuthorityRequest) -> EventLoopFuture<DisassociateWebsiteCertificateAuthorityResponse>
-
Retrieves a list of devices registered with the specified fleet.
Declaration
Swift
public func listDevices(_ input: ListDevicesRequest) -> EventLoopFuture<ListDevicesResponse>
-
Retrieves a list of domains associated to a specified fleet.
Declaration
Swift
public func listDomains(_ input: ListDomainsRequest) -> EventLoopFuture<ListDomainsResponse>
-
Retrieves a list of fleets for the current account and Region.
Declaration
Swift
public func listFleets(_ input: ListFleetsRequest) -> EventLoopFuture<ListFleetsResponse>
-
Retrieves a list of tags for the specified resource.
Declaration
Swift
public func listTagsForResource(_ input: ListTagsForResourceRequest) -> EventLoopFuture<ListTagsForResourceResponse>
-
Retrieves a list of website authorization providers associated with a specified fleet.
Declaration
Swift
public func listWebsiteAuthorizationProviders(_ input: ListWebsiteAuthorizationProvidersRequest) -> EventLoopFuture<ListWebsiteAuthorizationProvidersResponse>
-
Retrieves a list of certificate authorities added for the current account and Region.
Declaration
Swift
public func listWebsiteCertificateAuthorities(_ input: ListWebsiteCertificateAuthoritiesRequest) -> EventLoopFuture<ListWebsiteCertificateAuthoritiesResponse>
-
Moves a domain to ACTIVE status if it was in the INACTIVE status.
Declaration
Swift
public func restoreDomainAccess(_ input: RestoreDomainAccessRequest) -> EventLoopFuture<RestoreDomainAccessResponse>
-
Moves a domain to INACTIVE status if it was in the ACTIVE status.
Declaration
Swift
public func revokeDomainAccess(_ input: RevokeDomainAccessRequest) -> EventLoopFuture<RevokeDomainAccessResponse>
-
Signs the user out from all of their devices. The user can sign in again if they have valid credentials.
Declaration
Swift
public func signOutUser(_ input: SignOutUserRequest) -> EventLoopFuture<SignOutUserResponse>
-
Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.
Declaration
Swift
public func tagResource(_ input: TagResourceRequest) -> EventLoopFuture<TagResourceResponse>
-
Removes one or more tags from the specified resource.
Declaration
Swift
public func untagResource(_ input: UntagResourceRequest) -> EventLoopFuture<UntagResourceResponse>
-
Updates the audit stream configuration for the fleet.
Declaration
Swift
public func updateAuditStreamConfiguration(_ input: UpdateAuditStreamConfigurationRequest) -> EventLoopFuture<UpdateAuditStreamConfigurationResponse>
-
Updates the company network configuration for the fleet.
Declaration
Swift
public func updateCompanyNetworkConfiguration(_ input: UpdateCompanyNetworkConfigurationRequest) -> EventLoopFuture<UpdateCompanyNetworkConfigurationResponse>
-
Updates the device policy configuration for the fleet.
Declaration
Swift
public func updateDevicePolicyConfiguration(_ input: UpdateDevicePolicyConfigurationRequest) -> EventLoopFuture<UpdateDevicePolicyConfigurationResponse>
-
Updates domain metadata, such as DisplayName.
Declaration
Swift
public func updateDomainMetadata(_ input: UpdateDomainMetadataRequest) -> EventLoopFuture<UpdateDomainMetadataResponse>
-
Updates fleet metadata, such as DisplayName.
Declaration
Swift
public func updateFleetMetadata(_ input: UpdateFleetMetadataRequest) -> EventLoopFuture<UpdateFleetMetadataResponse>
-
Updates the identity provider configuration for the fleet.
Declaration
Swift
public func updateIdentityProviderConfiguration(_ input: UpdateIdentityProviderConfigurationRequest) -> EventLoopFuture<UpdateIdentityProviderConfigurationResponse>
-
Retrieves a list of devices registered with the specified fleet.
Declaration
Swift
public func listDevicesPaginator(_ input: ListDevicesRequest, onPage: @escaping (ListDevicesResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves a list of domains associated to a specified fleet.
Declaration
Swift
public func listDomainsPaginator(_ input: ListDomainsRequest, onPage: @escaping (ListDomainsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves a list of fleets for the current account and Region.
Declaration
Swift
public func listFleetsPaginator(_ input: ListFleetsRequest, onPage: @escaping (ListFleetsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves a list of website authorization providers associated with a specified fleet.
Declaration
Swift
public func listWebsiteAuthorizationProvidersPaginator(_ input: ListWebsiteAuthorizationProvidersRequest, onPage: @escaping (ListWebsiteAuthorizationProvidersResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Retrieves a list of certificate authorities added for the current account and Region.
Declaration
Swift
public func listWebsiteCertificateAuthoritiesPaginator(_ input: ListWebsiteCertificateAuthoritiesRequest, onPage: @escaping (ListWebsiteCertificateAuthoritiesResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct ListDevicesRequest : AWSShape
extension WorkLink.ListDevicesRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListDomainsRequest : AWSShape
extension WorkLink.ListDomainsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListFleetsRequest : AWSShape
extension WorkLink.ListFleetsRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListWebsiteAuthorizationProvidersRequest : AWSShape
extension WorkLink.ListWebsiteAuthorizationProvidersRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct ListWebsiteCertificateAuthoritiesRequest : AWSShape
extension WorkLink.ListWebsiteCertificateAuthoritiesRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum AuthorizationProviderType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum DeviceStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum DomainStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum FleetStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum IdentityProviderType : String, CustomStringConvertible, Codable