worklink

package
v1.19.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2019 License: Apache-2.0 Imports: 9 Imported by: 38

Documentation

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

Index

Constants

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

	// DeviceStatusSignedOut is a DeviceStatus enum value
	DeviceStatusSignedOut = "SIGNED_OUT"
)
View Source
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"
)
View Source
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"
)
View Source
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

View Source
const (
	// IdentityProviderTypeSaml is a IdentityProviderType enum value
	IdentityProviderTypeSaml = "SAML"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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

GoString returns the string representation

func (*AssociateWebsiteCertificateAuthorityInput) SetCertificate

SetCertificate sets the Certificate field's value.

func (*AssociateWebsiteCertificateAuthorityInput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*AssociateWebsiteCertificateAuthorityInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (AssociateWebsiteCertificateAuthorityInput) String

String returns the string representation

func (*AssociateWebsiteCertificateAuthorityInput) Validate

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

GoString returns the string representation

func (*AssociateWebsiteCertificateAuthorityOutput) SetWebsiteCaId

SetWebsiteCaId sets the WebsiteCaId field's value.

func (AssociateWebsiteCertificateAuthorityOutput) 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

GoString returns the string representation

func (*DescribeAuditStreamConfigurationInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (DescribeAuditStreamConfigurationInput) String

String returns the string representation

func (*DescribeAuditStreamConfigurationInput) Validate

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

GoString returns the string representation

func (*DescribeAuditStreamConfigurationOutput) SetAuditStreamArn

SetAuditStreamArn sets the AuditStreamArn field's value.

func (DescribeAuditStreamConfigurationOutput) 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

GoString returns the string representation

func (*DescribeCompanyNetworkConfigurationInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (DescribeCompanyNetworkConfigurationInput) String

String returns the string representation

func (*DescribeCompanyNetworkConfigurationInput) Validate

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

GoString returns the string representation

func (*DescribeCompanyNetworkConfigurationOutput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*DescribeCompanyNetworkConfigurationOutput) SetSubnetIds

SetSubnetIds sets the SubnetIds field's value.

func (*DescribeCompanyNetworkConfigurationOutput) SetVpcId

SetVpcId sets the VpcId field's value.

func (DescribeCompanyNetworkConfigurationOutput) 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

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

SetStatus sets the Status field's value.

func (*DescribeDeviceOutput) SetUsername

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

GoString returns the string representation

func (*DescribeDevicePolicyConfigurationInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (DescribeDevicePolicyConfigurationInput) String

String returns the string representation

func (*DescribeDevicePolicyConfigurationInput) Validate

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

GoString returns the string representation

func (*DescribeDevicePolicyConfigurationOutput) SetDeviceCaCertificate

SetDeviceCaCertificate sets the DeviceCaCertificate field's value.

func (DescribeDevicePolicyConfigurationOutput) 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

SetFleetArn sets the FleetArn field's value.

func (DescribeFleetMetadataInput) 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

SetCompanyCode sets the CompanyCode field's value.

func (*DescribeFleetMetadataOutput) SetCreatedTime

SetCreatedTime sets the CreatedTime field's value.

func (*DescribeFleetMetadataOutput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*DescribeFleetMetadataOutput) SetFleetName

SetFleetName sets the FleetName field's value.

func (*DescribeFleetMetadataOutput) SetFleetStatus

SetFleetStatus sets the FleetStatus field's value.

func (*DescribeFleetMetadataOutput) SetLastUpdatedTime

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

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

GoString returns the string representation

func (*DescribeIdentityProviderConfigurationInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (DescribeIdentityProviderConfigurationInput) String

String returns the string representation

func (*DescribeIdentityProviderConfigurationInput) Validate

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

GoString returns the string representation

func (*DescribeIdentityProviderConfigurationOutput) SetIdentityProviderSamlMetadata

SetIdentityProviderSamlMetadata sets the IdentityProviderSamlMetadata field's value.

func (*DescribeIdentityProviderConfigurationOutput) SetIdentityProviderType

SetIdentityProviderType sets the IdentityProviderType field's value.

func (*DescribeIdentityProviderConfigurationOutput) SetServiceProviderSamlMetadata

SetServiceProviderSamlMetadata sets the ServiceProviderSamlMetadata field's value.

func (DescribeIdentityProviderConfigurationOutput) 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

GoString returns the string representation

func (*DescribeWebsiteCertificateAuthorityInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (*DescribeWebsiteCertificateAuthorityInput) SetWebsiteCaId

SetWebsiteCaId sets the WebsiteCaId field's value.

func (DescribeWebsiteCertificateAuthorityInput) String

String returns the string representation

func (*DescribeWebsiteCertificateAuthorityInput) Validate

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

GoString returns the string representation

func (*DescribeWebsiteCertificateAuthorityOutput) SetCertificate

SetCertificate sets the Certificate field's value.

func (*DescribeWebsiteCertificateAuthorityOutput) SetCreatedTime

SetCreatedTime sets the CreatedTime field's value.

func (*DescribeWebsiteCertificateAuthorityOutput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (DescribeWebsiteCertificateAuthorityOutput) 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 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

GoString returns the string representation

func (*DisassociateWebsiteCertificateAuthorityInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (*DisassociateWebsiteCertificateAuthorityInput) SetWebsiteCaId

SetWebsiteCaId sets the WebsiteCaId field's value.

func (DisassociateWebsiteCertificateAuthorityInput) String

String returns the string representation

func (*DisassociateWebsiteCertificateAuthorityInput) Validate

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

GoString returns the string representation

func (DisassociateWebsiteCertificateAuthorityOutput) 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 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 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

GoString returns the string representation

func (*ListWebsiteCertificateAuthoritiesInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (*ListWebsiteCertificateAuthoritiesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListWebsiteCertificateAuthoritiesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListWebsiteCertificateAuthoritiesInput) String

String returns the string representation

func (*ListWebsiteCertificateAuthoritiesInput) Validate

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

GoString returns the string representation

func (*ListWebsiteCertificateAuthoritiesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListWebsiteCertificateAuthoritiesOutput) SetWebsiteCertificateAuthorities

SetWebsiteCertificateAuthorities sets the WebsiteCertificateAuthorities field's value.

func (ListWebsiteCertificateAuthoritiesOutput) 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

GoString returns the string representation

func (*UpdateAuditStreamConfigurationInput) SetAuditStreamArn

SetAuditStreamArn sets the AuditStreamArn field's value.

func (*UpdateAuditStreamConfigurationInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (UpdateAuditStreamConfigurationInput) String

String returns the string representation

func (*UpdateAuditStreamConfigurationInput) Validate

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

GoString returns the string representation

func (UpdateAuditStreamConfigurationOutput) 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

GoString returns the string representation

func (*UpdateCompanyNetworkConfigurationInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (*UpdateCompanyNetworkConfigurationInput) SetSecurityGroupIds

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*UpdateCompanyNetworkConfigurationInput) SetSubnetIds

SetSubnetIds sets the SubnetIds field's value.

func (*UpdateCompanyNetworkConfigurationInput) SetVpcId

SetVpcId sets the VpcId field's value.

func (UpdateCompanyNetworkConfigurationInput) String

String returns the string representation

func (*UpdateCompanyNetworkConfigurationInput) Validate

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

GoString returns the string representation

func (UpdateCompanyNetworkConfigurationOutput) 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

GoString returns the string representation

func (*UpdateDevicePolicyConfigurationInput) SetDeviceCaCertificate

SetDeviceCaCertificate sets the DeviceCaCertificate field's value.

func (*UpdateDevicePolicyConfigurationInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (UpdateDevicePolicyConfigurationInput) String

String returns the string representation

func (*UpdateDevicePolicyConfigurationInput) Validate

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

GoString returns the string representation

func (UpdateDevicePolicyConfigurationOutput) 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

SetDisplayName sets the DisplayName field's value.

func (*UpdateFleetMetadataInput) SetFleetArn

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

GoString returns the string representation

func (*UpdateIdentityProviderConfigurationInput) SetFleetArn

SetFleetArn sets the FleetArn field's value.

func (*UpdateIdentityProviderConfigurationInput) SetIdentityProviderSamlMetadata

SetIdentityProviderSamlMetadata sets the IdentityProviderSamlMetadata field's value.

func (*UpdateIdentityProviderConfigurationInput) SetIdentityProviderType

SetIdentityProviderType sets the IdentityProviderType field's value.

func (UpdateIdentityProviderConfigurationInput) String

String returns the string representation

func (*UpdateIdentityProviderConfigurationInput) Validate

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

GoString returns the string representation

func (UpdateIdentityProviderConfigurationOutput) 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) 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) 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

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) DisassociateWebsiteCertificateAuthority

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 *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) 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 *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) 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 *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) 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) 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.

Directories

Path Synopsis
Package worklinkiface provides an interface to enable mocking the Amazon WorkLink service client for testing your code.
Package worklinkiface provides an interface to enable mocking the Amazon WorkLink service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL