AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

WorkLink

import "github.com/aws/aws-sdk-go/service/worklink"

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.

Client

Type: *client.Client

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeIdentityProviderConfiguration

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

DescribeIdentityProviderConfiguration API operation for Amazon WorkLink.

Describes the identity provider configuration of the specified fleet.

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

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

Returned Error Codes:

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

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The service is temporarily unavailable.

  • ErrCodeInvalidRequestException "InvalidRequestException" The request is not valid.

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

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

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

DisassociateWebsiteCertificateAuthority

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

DisassociateWebsiteCertificateAuthority API operation for Amazon WorkLink.

Removes a certificate authority (CA).

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

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

Returned Error Codes:

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

  • ErrCodeInternalServerErrorException "InternalServerErrorException" The service is temporarily unavailable.

  • ErrCodeInvalidRequestException "InvalidRequestException" The request is not valid.

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

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

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

See Also

For more information about using this API, see AWS API Documentation.

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

See Also

For more information about using this API, see AWS API Documentation.

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

See Also

For more information about using this API, see AWS API Documentation.

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

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

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

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.

See Also

For more information about using this API, see AWS API Documentation.

On this page: