...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/github.com/aws/aws-sdk-go/service/worklink"
Overview
Constants

Overview ▾

Package worklink provides the client and types for making API requests to Amazon WorkLink.

Amazon WorkLink is a cloud-based service that provides secure access to internal websites and web apps from iOS 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.

See https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25 for more information on this service.

See worklink package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/worklink/

Using the Client

To contact Amazon WorkLink with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon WorkLink client WorkLink for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/worklink/#New

The stub package, worklinkiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Operations ▾

func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkLink
    AssociateDomain
    AssociateDomainRequest
    AssociateDomainWithContext
    AssociateWebsiteAuthorizationProvider
    AssociateWebsiteAuthorizationProviderRequest
    AssociateWebsiteAuthorizationProviderWithContext
    AssociateWebsiteCertificateAuthority
    AssociateWebsiteCertificateAuthorityRequest
    AssociateWebsiteCertificateAuthorityWithContext
    CreateFleet
    CreateFleetRequest
    CreateFleetWithContext
    DeleteFleet
    DeleteFleetRequest
    DeleteFleetWithContext
    DescribeAuditStreamConfiguration
    DescribeAuditStreamConfigurationRequest
    DescribeAuditStreamConfigurationWithContext
    DescribeCompanyNetworkConfiguration
    DescribeCompanyNetworkConfigurationRequest
    DescribeCompanyNetworkConfigurationWithContext
    DescribeDevice
    DescribeDevicePolicyConfiguration
    DescribeDevicePolicyConfigurationRequest
    DescribeDevicePolicyConfigurationWithContext
    DescribeDeviceRequest
    DescribeDeviceWithContext
    DescribeDomain
    DescribeDomainRequest
    DescribeDomainWithContext
    DescribeFleetMetadata
    DescribeFleetMetadataRequest
    DescribeFleetMetadataWithContext
    DescribeIdentityProviderConfiguration
    DescribeIdentityProviderConfigurationRequest
    DescribeIdentityProviderConfigurationWithContext
    DescribeWebsiteCertificateAuthority
    DescribeWebsiteCertificateAuthorityRequest
    DescribeWebsiteCertificateAuthorityWithContext
    DisassociateDomain
    DisassociateDomainRequest
    DisassociateDomainWithContext
    DisassociateWebsiteAuthorizationProvider
    DisassociateWebsiteAuthorizationProviderRequest
    DisassociateWebsiteAuthorizationProviderWithContext
    DisassociateWebsiteCertificateAuthority
    DisassociateWebsiteCertificateAuthorityRequest
    DisassociateWebsiteCertificateAuthorityWithContext
    ListDevices
    ListDevicesPagesWithContext
    ListDevicesRequest
    ListDevicesWithContext
    ListDomains
    ListDomainsPagesWithContext
    ListDomainsRequest
    ListDomainsWithContext
    ListFleets
    ListFleetsPagesWithContext
    ListFleetsRequest
    ListFleetsWithContext
    ListWebsiteAuthorizationProviders
    ListWebsiteAuthorizationProvidersPagesWithContext
    ListWebsiteAuthorizationProvidersRequest
    ListWebsiteAuthorizationProvidersWithContext
    ListWebsiteCertificateAuthorities
    ListWebsiteCertificateAuthoritiesPagesWithContext
    ListWebsiteCertificateAuthoritiesRequest
    ListWebsiteCertificateAuthoritiesWithContext
    RestoreDomainAccess
    RestoreDomainAccessRequest
    RestoreDomainAccessWithContext
    RevokeDomainAccess
    RevokeDomainAccessRequest
    RevokeDomainAccessWithContext
    SignOutUser
    SignOutUserRequest
    SignOutUserWithContext
    UpdateAuditStreamConfiguration
    UpdateAuditStreamConfigurationRequest
    UpdateAuditStreamConfigurationWithContext
    UpdateCompanyNetworkConfiguration
    UpdateCompanyNetworkConfigurationRequest
    UpdateCompanyNetworkConfigurationWithContext
    UpdateDevicePolicyConfiguration
    UpdateDevicePolicyConfigurationRequest
    UpdateDevicePolicyConfigurationWithContext
    UpdateDomainMetadata
    UpdateDomainMetadataRequest
    UpdateDomainMetadataWithContext
    UpdateFleetMetadata
    UpdateFleetMetadataRequest
    UpdateFleetMetadataWithContext
    UpdateIdentityProviderConfiguration
    UpdateIdentityProviderConfigurationRequest
    UpdateIdentityProviderConfigurationWithContext

Types ▾

type AssociateDomainInput
func (s *AssociateDomainInput) SetAcmCertificateArn(v string) *AssociateDomainInput
func (s *AssociateDomainInput) SetDisplayName(v string) *AssociateDomainInput
func (s *AssociateDomainInput) SetDomainName(v string) *AssociateDomainInput
func (s *AssociateDomainInput) SetFleetArn(v string) *AssociateDomainInput
type AssociateDomainOutput
type AssociateWebsiteAuthorizationProviderInput
func (s *AssociateWebsiteAuthorizationProviderInput) SetAuthorizationProviderType(v string) *AssociateWebsiteAuthorizationProviderInput
func (s *AssociateWebsiteAuthorizationProviderInput) SetDomainName(v string) *AssociateWebsiteAuthorizationProviderInput
func (s *AssociateWebsiteAuthorizationProviderInput) SetFleetArn(v string) *AssociateWebsiteAuthorizationProviderInput
type AssociateWebsiteAuthorizationProviderOutput
func (s *AssociateWebsiteAuthorizationProviderOutput) SetAuthorizationProviderId(v string) *AssociateWebsiteAuthorizationProviderOutput
type AssociateWebsiteCertificateAuthorityInput
func (s *AssociateWebsiteCertificateAuthorityInput) SetCertificate(v string) *AssociateWebsiteCertificateAuthorityInput
func (s *AssociateWebsiteCertificateAuthorityInput) SetDisplayName(v string) *AssociateWebsiteCertificateAuthorityInput
func (s *AssociateWebsiteCertificateAuthorityInput) SetFleetArn(v string) *AssociateWebsiteCertificateAuthorityInput
type AssociateWebsiteCertificateAuthorityOutput
func (s *AssociateWebsiteCertificateAuthorityOutput) SetWebsiteCaId(v string) *AssociateWebsiteCertificateAuthorityOutput
type CreateFleetInput
func (s *CreateFleetInput) SetDisplayName(v string) *CreateFleetInput
func (s *CreateFleetInput) SetFleetName(v string) *CreateFleetInput
func (s *CreateFleetInput) SetOptimizeForEndUserLocation(v bool) *CreateFleetInput
type CreateFleetOutput
func (s *CreateFleetOutput) SetFleetArn(v string) *CreateFleetOutput
type DeleteFleetInput
func (s *DeleteFleetInput) SetFleetArn(v string) *DeleteFleetInput
type DeleteFleetOutput
type DescribeAuditStreamConfigurationInput
func (s *DescribeAuditStreamConfigurationInput) SetFleetArn(v string) *DescribeAuditStreamConfigurationInput
type DescribeAuditStreamConfigurationOutput
func (s *DescribeAuditStreamConfigurationOutput) SetAuditStreamArn(v string) *DescribeAuditStreamConfigurationOutput
type DescribeCompanyNetworkConfigurationInput
func (s *DescribeCompanyNetworkConfigurationInput) SetFleetArn(v string) *DescribeCompanyNetworkConfigurationInput
type DescribeCompanyNetworkConfigurationOutput
func (s *DescribeCompanyNetworkConfigurationOutput) SetSecurityGroupIds(v []*string) *DescribeCompanyNetworkConfigurationOutput
func (s *DescribeCompanyNetworkConfigurationOutput) SetSubnetIds(v []*string) *DescribeCompanyNetworkConfigurationOutput
func (s *DescribeCompanyNetworkConfigurationOutput) SetVpcId(v string) *DescribeCompanyNetworkConfigurationOutput
type DescribeDeviceInput
func (s *DescribeDeviceInput) SetDeviceId(v string) *DescribeDeviceInput
func (s *DescribeDeviceInput) SetFleetArn(v string) *DescribeDeviceInput
type DescribeDeviceOutput
func (s *DescribeDeviceOutput) SetFirstAccessedTime(v time.Time) *DescribeDeviceOutput
func (s *DescribeDeviceOutput) SetLastAccessedTime(v time.Time) *DescribeDeviceOutput
func (s *DescribeDeviceOutput) SetManufacturer(v string) *DescribeDeviceOutput
func (s *DescribeDeviceOutput) SetModel(v string) *DescribeDeviceOutput
func (s *DescribeDeviceOutput) SetOperatingSystem(v string) *DescribeDeviceOutput
func (s *DescribeDeviceOutput) SetOperatingSystemVersion(v string) *DescribeDeviceOutput
func (s *DescribeDeviceOutput) SetPatchLevel(v string) *DescribeDeviceOutput
func (s *DescribeDeviceOutput) SetStatus(v string) *DescribeDeviceOutput
func (s *DescribeDeviceOutput) SetUsername(v string) *DescribeDeviceOutput
type DescribeDevicePolicyConfigurationInput
func (s *DescribeDevicePolicyConfigurationInput) SetFleetArn(v string) *DescribeDevicePolicyConfigurationInput
type DescribeDevicePolicyConfigurationOutput
func (s *DescribeDevicePolicyConfigurationOutput) SetDeviceCaCertificate(v string) *DescribeDevicePolicyConfigurationOutput
type DescribeDomainInput
func (s *DescribeDomainInput) SetDomainName(v string) *DescribeDomainInput
func (s *DescribeDomainInput) SetFleetArn(v string) *DescribeDomainInput
type DescribeDomainOutput
func (s *DescribeDomainOutput) SetAcmCertificateArn(v string) *DescribeDomainOutput
func (s *DescribeDomainOutput) SetCreatedTime(v time.Time) *DescribeDomainOutput
func (s *DescribeDomainOutput) SetDisplayName(v string) *DescribeDomainOutput
func (s *DescribeDomainOutput) SetDomainName(v string) *DescribeDomainOutput
func (s *DescribeDomainOutput) SetDomainStatus(v string) *DescribeDomainOutput
type DescribeFleetMetadataInput
func (s *DescribeFleetMetadataInput) SetFleetArn(v string) *DescribeFleetMetadataInput
type DescribeFleetMetadataOutput
func (s *DescribeFleetMetadataOutput) SetCompanyCode(v string) *DescribeFleetMetadataOutput
func (s *DescribeFleetMetadataOutput) SetCreatedTime(v time.Time) *DescribeFleetMetadataOutput
func (s *DescribeFleetMetadataOutput) SetDisplayName(v string) *DescribeFleetMetadataOutput
func (s *DescribeFleetMetadataOutput) SetFleetName(v string) *DescribeFleetMetadataOutput
func (s *DescribeFleetMetadataOutput) SetFleetStatus(v string) *DescribeFleetMetadataOutput
func (s *DescribeFleetMetadataOutput) SetLastUpdatedTime(v time.Time) *DescribeFleetMetadataOutput
func (s *DescribeFleetMetadataOutput) SetOptimizeForEndUserLocation(v bool) *DescribeFleetMetadataOutput
type DescribeIdentityProviderConfigurationInput
func (s *DescribeIdentityProviderConfigurationInput) SetFleetArn(v string) *DescribeIdentityProviderConfigurationInput
type DescribeIdentityProviderConfigurationOutput
func (s *DescribeIdentityProviderConfigurationOutput) SetIdentityProviderSamlMetadata(v string) *DescribeIdentityProviderConfigurationOutput
func (s *DescribeIdentityProviderConfigurationOutput) SetIdentityProviderType(v string) *DescribeIdentityProviderConfigurationOutput
func (s *DescribeIdentityProviderConfigurationOutput) SetServiceProviderSamlMetadata(v string) *DescribeIdentityProviderConfigurationOutput
type DescribeWebsiteCertificateAuthorityInput
func (s *DescribeWebsiteCertificateAuthorityInput) SetFleetArn(v string) *DescribeWebsiteCertificateAuthorityInput
func (s *DescribeWebsiteCertificateAuthorityInput) SetWebsiteCaId(v string) *DescribeWebsiteCertificateAuthorityInput
type DescribeWebsiteCertificateAuthorityOutput
func (s *DescribeWebsiteCertificateAuthorityOutput) SetCertificate(v string) *DescribeWebsiteCertificateAuthorityOutput
func (s *DescribeWebsiteCertificateAuthorityOutput) SetCreatedTime(v time.Time) *DescribeWebsiteCertificateAuthorityOutput
func (s *DescribeWebsiteCertificateAuthorityOutput) SetDisplayName(v string) *DescribeWebsiteCertificateAuthorityOutput
type DeviceSummary
func (s *DeviceSummary) SetDeviceId(v string) *DeviceSummary
func (s *DeviceSummary) SetDeviceStatus(v string) *DeviceSummary
type DisassociateDomainInput
func (s *DisassociateDomainInput) SetDomainName(v string) *DisassociateDomainInput
func (s *DisassociateDomainInput) SetFleetArn(v string) *DisassociateDomainInput
type DisassociateDomainOutput
type DisassociateWebsiteAuthorizationProviderInput
func (s *DisassociateWebsiteAuthorizationProviderInput) SetAuthorizationProviderId(v string) *DisassociateWebsiteAuthorizationProviderInput
func (s *DisassociateWebsiteAuthorizationProviderInput) SetFleetArn(v string) *DisassociateWebsiteAuthorizationProviderInput
type DisassociateWebsiteAuthorizationProviderOutput
type DisassociateWebsiteCertificateAuthorityInput
func (s *DisassociateWebsiteCertificateAuthorityInput) SetFleetArn(v string) *DisassociateWebsiteCertificateAuthorityInput
func (s *DisassociateWebsiteCertificateAuthorityInput) SetWebsiteCaId(v string) *DisassociateWebsiteCertificateAuthorityInput
type DisassociateWebsiteCertificateAuthorityOutput
type DomainSummary
func (s *DomainSummary) SetCreatedTime(v time.Time) *DomainSummary
func (s *DomainSummary) SetDisplayName(v string) *DomainSummary
func (s *DomainSummary) SetDomainName(v string) *DomainSummary
func (s *DomainSummary) SetDomainStatus(v string) *DomainSummary
type FleetSummary
func (s *FleetSummary) SetCompanyCode(v string) *FleetSummary
func (s *FleetSummary) SetCreatedTime(v time.Time) *FleetSummary
func (s *FleetSummary) SetDisplayName(v string) *FleetSummary
func (s *FleetSummary) SetFleetArn(v string) *FleetSummary
func (s *FleetSummary) SetFleetName(v string) *FleetSummary
func (s *FleetSummary) SetFleetStatus(v string) *FleetSummary
func (s *FleetSummary) SetLastUpdatedTime(v time.Time) *FleetSummary
type ListDevicesInput
func (s *ListDevicesInput) SetFleetArn(v string) *ListDevicesInput
func (s *ListDevicesInput) SetMaxResults(v int64) *ListDevicesInput
func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput
type ListDevicesOutput
func (s *ListDevicesOutput) SetDevices(v []*DeviceSummary) *ListDevicesOutput
func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput
type ListDomainsInput
func (s *ListDomainsInput) SetFleetArn(v string) *ListDomainsInput
func (s *ListDomainsInput) SetMaxResults(v int64) *ListDomainsInput
func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput
type ListDomainsOutput
func (s *ListDomainsOutput) SetDomains(v []*DomainSummary) *ListDomainsOutput
func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput
type ListFleetsInput
func (s *ListFleetsInput) SetMaxResults(v int64) *ListFleetsInput
func (s *ListFleetsInput) SetNextToken(v string) *ListFleetsInput
type ListFleetsOutput
func (s *ListFleetsOutput) SetFleetSummaryList(v []*FleetSummary) *ListFleetsOutput
func (s *ListFleetsOutput) SetNextToken(v string) *ListFleetsOutput
type ListWebsiteAuthorizationProvidersInput
func (s *ListWebsiteAuthorizationProvidersInput) SetFleetArn(v string) *ListWebsiteAuthorizationProvidersInput
func (s *ListWebsiteAuthorizationProvidersInput) SetMaxResults(v int64) *ListWebsiteAuthorizationProvidersInput
func (s *ListWebsiteAuthorizationProvidersInput) SetNextToken(v string) *ListWebsiteAuthorizationProvidersInput
type ListWebsiteAuthorizationProvidersOutput
func (s *ListWebsiteAuthorizationProvidersOutput) SetNextToken(v string) *ListWebsiteAuthorizationProvidersOutput
func (s *ListWebsiteAuthorizationProvidersOutput) SetWebsiteAuthorizationProviders(v []*WebsiteAuthorizationProviderSummary) *ListWebsiteAuthorizationProvidersOutput
type ListWebsiteCertificateAuthoritiesInput
func (s *ListWebsiteCertificateAuthoritiesInput) SetFleetArn(v string) *ListWebsiteCertificateAuthoritiesInput
func (s *ListWebsiteCertificateAuthoritiesInput) SetMaxResults(v int64) *ListWebsiteCertificateAuthoritiesInput
func (s *ListWebsiteCertificateAuthoritiesInput) SetNextToken(v string) *ListWebsiteCertificateAuthoritiesInput
type ListWebsiteCertificateAuthoritiesOutput
func (s *ListWebsiteCertificateAuthoritiesOutput) SetNextToken(v string) *ListWebsiteCertificateAuthoritiesOutput
func (s *ListWebsiteCertificateAuthoritiesOutput) SetWebsiteCertificateAuthorities(v []*WebsiteCaSummary) *ListWebsiteCertificateAuthoritiesOutput
type RestoreDomainAccessInput
func (s *RestoreDomainAccessInput) SetDomainName(v string) *RestoreDomainAccessInput
func (s *RestoreDomainAccessInput) SetFleetArn(v string) *RestoreDomainAccessInput
type RestoreDomainAccessOutput
type RevokeDomainAccessInput
func (s *RevokeDomainAccessInput) SetDomainName(v string) *RevokeDomainAccessInput
func (s *RevokeDomainAccessInput) SetFleetArn(v string) *RevokeDomainAccessInput
type RevokeDomainAccessOutput
type SignOutUserInput
func (s *SignOutUserInput) SetFleetArn(v string) *SignOutUserInput
func (s *SignOutUserInput) SetUsername(v string) *SignOutUserInput
type SignOutUserOutput
type UpdateAuditStreamConfigurationInput
func (s *UpdateAuditStreamConfigurationInput) SetAuditStreamArn(v string) *UpdateAuditStreamConfigurationInput
func (s *UpdateAuditStreamConfigurationInput) SetFleetArn(v string) *UpdateAuditStreamConfigurationInput
type UpdateAuditStreamConfigurationOutput
type UpdateCompanyNetworkConfigurationInput
func (s *UpdateCompanyNetworkConfigurationInput) SetFleetArn(v string) *UpdateCompanyNetworkConfigurationInput
func (s *UpdateCompanyNetworkConfigurationInput) SetSecurityGroupIds(v []*string) *UpdateCompanyNetworkConfigurationInput
func (s *UpdateCompanyNetworkConfigurationInput) SetSubnetIds(v []*string) *UpdateCompanyNetworkConfigurationInput
func (s *UpdateCompanyNetworkConfigurationInput) SetVpcId(v string) *UpdateCompanyNetworkConfigurationInput
type UpdateCompanyNetworkConfigurationOutput
type UpdateDevicePolicyConfigurationInput
func (s *UpdateDevicePolicyConfigurationInput) SetDeviceCaCertificate(v string) *UpdateDevicePolicyConfigurationInput
func (s *UpdateDevicePolicyConfigurationInput) SetFleetArn(v string) *UpdateDevicePolicyConfigurationInput
type UpdateDevicePolicyConfigurationOutput
type UpdateDomainMetadataInput
func (s *UpdateDomainMetadataInput) SetDisplayName(v string) *UpdateDomainMetadataInput
func (s *UpdateDomainMetadataInput) SetDomainName(v string) *UpdateDomainMetadataInput
func (s *UpdateDomainMetadataInput) SetFleetArn(v string) *UpdateDomainMetadataInput
type UpdateDomainMetadataOutput
type UpdateFleetMetadataInput
func (s *UpdateFleetMetadataInput) SetDisplayName(v string) *UpdateFleetMetadataInput
func (s *UpdateFleetMetadataInput) SetFleetArn(v string) *UpdateFleetMetadataInput
func (s *UpdateFleetMetadataInput) SetOptimizeForEndUserLocation(v bool) *UpdateFleetMetadataInput
type UpdateFleetMetadataOutput
type UpdateIdentityProviderConfigurationInput
func (s *UpdateIdentityProviderConfigurationInput) SetFleetArn(v string) *UpdateIdentityProviderConfigurationInput
func (s *UpdateIdentityProviderConfigurationInput) SetIdentityProviderSamlMetadata(v string) *UpdateIdentityProviderConfigurationInput
func (s *UpdateIdentityProviderConfigurationInput) SetIdentityProviderType(v string) *UpdateIdentityProviderConfigurationInput
type UpdateIdentityProviderConfigurationOutput
type WebsiteAuthorizationProviderSummary
func (s *WebsiteAuthorizationProviderSummary) SetAuthorizationProviderId(v string) *WebsiteAuthorizationProviderSummary
func (s *WebsiteAuthorizationProviderSummary) SetAuthorizationProviderType(v string) *WebsiteAuthorizationProviderSummary
func (s *WebsiteAuthorizationProviderSummary) SetCreatedTime(v time.Time) *WebsiteAuthorizationProviderSummary
func (s *WebsiteAuthorizationProviderSummary) SetDomainName(v string) *WebsiteAuthorizationProviderSummary
type WebsiteCaSummary
func (s *WebsiteCaSummary) SetCreatedTime(v time.Time) *WebsiteCaSummary
func (s *WebsiteCaSummary) SetDisplayName(v string) *WebsiteCaSummary
func (s *WebsiteCaSummary) SetWebsiteCaId(v string) *WebsiteCaSummary
type WorkLink

Constants ▾

const (
    // DeviceStatusActive is a DeviceStatus enum value
    DeviceStatusActive = "ACTIVE"

    // DeviceStatusSignedOut is a DeviceStatus enum value
    DeviceStatusSignedOut = "SIGNED_OUT"
)
const (
    // DomainStatusPendingValidation is a DomainStatus enum value
    DomainStatusPendingValidation = "PENDING_VALIDATION"

    // DomainStatusAssociating is a DomainStatus enum value
    DomainStatusAssociating = "ASSOCIATING"

    // DomainStatusActive is a DomainStatus enum value
    DomainStatusActive = "ACTIVE"

    // DomainStatusInactive is a DomainStatus enum value
    DomainStatusInactive = "INACTIVE"

    // DomainStatusDisassociating is a DomainStatus enum value
    DomainStatusDisassociating = "DISASSOCIATING"

    // DomainStatusDisassociated is a DomainStatus enum value
    DomainStatusDisassociated = "DISASSOCIATED"

    // DomainStatusFailedToAssociate is a DomainStatus enum value
    DomainStatusFailedToAssociate = "FAILED_TO_ASSOCIATE"

    // DomainStatusFailedToDisassociate is a DomainStatus enum value
    DomainStatusFailedToDisassociate = "FAILED_TO_DISASSOCIATE"
)
const (
    // FleetStatusCreating is a FleetStatus enum value
    FleetStatusCreating = "CREATING"

    // FleetStatusActive is a FleetStatus enum value
    FleetStatusActive = "ACTIVE"

    // FleetStatusDeleting is a FleetStatus enum value
    FleetStatusDeleting = "DELETING"

    // FleetStatusDeleted is a FleetStatus enum value
    FleetStatusDeleted = "DELETED"

    // FleetStatusFailedToCreate is a FleetStatus enum value
    FleetStatusFailedToCreate = "FAILED_TO_CREATE"

    // FleetStatusFailedToDelete is a FleetStatus enum value
    FleetStatusFailedToDelete = "FAILED_TO_DELETE"
)
const (

    // ErrCodeInternalServerErrorException for service response error code
    // "InternalServerErrorException".
    //
    // The service is temporarily unavailable.
    ErrCodeInternalServerErrorException = "InternalServerErrorException"

    // ErrCodeInvalidRequestException for service response error code
    // "InvalidRequestException".
    //
    // The request is not valid.
    ErrCodeInvalidRequestException = "InvalidRequestException"

    // ErrCodeResourceAlreadyExistsException for service response error code
    // "ResourceAlreadyExistsException".
    //
    // The resource already exists.
    ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

    // ErrCodeResourceNotFoundException for service response error code
    // "ResourceNotFoundException".
    //
    // The requested resource was not found.
    ErrCodeResourceNotFoundException = "ResourceNotFoundException"

    // ErrCodeTooManyRequestsException for service response error code
    // "TooManyRequestsException".
    //
    // The number of requests exceeds the limit.
    ErrCodeTooManyRequestsException = "TooManyRequestsException"

    // ErrCodeUnauthorizedException for service response error code
    // "UnauthorizedException".
    //
    // You are not authorized to perform this action.
    ErrCodeUnauthorizedException = "UnauthorizedException"
)
const (
    ServiceName = "WorkLink" // Name of service.
    EndpointsID = "worklink" // ID to lookup a service endpoint with.
    ServiceID   = "WorkLink" // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // AuthorizationProviderTypeSaml is a AuthorizationProviderType enum value
    AuthorizationProviderTypeSaml = "SAML"
)
const (
    // IdentityProviderTypeSaml is a IdentityProviderType enum value
    IdentityProviderTypeSaml = "SAML"
)

type AssociateDomainInput

type AssociateDomainInput struct {

    // The ARN of an issued ACM certificate that is valid for the domain being associated.
    //
    // AcmCertificateArn is a required field
    AcmCertificateArn *string `type:"string" required:"true"`

    // The name to display.
    DisplayName *string `type:"string"`

    // The fully qualified domain name (FQDN).
    //
    // DomainName is a required field
    DomainName *string `min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AssociateDomainInput) GoString

func (s AssociateDomainInput) GoString() string

GoString returns the string representation

func (*AssociateDomainInput) SetAcmCertificateArn

func (s *AssociateDomainInput) SetAcmCertificateArn(v string) *AssociateDomainInput

SetAcmCertificateArn sets the AcmCertificateArn field's value.

func (*AssociateDomainInput) SetDisplayName

func (s *AssociateDomainInput) SetDisplayName(v string) *AssociateDomainInput

SetDisplayName sets the DisplayName field's value.

func (*AssociateDomainInput) SetDomainName

func (s *AssociateDomainInput) SetDomainName(v string) *AssociateDomainInput

SetDomainName sets the DomainName field's value.

func (*AssociateDomainInput) SetFleetArn

func (s *AssociateDomainInput) SetFleetArn(v string) *AssociateDomainInput

SetFleetArn sets the FleetArn field's value.

func (AssociateDomainInput) String

func (s AssociateDomainInput) String() string

String returns the string representation

func (*AssociateDomainInput) Validate

func (s *AssociateDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateDomainOutput

type AssociateDomainOutput struct {
    // contains filtered or unexported fields
}

func (AssociateDomainOutput) GoString

func (s AssociateDomainOutput) GoString() string

GoString returns the string representation

func (AssociateDomainOutput) String

func (s AssociateDomainOutput) String() string

String returns the string representation

type AssociateWebsiteAuthorizationProviderInput

type AssociateWebsiteAuthorizationProviderInput struct {

    // The authorization provider type.
    //
    // AuthorizationProviderType is a required field
    AuthorizationProviderType *string `type:"string" required:"true" enum:"AuthorizationProviderType"`

    // The domain name of the authorization provider. This applies only to SAML-based
    // authorization providers.
    DomainName *string `min:"1" type:"string"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AssociateWebsiteAuthorizationProviderInput) GoString

func (s AssociateWebsiteAuthorizationProviderInput) GoString() string

GoString returns the string representation

func (*AssociateWebsiteAuthorizationProviderInput) SetAuthorizationProviderType

func (s *AssociateWebsiteAuthorizationProviderInput) SetAuthorizationProviderType(v string) *AssociateWebsiteAuthorizationProviderInput

SetAuthorizationProviderType sets the AuthorizationProviderType field's value.

func (*AssociateWebsiteAuthorizationProviderInput) SetDomainName

func (s *AssociateWebsiteAuthorizationProviderInput) SetDomainName(v string) *AssociateWebsiteAuthorizationProviderInput

SetDomainName sets the DomainName field's value.

func (*AssociateWebsiteAuthorizationProviderInput) SetFleetArn

func (s *AssociateWebsiteAuthorizationProviderInput) SetFleetArn(v string) *AssociateWebsiteAuthorizationProviderInput

SetFleetArn sets the FleetArn field's value.

func (AssociateWebsiteAuthorizationProviderInput) String

func (s AssociateWebsiteAuthorizationProviderInput) String() string

String returns the string representation

func (*AssociateWebsiteAuthorizationProviderInput) Validate

func (s *AssociateWebsiteAuthorizationProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateWebsiteAuthorizationProviderOutput

type AssociateWebsiteAuthorizationProviderOutput struct {

    // A unique identifier for the authorization provider.
    AuthorizationProviderId *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (AssociateWebsiteAuthorizationProviderOutput) GoString

func (s AssociateWebsiteAuthorizationProviderOutput) GoString() string

GoString returns the string representation

func (*AssociateWebsiteAuthorizationProviderOutput) SetAuthorizationProviderId

func (s *AssociateWebsiteAuthorizationProviderOutput) SetAuthorizationProviderId(v string) *AssociateWebsiteAuthorizationProviderOutput

SetAuthorizationProviderId sets the AuthorizationProviderId field's value.

func (AssociateWebsiteAuthorizationProviderOutput) String

func (s AssociateWebsiteAuthorizationProviderOutput) String() string

String returns the string representation

type AssociateWebsiteCertificateAuthorityInput

type AssociateWebsiteCertificateAuthorityInput struct {

    // The root certificate of the CA.
    //
    // Certificate is a required field
    Certificate *string `min:"1" type:"string" required:"true"`

    // The certificate name to display.
    DisplayName *string `type:"string"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AssociateWebsiteCertificateAuthorityInput) GoString

func (s AssociateWebsiteCertificateAuthorityInput) GoString() string

GoString returns the string representation

func (*AssociateWebsiteCertificateAuthorityInput) SetCertificate

func (s *AssociateWebsiteCertificateAuthorityInput) SetCertificate(v string) *AssociateWebsiteCertificateAuthorityInput

SetCertificate sets the Certificate field's value.

func (*AssociateWebsiteCertificateAuthorityInput) SetDisplayName

func (s *AssociateWebsiteCertificateAuthorityInput) SetDisplayName(v string) *AssociateWebsiteCertificateAuthorityInput

SetDisplayName sets the DisplayName field's value.

func (*AssociateWebsiteCertificateAuthorityInput) SetFleetArn

func (s *AssociateWebsiteCertificateAuthorityInput) SetFleetArn(v string) *AssociateWebsiteCertificateAuthorityInput

SetFleetArn sets the FleetArn field's value.

func (AssociateWebsiteCertificateAuthorityInput) String

func (s AssociateWebsiteCertificateAuthorityInput) String() string

String returns the string representation

func (*AssociateWebsiteCertificateAuthorityInput) Validate

func (s *AssociateWebsiteCertificateAuthorityInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateWebsiteCertificateAuthorityOutput

type AssociateWebsiteCertificateAuthorityOutput struct {

    // A unique identifier for the CA.
    WebsiteCaId *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (AssociateWebsiteCertificateAuthorityOutput) GoString

func (s AssociateWebsiteCertificateAuthorityOutput) GoString() string

GoString returns the string representation

func (*AssociateWebsiteCertificateAuthorityOutput) SetWebsiteCaId

func (s *AssociateWebsiteCertificateAuthorityOutput) SetWebsiteCaId(v string) *AssociateWebsiteCertificateAuthorityOutput

SetWebsiteCaId sets the WebsiteCaId field's value.

func (AssociateWebsiteCertificateAuthorityOutput) String

func (s AssociateWebsiteCertificateAuthorityOutput) String() string

String returns the string representation

type CreateFleetInput

type CreateFleetInput struct {

    // The fleet name to display.
    DisplayName *string `type:"string"`

    // A unique name for the fleet.
    //
    // FleetName is a required field
    FleetName *string `min:"1" type:"string" required:"true"`

    // The option to optimize for better performance by routing traffic through
    // the closest AWS Region to users, which may be outside of your home Region.
    OptimizeForEndUserLocation *bool `type:"boolean"`
    // contains filtered or unexported fields
}

func (CreateFleetInput) GoString

func (s CreateFleetInput) GoString() string

GoString returns the string representation

func (*CreateFleetInput) SetDisplayName

func (s *CreateFleetInput) SetDisplayName(v string) *CreateFleetInput

SetDisplayName sets the DisplayName field's value.

func (*CreateFleetInput) SetFleetName

func (s *CreateFleetInput) SetFleetName(v string) *CreateFleetInput

SetFleetName sets the FleetName field's value.

func (*CreateFleetInput) SetOptimizeForEndUserLocation

func (s *CreateFleetInput) SetOptimizeForEndUserLocation(v bool) *CreateFleetInput

SetOptimizeForEndUserLocation sets the OptimizeForEndUserLocation field's value.

func (CreateFleetInput) String

func (s CreateFleetInput) String() string

String returns the string representation

func (*CreateFleetInput) Validate

func (s *CreateFleetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateFleetOutput

type CreateFleetOutput struct {

    // The ARN of the fleet.
    FleetArn *string `min:"20" type:"string"`
    // contains filtered or unexported fields
}

func (CreateFleetOutput) GoString

func (s CreateFleetOutput) GoString() string

GoString returns the string representation

func (*CreateFleetOutput) SetFleetArn

func (s *CreateFleetOutput) SetFleetArn(v string) *CreateFleetOutput

SetFleetArn sets the FleetArn field's value.

func (CreateFleetOutput) String

func (s CreateFleetOutput) String() string

String returns the string representation

type DeleteFleetInput

type DeleteFleetInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteFleetInput) GoString

func (s DeleteFleetInput) GoString() string

GoString returns the string representation

func (*DeleteFleetInput) SetFleetArn

func (s *DeleteFleetInput) SetFleetArn(v string) *DeleteFleetInput

SetFleetArn sets the FleetArn field's value.

func (DeleteFleetInput) String

func (s DeleteFleetInput) String() string

String returns the string representation

func (*DeleteFleetInput) Validate

func (s *DeleteFleetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteFleetOutput

type DeleteFleetOutput struct {
    // contains filtered or unexported fields
}

func (DeleteFleetOutput) GoString

func (s DeleteFleetOutput) GoString() string

GoString returns the string representation

func (DeleteFleetOutput) String

func (s DeleteFleetOutput) String() string

String returns the string representation

type DescribeAuditStreamConfigurationInput

type DescribeAuditStreamConfigurationInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeAuditStreamConfigurationInput) GoString

func (s DescribeAuditStreamConfigurationInput) GoString() string

GoString returns the string representation

func (*DescribeAuditStreamConfigurationInput) SetFleetArn

func (s *DescribeAuditStreamConfigurationInput) SetFleetArn(v string) *DescribeAuditStreamConfigurationInput

SetFleetArn sets the FleetArn field's value.

func (DescribeAuditStreamConfigurationInput) String

func (s DescribeAuditStreamConfigurationInput) String() string

String returns the string representation

func (*DescribeAuditStreamConfigurationInput) Validate

func (s *DescribeAuditStreamConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAuditStreamConfigurationOutput

type DescribeAuditStreamConfigurationOutput struct {

    // The ARN of the Amazon Kinesis data stream that will receive the audit events.
    AuditStreamArn *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeAuditStreamConfigurationOutput) GoString

func (s DescribeAuditStreamConfigurationOutput) GoString() string

GoString returns the string representation

func (*DescribeAuditStreamConfigurationOutput) SetAuditStreamArn

func (s *DescribeAuditStreamConfigurationOutput) SetAuditStreamArn(v string) *DescribeAuditStreamConfigurationOutput

SetAuditStreamArn sets the AuditStreamArn field's value.

func (DescribeAuditStreamConfigurationOutput) String

func (s DescribeAuditStreamConfigurationOutput) String() string

String returns the string representation

type DescribeCompanyNetworkConfigurationInput

type DescribeCompanyNetworkConfigurationInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeCompanyNetworkConfigurationInput) GoString

func (s DescribeCompanyNetworkConfigurationInput) GoString() string

GoString returns the string representation

func (*DescribeCompanyNetworkConfigurationInput) SetFleetArn

func (s *DescribeCompanyNetworkConfigurationInput) SetFleetArn(v string) *DescribeCompanyNetworkConfigurationInput

SetFleetArn sets the FleetArn field's value.

func (DescribeCompanyNetworkConfigurationInput) String

func (s DescribeCompanyNetworkConfigurationInput) String() string

String returns the string representation

func (*DescribeCompanyNetworkConfigurationInput) Validate

func (s *DescribeCompanyNetworkConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCompanyNetworkConfigurationOutput

type DescribeCompanyNetworkConfigurationOutput struct {

    // The security groups associated with access to the provided subnets.
    SecurityGroupIds []*string `type:"list"`

    // The subnets used for X-ENI connections from Amazon WorkLink rendering containers.
    SubnetIds []*string `type:"list"`

    // The VPC with connectivity to associated websites.
    VpcId *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeCompanyNetworkConfigurationOutput) GoString

func (s DescribeCompanyNetworkConfigurationOutput) GoString() string

GoString returns the string representation

func (*DescribeCompanyNetworkConfigurationOutput) SetSecurityGroupIds

func (s *DescribeCompanyNetworkConfigurationOutput) SetSecurityGroupIds(v []*string) *DescribeCompanyNetworkConfigurationOutput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*DescribeCompanyNetworkConfigurationOutput) SetSubnetIds

func (s *DescribeCompanyNetworkConfigurationOutput) SetSubnetIds(v []*string) *DescribeCompanyNetworkConfigurationOutput

SetSubnetIds sets the SubnetIds field's value.

func (*DescribeCompanyNetworkConfigurationOutput) SetVpcId

func (s *DescribeCompanyNetworkConfigurationOutput) SetVpcId(v string) *DescribeCompanyNetworkConfigurationOutput

SetVpcId sets the VpcId field's value.

func (DescribeCompanyNetworkConfigurationOutput) String

func (s DescribeCompanyNetworkConfigurationOutput) String() string

String returns the string representation

type DescribeDeviceInput

type DescribeDeviceInput struct {

    // A unique identifier for a registered user's device.
    //
    // DeviceId is a required field
    DeviceId *string `min:"1" type:"string" required:"true"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeDeviceInput) GoString

func (s DescribeDeviceInput) GoString() string

GoString returns the string representation

func (*DescribeDeviceInput) SetDeviceId

func (s *DescribeDeviceInput) SetDeviceId(v string) *DescribeDeviceInput

SetDeviceId sets the DeviceId field's value.

func (*DescribeDeviceInput) SetFleetArn

func (s *DescribeDeviceInput) SetFleetArn(v string) *DescribeDeviceInput

SetFleetArn sets the FleetArn field's value.

func (DescribeDeviceInput) String

func (s DescribeDeviceInput) String() string

String returns the string representation

func (*DescribeDeviceInput) Validate

func (s *DescribeDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDeviceOutput

type DescribeDeviceOutput struct {

    // The date that the device first signed in to Amazon WorkLink.
    FirstAccessedTime *time.Time `type:"timestamp"`

    // The date that the device last accessed Amazon WorkLink.
    LastAccessedTime *time.Time `type:"timestamp"`

    // The manufacturer of the device.
    Manufacturer *string `min:"1" type:"string"`

    // The model of the device.
    Model *string `min:"1" type:"string"`

    // The operating system of the device.
    OperatingSystem *string `min:"1" type:"string"`

    // The operating system version of the device.
    OperatingSystemVersion *string `min:"1" type:"string"`

    // The operating system patch level of the device.
    PatchLevel *string `min:"1" type:"string"`

    // The current state of the device.
    Status *string `type:"string" enum:"DeviceStatus"`

    // The user name associated with the device.
    Username *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (DescribeDeviceOutput) GoString

func (s DescribeDeviceOutput) GoString() string

GoString returns the string representation

func (*DescribeDeviceOutput) SetFirstAccessedTime

func (s *DescribeDeviceOutput) SetFirstAccessedTime(v time.Time) *DescribeDeviceOutput

SetFirstAccessedTime sets the FirstAccessedTime field's value.

func (*DescribeDeviceOutput) SetLastAccessedTime

func (s *DescribeDeviceOutput) SetLastAccessedTime(v time.Time) *DescribeDeviceOutput

SetLastAccessedTime sets the LastAccessedTime field's value.

func (*DescribeDeviceOutput) SetManufacturer

func (s *DescribeDeviceOutput) SetManufacturer(v string) *DescribeDeviceOutput

SetManufacturer sets the Manufacturer field's value.

func (*DescribeDeviceOutput) SetModel

func (s *DescribeDeviceOutput) SetModel(v string) *DescribeDeviceOutput

SetModel sets the Model field's value.

func (*DescribeDeviceOutput) SetOperatingSystem

func (s *DescribeDeviceOutput) SetOperatingSystem(v string) *DescribeDeviceOutput

SetOperatingSystem sets the OperatingSystem field's value.

func (*DescribeDeviceOutput) SetOperatingSystemVersion

func (s *DescribeDeviceOutput) SetOperatingSystemVersion(v string) *DescribeDeviceOutput

SetOperatingSystemVersion sets the OperatingSystemVersion field's value.

func (*DescribeDeviceOutput) SetPatchLevel

func (s *DescribeDeviceOutput) SetPatchLevel(v string) *DescribeDeviceOutput

SetPatchLevel sets the PatchLevel field's value.

func (*DescribeDeviceOutput) SetStatus

func (s *DescribeDeviceOutput) SetStatus(v string) *DescribeDeviceOutput

SetStatus sets the Status field's value.

func (*DescribeDeviceOutput) SetUsername

func (s *DescribeDeviceOutput) SetUsername(v string) *DescribeDeviceOutput

SetUsername sets the Username field's value.

func (DescribeDeviceOutput) String

func (s DescribeDeviceOutput) String() string

String returns the string representation

type DescribeDevicePolicyConfigurationInput

type DescribeDevicePolicyConfigurationInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeDevicePolicyConfigurationInput) GoString

func (s DescribeDevicePolicyConfigurationInput) GoString() string

GoString returns the string representation

func (*DescribeDevicePolicyConfigurationInput) SetFleetArn

func (s *DescribeDevicePolicyConfigurationInput) SetFleetArn(v string) *DescribeDevicePolicyConfigurationInput

SetFleetArn sets the FleetArn field's value.

func (DescribeDevicePolicyConfigurationInput) String

func (s DescribeDevicePolicyConfigurationInput) String() string

String returns the string representation

func (*DescribeDevicePolicyConfigurationInput) Validate

func (s *DescribeDevicePolicyConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDevicePolicyConfigurationOutput

type DescribeDevicePolicyConfigurationOutput struct {

    // The certificate chain, including intermediate certificates and the root certificate
    // authority certificate used to issue device certificates.
    DeviceCaCertificate *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (DescribeDevicePolicyConfigurationOutput) GoString

func (s DescribeDevicePolicyConfigurationOutput) GoString() string

GoString returns the string representation

func (*DescribeDevicePolicyConfigurationOutput) SetDeviceCaCertificate

func (s *DescribeDevicePolicyConfigurationOutput) SetDeviceCaCertificate(v string) *DescribeDevicePolicyConfigurationOutput

SetDeviceCaCertificate sets the DeviceCaCertificate field's value.

func (DescribeDevicePolicyConfigurationOutput) String

func (s DescribeDevicePolicyConfigurationOutput) String() string

String returns the string representation

type DescribeDomainInput

type DescribeDomainInput struct {

    // The name of the domain.
    //
    // DomainName is a required field
    DomainName *string `min:"1" type:"string" required:"true"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeDomainInput) GoString

func (s DescribeDomainInput) GoString() string

GoString returns the string representation

func (*DescribeDomainInput) SetDomainName

func (s *DescribeDomainInput) SetDomainName(v string) *DescribeDomainInput

SetDomainName sets the DomainName field's value.

func (*DescribeDomainInput) SetFleetArn

func (s *DescribeDomainInput) SetFleetArn(v string) *DescribeDomainInput

SetFleetArn sets the FleetArn field's value.

func (DescribeDomainInput) String

func (s DescribeDomainInput) String() string

String returns the string representation

func (*DescribeDomainInput) Validate

func (s *DescribeDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeDomainOutput

type DescribeDomainOutput struct {

    // The ARN of an issued ACM certificate that is valid for the domain being associated.
    AcmCertificateArn *string `type:"string"`

    // The time that the domain was added.
    CreatedTime *time.Time `type:"timestamp"`

    // The name to display.
    DisplayName *string `type:"string"`

    // The name of the domain.
    DomainName *string `min:"1" type:"string"`

    // The current state for the domain.
    DomainStatus *string `type:"string" enum:"DomainStatus"`
    // contains filtered or unexported fields
}

func (DescribeDomainOutput) GoString

func (s DescribeDomainOutput) GoString() string

GoString returns the string representation

func (*DescribeDomainOutput) SetAcmCertificateArn

func (s *DescribeDomainOutput) SetAcmCertificateArn(v string) *DescribeDomainOutput

SetAcmCertificateArn sets the AcmCertificateArn field's value.

func (*DescribeDomainOutput) SetCreatedTime

func (s *DescribeDomainOutput) SetCreatedTime(v time.Time) *DescribeDomainOutput

SetCreatedTime sets the CreatedTime field's value.

func (*DescribeDomainOutput) SetDisplayName

func (s *DescribeDomainOutput) SetDisplayName(v string) *DescribeDomainOutput

SetDisplayName sets the DisplayName field's value.

func (*DescribeDomainOutput) SetDomainName

func (s *DescribeDomainOutput) SetDomainName(v string) *DescribeDomainOutput

SetDomainName sets the DomainName field's value.

func (*DescribeDomainOutput) SetDomainStatus

func (s *DescribeDomainOutput) SetDomainStatus(v string) *DescribeDomainOutput

SetDomainStatus sets the DomainStatus field's value.

func (DescribeDomainOutput) String

func (s DescribeDomainOutput) String() string

String returns the string representation

type DescribeFleetMetadataInput

type DescribeFleetMetadataInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeFleetMetadataInput) GoString

func (s DescribeFleetMetadataInput) GoString() string

GoString returns the string representation

func (*DescribeFleetMetadataInput) SetFleetArn

func (s *DescribeFleetMetadataInput) SetFleetArn(v string) *DescribeFleetMetadataInput

SetFleetArn sets the FleetArn field's value.

func (DescribeFleetMetadataInput) String

func (s DescribeFleetMetadataInput) String() string

String returns the string representation

func (*DescribeFleetMetadataInput) Validate

func (s *DescribeFleetMetadataInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeFleetMetadataOutput

type DescribeFleetMetadataOutput struct {

    // The identifier used by users to sign in to the Amazon WorkLink app.
    CompanyCode *string `min:"1" type:"string"`

    // The time that the fleet was created.
    CreatedTime *time.Time `type:"timestamp"`

    // The name to display.
    DisplayName *string `type:"string"`

    // The name of the fleet.
    FleetName *string `min:"1" type:"string"`

    // The current state of the fleet.
    FleetStatus *string `type:"string" enum:"FleetStatus"`

    // The time that the fleet was last updated.
    LastUpdatedTime *time.Time `type:"timestamp"`

    // The option to optimize for better performance by routing traffic through
    // the closest AWS Region to users, which may be outside of your home Region.
    OptimizeForEndUserLocation *bool `type:"boolean"`
    // contains filtered or unexported fields
}

func (DescribeFleetMetadataOutput) GoString

func (s DescribeFleetMetadataOutput) GoString() string

GoString returns the string representation

func (*DescribeFleetMetadataOutput) SetCompanyCode

func (s *DescribeFleetMetadataOutput) SetCompanyCode(v string) *DescribeFleetMetadataOutput

SetCompanyCode sets the CompanyCode field's value.

func (*DescribeFleetMetadataOutput) SetCreatedTime

func (s *DescribeFleetMetadataOutput) SetCreatedTime(v time.Time) *DescribeFleetMetadataOutput

SetCreatedTime sets the CreatedTime field's value.

func (*DescribeFleetMetadataOutput) SetDisplayName

func (s *DescribeFleetMetadataOutput) SetDisplayName(v string) *DescribeFleetMetadataOutput

SetDisplayName sets the DisplayName field's value.

func (*DescribeFleetMetadataOutput) SetFleetName

func (s *DescribeFleetMetadataOutput) SetFleetName(v string) *DescribeFleetMetadataOutput

SetFleetName sets the FleetName field's value.

func (*DescribeFleetMetadataOutput) SetFleetStatus

func (s *DescribeFleetMetadataOutput) SetFleetStatus(v string) *DescribeFleetMetadataOutput

SetFleetStatus sets the FleetStatus field's value.

func (*DescribeFleetMetadataOutput) SetLastUpdatedTime

func (s *DescribeFleetMetadataOutput) SetLastUpdatedTime(v time.Time) *DescribeFleetMetadataOutput

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*DescribeFleetMetadataOutput) SetOptimizeForEndUserLocation

func (s *DescribeFleetMetadataOutput) SetOptimizeForEndUserLocation(v bool) *DescribeFleetMetadataOutput

SetOptimizeForEndUserLocation sets the OptimizeForEndUserLocation field's value.

func (DescribeFleetMetadataOutput) String

func (s DescribeFleetMetadataOutput) String() string

String returns the string representation

type DescribeIdentityProviderConfigurationInput

type DescribeIdentityProviderConfigurationInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeIdentityProviderConfigurationInput) GoString

func (s DescribeIdentityProviderConfigurationInput) GoString() string

GoString returns the string representation

func (*DescribeIdentityProviderConfigurationInput) SetFleetArn

func (s *DescribeIdentityProviderConfigurationInput) SetFleetArn(v string) *DescribeIdentityProviderConfigurationInput

SetFleetArn sets the FleetArn field's value.

func (DescribeIdentityProviderConfigurationInput) String

func (s DescribeIdentityProviderConfigurationInput) String() string

String returns the string representation

func (*DescribeIdentityProviderConfigurationInput) Validate

func (s *DescribeIdentityProviderConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeIdentityProviderConfigurationOutput

type DescribeIdentityProviderConfigurationOutput struct {

    // The SAML metadata document provided by the user’s identity provider.
    IdentityProviderSamlMetadata *string `min:"1" type:"string"`

    // The type of identity provider.
    IdentityProviderType *string `type:"string" enum:"IdentityProviderType"`

    // The SAML metadata document uploaded to the user’s identity provider.
    ServiceProviderSamlMetadata *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (DescribeIdentityProviderConfigurationOutput) GoString

func (s DescribeIdentityProviderConfigurationOutput) GoString() string

GoString returns the string representation

func (*DescribeIdentityProviderConfigurationOutput) SetIdentityProviderSamlMetadata

func (s *DescribeIdentityProviderConfigurationOutput) SetIdentityProviderSamlMetadata(v string) *DescribeIdentityProviderConfigurationOutput

SetIdentityProviderSamlMetadata sets the IdentityProviderSamlMetadata field's value.

func (*DescribeIdentityProviderConfigurationOutput) SetIdentityProviderType

func (s *DescribeIdentityProviderConfigurationOutput) SetIdentityProviderType(v string) *DescribeIdentityProviderConfigurationOutput

SetIdentityProviderType sets the IdentityProviderType field's value.

func (*DescribeIdentityProviderConfigurationOutput) SetServiceProviderSamlMetadata

func (s *DescribeIdentityProviderConfigurationOutput) SetServiceProviderSamlMetadata(v string) *DescribeIdentityProviderConfigurationOutput

SetServiceProviderSamlMetadata sets the ServiceProviderSamlMetadata field's value.

func (DescribeIdentityProviderConfigurationOutput) String

func (s DescribeIdentityProviderConfigurationOutput) String() string

String returns the string representation

type DescribeWebsiteCertificateAuthorityInput

type DescribeWebsiteCertificateAuthorityInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // A unique identifier for the certificate authority.
    //
    // WebsiteCaId is a required field
    WebsiteCaId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeWebsiteCertificateAuthorityInput) GoString

func (s DescribeWebsiteCertificateAuthorityInput) GoString() string

GoString returns the string representation

func (*DescribeWebsiteCertificateAuthorityInput) SetFleetArn

func (s *DescribeWebsiteCertificateAuthorityInput) SetFleetArn(v string) *DescribeWebsiteCertificateAuthorityInput

SetFleetArn sets the FleetArn field's value.

func (*DescribeWebsiteCertificateAuthorityInput) SetWebsiteCaId

func (s *DescribeWebsiteCertificateAuthorityInput) SetWebsiteCaId(v string) *DescribeWebsiteCertificateAuthorityInput

SetWebsiteCaId sets the WebsiteCaId field's value.

func (DescribeWebsiteCertificateAuthorityInput) String

func (s DescribeWebsiteCertificateAuthorityInput) String() string

String returns the string representation

func (*DescribeWebsiteCertificateAuthorityInput) Validate

func (s *DescribeWebsiteCertificateAuthorityInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeWebsiteCertificateAuthorityOutput

type DescribeWebsiteCertificateAuthorityOutput struct {

    // The root certificate of the certificate authority.
    Certificate *string `min:"1" type:"string"`

    // The time that the certificate authority was added.
    CreatedTime *time.Time `type:"timestamp"`

    // The certificate name to display.
    DisplayName *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeWebsiteCertificateAuthorityOutput) GoString

func (s DescribeWebsiteCertificateAuthorityOutput) GoString() string

GoString returns the string representation

func (*DescribeWebsiteCertificateAuthorityOutput) SetCertificate

func (s *DescribeWebsiteCertificateAuthorityOutput) SetCertificate(v string) *DescribeWebsiteCertificateAuthorityOutput

SetCertificate sets the Certificate field's value.

func (*DescribeWebsiteCertificateAuthorityOutput) SetCreatedTime

func (s *DescribeWebsiteCertificateAuthorityOutput) SetCreatedTime(v time.Time) *DescribeWebsiteCertificateAuthorityOutput

SetCreatedTime sets the CreatedTime field's value.

func (*DescribeWebsiteCertificateAuthorityOutput) SetDisplayName

func (s *DescribeWebsiteCertificateAuthorityOutput) SetDisplayName(v string) *DescribeWebsiteCertificateAuthorityOutput

SetDisplayName sets the DisplayName field's value.

func (DescribeWebsiteCertificateAuthorityOutput) String

func (s DescribeWebsiteCertificateAuthorityOutput) String() string

String returns the string representation

type DeviceSummary

type DeviceSummary struct {

    // The ID of the device.
    DeviceId *string `min:"1" type:"string"`

    // The status of the device.
    DeviceStatus *string `type:"string" enum:"DeviceStatus"`
    // contains filtered or unexported fields
}

The summary of devices.

func (DeviceSummary) GoString

func (s DeviceSummary) GoString() string

GoString returns the string representation

func (*DeviceSummary) SetDeviceId

func (s *DeviceSummary) SetDeviceId(v string) *DeviceSummary

SetDeviceId sets the DeviceId field's value.

func (*DeviceSummary) SetDeviceStatus

func (s *DeviceSummary) SetDeviceStatus(v string) *DeviceSummary

SetDeviceStatus sets the DeviceStatus field's value.

func (DeviceSummary) String

func (s DeviceSummary) String() string

String returns the string representation

type DisassociateDomainInput

type DisassociateDomainInput struct {

    // The name of the domain.
    //
    // DomainName is a required field
    DomainName *string `min:"1" type:"string" required:"true"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisassociateDomainInput) GoString

func (s DisassociateDomainInput) GoString() string

GoString returns the string representation

func (*DisassociateDomainInput) SetDomainName

func (s *DisassociateDomainInput) SetDomainName(v string) *DisassociateDomainInput

SetDomainName sets the DomainName field's value.

func (*DisassociateDomainInput) SetFleetArn

func (s *DisassociateDomainInput) SetFleetArn(v string) *DisassociateDomainInput

SetFleetArn sets the FleetArn field's value.

func (DisassociateDomainInput) String

func (s DisassociateDomainInput) String() string

String returns the string representation

func (*DisassociateDomainInput) Validate

func (s *DisassociateDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateDomainOutput

type DisassociateDomainOutput struct {
    // contains filtered or unexported fields
}

func (DisassociateDomainOutput) GoString

func (s DisassociateDomainOutput) GoString() string

GoString returns the string representation

func (DisassociateDomainOutput) String

func (s DisassociateDomainOutput) String() string

String returns the string representation

type DisassociateWebsiteAuthorizationProviderInput

type DisassociateWebsiteAuthorizationProviderInput struct {

    // A unique identifier for the authorization provider.
    //
    // AuthorizationProviderId is a required field
    AuthorizationProviderId *string `min:"1" type:"string" required:"true"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisassociateWebsiteAuthorizationProviderInput) GoString

func (s DisassociateWebsiteAuthorizationProviderInput) GoString() string

GoString returns the string representation

func (*DisassociateWebsiteAuthorizationProviderInput) SetAuthorizationProviderId

func (s *DisassociateWebsiteAuthorizationProviderInput) SetAuthorizationProviderId(v string) *DisassociateWebsiteAuthorizationProviderInput

SetAuthorizationProviderId sets the AuthorizationProviderId field's value.

func (*DisassociateWebsiteAuthorizationProviderInput) SetFleetArn

func (s *DisassociateWebsiteAuthorizationProviderInput) SetFleetArn(v string) *DisassociateWebsiteAuthorizationProviderInput

SetFleetArn sets the FleetArn field's value.

func (DisassociateWebsiteAuthorizationProviderInput) String

func (s DisassociateWebsiteAuthorizationProviderInput) String() string

String returns the string representation

func (*DisassociateWebsiteAuthorizationProviderInput) Validate

func (s *DisassociateWebsiteAuthorizationProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateWebsiteAuthorizationProviderOutput

type DisassociateWebsiteAuthorizationProviderOutput struct {
    // contains filtered or unexported fields
}

func (DisassociateWebsiteAuthorizationProviderOutput) GoString

func (s DisassociateWebsiteAuthorizationProviderOutput) GoString() string

GoString returns the string representation

func (DisassociateWebsiteAuthorizationProviderOutput) String

func (s DisassociateWebsiteAuthorizationProviderOutput) String() string

String returns the string representation

type DisassociateWebsiteCertificateAuthorityInput

type DisassociateWebsiteCertificateAuthorityInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // A unique identifier for the CA.
    //
    // WebsiteCaId is a required field
    WebsiteCaId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisassociateWebsiteCertificateAuthorityInput) GoString

func (s DisassociateWebsiteCertificateAuthorityInput) GoString() string

GoString returns the string representation

func (*DisassociateWebsiteCertificateAuthorityInput) SetFleetArn

func (s *DisassociateWebsiteCertificateAuthorityInput) SetFleetArn(v string) *DisassociateWebsiteCertificateAuthorityInput

SetFleetArn sets the FleetArn field's value.

func (*DisassociateWebsiteCertificateAuthorityInput) SetWebsiteCaId

func (s *DisassociateWebsiteCertificateAuthorityInput) SetWebsiteCaId(v string) *DisassociateWebsiteCertificateAuthorityInput

SetWebsiteCaId sets the WebsiteCaId field's value.

func (DisassociateWebsiteCertificateAuthorityInput) String

func (s DisassociateWebsiteCertificateAuthorityInput) String() string

String returns the string representation

func (*DisassociateWebsiteCertificateAuthorityInput) Validate

func (s *DisassociateWebsiteCertificateAuthorityInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateWebsiteCertificateAuthorityOutput

type DisassociateWebsiteCertificateAuthorityOutput struct {
    // contains filtered or unexported fields
}

func (DisassociateWebsiteCertificateAuthorityOutput) GoString

func (s DisassociateWebsiteCertificateAuthorityOutput) GoString() string

GoString returns the string representation

func (DisassociateWebsiteCertificateAuthorityOutput) String

func (s DisassociateWebsiteCertificateAuthorityOutput) String() string

String returns the string representation

type DomainSummary

type DomainSummary struct {

    // The time that the domain was created.
    //
    // CreatedTime is a required field
    CreatedTime *time.Time `type:"timestamp" required:"true"`

    // The name to display.
    DisplayName *string `type:"string"`

    // The name of the domain.
    //
    // DomainName is a required field
    DomainName *string `min:"1" type:"string" required:"true"`

    // The status of the domain.
    //
    // DomainStatus is a required field
    DomainStatus *string `type:"string" required:"true" enum:"DomainStatus"`
    // contains filtered or unexported fields
}

The summary of the domain.

func (DomainSummary) GoString

func (s DomainSummary) GoString() string

GoString returns the string representation

func (*DomainSummary) SetCreatedTime

func (s *DomainSummary) SetCreatedTime(v time.Time) *DomainSummary

SetCreatedTime sets the CreatedTime field's value.

func (*DomainSummary) SetDisplayName

func (s *DomainSummary) SetDisplayName(v string) *DomainSummary

SetDisplayName sets the DisplayName field's value.

func (*DomainSummary) SetDomainName

func (s *DomainSummary) SetDomainName(v string) *DomainSummary

SetDomainName sets the DomainName field's value.

func (*DomainSummary) SetDomainStatus

func (s *DomainSummary) SetDomainStatus(v string) *DomainSummary

SetDomainStatus sets the DomainStatus field's value.

func (DomainSummary) String

func (s DomainSummary) String() string

String returns the string representation

type FleetSummary

type FleetSummary struct {

    // The identifier used by users to sign into the Amazon WorkLink app.
    CompanyCode *string `min:"1" type:"string"`

    // The time when the fleet was created.
    CreatedTime *time.Time `type:"timestamp"`

    // The name to display.
    DisplayName *string `type:"string"`

    // The ARN of the fleet.
    FleetArn *string `min:"20" type:"string"`

    // The name of the fleet.
    FleetName *string `min:"1" type:"string"`

    // The status of the fleet.
    FleetStatus *string `type:"string" enum:"FleetStatus"`

    // The time when the fleet was last updated.
    LastUpdatedTime *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

The summary of the fleet.

func (FleetSummary) GoString

func (s FleetSummary) GoString() string

GoString returns the string representation

func (*FleetSummary) SetCompanyCode

func (s *FleetSummary) SetCompanyCode(v string) *FleetSummary

SetCompanyCode sets the CompanyCode field's value.

func (*FleetSummary) SetCreatedTime

func (s *FleetSummary) SetCreatedTime(v time.Time) *FleetSummary

SetCreatedTime sets the CreatedTime field's value.

func (*FleetSummary) SetDisplayName

func (s *FleetSummary) SetDisplayName(v string) *FleetSummary

SetDisplayName sets the DisplayName field's value.

func (*FleetSummary) SetFleetArn

func (s *FleetSummary) SetFleetArn(v string) *FleetSummary

SetFleetArn sets the FleetArn field's value.

func (*FleetSummary) SetFleetName

func (s *FleetSummary) SetFleetName(v string) *FleetSummary

SetFleetName sets the FleetName field's value.

func (*FleetSummary) SetFleetStatus

func (s *FleetSummary) SetFleetStatus(v string) *FleetSummary

SetFleetStatus sets the FleetStatus field's value.

func (*FleetSummary) SetLastUpdatedTime

func (s *FleetSummary) SetLastUpdatedTime(v time.Time) *FleetSummary

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (FleetSummary) String

func (s FleetSummary) String() string

String returns the string representation

type ListDevicesInput

type ListDevicesInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // The maximum number of results to be included in the next page.
    MaxResults *int64 `min:"1" type:"integer"`

    // The pagination token used to retrieve the next page of results for this operation.
    // If this value is null, it retrieves the first page.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListDevicesInput) GoString

func (s ListDevicesInput) GoString() string

GoString returns the string representation

func (*ListDevicesInput) SetFleetArn

func (s *ListDevicesInput) SetFleetArn(v string) *ListDevicesInput

SetFleetArn sets the FleetArn field's value.

func (*ListDevicesInput) SetMaxResults

func (s *ListDevicesInput) SetMaxResults(v int64) *ListDevicesInput

SetMaxResults sets the MaxResults field's value.

func (*ListDevicesInput) SetNextToken

func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput

SetNextToken sets the NextToken field's value.

func (ListDevicesInput) String

func (s ListDevicesInput) String() string

String returns the string representation

func (*ListDevicesInput) Validate

func (s *ListDevicesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDevicesOutput

type ListDevicesOutput struct {

    // Information about the devices.
    Devices []*DeviceSummary `type:"list"`

    // The pagination token used to retrieve the next page of results for this operation.
    // If there are no more pages, this value is null.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListDevicesOutput) GoString

func (s ListDevicesOutput) GoString() string

GoString returns the string representation

func (*ListDevicesOutput) SetDevices

func (s *ListDevicesOutput) SetDevices(v []*DeviceSummary) *ListDevicesOutput

SetDevices sets the Devices field's value.

func (*ListDevicesOutput) SetNextToken

func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput

SetNextToken sets the NextToken field's value.

func (ListDevicesOutput) String

func (s ListDevicesOutput) String() string

String returns the string representation

type ListDomainsInput

type ListDomainsInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // The maximum number of results to be included in the next page.
    MaxResults *int64 `min:"1" type:"integer"`

    // The pagination token used to retrieve the next page of results for this operation.
    // If this value is null, it retrieves the first page.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListDomainsInput) GoString

func (s ListDomainsInput) GoString() string

GoString returns the string representation

func (*ListDomainsInput) SetFleetArn

func (s *ListDomainsInput) SetFleetArn(v string) *ListDomainsInput

SetFleetArn sets the FleetArn field's value.

func (*ListDomainsInput) SetMaxResults

func (s *ListDomainsInput) SetMaxResults(v int64) *ListDomainsInput

SetMaxResults sets the MaxResults field's value.

func (*ListDomainsInput) SetNextToken

func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput

SetNextToken sets the NextToken field's value.

func (ListDomainsInput) String

func (s ListDomainsInput) String() string

String returns the string representation

func (*ListDomainsInput) Validate

func (s *ListDomainsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDomainsOutput

type ListDomainsOutput struct {

    // Information about the domains.
    Domains []*DomainSummary `type:"list"`

    // The pagination token used to retrieve the next page of results for this operation.
    // If there are no more pages, this value is null.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListDomainsOutput) GoString

func (s ListDomainsOutput) GoString() string

GoString returns the string representation

func (*ListDomainsOutput) SetDomains

func (s *ListDomainsOutput) SetDomains(v []*DomainSummary) *ListDomainsOutput

SetDomains sets the Domains field's value.

func (*ListDomainsOutput) SetNextToken

func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput

SetNextToken sets the NextToken field's value.

func (ListDomainsOutput) String

func (s ListDomainsOutput) String() string

String returns the string representation

type ListFleetsInput

type ListFleetsInput struct {

    // The maximum number of results to be included in the next page.
    MaxResults *int64 `min:"1" type:"integer"`

    // The pagination token used to retrieve the next page of results for this operation.
    // If this value is null, it retrieves the first page.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListFleetsInput) GoString

func (s ListFleetsInput) GoString() string

GoString returns the string representation

func (*ListFleetsInput) SetMaxResults

func (s *ListFleetsInput) SetMaxResults(v int64) *ListFleetsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFleetsInput) SetNextToken

func (s *ListFleetsInput) SetNextToken(v string) *ListFleetsInput

SetNextToken sets the NextToken field's value.

func (ListFleetsInput) String

func (s ListFleetsInput) String() string

String returns the string representation

func (*ListFleetsInput) Validate

func (s *ListFleetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFleetsOutput

type ListFleetsOutput struct {

    // The summary list of the fleets.
    FleetSummaryList []*FleetSummary `type:"list"`

    // The pagination token used to retrieve the next page of results for this operation.
    // If there are no more pages, this value is null.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListFleetsOutput) GoString

func (s ListFleetsOutput) GoString() string

GoString returns the string representation

func (*ListFleetsOutput) SetFleetSummaryList

func (s *ListFleetsOutput) SetFleetSummaryList(v []*FleetSummary) *ListFleetsOutput

SetFleetSummaryList sets the FleetSummaryList field's value.

func (*ListFleetsOutput) SetNextToken

func (s *ListFleetsOutput) SetNextToken(v string) *ListFleetsOutput

SetNextToken sets the NextToken field's value.

func (ListFleetsOutput) String

func (s ListFleetsOutput) String() string

String returns the string representation

type ListWebsiteAuthorizationProvidersInput

type ListWebsiteAuthorizationProvidersInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // The maximum number of results to be included in the next page.
    MaxResults *int64 `min:"1" type:"integer"`

    // The pagination token to use to retrieve the next page of results for this
    // operation. If this value is null, it retrieves the first page.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListWebsiteAuthorizationProvidersInput) GoString

func (s ListWebsiteAuthorizationProvidersInput) GoString() string

GoString returns the string representation

func (*ListWebsiteAuthorizationProvidersInput) SetFleetArn

func (s *ListWebsiteAuthorizationProvidersInput) SetFleetArn(v string) *ListWebsiteAuthorizationProvidersInput

SetFleetArn sets the FleetArn field's value.

func (*ListWebsiteAuthorizationProvidersInput) SetMaxResults

func (s *ListWebsiteAuthorizationProvidersInput) SetMaxResults(v int64) *ListWebsiteAuthorizationProvidersInput

SetMaxResults sets the MaxResults field's value.

func (*ListWebsiteAuthorizationProvidersInput) SetNextToken

func (s *ListWebsiteAuthorizationProvidersInput) SetNextToken(v string) *ListWebsiteAuthorizationProvidersInput

SetNextToken sets the NextToken field's value.

func (ListWebsiteAuthorizationProvidersInput) String

func (s ListWebsiteAuthorizationProvidersInput) String() string

String returns the string representation

func (*ListWebsiteAuthorizationProvidersInput) Validate

func (s *ListWebsiteAuthorizationProvidersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListWebsiteAuthorizationProvidersOutput

type ListWebsiteAuthorizationProvidersOutput struct {

    // The pagination token to use to retrieve the next page of results for this
    // operation. If this value is null, it retrieves the first page.
    NextToken *string `min:"1" type:"string"`

    // The website authorization providers.
    WebsiteAuthorizationProviders []*WebsiteAuthorizationProviderSummary `type:"list"`
    // contains filtered or unexported fields
}

func (ListWebsiteAuthorizationProvidersOutput) GoString

func (s ListWebsiteAuthorizationProvidersOutput) GoString() string

GoString returns the string representation

func (*ListWebsiteAuthorizationProvidersOutput) SetNextToken

func (s *ListWebsiteAuthorizationProvidersOutput) SetNextToken(v string) *ListWebsiteAuthorizationProvidersOutput

SetNextToken sets the NextToken field's value.

func (*ListWebsiteAuthorizationProvidersOutput) SetWebsiteAuthorizationProviders

func (s *ListWebsiteAuthorizationProvidersOutput) SetWebsiteAuthorizationProviders(v []*WebsiteAuthorizationProviderSummary) *ListWebsiteAuthorizationProvidersOutput

SetWebsiteAuthorizationProviders sets the WebsiteAuthorizationProviders field's value.

func (ListWebsiteAuthorizationProvidersOutput) String

func (s ListWebsiteAuthorizationProvidersOutput) String() string

String returns the string representation

type ListWebsiteCertificateAuthoritiesInput

type ListWebsiteCertificateAuthoritiesInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // The maximum number of results to be included in the next page.
    MaxResults *int64 `min:"1" type:"integer"`

    // The pagination token used to retrieve the next page of results for this operation.
    // If this value is null, it retrieves the first page.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListWebsiteCertificateAuthoritiesInput) GoString

func (s ListWebsiteCertificateAuthoritiesInput) GoString() string

GoString returns the string representation

func (*ListWebsiteCertificateAuthoritiesInput) SetFleetArn

func (s *ListWebsiteCertificateAuthoritiesInput) SetFleetArn(v string) *ListWebsiteCertificateAuthoritiesInput

SetFleetArn sets the FleetArn field's value.

func (*ListWebsiteCertificateAuthoritiesInput) SetMaxResults

func (s *ListWebsiteCertificateAuthoritiesInput) SetMaxResults(v int64) *ListWebsiteCertificateAuthoritiesInput

SetMaxResults sets the MaxResults field's value.

func (*ListWebsiteCertificateAuthoritiesInput) SetNextToken

func (s *ListWebsiteCertificateAuthoritiesInput) SetNextToken(v string) *ListWebsiteCertificateAuthoritiesInput

SetNextToken sets the NextToken field's value.

func (ListWebsiteCertificateAuthoritiesInput) String

func (s ListWebsiteCertificateAuthoritiesInput) String() string

String returns the string representation

func (*ListWebsiteCertificateAuthoritiesInput) Validate

func (s *ListWebsiteCertificateAuthoritiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListWebsiteCertificateAuthoritiesOutput

type ListWebsiteCertificateAuthoritiesOutput struct {

    // The pagination token used to retrieve the next page of results for this operation.
    // If there are no more pages, this value is null.
    NextToken *string `min:"1" type:"string"`

    // Information about the certificates.
    WebsiteCertificateAuthorities []*WebsiteCaSummary `type:"list"`
    // contains filtered or unexported fields
}

func (ListWebsiteCertificateAuthoritiesOutput) GoString

func (s ListWebsiteCertificateAuthoritiesOutput) GoString() string

GoString returns the string representation

func (*ListWebsiteCertificateAuthoritiesOutput) SetNextToken

func (s *ListWebsiteCertificateAuthoritiesOutput) SetNextToken(v string) *ListWebsiteCertificateAuthoritiesOutput

SetNextToken sets the NextToken field's value.

func (*ListWebsiteCertificateAuthoritiesOutput) SetWebsiteCertificateAuthorities

func (s *ListWebsiteCertificateAuthoritiesOutput) SetWebsiteCertificateAuthorities(v []*WebsiteCaSummary) *ListWebsiteCertificateAuthoritiesOutput

SetWebsiteCertificateAuthorities sets the WebsiteCertificateAuthorities field's value.

func (ListWebsiteCertificateAuthoritiesOutput) String

func (s ListWebsiteCertificateAuthoritiesOutput) String() string

String returns the string representation

type RestoreDomainAccessInput

type RestoreDomainAccessInput struct {

    // The name of the domain.
    //
    // DomainName is a required field
    DomainName *string `min:"1" type:"string" required:"true"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (RestoreDomainAccessInput) GoString

func (s RestoreDomainAccessInput) GoString() string

GoString returns the string representation

func (*RestoreDomainAccessInput) SetDomainName

func (s *RestoreDomainAccessInput) SetDomainName(v string) *RestoreDomainAccessInput

SetDomainName sets the DomainName field's value.

func (*RestoreDomainAccessInput) SetFleetArn

func (s *RestoreDomainAccessInput) SetFleetArn(v string) *RestoreDomainAccessInput

SetFleetArn sets the FleetArn field's value.

func (RestoreDomainAccessInput) String

func (s RestoreDomainAccessInput) String() string

String returns the string representation

func (*RestoreDomainAccessInput) Validate

func (s *RestoreDomainAccessInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RestoreDomainAccessOutput

type RestoreDomainAccessOutput struct {
    // contains filtered or unexported fields
}

func (RestoreDomainAccessOutput) GoString

func (s RestoreDomainAccessOutput) GoString() string

GoString returns the string representation

func (RestoreDomainAccessOutput) String

func (s RestoreDomainAccessOutput) String() string

String returns the string representation

type RevokeDomainAccessInput

type RevokeDomainAccessInput struct {

    // The name of the domain.
    //
    // DomainName is a required field
    DomainName *string `min:"1" type:"string" required:"true"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (RevokeDomainAccessInput) GoString

func (s RevokeDomainAccessInput) GoString() string

GoString returns the string representation

func (*RevokeDomainAccessInput) SetDomainName

func (s *RevokeDomainAccessInput) SetDomainName(v string) *RevokeDomainAccessInput

SetDomainName sets the DomainName field's value.

func (*RevokeDomainAccessInput) SetFleetArn

func (s *RevokeDomainAccessInput) SetFleetArn(v string) *RevokeDomainAccessInput

SetFleetArn sets the FleetArn field's value.

func (RevokeDomainAccessInput) String

func (s RevokeDomainAccessInput) String() string

String returns the string representation

func (*RevokeDomainAccessInput) Validate

func (s *RevokeDomainAccessInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RevokeDomainAccessOutput

type RevokeDomainAccessOutput struct {
    // contains filtered or unexported fields
}

func (RevokeDomainAccessOutput) GoString

func (s RevokeDomainAccessOutput) GoString() string

GoString returns the string representation

func (RevokeDomainAccessOutput) String

func (s RevokeDomainAccessOutput) String() string

String returns the string representation

type SignOutUserInput

type SignOutUserInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // The name of the user.
    //
    // Username is a required field
    Username *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (SignOutUserInput) GoString

func (s SignOutUserInput) GoString() string

GoString returns the string representation

func (*SignOutUserInput) SetFleetArn

func (s *SignOutUserInput) SetFleetArn(v string) *SignOutUserInput

SetFleetArn sets the FleetArn field's value.

func (*SignOutUserInput) SetUsername

func (s *SignOutUserInput) SetUsername(v string) *SignOutUserInput

SetUsername sets the Username field's value.

func (SignOutUserInput) String

func (s SignOutUserInput) String() string

String returns the string representation

func (*SignOutUserInput) Validate

func (s *SignOutUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SignOutUserOutput

type SignOutUserOutput struct {
    // contains filtered or unexported fields
}

func (SignOutUserOutput) GoString

func (s SignOutUserOutput) GoString() string

GoString returns the string representation

func (SignOutUserOutput) String

func (s SignOutUserOutput) String() string

String returns the string representation

type UpdateAuditStreamConfigurationInput

type UpdateAuditStreamConfigurationInput struct {

    // The ARN of the Amazon Kinesis data stream that receives the audit events.
    AuditStreamArn *string `type:"string"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateAuditStreamConfigurationInput) GoString

func (s UpdateAuditStreamConfigurationInput) GoString() string

GoString returns the string representation

func (*UpdateAuditStreamConfigurationInput) SetAuditStreamArn

func (s *UpdateAuditStreamConfigurationInput) SetAuditStreamArn(v string) *UpdateAuditStreamConfigurationInput

SetAuditStreamArn sets the AuditStreamArn field's value.

func (*UpdateAuditStreamConfigurationInput) SetFleetArn

func (s *UpdateAuditStreamConfigurationInput) SetFleetArn(v string) *UpdateAuditStreamConfigurationInput

SetFleetArn sets the FleetArn field's value.

func (UpdateAuditStreamConfigurationInput) String

func (s UpdateAuditStreamConfigurationInput) String() string

String returns the string representation

func (*UpdateAuditStreamConfigurationInput) Validate

func (s *UpdateAuditStreamConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateAuditStreamConfigurationOutput

type UpdateAuditStreamConfigurationOutput struct {
    // contains filtered or unexported fields
}

func (UpdateAuditStreamConfigurationOutput) GoString

func (s UpdateAuditStreamConfigurationOutput) GoString() string

GoString returns the string representation

func (UpdateAuditStreamConfigurationOutput) String

func (s UpdateAuditStreamConfigurationOutput) String() string

String returns the string representation

type UpdateCompanyNetworkConfigurationInput

type UpdateCompanyNetworkConfigurationInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // The security groups associated with access to the provided subnets.
    //
    // SecurityGroupIds is a required field
    SecurityGroupIds []*string `type:"list" required:"true"`

    // The subnets used for X-ENI connections from Amazon WorkLink rendering containers.
    //
    // SubnetIds is a required field
    SubnetIds []*string `type:"list" required:"true"`

    // The VPC with connectivity to associated websites.
    //
    // VpcId is a required field
    VpcId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateCompanyNetworkConfigurationInput) GoString

func (s UpdateCompanyNetworkConfigurationInput) GoString() string

GoString returns the string representation

func (*UpdateCompanyNetworkConfigurationInput) SetFleetArn

func (s *UpdateCompanyNetworkConfigurationInput) SetFleetArn(v string) *UpdateCompanyNetworkConfigurationInput

SetFleetArn sets the FleetArn field's value.

func (*UpdateCompanyNetworkConfigurationInput) SetSecurityGroupIds

func (s *UpdateCompanyNetworkConfigurationInput) SetSecurityGroupIds(v []*string) *UpdateCompanyNetworkConfigurationInput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*UpdateCompanyNetworkConfigurationInput) SetSubnetIds

func (s *UpdateCompanyNetworkConfigurationInput) SetSubnetIds(v []*string) *UpdateCompanyNetworkConfigurationInput

SetSubnetIds sets the SubnetIds field's value.

func (*UpdateCompanyNetworkConfigurationInput) SetVpcId

func (s *UpdateCompanyNetworkConfigurationInput) SetVpcId(v string) *UpdateCompanyNetworkConfigurationInput

SetVpcId sets the VpcId field's value.

func (UpdateCompanyNetworkConfigurationInput) String

func (s UpdateCompanyNetworkConfigurationInput) String() string

String returns the string representation

func (*UpdateCompanyNetworkConfigurationInput) Validate

func (s *UpdateCompanyNetworkConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateCompanyNetworkConfigurationOutput

type UpdateCompanyNetworkConfigurationOutput struct {
    // contains filtered or unexported fields
}

func (UpdateCompanyNetworkConfigurationOutput) GoString

func (s UpdateCompanyNetworkConfigurationOutput) GoString() string

GoString returns the string representation

func (UpdateCompanyNetworkConfigurationOutput) String

func (s UpdateCompanyNetworkConfigurationOutput) String() string

String returns the string representation

type UpdateDevicePolicyConfigurationInput

type UpdateDevicePolicyConfigurationInput struct {

    // The certificate chain, including intermediate certificates and the root certificate
    // authority certificate used to issue device certificates.
    DeviceCaCertificate *string `min:"1" type:"string"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateDevicePolicyConfigurationInput) GoString

func (s UpdateDevicePolicyConfigurationInput) GoString() string

GoString returns the string representation

func (*UpdateDevicePolicyConfigurationInput) SetDeviceCaCertificate

func (s *UpdateDevicePolicyConfigurationInput) SetDeviceCaCertificate(v string) *UpdateDevicePolicyConfigurationInput

SetDeviceCaCertificate sets the DeviceCaCertificate field's value.

func (*UpdateDevicePolicyConfigurationInput) SetFleetArn

func (s *UpdateDevicePolicyConfigurationInput) SetFleetArn(v string) *UpdateDevicePolicyConfigurationInput

SetFleetArn sets the FleetArn field's value.

func (UpdateDevicePolicyConfigurationInput) String

func (s UpdateDevicePolicyConfigurationInput) String() string

String returns the string representation

func (*UpdateDevicePolicyConfigurationInput) Validate

func (s *UpdateDevicePolicyConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDevicePolicyConfigurationOutput

type UpdateDevicePolicyConfigurationOutput struct {
    // contains filtered or unexported fields
}

func (UpdateDevicePolicyConfigurationOutput) GoString

func (s UpdateDevicePolicyConfigurationOutput) GoString() string

GoString returns the string representation

func (UpdateDevicePolicyConfigurationOutput) String

func (s UpdateDevicePolicyConfigurationOutput) String() string

String returns the string representation

type UpdateDomainMetadataInput

type UpdateDomainMetadataInput struct {

    // The name to display.
    DisplayName *string `type:"string"`

    // The name of the domain.
    //
    // DomainName is a required field
    DomainName *string `min:"1" type:"string" required:"true"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (UpdateDomainMetadataInput) GoString

func (s UpdateDomainMetadataInput) GoString() string

GoString returns the string representation

func (*UpdateDomainMetadataInput) SetDisplayName

func (s *UpdateDomainMetadataInput) SetDisplayName(v string) *UpdateDomainMetadataInput

SetDisplayName sets the DisplayName field's value.

func (*UpdateDomainMetadataInput) SetDomainName

func (s *UpdateDomainMetadataInput) SetDomainName(v string) *UpdateDomainMetadataInput

SetDomainName sets the DomainName field's value.

func (*UpdateDomainMetadataInput) SetFleetArn

func (s *UpdateDomainMetadataInput) SetFleetArn(v string) *UpdateDomainMetadataInput

SetFleetArn sets the FleetArn field's value.

func (UpdateDomainMetadataInput) String

func (s UpdateDomainMetadataInput) String() string

String returns the string representation

func (*UpdateDomainMetadataInput) Validate

func (s *UpdateDomainMetadataInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDomainMetadataOutput

type UpdateDomainMetadataOutput struct {
    // contains filtered or unexported fields
}

func (UpdateDomainMetadataOutput) GoString

func (s UpdateDomainMetadataOutput) GoString() string

GoString returns the string representation

func (UpdateDomainMetadataOutput) String

func (s UpdateDomainMetadataOutput) String() string

String returns the string representation

type UpdateFleetMetadataInput

type UpdateFleetMetadataInput struct {

    // The fleet name to display. The existing DisplayName is unset if null is passed.
    DisplayName *string `type:"string"`

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // The option to optimize for better performance by routing traffic through
    // the closest AWS Region to users, which may be outside of your home Region.
    OptimizeForEndUserLocation *bool `type:"boolean"`
    // contains filtered or unexported fields
}

func (UpdateFleetMetadataInput) GoString

func (s UpdateFleetMetadataInput) GoString() string

GoString returns the string representation

func (*UpdateFleetMetadataInput) SetDisplayName

func (s *UpdateFleetMetadataInput) SetDisplayName(v string) *UpdateFleetMetadataInput

SetDisplayName sets the DisplayName field's value.

func (*UpdateFleetMetadataInput) SetFleetArn

func (s *UpdateFleetMetadataInput) SetFleetArn(v string) *UpdateFleetMetadataInput

SetFleetArn sets the FleetArn field's value.

func (*UpdateFleetMetadataInput) SetOptimizeForEndUserLocation

func (s *UpdateFleetMetadataInput) SetOptimizeForEndUserLocation(v bool) *UpdateFleetMetadataInput

SetOptimizeForEndUserLocation sets the OptimizeForEndUserLocation field's value.

func (UpdateFleetMetadataInput) String

func (s UpdateFleetMetadataInput) String() string

String returns the string representation

func (*UpdateFleetMetadataInput) Validate

func (s *UpdateFleetMetadataInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateFleetMetadataOutput

type UpdateFleetMetadataOutput struct {
    // contains filtered or unexported fields
}

func (UpdateFleetMetadataOutput) GoString

func (s UpdateFleetMetadataOutput) GoString() string

GoString returns the string representation

func (UpdateFleetMetadataOutput) String

func (s UpdateFleetMetadataOutput) String() string

String returns the string representation

type UpdateIdentityProviderConfigurationInput

type UpdateIdentityProviderConfigurationInput struct {

    // The ARN of the fleet.
    //
    // FleetArn is a required field
    FleetArn *string `min:"20" type:"string" required:"true"`

    // The SAML metadata document provided by the customer’s identity provider.
    // The existing IdentityProviderSamlMetadata is unset if null is passed.
    IdentityProviderSamlMetadata *string `min:"1" type:"string"`

    // The type of identity provider.
    //
    // IdentityProviderType is a required field
    IdentityProviderType *string `type:"string" required:"true" enum:"IdentityProviderType"`
    // contains filtered or unexported fields
}

func (UpdateIdentityProviderConfigurationInput) GoString

func (s UpdateIdentityProviderConfigurationInput) GoString() string

GoString returns the string representation

func (*UpdateIdentityProviderConfigurationInput) SetFleetArn

func (s *UpdateIdentityProviderConfigurationInput) SetFleetArn(v string) *UpdateIdentityProviderConfigurationInput

SetFleetArn sets the FleetArn field's value.

func (*UpdateIdentityProviderConfigurationInput) SetIdentityProviderSamlMetadata

func (s *UpdateIdentityProviderConfigurationInput) SetIdentityProviderSamlMetadata(v string) *UpdateIdentityProviderConfigurationInput

SetIdentityProviderSamlMetadata sets the IdentityProviderSamlMetadata field's value.

func (*UpdateIdentityProviderConfigurationInput) SetIdentityProviderType

func (s *UpdateIdentityProviderConfigurationInput) SetIdentityProviderType(v string) *UpdateIdentityProviderConfigurationInput

SetIdentityProviderType sets the IdentityProviderType field's value.

func (UpdateIdentityProviderConfigurationInput) String

func (s UpdateIdentityProviderConfigurationInput) String() string

String returns the string representation

func (*UpdateIdentityProviderConfigurationInput) Validate

func (s *UpdateIdentityProviderConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateIdentityProviderConfigurationOutput

type UpdateIdentityProviderConfigurationOutput struct {
    // contains filtered or unexported fields
}

func (UpdateIdentityProviderConfigurationOutput) GoString

func (s UpdateIdentityProviderConfigurationOutput) GoString() string

GoString returns the string representation

func (UpdateIdentityProviderConfigurationOutput) String

func (s UpdateIdentityProviderConfigurationOutput) String() string

String returns the string representation

type WebsiteAuthorizationProviderSummary

type WebsiteAuthorizationProviderSummary struct {

    // A unique identifier for the authorization provider.
    AuthorizationProviderId *string `min:"1" type:"string"`

    // The authorization provider type.
    //
    // AuthorizationProviderType is a required field
    AuthorizationProviderType *string `type:"string" required:"true" enum:"AuthorizationProviderType"`

    // The time of creation.
    CreatedTime *time.Time `type:"timestamp"`

    // The domain name of the authorization provider. This applies only to SAML-based
    // authorization providers.
    DomainName *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

The summary of the website authorization provider.

func (WebsiteAuthorizationProviderSummary) GoString

func (s WebsiteAuthorizationProviderSummary) GoString() string

GoString returns the string representation

func (*WebsiteAuthorizationProviderSummary) SetAuthorizationProviderId

func (s *WebsiteAuthorizationProviderSummary) SetAuthorizationProviderId(v string) *WebsiteAuthorizationProviderSummary

SetAuthorizationProviderId sets the AuthorizationProviderId field's value.

func (*WebsiteAuthorizationProviderSummary) SetAuthorizationProviderType

func (s *WebsiteAuthorizationProviderSummary) SetAuthorizationProviderType(v string) *WebsiteAuthorizationProviderSummary

SetAuthorizationProviderType sets the AuthorizationProviderType field's value.

func (*WebsiteAuthorizationProviderSummary) SetCreatedTime

func (s *WebsiteAuthorizationProviderSummary) SetCreatedTime(v time.Time) *WebsiteAuthorizationProviderSummary

SetCreatedTime sets the CreatedTime field's value.

func (*WebsiteAuthorizationProviderSummary) SetDomainName

func (s *WebsiteAuthorizationProviderSummary) SetDomainName(v string) *WebsiteAuthorizationProviderSummary

SetDomainName sets the DomainName field's value.

func (WebsiteAuthorizationProviderSummary) String

func (s WebsiteAuthorizationProviderSummary) String() string

String returns the string representation

type WebsiteCaSummary

type WebsiteCaSummary struct {

    // The time when the CA was added.
    CreatedTime *time.Time `type:"timestamp"`

    // The name to display.
    DisplayName *string `type:"string"`

    // A unique identifier for the CA.
    WebsiteCaId *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

The summary of the certificate authority (CA).

func (WebsiteCaSummary) GoString

func (s WebsiteCaSummary) GoString() string

GoString returns the string representation

func (*WebsiteCaSummary) SetCreatedTime

func (s *WebsiteCaSummary) SetCreatedTime(v time.Time) *WebsiteCaSummary

SetCreatedTime sets the CreatedTime field's value.

func (*WebsiteCaSummary) SetDisplayName

func (s *WebsiteCaSummary) SetDisplayName(v string) *WebsiteCaSummary

SetDisplayName sets the DisplayName field's value.

func (*WebsiteCaSummary) SetWebsiteCaId

func (s *WebsiteCaSummary) SetWebsiteCaId(v string) *WebsiteCaSummary

SetWebsiteCaId sets the WebsiteCaId field's value.

func (WebsiteCaSummary) String

func (s WebsiteCaSummary) String() string

String returns the string representation

type WorkLink struct {
    *client.Client
}

WorkLink provides the API operation methods for making requests to Amazon WorkLink. See this package's package overview docs for details on the service.

WorkLink methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkLink

New creates a new instance of the WorkLink client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a WorkLink client from just a session.
svc := worklink.New(mySession)

// Create a WorkLink client with additional configuration
svc := worklink.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*WorkLink) AssociateDomain

func (c *WorkLink) AssociateDomain(input *AssociateDomainInput) (*AssociateDomainOutput, error)

AssociateDomain API operation for Amazon WorkLink.

Specifies a domain to be associated to Amazon WorkLink.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation AssociateDomain for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The resource already exists.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomain

func (*WorkLink) AssociateDomainRequest

func (c *WorkLink) AssociateDomainRequest(input *AssociateDomainInput) (req *request.Request, output *AssociateDomainOutput)

AssociateDomainRequest generates a "aws/request.Request" representing the client's request for the AssociateDomain operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateDomain for more information on using the AssociateDomain API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateDomainRequest method.
req, resp := client.AssociateDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomain

func (*WorkLink) AssociateDomainWithContext

func (c *WorkLink) AssociateDomainWithContext(ctx aws.Context, input *AssociateDomainInput, opts ...request.Option) (*AssociateDomainOutput, error)

AssociateDomainWithContext is the same as AssociateDomain with the addition of the ability to pass a context and additional request options.

See AssociateDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) AssociateWebsiteAuthorizationProvider

func (c *WorkLink) AssociateWebsiteAuthorizationProvider(input *AssociateWebsiteAuthorizationProviderInput) (*AssociateWebsiteAuthorizationProviderOutput, error)

AssociateWebsiteAuthorizationProvider API operation for Amazon WorkLink.

Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation AssociateWebsiteAuthorizationProvider for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The resource already exists.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProvider

func (*WorkLink) AssociateWebsiteAuthorizationProviderRequest

func (c *WorkLink) AssociateWebsiteAuthorizationProviderRequest(input *AssociateWebsiteAuthorizationProviderInput) (req *request.Request, output *AssociateWebsiteAuthorizationProviderOutput)

AssociateWebsiteAuthorizationProviderRequest generates a "aws/request.Request" representing the client's request for the AssociateWebsiteAuthorizationProvider operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateWebsiteAuthorizationProvider for more information on using the AssociateWebsiteAuthorizationProvider API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateWebsiteAuthorizationProviderRequest method.
req, resp := client.AssociateWebsiteAuthorizationProviderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProvider

func (*WorkLink) AssociateWebsiteAuthorizationProviderWithContext

func (c *WorkLink) AssociateWebsiteAuthorizationProviderWithContext(ctx aws.Context, input *AssociateWebsiteAuthorizationProviderInput, opts ...request.Option) (*AssociateWebsiteAuthorizationProviderOutput, error)

AssociateWebsiteAuthorizationProviderWithContext is the same as AssociateWebsiteAuthorizationProvider with the addition of the ability to pass a context and additional request options.

See AssociateWebsiteAuthorizationProvider for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) AssociateWebsiteCertificateAuthority

func (c *WorkLink) AssociateWebsiteCertificateAuthority(input *AssociateWebsiteCertificateAuthorityInput) (*AssociateWebsiteCertificateAuthorityOutput, error)

AssociateWebsiteCertificateAuthority API operation for Amazon WorkLink.

Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation AssociateWebsiteCertificateAuthority for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The resource already exists.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthority

func (*WorkLink) AssociateWebsiteCertificateAuthorityRequest

func (c *WorkLink) AssociateWebsiteCertificateAuthorityRequest(input *AssociateWebsiteCertificateAuthorityInput) (req *request.Request, output *AssociateWebsiteCertificateAuthorityOutput)

AssociateWebsiteCertificateAuthorityRequest generates a "aws/request.Request" representing the client's request for the AssociateWebsiteCertificateAuthority operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateWebsiteCertificateAuthority for more information on using the AssociateWebsiteCertificateAuthority API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateWebsiteCertificateAuthorityRequest method.
req, resp := client.AssociateWebsiteCertificateAuthorityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthority

func (*WorkLink) AssociateWebsiteCertificateAuthorityWithContext

func (c *WorkLink) AssociateWebsiteCertificateAuthorityWithContext(ctx aws.Context, input *AssociateWebsiteCertificateAuthorityInput, opts ...request.Option) (*AssociateWebsiteCertificateAuthorityOutput, error)

AssociateWebsiteCertificateAuthorityWithContext is the same as AssociateWebsiteCertificateAuthority with the addition of the ability to pass a context and additional request options.

See AssociateWebsiteCertificateAuthority for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) CreateFleet

func (c *WorkLink) CreateFleet(input *CreateFleetInput) (*CreateFleetOutput, error)

CreateFleet API operation for Amazon WorkLink.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation CreateFleet for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The resource already exists.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleet

func (*WorkLink) CreateFleetRequest

func (c *WorkLink) CreateFleetRequest(input *CreateFleetInput) (req *request.Request, output *CreateFleetOutput)

CreateFleetRequest generates a "aws/request.Request" representing the client's request for the CreateFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFleet for more information on using the CreateFleet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFleetRequest method.
req, resp := client.CreateFleetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleet

func (*WorkLink) CreateFleetWithContext

func (c *WorkLink) CreateFleetWithContext(ctx aws.Context, input *CreateFleetInput, opts ...request.Option) (*CreateFleetOutput, error)

CreateFleetWithContext is the same as CreateFleet with the addition of the ability to pass a context and additional request options.

See CreateFleet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DeleteFleet

func (c *WorkLink) DeleteFleet(input *DeleteFleetInput) (*DeleteFleetOutput, error)

DeleteFleet API operation for Amazon WorkLink.

Deletes a fleet. Prevents users from accessing previously associated websites.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DeleteFleet for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleet

func (*WorkLink) DeleteFleetRequest

func (c *WorkLink) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Request, output *DeleteFleetOutput)

DeleteFleetRequest generates a "aws/request.Request" representing the client's request for the DeleteFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFleet for more information on using the DeleteFleet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFleetRequest method.
req, resp := client.DeleteFleetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleet

func (*WorkLink) DeleteFleetWithContext

func (c *WorkLink) DeleteFleetWithContext(ctx aws.Context, input *DeleteFleetInput, opts ...request.Option) (*DeleteFleetOutput, error)

DeleteFleetWithContext is the same as DeleteFleet with the addition of the ability to pass a context and additional request options.

See DeleteFleet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DescribeAuditStreamConfiguration

func (c *WorkLink) DescribeAuditStreamConfiguration(input *DescribeAuditStreamConfigurationInput) (*DescribeAuditStreamConfigurationOutput, error)

DescribeAuditStreamConfiguration API operation for Amazon WorkLink.

Describes the configuration for delivering audit streams to the customer account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DescribeAuditStreamConfiguration for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfiguration

func (*WorkLink) DescribeAuditStreamConfigurationRequest

func (c *WorkLink) DescribeAuditStreamConfigurationRequest(input *DescribeAuditStreamConfigurationInput) (req *request.Request, output *DescribeAuditStreamConfigurationOutput)

DescribeAuditStreamConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeAuditStreamConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAuditStreamConfiguration for more information on using the DescribeAuditStreamConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAuditStreamConfigurationRequest method.
req, resp := client.DescribeAuditStreamConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfiguration

func (*WorkLink) DescribeAuditStreamConfigurationWithContext

func (c *WorkLink) DescribeAuditStreamConfigurationWithContext(ctx aws.Context, input *DescribeAuditStreamConfigurationInput, opts ...request.Option) (*DescribeAuditStreamConfigurationOutput, error)

DescribeAuditStreamConfigurationWithContext is the same as DescribeAuditStreamConfiguration with the addition of the ability to pass a context and additional request options.

See DescribeAuditStreamConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DescribeCompanyNetworkConfiguration

func (c *WorkLink) DescribeCompanyNetworkConfiguration(input *DescribeCompanyNetworkConfigurationInput) (*DescribeCompanyNetworkConfigurationOutput, error)

DescribeCompanyNetworkConfiguration API operation for Amazon WorkLink.

Describes the networking configuration to access the internal websites associated with the specified fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DescribeCompanyNetworkConfiguration for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfiguration

func (*WorkLink) DescribeCompanyNetworkConfigurationRequest

func (c *WorkLink) DescribeCompanyNetworkConfigurationRequest(input *DescribeCompanyNetworkConfigurationInput) (req *request.Request, output *DescribeCompanyNetworkConfigurationOutput)

DescribeCompanyNetworkConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeCompanyNetworkConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeCompanyNetworkConfiguration for more information on using the DescribeCompanyNetworkConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeCompanyNetworkConfigurationRequest method.
req, resp := client.DescribeCompanyNetworkConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfiguration

func (*WorkLink) DescribeCompanyNetworkConfigurationWithContext

func (c *WorkLink) DescribeCompanyNetworkConfigurationWithContext(ctx aws.Context, input *DescribeCompanyNetworkConfigurationInput, opts ...request.Option) (*DescribeCompanyNetworkConfigurationOutput, error)

DescribeCompanyNetworkConfigurationWithContext is the same as DescribeCompanyNetworkConfiguration with the addition of the ability to pass a context and additional request options.

See DescribeCompanyNetworkConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DescribeDevice

func (c *WorkLink) DescribeDevice(input *DescribeDeviceInput) (*DescribeDeviceOutput, error)

DescribeDevice API operation for Amazon WorkLink.

Provides information about a user's device.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DescribeDevice for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevice

func (*WorkLink) DescribeDevicePolicyConfiguration

func (c *WorkLink) DescribeDevicePolicyConfiguration(input *DescribeDevicePolicyConfigurationInput) (*DescribeDevicePolicyConfigurationOutput, error)

DescribeDevicePolicyConfiguration API operation for Amazon WorkLink.

Describes the device policy configuration for the specified fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DescribeDevicePolicyConfiguration for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfiguration

func (*WorkLink) DescribeDevicePolicyConfigurationRequest

func (c *WorkLink) DescribeDevicePolicyConfigurationRequest(input *DescribeDevicePolicyConfigurationInput) (req *request.Request, output *DescribeDevicePolicyConfigurationOutput)

DescribeDevicePolicyConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeDevicePolicyConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDevicePolicyConfiguration for more information on using the DescribeDevicePolicyConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDevicePolicyConfigurationRequest method.
req, resp := client.DescribeDevicePolicyConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfiguration

func (*WorkLink) DescribeDevicePolicyConfigurationWithContext

func (c *WorkLink) DescribeDevicePolicyConfigurationWithContext(ctx aws.Context, input *DescribeDevicePolicyConfigurationInput, opts ...request.Option) (*DescribeDevicePolicyConfigurationOutput, error)

DescribeDevicePolicyConfigurationWithContext is the same as DescribeDevicePolicyConfiguration with the addition of the ability to pass a context and additional request options.

See DescribeDevicePolicyConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DescribeDeviceRequest

func (c *WorkLink) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput)

DescribeDeviceRequest generates a "aws/request.Request" representing the client's request for the DescribeDevice operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDevice for more information on using the DescribeDevice API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDeviceRequest method.
req, resp := client.DescribeDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevice

func (*WorkLink) DescribeDeviceWithContext

func (c *WorkLink) DescribeDeviceWithContext(ctx aws.Context, input *DescribeDeviceInput, opts ...request.Option) (*DescribeDeviceOutput, error)

DescribeDeviceWithContext is the same as DescribeDevice with the addition of the ability to pass a context and additional request options.

See DescribeDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DescribeDomain

func (c *WorkLink) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error)

DescribeDomain API operation for Amazon WorkLink.

Provides information about the domain.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DescribeDomain for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomain

func (*WorkLink) DescribeDomainRequest

func (c *WorkLink) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput)

DescribeDomainRequest generates a "aws/request.Request" representing the client's request for the DescribeDomain operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDomain for more information on using the DescribeDomain API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDomainRequest method.
req, resp := client.DescribeDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomain

func (*WorkLink) DescribeDomainWithContext

func (c *WorkLink) DescribeDomainWithContext(ctx aws.Context, input *DescribeDomainInput, opts ...request.Option) (*DescribeDomainOutput, error)

DescribeDomainWithContext is the same as DescribeDomain with the addition of the ability to pass a context and additional request options.

See DescribeDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DescribeFleetMetadata

func (c *WorkLink) DescribeFleetMetadata(input *DescribeFleetMetadataInput) (*DescribeFleetMetadataOutput, error)

DescribeFleetMetadata API operation for Amazon WorkLink.

Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DescribeFleetMetadata for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadata

func (*WorkLink) DescribeFleetMetadataRequest

func (c *WorkLink) DescribeFleetMetadataRequest(input *DescribeFleetMetadataInput) (req *request.Request, output *DescribeFleetMetadataOutput)

DescribeFleetMetadataRequest generates a "aws/request.Request" representing the client's request for the DescribeFleetMetadata operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeFleetMetadata for more information on using the DescribeFleetMetadata API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeFleetMetadataRequest method.
req, resp := client.DescribeFleetMetadataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadata

func (*WorkLink) DescribeFleetMetadataWithContext

func (c *WorkLink) DescribeFleetMetadataWithContext(ctx aws.Context, input *DescribeFleetMetadataInput, opts ...request.Option) (*DescribeFleetMetadataOutput, error)

DescribeFleetMetadataWithContext is the same as DescribeFleetMetadata with the addition of the ability to pass a context and additional request options.

See DescribeFleetMetadata for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DescribeIdentityProviderConfiguration

func (c *WorkLink) DescribeIdentityProviderConfiguration(input *DescribeIdentityProviderConfigurationInput) (*DescribeIdentityProviderConfigurationOutput, error)

DescribeIdentityProviderConfiguration API operation for Amazon WorkLink.

Describes the identity provider configuration of the specified fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DescribeIdentityProviderConfiguration for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfiguration

func (*WorkLink) DescribeIdentityProviderConfigurationRequest

func (c *WorkLink) DescribeIdentityProviderConfigurationRequest(input *DescribeIdentityProviderConfigurationInput) (req *request.Request, output *DescribeIdentityProviderConfigurationOutput)

DescribeIdentityProviderConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeIdentityProviderConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeIdentityProviderConfiguration for more information on using the DescribeIdentityProviderConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeIdentityProviderConfigurationRequest method.
req, resp := client.DescribeIdentityProviderConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfiguration

func (*WorkLink) DescribeIdentityProviderConfigurationWithContext

func (c *WorkLink) DescribeIdentityProviderConfigurationWithContext(ctx aws.Context, input *DescribeIdentityProviderConfigurationInput, opts ...request.Option) (*DescribeIdentityProviderConfigurationOutput, error)

DescribeIdentityProviderConfigurationWithContext is the same as DescribeIdentityProviderConfiguration with the addition of the ability to pass a context and additional request options.

See DescribeIdentityProviderConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DescribeWebsiteCertificateAuthority

func (c *WorkLink) DescribeWebsiteCertificateAuthority(input *DescribeWebsiteCertificateAuthorityInput) (*DescribeWebsiteCertificateAuthorityOutput, error)

DescribeWebsiteCertificateAuthority API operation for Amazon WorkLink.

Provides information about the certificate authority.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DescribeWebsiteCertificateAuthority for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthority

func (*WorkLink) DescribeWebsiteCertificateAuthorityRequest

func (c *WorkLink) DescribeWebsiteCertificateAuthorityRequest(input *DescribeWebsiteCertificateAuthorityInput) (req *request.Request, output *DescribeWebsiteCertificateAuthorityOutput)

DescribeWebsiteCertificateAuthorityRequest generates a "aws/request.Request" representing the client's request for the DescribeWebsiteCertificateAuthority operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeWebsiteCertificateAuthority for more information on using the DescribeWebsiteCertificateAuthority API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeWebsiteCertificateAuthorityRequest method.
req, resp := client.DescribeWebsiteCertificateAuthorityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthority

func (*WorkLink) DescribeWebsiteCertificateAuthorityWithContext

func (c *WorkLink) DescribeWebsiteCertificateAuthorityWithContext(ctx aws.Context, input *DescribeWebsiteCertificateAuthorityInput, opts ...request.Option) (*DescribeWebsiteCertificateAuthorityOutput, error)

DescribeWebsiteCertificateAuthorityWithContext is the same as DescribeWebsiteCertificateAuthority with the addition of the ability to pass a context and additional request options.

See DescribeWebsiteCertificateAuthority for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DisassociateDomain

func (c *WorkLink) DisassociateDomain(input *DisassociateDomainInput) (*DisassociateDomainOutput, error)

DisassociateDomain API operation for Amazon WorkLink.

Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DisassociateDomain for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomain

func (*WorkLink) DisassociateDomainRequest

func (c *WorkLink) DisassociateDomainRequest(input *DisassociateDomainInput) (req *request.Request, output *DisassociateDomainOutput)

DisassociateDomainRequest generates a "aws/request.Request" representing the client's request for the DisassociateDomain operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateDomain for more information on using the DisassociateDomain API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateDomainRequest method.
req, resp := client.DisassociateDomainRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomain

func (*WorkLink) DisassociateDomainWithContext

func (c *WorkLink) DisassociateDomainWithContext(ctx aws.Context, input *DisassociateDomainInput, opts ...request.Option) (*DisassociateDomainOutput, error)

DisassociateDomainWithContext is the same as DisassociateDomain with the addition of the ability to pass a context and additional request options.

See DisassociateDomain for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DisassociateWebsiteAuthorizationProvider

func (c *WorkLink) DisassociateWebsiteAuthorizationProvider(input *DisassociateWebsiteAuthorizationProviderInput) (*DisassociateWebsiteAuthorizationProviderOutput, error)

DisassociateWebsiteAuthorizationProvider API operation for Amazon WorkLink.

Disassociates a website authorization provider from a specified fleet. After the disassociation, users can't load any associated websites that require this authorization provider.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DisassociateWebsiteAuthorizationProvider for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
The resource already exists.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProvider

func (*WorkLink) DisassociateWebsiteAuthorizationProviderRequest

func (c *WorkLink) DisassociateWebsiteAuthorizationProviderRequest(input *DisassociateWebsiteAuthorizationProviderInput) (req *request.Request, output *DisassociateWebsiteAuthorizationProviderOutput)

DisassociateWebsiteAuthorizationProviderRequest generates a "aws/request.Request" representing the client's request for the DisassociateWebsiteAuthorizationProvider operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateWebsiteAuthorizationProvider for more information on using the DisassociateWebsiteAuthorizationProvider API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateWebsiteAuthorizationProviderRequest method.
req, resp := client.DisassociateWebsiteAuthorizationProviderRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProvider

func (*WorkLink) DisassociateWebsiteAuthorizationProviderWithContext

func (c *WorkLink) DisassociateWebsiteAuthorizationProviderWithContext(ctx aws.Context, input *DisassociateWebsiteAuthorizationProviderInput, opts ...request.Option) (*DisassociateWebsiteAuthorizationProviderOutput, error)

DisassociateWebsiteAuthorizationProviderWithContext is the same as DisassociateWebsiteAuthorizationProvider with the addition of the ability to pass a context and additional request options.

See DisassociateWebsiteAuthorizationProvider for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) DisassociateWebsiteCertificateAuthority

func (c *WorkLink) DisassociateWebsiteCertificateAuthority(input *DisassociateWebsiteCertificateAuthorityInput) (*DisassociateWebsiteCertificateAuthorityOutput, error)

DisassociateWebsiteCertificateAuthority API operation for Amazon WorkLink.

Removes a certificate authority (CA).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation DisassociateWebsiteCertificateAuthority for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthority

func (*WorkLink) DisassociateWebsiteCertificateAuthorityRequest

func (c *WorkLink) DisassociateWebsiteCertificateAuthorityRequest(input *DisassociateWebsiteCertificateAuthorityInput) (req *request.Request, output *DisassociateWebsiteCertificateAuthorityOutput)

DisassociateWebsiteCertificateAuthorityRequest generates a "aws/request.Request" representing the client's request for the DisassociateWebsiteCertificateAuthority operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateWebsiteCertificateAuthority for more information on using the DisassociateWebsiteCertificateAuthority API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateWebsiteCertificateAuthorityRequest method.
req, resp := client.DisassociateWebsiteCertificateAuthorityRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthority

func (*WorkLink) DisassociateWebsiteCertificateAuthorityWithContext

func (c *WorkLink) DisassociateWebsiteCertificateAuthorityWithContext(ctx aws.Context, input *DisassociateWebsiteCertificateAuthorityInput, opts ...request.Option) (*DisassociateWebsiteCertificateAuthorityOutput, error)

DisassociateWebsiteCertificateAuthorityWithContext is the same as DisassociateWebsiteCertificateAuthority with the addition of the ability to pass a context and additional request options.

See DisassociateWebsiteCertificateAuthority for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListDevices

func (c *WorkLink) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error)

ListDevices API operation for Amazon WorkLink.

Retrieves a list of devices registered with the specified fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation ListDevices for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevices

func (*WorkLink) ListDevicesPages

func (c *WorkLink) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error

ListDevicesPages iterates over the pages of a ListDevices operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDevices method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDevices operation.
pageNum := 0
err := client.ListDevicesPages(params,
    func(page *worklink.ListDevicesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkLink) ListDevicesPagesWithContext

func (c *WorkLink) ListDevicesPagesWithContext(ctx aws.Context, input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool, opts ...request.Option) error

ListDevicesPagesWithContext same as ListDevicesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListDevicesRequest

func (c *WorkLink) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput)

ListDevicesRequest generates a "aws/request.Request" representing the client's request for the ListDevices operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDevices for more information on using the ListDevices API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDevicesRequest method.
req, resp := client.ListDevicesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevices

func (*WorkLink) ListDevicesWithContext

func (c *WorkLink) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInput, opts ...request.Option) (*ListDevicesOutput, error)

ListDevicesWithContext is the same as ListDevices with the addition of the ability to pass a context and additional request options.

See ListDevices for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListDomains

func (c *WorkLink) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error)

ListDomains API operation for Amazon WorkLink.

Retrieves a list of domains associated to a specified fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation ListDomains for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomains

func (*WorkLink) ListDomainsPages

func (c *WorkLink) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error

ListDomainsPages iterates over the pages of a ListDomains operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDomains method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListDomains operation.
pageNum := 0
err := client.ListDomainsPages(params,
    func(page *worklink.ListDomainsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkLink) ListDomainsPagesWithContext

func (c *WorkLink) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error

ListDomainsPagesWithContext same as ListDomainsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListDomainsRequest

func (c *WorkLink) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput)

ListDomainsRequest generates a "aws/request.Request" representing the client's request for the ListDomains operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListDomains for more information on using the ListDomains API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListDomainsRequest method.
req, resp := client.ListDomainsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomains

func (*WorkLink) ListDomainsWithContext

func (c *WorkLink) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error)

ListDomainsWithContext is the same as ListDomains with the addition of the ability to pass a context and additional request options.

See ListDomains for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListFleets

func (c *WorkLink) ListFleets(input *ListFleetsInput) (*ListFleetsOutput, error)

ListFleets API operation for Amazon WorkLink.

Retrieves a list of fleets for the current account and Region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation ListFleets for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleets

func (*WorkLink) ListFleetsPages

func (c *WorkLink) ListFleetsPages(input *ListFleetsInput, fn func(*ListFleetsOutput, bool) bool) error

ListFleetsPages iterates over the pages of a ListFleets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFleets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFleets operation.
pageNum := 0
err := client.ListFleetsPages(params,
    func(page *worklink.ListFleetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkLink) ListFleetsPagesWithContext

func (c *WorkLink) ListFleetsPagesWithContext(ctx aws.Context, input *ListFleetsInput, fn func(*ListFleetsOutput, bool) bool, opts ...request.Option) error

ListFleetsPagesWithContext same as ListFleetsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListFleetsRequest

func (c *WorkLink) ListFleetsRequest(input *ListFleetsInput) (req *request.Request, output *ListFleetsOutput)

ListFleetsRequest generates a "aws/request.Request" representing the client's request for the ListFleets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFleets for more information on using the ListFleets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFleetsRequest method.
req, resp := client.ListFleetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleets

func (*WorkLink) ListFleetsWithContext

func (c *WorkLink) ListFleetsWithContext(ctx aws.Context, input *ListFleetsInput, opts ...request.Option) (*ListFleetsOutput, error)

ListFleetsWithContext is the same as ListFleets with the addition of the ability to pass a context and additional request options.

See ListFleets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListWebsiteAuthorizationProviders

func (c *WorkLink) ListWebsiteAuthorizationProviders(input *ListWebsiteAuthorizationProvidersInput) (*ListWebsiteAuthorizationProvidersOutput, error)

ListWebsiteAuthorizationProviders API operation for Amazon WorkLink.

Retrieves a list of website authorization providers associated with a specified fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation ListWebsiteAuthorizationProviders for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProviders

func (*WorkLink) ListWebsiteAuthorizationProvidersPages

func (c *WorkLink) ListWebsiteAuthorizationProvidersPages(input *ListWebsiteAuthorizationProvidersInput, fn func(*ListWebsiteAuthorizationProvidersOutput, bool) bool) error

ListWebsiteAuthorizationProvidersPages iterates over the pages of a ListWebsiteAuthorizationProviders operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListWebsiteAuthorizationProviders method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListWebsiteAuthorizationProviders operation.
pageNum := 0
err := client.ListWebsiteAuthorizationProvidersPages(params,
    func(page *worklink.ListWebsiteAuthorizationProvidersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkLink) ListWebsiteAuthorizationProvidersPagesWithContext

func (c *WorkLink) ListWebsiteAuthorizationProvidersPagesWithContext(ctx aws.Context, input *ListWebsiteAuthorizationProvidersInput, fn func(*ListWebsiteAuthorizationProvidersOutput, bool) bool, opts ...request.Option) error

ListWebsiteAuthorizationProvidersPagesWithContext same as ListWebsiteAuthorizationProvidersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListWebsiteAuthorizationProvidersRequest

func (c *WorkLink) ListWebsiteAuthorizationProvidersRequest(input *ListWebsiteAuthorizationProvidersInput) (req *request.Request, output *ListWebsiteAuthorizationProvidersOutput)

ListWebsiteAuthorizationProvidersRequest generates a "aws/request.Request" representing the client's request for the ListWebsiteAuthorizationProviders operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListWebsiteAuthorizationProviders for more information on using the ListWebsiteAuthorizationProviders API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListWebsiteAuthorizationProvidersRequest method.
req, resp := client.ListWebsiteAuthorizationProvidersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProviders

func (*WorkLink) ListWebsiteAuthorizationProvidersWithContext

func (c *WorkLink) ListWebsiteAuthorizationProvidersWithContext(ctx aws.Context, input *ListWebsiteAuthorizationProvidersInput, opts ...request.Option) (*ListWebsiteAuthorizationProvidersOutput, error)

ListWebsiteAuthorizationProvidersWithContext is the same as ListWebsiteAuthorizationProviders with the addition of the ability to pass a context and additional request options.

See ListWebsiteAuthorizationProviders for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListWebsiteCertificateAuthorities

func (c *WorkLink) ListWebsiteCertificateAuthorities(input *ListWebsiteCertificateAuthoritiesInput) (*ListWebsiteCertificateAuthoritiesOutput, error)

ListWebsiteCertificateAuthorities API operation for Amazon WorkLink.

Retrieves a list of certificate authorities added for the current account and Region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation ListWebsiteCertificateAuthorities for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthorities

func (*WorkLink) ListWebsiteCertificateAuthoritiesPages

func (c *WorkLink) ListWebsiteCertificateAuthoritiesPages(input *ListWebsiteCertificateAuthoritiesInput, fn func(*ListWebsiteCertificateAuthoritiesOutput, bool) bool) error

ListWebsiteCertificateAuthoritiesPages iterates over the pages of a ListWebsiteCertificateAuthorities operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListWebsiteCertificateAuthorities method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListWebsiteCertificateAuthorities operation.
pageNum := 0
err := client.ListWebsiteCertificateAuthoritiesPages(params,
    func(page *worklink.ListWebsiteCertificateAuthoritiesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*WorkLink) ListWebsiteCertificateAuthoritiesPagesWithContext

func (c *WorkLink) ListWebsiteCertificateAuthoritiesPagesWithContext(ctx aws.Context, input *ListWebsiteCertificateAuthoritiesInput, fn func(*ListWebsiteCertificateAuthoritiesOutput, bool) bool, opts ...request.Option) error

ListWebsiteCertificateAuthoritiesPagesWithContext same as ListWebsiteCertificateAuthoritiesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) ListWebsiteCertificateAuthoritiesRequest

func (c *WorkLink) ListWebsiteCertificateAuthoritiesRequest(input *ListWebsiteCertificateAuthoritiesInput) (req *request.Request, output *ListWebsiteCertificateAuthoritiesOutput)

ListWebsiteCertificateAuthoritiesRequest generates a "aws/request.Request" representing the client's request for the ListWebsiteCertificateAuthorities operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListWebsiteCertificateAuthorities for more information on using the ListWebsiteCertificateAuthorities API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListWebsiteCertificateAuthoritiesRequest method.
req, resp := client.ListWebsiteCertificateAuthoritiesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthorities

func (*WorkLink) ListWebsiteCertificateAuthoritiesWithContext

func (c *WorkLink) ListWebsiteCertificateAuthoritiesWithContext(ctx aws.Context, input *ListWebsiteCertificateAuthoritiesInput, opts ...request.Option) (*ListWebsiteCertificateAuthoritiesOutput, error)

ListWebsiteCertificateAuthoritiesWithContext is the same as ListWebsiteCertificateAuthorities with the addition of the ability to pass a context and additional request options.

See ListWebsiteCertificateAuthorities for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) RestoreDomainAccess

func (c *WorkLink) RestoreDomainAccess(input *RestoreDomainAccessInput) (*RestoreDomainAccessOutput, error)

RestoreDomainAccess API operation for Amazon WorkLink.

Moves a domain to ACTIVE status if it was in the INACTIVE status.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation RestoreDomainAccess for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccess

func (*WorkLink) RestoreDomainAccessRequest

func (c *WorkLink) RestoreDomainAccessRequest(input *RestoreDomainAccessInput) (req *request.Request, output *RestoreDomainAccessOutput)

RestoreDomainAccessRequest generates a "aws/request.Request" representing the client's request for the RestoreDomainAccess operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RestoreDomainAccess for more information on using the RestoreDomainAccess API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RestoreDomainAccessRequest method.
req, resp := client.RestoreDomainAccessRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccess

func (*WorkLink) RestoreDomainAccessWithContext

func (c *WorkLink) RestoreDomainAccessWithContext(ctx aws.Context, input *RestoreDomainAccessInput, opts ...request.Option) (*RestoreDomainAccessOutput, error)

RestoreDomainAccessWithContext is the same as RestoreDomainAccess with the addition of the ability to pass a context and additional request options.

See RestoreDomainAccess for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) RevokeDomainAccess

func (c *WorkLink) RevokeDomainAccess(input *RevokeDomainAccessInput) (*RevokeDomainAccessOutput, error)

RevokeDomainAccess API operation for Amazon WorkLink.

Moves a domain to INACTIVE status if it was in the ACTIVE status.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation RevokeDomainAccess for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccess

func (*WorkLink) RevokeDomainAccessRequest

func (c *WorkLink) RevokeDomainAccessRequest(input *RevokeDomainAccessInput) (req *request.Request, output *RevokeDomainAccessOutput)

RevokeDomainAccessRequest generates a "aws/request.Request" representing the client's request for the RevokeDomainAccess operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RevokeDomainAccess for more information on using the RevokeDomainAccess API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RevokeDomainAccessRequest method.
req, resp := client.RevokeDomainAccessRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccess

func (*WorkLink) RevokeDomainAccessWithContext

func (c *WorkLink) RevokeDomainAccessWithContext(ctx aws.Context, input *RevokeDomainAccessInput, opts ...request.Option) (*RevokeDomainAccessOutput, error)

RevokeDomainAccessWithContext is the same as RevokeDomainAccess with the addition of the ability to pass a context and additional request options.

See RevokeDomainAccess for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) SignOutUser

func (c *WorkLink) SignOutUser(input *SignOutUserInput) (*SignOutUserOutput, error)

SignOutUser API operation for Amazon WorkLink.

Signs the user out from all of their devices. The user can sign in again if they have valid credentials.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation SignOutUser for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUser

func (*WorkLink) SignOutUserRequest

func (c *WorkLink) SignOutUserRequest(input *SignOutUserInput) (req *request.Request, output *SignOutUserOutput)

SignOutUserRequest generates a "aws/request.Request" representing the client's request for the SignOutUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SignOutUser for more information on using the SignOutUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SignOutUserRequest method.
req, resp := client.SignOutUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUser

func (*WorkLink) SignOutUserWithContext

func (c *WorkLink) SignOutUserWithContext(ctx aws.Context, input *SignOutUserInput, opts ...request.Option) (*SignOutUserOutput, error)

SignOutUserWithContext is the same as SignOutUser with the addition of the ability to pass a context and additional request options.

See SignOutUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) UpdateAuditStreamConfiguration

func (c *WorkLink) UpdateAuditStreamConfiguration(input *UpdateAuditStreamConfigurationInput) (*UpdateAuditStreamConfigurationOutput, error)

UpdateAuditStreamConfiguration API operation for Amazon WorkLink.

Updates the audit stream configuration for the fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation UpdateAuditStreamConfiguration for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfiguration

func (*WorkLink) UpdateAuditStreamConfigurationRequest

func (c *WorkLink) UpdateAuditStreamConfigurationRequest(input *UpdateAuditStreamConfigurationInput) (req *request.Request, output *UpdateAuditStreamConfigurationOutput)

UpdateAuditStreamConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateAuditStreamConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateAuditStreamConfiguration for more information on using the UpdateAuditStreamConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAuditStreamConfigurationRequest method.
req, resp := client.UpdateAuditStreamConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfiguration

func (*WorkLink) UpdateAuditStreamConfigurationWithContext

func (c *WorkLink) UpdateAuditStreamConfigurationWithContext(ctx aws.Context, input *UpdateAuditStreamConfigurationInput, opts ...request.Option) (*UpdateAuditStreamConfigurationOutput, error)

UpdateAuditStreamConfigurationWithContext is the same as UpdateAuditStreamConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateAuditStreamConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) UpdateCompanyNetworkConfiguration

func (c *WorkLink) UpdateCompanyNetworkConfiguration(input *UpdateCompanyNetworkConfigurationInput) (*UpdateCompanyNetworkConfigurationOutput, error)

UpdateCompanyNetworkConfiguration API operation for Amazon WorkLink.

Updates the company network configuration for the fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation UpdateCompanyNetworkConfiguration for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfiguration

func (*WorkLink) UpdateCompanyNetworkConfigurationRequest

func (c *WorkLink) UpdateCompanyNetworkConfigurationRequest(input *UpdateCompanyNetworkConfigurationInput) (req *request.Request, output *UpdateCompanyNetworkConfigurationOutput)

UpdateCompanyNetworkConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateCompanyNetworkConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateCompanyNetworkConfiguration for more information on using the UpdateCompanyNetworkConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateCompanyNetworkConfigurationRequest method.
req, resp := client.UpdateCompanyNetworkConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfiguration

func (*WorkLink) UpdateCompanyNetworkConfigurationWithContext

func (c *WorkLink) UpdateCompanyNetworkConfigurationWithContext(ctx aws.Context, input *UpdateCompanyNetworkConfigurationInput, opts ...request.Option) (*UpdateCompanyNetworkConfigurationOutput, error)

UpdateCompanyNetworkConfigurationWithContext is the same as UpdateCompanyNetworkConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateCompanyNetworkConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) UpdateDevicePolicyConfiguration

func (c *WorkLink) UpdateDevicePolicyConfiguration(input *UpdateDevicePolicyConfigurationInput) (*UpdateDevicePolicyConfigurationOutput, error)

UpdateDevicePolicyConfiguration API operation for Amazon WorkLink.

Updates the device policy configuration for the fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation UpdateDevicePolicyConfiguration for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfiguration

func (*WorkLink) UpdateDevicePolicyConfigurationRequest

func (c *WorkLink) UpdateDevicePolicyConfigurationRequest(input *UpdateDevicePolicyConfigurationInput) (req *request.Request, output *UpdateDevicePolicyConfigurationOutput)

UpdateDevicePolicyConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateDevicePolicyConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDevicePolicyConfiguration for more information on using the UpdateDevicePolicyConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDevicePolicyConfigurationRequest method.
req, resp := client.UpdateDevicePolicyConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfiguration

func (*WorkLink) UpdateDevicePolicyConfigurationWithContext

func (c *WorkLink) UpdateDevicePolicyConfigurationWithContext(ctx aws.Context, input *UpdateDevicePolicyConfigurationInput, opts ...request.Option) (*UpdateDevicePolicyConfigurationOutput, error)

UpdateDevicePolicyConfigurationWithContext is the same as UpdateDevicePolicyConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateDevicePolicyConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) UpdateDomainMetadata

func (c *WorkLink) UpdateDomainMetadata(input *UpdateDomainMetadataInput) (*UpdateDomainMetadataOutput, error)

UpdateDomainMetadata API operation for Amazon WorkLink.

Updates domain metadata, such as DisplayName.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation UpdateDomainMetadata for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadata

func (*WorkLink) UpdateDomainMetadataRequest

func (c *WorkLink) UpdateDomainMetadataRequest(input *UpdateDomainMetadataInput) (req *request.Request, output *UpdateDomainMetadataOutput)

UpdateDomainMetadataRequest generates a "aws/request.Request" representing the client's request for the UpdateDomainMetadata operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDomainMetadata for more information on using the UpdateDomainMetadata API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDomainMetadataRequest method.
req, resp := client.UpdateDomainMetadataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadata

func (*WorkLink) UpdateDomainMetadataWithContext

func (c *WorkLink) UpdateDomainMetadataWithContext(ctx aws.Context, input *UpdateDomainMetadataInput, opts ...request.Option) (*UpdateDomainMetadataOutput, error)

UpdateDomainMetadataWithContext is the same as UpdateDomainMetadata with the addition of the ability to pass a context and additional request options.

See UpdateDomainMetadata for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) UpdateFleetMetadata

func (c *WorkLink) UpdateFleetMetadata(input *UpdateFleetMetadataInput) (*UpdateFleetMetadataOutput, error)

UpdateFleetMetadata API operation for Amazon WorkLink.

Updates fleet metadata, such as DisplayName.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation UpdateFleetMetadata for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadata

func (*WorkLink) UpdateFleetMetadataRequest

func (c *WorkLink) UpdateFleetMetadataRequest(input *UpdateFleetMetadataInput) (req *request.Request, output *UpdateFleetMetadataOutput)

UpdateFleetMetadataRequest generates a "aws/request.Request" representing the client's request for the UpdateFleetMetadata operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFleetMetadata for more information on using the UpdateFleetMetadata API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFleetMetadataRequest method.
req, resp := client.UpdateFleetMetadataRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadata

func (*WorkLink) UpdateFleetMetadataWithContext

func (c *WorkLink) UpdateFleetMetadataWithContext(ctx aws.Context, input *UpdateFleetMetadataInput, opts ...request.Option) (*UpdateFleetMetadataOutput, error)

UpdateFleetMetadataWithContext is the same as UpdateFleetMetadata with the addition of the ability to pass a context and additional request options.

See UpdateFleetMetadata for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*WorkLink) UpdateIdentityProviderConfiguration

func (c *WorkLink) UpdateIdentityProviderConfiguration(input *UpdateIdentityProviderConfigurationInput) (*UpdateIdentityProviderConfigurationOutput, error)

UpdateIdentityProviderConfiguration API operation for Amazon WorkLink.

Updates the identity provider configuration for the fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon WorkLink's API operation UpdateIdentityProviderConfiguration for usage and error information.

Returned Error Codes:

* ErrCodeUnauthorizedException "UnauthorizedException"
You are not authorized to perform this action.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
The service is temporarily unavailable.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The requested resource was not found.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
The number of requests exceeds the limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfiguration

func (*WorkLink) UpdateIdentityProviderConfigurationRequest

func (c *WorkLink) UpdateIdentityProviderConfigurationRequest(input *UpdateIdentityProviderConfigurationInput) (req *request.Request, output *UpdateIdentityProviderConfigurationOutput)

UpdateIdentityProviderConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateIdentityProviderConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateIdentityProviderConfiguration for more information on using the UpdateIdentityProviderConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateIdentityProviderConfigurationRequest method.
req, resp := client.UpdateIdentityProviderConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfiguration

func (*WorkLink) UpdateIdentityProviderConfigurationWithContext

func (c *WorkLink) UpdateIdentityProviderConfigurationWithContext(ctx aws.Context, input *UpdateIdentityProviderConfigurationInput, opts ...request.Option) (*UpdateIdentityProviderConfigurationOutput, error)

UpdateIdentityProviderConfigurationWithContext is the same as UpdateIdentityProviderConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateIdentityProviderConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.