package worklink
import "github.com/aws/aws-sdk-go-v2/service/worklink"
Index ¶
- Constants
- func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
- type AssociateDomainInput
- type AssociateDomainOutput
- type AssociateWebsiteAuthorizationProviderInput
- type AssociateWebsiteAuthorizationProviderOutput
- type AssociateWebsiteCertificateAuthorityInput
- type AssociateWebsiteCertificateAuthorityOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) AssociateDomain(ctx context.Context, params *AssociateDomainInput, optFns ...func(*Options)) (*AssociateDomainOutput, error)
- func (c *Client) AssociateWebsiteAuthorizationProvider(ctx context.Context, params *AssociateWebsiteAuthorizationProviderInput, optFns ...func(*Options)) (*AssociateWebsiteAuthorizationProviderOutput, error)
- func (c *Client) AssociateWebsiteCertificateAuthority(ctx context.Context, params *AssociateWebsiteCertificateAuthorityInput, optFns ...func(*Options)) (*AssociateWebsiteCertificateAuthorityOutput, error)
- func (c *Client) CreateFleet(ctx context.Context, params *CreateFleetInput, optFns ...func(*Options)) (*CreateFleetOutput, error)
- func (c *Client) DeleteFleet(ctx context.Context, params *DeleteFleetInput, optFns ...func(*Options)) (*DeleteFleetOutput, error)
- func (c *Client) DescribeAuditStreamConfiguration(ctx context.Context, params *DescribeAuditStreamConfigurationInput, optFns ...func(*Options)) (*DescribeAuditStreamConfigurationOutput, error)
- func (c *Client) DescribeCompanyNetworkConfiguration(ctx context.Context, params *DescribeCompanyNetworkConfigurationInput, optFns ...func(*Options)) (*DescribeCompanyNetworkConfigurationOutput, error)
- func (c *Client) DescribeDevice(ctx context.Context, params *DescribeDeviceInput, optFns ...func(*Options)) (*DescribeDeviceOutput, error)
- func (c *Client) DescribeDevicePolicyConfiguration(ctx context.Context, params *DescribeDevicePolicyConfigurationInput, optFns ...func(*Options)) (*DescribeDevicePolicyConfigurationOutput, error)
- func (c *Client) DescribeDomain(ctx context.Context, params *DescribeDomainInput, optFns ...func(*Options)) (*DescribeDomainOutput, error)
- func (c *Client) DescribeFleetMetadata(ctx context.Context, params *DescribeFleetMetadataInput, optFns ...func(*Options)) (*DescribeFleetMetadataOutput, error)
- func (c *Client) DescribeIdentityProviderConfiguration(ctx context.Context, params *DescribeIdentityProviderConfigurationInput, optFns ...func(*Options)) (*DescribeIdentityProviderConfigurationOutput, error)
- func (c *Client) DescribeWebsiteCertificateAuthority(ctx context.Context, params *DescribeWebsiteCertificateAuthorityInput, optFns ...func(*Options)) (*DescribeWebsiteCertificateAuthorityOutput, error)
- func (c *Client) DisassociateDomain(ctx context.Context, params *DisassociateDomainInput, optFns ...func(*Options)) (*DisassociateDomainOutput, error)
- func (c *Client) DisassociateWebsiteAuthorizationProvider(ctx context.Context, params *DisassociateWebsiteAuthorizationProviderInput, optFns ...func(*Options)) (*DisassociateWebsiteAuthorizationProviderOutput, error)
- func (c *Client) DisassociateWebsiteCertificateAuthority(ctx context.Context, params *DisassociateWebsiteCertificateAuthorityInput, optFns ...func(*Options)) (*DisassociateWebsiteCertificateAuthorityOutput, error)
- func (c *Client) ListDevices(ctx context.Context, params *ListDevicesInput, optFns ...func(*Options)) (*ListDevicesOutput, error)
- func (c *Client) ListDomains(ctx context.Context, params *ListDomainsInput, optFns ...func(*Options)) (*ListDomainsOutput, error)
- func (c *Client) ListFleets(ctx context.Context, params *ListFleetsInput, optFns ...func(*Options)) (*ListFleetsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) ListWebsiteAuthorizationProviders(ctx context.Context, params *ListWebsiteAuthorizationProvidersInput, optFns ...func(*Options)) (*ListWebsiteAuthorizationProvidersOutput, error)
- func (c *Client) ListWebsiteCertificateAuthorities(ctx context.Context, params *ListWebsiteCertificateAuthoritiesInput, optFns ...func(*Options)) (*ListWebsiteCertificateAuthoritiesOutput, error)
- func (c *Client) RestoreDomainAccess(ctx context.Context, params *RestoreDomainAccessInput, optFns ...func(*Options)) (*RestoreDomainAccessOutput, error)
- func (c *Client) RevokeDomainAccess(ctx context.Context, params *RevokeDomainAccessInput, optFns ...func(*Options)) (*RevokeDomainAccessOutput, error)
- func (c *Client) SignOutUser(ctx context.Context, params *SignOutUserInput, optFns ...func(*Options)) (*SignOutUserOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateAuditStreamConfiguration(ctx context.Context, params *UpdateAuditStreamConfigurationInput, optFns ...func(*Options)) (*UpdateAuditStreamConfigurationOutput, error)
- func (c *Client) UpdateCompanyNetworkConfiguration(ctx context.Context, params *UpdateCompanyNetworkConfigurationInput, optFns ...func(*Options)) (*UpdateCompanyNetworkConfigurationOutput, error)
- func (c *Client) UpdateDevicePolicyConfiguration(ctx context.Context, params *UpdateDevicePolicyConfigurationInput, optFns ...func(*Options)) (*UpdateDevicePolicyConfigurationOutput, error)
- func (c *Client) UpdateDomainMetadata(ctx context.Context, params *UpdateDomainMetadataInput, optFns ...func(*Options)) (*UpdateDomainMetadataOutput, error)
- func (c *Client) UpdateFleetMetadata(ctx context.Context, params *UpdateFleetMetadataInput, optFns ...func(*Options)) (*UpdateFleetMetadataOutput, error)
- func (c *Client) UpdateIdentityProviderConfiguration(ctx context.Context, params *UpdateIdentityProviderConfigurationInput, optFns ...func(*Options)) (*UpdateIdentityProviderConfigurationOutput, error)
- type CreateFleetInput
- type CreateFleetOutput
- type DeleteFleetInput
- type DeleteFleetOutput
- type DescribeAuditStreamConfigurationInput
- type DescribeAuditStreamConfigurationOutput
- type DescribeCompanyNetworkConfigurationInput
- type DescribeCompanyNetworkConfigurationOutput
- type DescribeDeviceInput
- type DescribeDeviceOutput
- type DescribeDevicePolicyConfigurationInput
- type DescribeDevicePolicyConfigurationOutput
- type DescribeDomainInput
- type DescribeDomainOutput
- type DescribeFleetMetadataInput
- type DescribeFleetMetadataOutput
- type DescribeIdentityProviderConfigurationInput
- type DescribeIdentityProviderConfigurationOutput
- type DescribeWebsiteCertificateAuthorityInput
- type DescribeWebsiteCertificateAuthorityOutput
- type DisassociateDomainInput
- type DisassociateDomainOutput
- type DisassociateWebsiteAuthorizationProviderInput
- type DisassociateWebsiteAuthorizationProviderOutput
- type DisassociateWebsiteCertificateAuthorityInput
- type DisassociateWebsiteCertificateAuthorityOutput
- type EndpointResolver
- type EndpointResolverFunc
- type HTTPClient
- type HTTPSignerV4
- type ListDevicesInput
- type ListDevicesOutput
- type ListDomainsInput
- type ListDomainsOutput
- type ListFleetsInput
- type ListFleetsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListWebsiteAuthorizationProvidersInput
- type ListWebsiteAuthorizationProvidersOutput
- type ListWebsiteCertificateAuthoritiesInput
- type ListWebsiteCertificateAuthoritiesOutput
- type Options
- func (o Options) Copy() Options
- func (o Options) GetCredentials() aws.CredentialsProvider
- func (o Options) GetEndpointOptions() ResolverOptions
- func (o Options) GetEndpointResolver() EndpointResolver
- func (o Options) GetHTTPSignerV4() HTTPSignerV4
- func (o Options) GetRegion() string
- func (o Options) GetRetryer() retry.Retryer
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type ResolveEndpointMiddlewareOptions
- type ResolverOptions
- type RestoreDomainAccessInput
- type RestoreDomainAccessOutput
- type RevokeDomainAccessInput
- type RevokeDomainAccessOutput
- type SignOutUserInput
- type SignOutUserOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAuditStreamConfigurationInput
- type UpdateAuditStreamConfigurationOutput
- type UpdateCompanyNetworkConfigurationInput
- type UpdateCompanyNetworkConfigurationOutput
- type UpdateDevicePolicyConfigurationInput
- type UpdateDevicePolicyConfigurationOutput
- type UpdateDomainMetadataInput
- type UpdateDomainMetadataOutput
- type UpdateFleetMetadataInput
- type UpdateFleetMetadataOutput
- type UpdateIdentityProviderConfigurationInput
- type UpdateIdentityProviderConfigurationOutput
Constants ¶
const ServiceAPIVersion = "2018-09-25"
const ServiceID = "WorkLink"
Functions ¶
func AddResolveEndpointMiddleware ¶
func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func RemoveResolveEndpointMiddleware ¶
func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
Types ¶
type AssociateDomainInput ¶
type AssociateDomainInput struct { // The fully qualified domain name (FQDN). // // This member is required. DomainName *string // The ARN of an issued ACM certificate that is valid for the domain being // associated. // // This member is required. AcmCertificateArn *string // The Amazon Resource Name (ARN) of the fleet. // // This member is required. FleetArn *string // The name to display. DisplayName *string }
type AssociateDomainOutput ¶
type AssociateDomainOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type AssociateWebsiteAuthorizationProviderInput ¶
type AssociateWebsiteAuthorizationProviderInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The domain name of the authorization provider. This applies only to SAML-based // authorization providers. DomainName *string // The authorization provider type. // // This member is required. AuthorizationProviderType types.AuthorizationProviderType }
type AssociateWebsiteAuthorizationProviderOutput ¶
type AssociateWebsiteAuthorizationProviderOutput struct { // A unique identifier for the authorization provider. AuthorizationProviderId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type AssociateWebsiteCertificateAuthorityInput ¶
type AssociateWebsiteCertificateAuthorityInput struct { // The root certificate of the CA. // // This member is required. Certificate *string // The ARN of the fleet. // // This member is required. FleetArn *string // The certificate name to display. DisplayName *string }
type AssociateWebsiteCertificateAuthorityOutput ¶
type AssociateWebsiteCertificateAuthorityOutput struct { // A unique identifier for the CA. WebsiteCaId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Amazon WorkLink is a cloud-based service that provides secure access to internal websites and web apps from iOS and Android phones. In a single step, your users, such as employees, can access internal websites as efficiently as they access any other public website. They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink authenticates the user's access and securely renders authorized internal web content in a secure rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on mobile devices.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateDomain ¶
func (c *Client) AssociateDomain(ctx context.Context, params *AssociateDomainInput, optFns ...func(*Options)) (*AssociateDomainOutput, error)
Specifies a domain to be associated to Amazon WorkLink.
func (*Client) AssociateWebsiteAuthorizationProvider ¶
func (c *Client) AssociateWebsiteAuthorizationProvider(ctx context.Context, params *AssociateWebsiteAuthorizationProviderInput, optFns ...func(*Options)) (*AssociateWebsiteAuthorizationProviderOutput, error)
Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.
func (*Client) AssociateWebsiteCertificateAuthority ¶
func (c *Client) AssociateWebsiteCertificateAuthority(ctx context.Context, params *AssociateWebsiteCertificateAuthorityInput, optFns ...func(*Options)) (*AssociateWebsiteCertificateAuthorityOutput, error)
Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.
func (*Client) CreateFleet ¶
func (c *Client) CreateFleet(ctx context.Context, params *CreateFleetInput, optFns ...func(*Options)) (*CreateFleetOutput, error)
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.
func (*Client) DeleteFleet ¶
func (c *Client) DeleteFleet(ctx context.Context, params *DeleteFleetInput, optFns ...func(*Options)) (*DeleteFleetOutput, error)
Deletes a fleet. Prevents users from accessing previously associated websites.
func (*Client) DescribeAuditStreamConfiguration ¶
func (c *Client) DescribeAuditStreamConfiguration(ctx context.Context, params *DescribeAuditStreamConfigurationInput, optFns ...func(*Options)) (*DescribeAuditStreamConfigurationOutput, error)
Describes the configuration for delivering audit streams to the customer account.
func (*Client) DescribeCompanyNetworkConfiguration ¶
func (c *Client) DescribeCompanyNetworkConfiguration(ctx context.Context, params *DescribeCompanyNetworkConfigurationInput, optFns ...func(*Options)) (*DescribeCompanyNetworkConfigurationOutput, error)
Describes the networking configuration to access the internal websites associated with the specified fleet.
func (*Client) DescribeDevice ¶
func (c *Client) DescribeDevice(ctx context.Context, params *DescribeDeviceInput, optFns ...func(*Options)) (*DescribeDeviceOutput, error)
Provides information about a user's device.
func (*Client) DescribeDevicePolicyConfiguration ¶
func (c *Client) DescribeDevicePolicyConfiguration(ctx context.Context, params *DescribeDevicePolicyConfigurationInput, optFns ...func(*Options)) (*DescribeDevicePolicyConfigurationOutput, error)
Describes the device policy configuration for the specified fleet.
func (*Client) DescribeDomain ¶
func (c *Client) DescribeDomain(ctx context.Context, params *DescribeDomainInput, optFns ...func(*Options)) (*DescribeDomainOutput, error)
Provides information about the domain.
func (*Client) DescribeFleetMetadata ¶
func (c *Client) DescribeFleetMetadata(ctx context.Context, params *DescribeFleetMetadataInput, optFns ...func(*Options)) (*DescribeFleetMetadataOutput, error)
Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.
func (*Client) DescribeIdentityProviderConfiguration ¶
func (c *Client) DescribeIdentityProviderConfiguration(ctx context.Context, params *DescribeIdentityProviderConfigurationInput, optFns ...func(*Options)) (*DescribeIdentityProviderConfigurationOutput, error)
Describes the identity provider configuration of the specified fleet.
func (*Client) DescribeWebsiteCertificateAuthority ¶
func (c *Client) DescribeWebsiteCertificateAuthority(ctx context.Context, params *DescribeWebsiteCertificateAuthorityInput, optFns ...func(*Options)) (*DescribeWebsiteCertificateAuthorityOutput, error)
Provides information about the certificate authority.
func (*Client) DisassociateDomain ¶
func (c *Client) DisassociateDomain(ctx context.Context, params *DisassociateDomainInput, optFns ...func(*Options)) (*DisassociateDomainOutput, error)
Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.
func (*Client) DisassociateWebsiteAuthorizationProvider ¶
func (c *Client) DisassociateWebsiteAuthorizationProvider(ctx context.Context, params *DisassociateWebsiteAuthorizationProviderInput, optFns ...func(*Options)) (*DisassociateWebsiteAuthorizationProviderOutput, error)
Disassociates a website authorization provider from a specified fleet. After the disassociation, users can't load any associated websites that require this authorization provider.
func (*Client) DisassociateWebsiteCertificateAuthority ¶
func (c *Client) DisassociateWebsiteCertificateAuthority(ctx context.Context, params *DisassociateWebsiteCertificateAuthorityInput, optFns ...func(*Options)) (*DisassociateWebsiteCertificateAuthorityOutput, error)
Removes a certificate authority (CA).
func (*Client) ListDevices ¶
func (c *Client) ListDevices(ctx context.Context, params *ListDevicesInput, optFns ...func(*Options)) (*ListDevicesOutput, error)
Retrieves a list of devices registered with the specified fleet.
func (*Client) ListDomains ¶
func (c *Client) ListDomains(ctx context.Context, params *ListDomainsInput, optFns ...func(*Options)) (*ListDomainsOutput, error)
Retrieves a list of domains associated to a specified fleet.
func (*Client) ListFleets ¶
func (c *Client) ListFleets(ctx context.Context, params *ListFleetsInput, optFns ...func(*Options)) (*ListFleetsOutput, error)
Retrieves a list of fleets for the current account and Region.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Retrieves a list of tags for the specified resource.
func (*Client) ListWebsiteAuthorizationProviders ¶
func (c *Client) ListWebsiteAuthorizationProviders(ctx context.Context, params *ListWebsiteAuthorizationProvidersInput, optFns ...func(*Options)) (*ListWebsiteAuthorizationProvidersOutput, error)
Retrieves a list of website authorization providers associated with a specified fleet.
func (*Client) ListWebsiteCertificateAuthorities ¶
func (c *Client) ListWebsiteCertificateAuthorities(ctx context.Context, params *ListWebsiteCertificateAuthoritiesInput, optFns ...func(*Options)) (*ListWebsiteCertificateAuthoritiesOutput, error)
Retrieves a list of certificate authorities added for the current account and Region.
func (*Client) RestoreDomainAccess ¶
func (c *Client) RestoreDomainAccess(ctx context.Context, params *RestoreDomainAccessInput, optFns ...func(*Options)) (*RestoreDomainAccessOutput, error)
Moves a domain to ACTIVE status if it was in the INACTIVE status.
func (*Client) RevokeDomainAccess ¶
func (c *Client) RevokeDomainAccess(ctx context.Context, params *RevokeDomainAccessInput, optFns ...func(*Options)) (*RevokeDomainAccessOutput, error)
Moves a domain to INACTIVE status if it was in the ACTIVE status.
func (*Client) SignOutUser ¶
func (c *Client) SignOutUser(ctx context.Context, params *SignOutUserInput, optFns ...func(*Options)) (*SignOutUserOutput, error)
Signs the user out from all of their devices. The user can sign in again if they have valid credentials.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes one or more tags from the specified resource.
func (*Client) UpdateAuditStreamConfiguration ¶
func (c *Client) UpdateAuditStreamConfiguration(ctx context.Context, params *UpdateAuditStreamConfigurationInput, optFns ...func(*Options)) (*UpdateAuditStreamConfigurationOutput, error)
Updates the audit stream configuration for the fleet.
func (*Client) UpdateCompanyNetworkConfiguration ¶
func (c *Client) UpdateCompanyNetworkConfiguration(ctx context.Context, params *UpdateCompanyNetworkConfigurationInput, optFns ...func(*Options)) (*UpdateCompanyNetworkConfigurationOutput, error)
Updates the company network configuration for the fleet.
func (*Client) UpdateDevicePolicyConfiguration ¶
func (c *Client) UpdateDevicePolicyConfiguration(ctx context.Context, params *UpdateDevicePolicyConfigurationInput, optFns ...func(*Options)) (*UpdateDevicePolicyConfigurationOutput, error)
Updates the device policy configuration for the fleet.
func (*Client) UpdateDomainMetadata ¶
func (c *Client) UpdateDomainMetadata(ctx context.Context, params *UpdateDomainMetadataInput, optFns ...func(*Options)) (*UpdateDomainMetadataOutput, error)
Updates domain metadata, such as DisplayName.
func (*Client) UpdateFleetMetadata ¶
func (c *Client) UpdateFleetMetadata(ctx context.Context, params *UpdateFleetMetadataInput, optFns ...func(*Options)) (*UpdateFleetMetadataOutput, error)
Updates fleet metadata, such as DisplayName.
func (*Client) UpdateIdentityProviderConfiguration ¶
func (c *Client) UpdateIdentityProviderConfiguration(ctx context.Context, params *UpdateIdentityProviderConfigurationInput, optFns ...func(*Options)) (*UpdateIdentityProviderConfigurationOutput, error)
Updates the identity provider configuration for the fleet.
type CreateFleetInput ¶
type CreateFleetInput struct { // A unique name for the fleet. // // This member is required. FleetName *string // The tags to add to the resource. A tag is a key-value pair. Tags map[string]*string // The fleet name to display. DisplayName *string // 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 CreateFleetOutput ¶
type CreateFleetOutput struct { // The Amazon Resource Name (ARN) of the fleet. FleetArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteFleetInput ¶
type DeleteFleetInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string }
type DeleteFleetOutput ¶
type DeleteFleetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeAuditStreamConfigurationInput ¶
type DescribeAuditStreamConfigurationInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string }
type DescribeAuditStreamConfigurationOutput ¶
type DescribeAuditStreamConfigurationOutput struct { // The ARN of the Amazon Kinesis data stream that will receive the audit events. AuditStreamArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeCompanyNetworkConfigurationInput ¶
type DescribeCompanyNetworkConfigurationInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string }
type DescribeCompanyNetworkConfigurationOutput ¶
type DescribeCompanyNetworkConfigurationOutput struct { // The subnets used for X-ENI connections from Amazon WorkLink rendering // containers. SubnetIds []*string // The VPC with connectivity to associated websites. VpcId *string // The security groups associated with access to the provided subnets. SecurityGroupIds []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDeviceInput ¶
type DescribeDeviceInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // A unique identifier for a registered user's device. // // This member is required. DeviceId *string }
type DescribeDeviceOutput ¶
type DescribeDeviceOutput struct { // The operating system patch level of the device. PatchLevel *string // The user name associated with the device. Username *string // The operating system of the device. OperatingSystem *string // The current state of the device. Status types.DeviceStatus // The date that the device first signed in to Amazon WorkLink. FirstAccessedTime *time.Time // The date that the device last accessed Amazon WorkLink. LastAccessedTime *time.Time // The model of the device. Model *string // The manufacturer of the device. Manufacturer *string // The operating system version of the device. OperatingSystemVersion *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDevicePolicyConfigurationInput ¶
type DescribeDevicePolicyConfigurationInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string }
type DescribeDevicePolicyConfigurationOutput ¶
type DescribeDevicePolicyConfigurationOutput struct { // The certificate chain, including intermediate certificates and the root // certificate authority certificate used to issue device certificates. DeviceCaCertificate *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeDomainInput ¶
type DescribeDomainInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The name of the domain. // // This member is required. DomainName *string }
type DescribeDomainOutput ¶
type DescribeDomainOutput struct { // The name to display. DisplayName *string // The name of the domain. DomainName *string // The current state for the domain. DomainStatus types.DomainStatus // The time that the domain was added. CreatedTime *time.Time // The ARN of an issued ACM certificate that is valid for the domain being // associated. AcmCertificateArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeFleetMetadataInput ¶
type DescribeFleetMetadataInput struct { // The Amazon Resource Name (ARN) of the fleet. // // This member is required. FleetArn *string }
type DescribeFleetMetadataOutput ¶
type DescribeFleetMetadataOutput struct { // The time that the fleet was created. CreatedTime *time.Time // The name of the fleet. FleetName *string // The current state of the fleet. FleetStatus types.FleetStatus // The time that the fleet was last updated. LastUpdatedTime *time.Time // 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 // The name to display. DisplayName *string // The tags attached to the resource. A tag is a key-value pair. Tags map[string]*string // The identifier used by users to sign in to the Amazon WorkLink app. CompanyCode *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeIdentityProviderConfigurationInput ¶
type DescribeIdentityProviderConfigurationInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string }
type DescribeIdentityProviderConfigurationOutput ¶
type DescribeIdentityProviderConfigurationOutput struct { // The SAML metadata document uploaded to the user’s identity provider. ServiceProviderSamlMetadata *string // The type of identity provider. IdentityProviderType types.IdentityProviderType // The SAML metadata document provided by the user’s identity provider. IdentityProviderSamlMetadata *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeWebsiteCertificateAuthorityInput ¶
type DescribeWebsiteCertificateAuthorityInput struct { // A unique identifier for the certificate authority. // // This member is required. WebsiteCaId *string // The ARN of the fleet. // // This member is required. FleetArn *string }
type DescribeWebsiteCertificateAuthorityOutput ¶
type DescribeWebsiteCertificateAuthorityOutput struct { // The time that the certificate authority was added. CreatedTime *time.Time // The root certificate of the certificate authority. Certificate *string // The certificate name to display. DisplayName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateDomainInput ¶
type DisassociateDomainInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The name of the domain. // // This member is required. DomainName *string }
type DisassociateDomainOutput ¶
type DisassociateDomainOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateWebsiteAuthorizationProviderInput ¶
type DisassociateWebsiteAuthorizationProviderInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // A unique identifier for the authorization provider. // // This member is required. AuthorizationProviderId *string }
type DisassociateWebsiteAuthorizationProviderOutput ¶
type DisassociateWebsiteAuthorizationProviderOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateWebsiteCertificateAuthorityInput ¶
type DisassociateWebsiteCertificateAuthorityInput struct { // A unique identifier for the CA. // // This member is required. WebsiteCaId *string // The ARN of the fleet. // // This member is required. FleetArn *string }
type DisassociateWebsiteCertificateAuthorityOutput ¶
type DisassociateWebsiteCertificateAuthorityOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error }
type ListDevicesInput ¶
type ListDevicesInput struct { // The maximum number of results to be included in the next page. MaxResults *int32 // 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 // The ARN of the fleet. // // This member is required. FleetArn *string }
type ListDevicesOutput ¶
type ListDevicesOutput 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 // Information about the devices. Devices []*types.DeviceSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListDomainsInput ¶
type ListDomainsInput struct { // 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 // The maximum number of results to be included in the next page. MaxResults *int32 // The ARN of the fleet. // // This member is required. FleetArn *string }
type ListDomainsOutput ¶
type ListDomainsOutput 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 // Information about the domains. Domains []*types.DomainSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListFleetsInput ¶
type ListFleetsInput struct { // The maximum number of results to be included in the next page. MaxResults *int32 // 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 }
type ListFleetsOutput ¶
type ListFleetsOutput struct { // The summary list of the fleets. FleetSummaryList []*types.FleetSummary // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the fleet. // // This member is required. ResourceArn *string }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags attached to the resource. A tag is a key-value pair. Tags map[string]*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListWebsiteAuthorizationProvidersInput ¶
type ListWebsiteAuthorizationProvidersInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The maximum number of results to be included in the next page. MaxResults *int32 // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string }
type ListWebsiteAuthorizationProvidersOutput ¶
type ListWebsiteAuthorizationProvidersOutput struct { // The website authorization providers. WebsiteAuthorizationProviders []*types.WebsiteAuthorizationProviderSummary // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListWebsiteCertificateAuthoritiesInput ¶
type ListWebsiteCertificateAuthoritiesInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The maximum number of results to be included in the next page. MaxResults *int32 // 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 }
type ListWebsiteCertificateAuthoritiesOutput ¶
type ListWebsiteCertificateAuthoritiesOutput struct { // Information about the certificates. WebsiteCertificateAuthorities []*types.WebsiteCaSummary // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions ResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetCredentials ¶
func (o Options) GetCredentials() aws.CredentialsProvider
func (Options) GetEndpointOptions ¶
func (o Options) GetEndpointOptions() ResolverOptions
func (Options) GetEndpointResolver ¶
func (o Options) GetEndpointResolver() EndpointResolver
func (Options) GetHTTPSignerV4 ¶
func (o Options) GetHTTPSignerV4() HTTPSignerV4
func (Options) GetRegion ¶
func (Options) GetRetryer ¶
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options ResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type ResolveEndpointMiddlewareOptions ¶
type ResolveEndpointMiddlewareOptions interface { GetEndpointResolver() EndpointResolver GetEndpointOptions() ResolverOptions }
type ResolverOptions ¶
type ResolverOptions = internalendpoints.Options
ResolverOptions is the service endpoint resolver options
type RestoreDomainAccessInput ¶
type RestoreDomainAccessInput struct { // The name of the domain. // // This member is required. DomainName *string // The ARN of the fleet. // // This member is required. FleetArn *string }
type RestoreDomainAccessOutput ¶
type RestoreDomainAccessOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RevokeDomainAccessInput ¶
type RevokeDomainAccessInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The name of the domain. // // This member is required. DomainName *string }
type RevokeDomainAccessOutput ¶
type RevokeDomainAccessOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type SignOutUserInput ¶
type SignOutUserInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The name of the user. // // This member is required. Username *string }
type SignOutUserOutput ¶
type SignOutUserOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the fleet. // // This member is required. ResourceArn *string // The tags to add to the resource. A tag is a key-value pair. // // This member is required. Tags map[string]*string }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the fleet. // // This member is required. ResourceArn *string // The list of tag keys to remove from the resource. // // This member is required. TagKeys []*string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateAuditStreamConfigurationInput ¶
type UpdateAuditStreamConfigurationInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The ARN of the Amazon Kinesis data stream that receives the audit events. AuditStreamArn *string }
type UpdateAuditStreamConfigurationOutput ¶
type UpdateAuditStreamConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateCompanyNetworkConfigurationInput ¶
type UpdateCompanyNetworkConfigurationInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The VPC with connectivity to associated websites. // // This member is required. VpcId *string // The subnets used for X-ENI connections from Amazon WorkLink rendering // containers. // // This member is required. SubnetIds []*string // The security groups associated with access to the provided subnets. // // This member is required. SecurityGroupIds []*string }
type UpdateCompanyNetworkConfigurationOutput ¶
type UpdateCompanyNetworkConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateDevicePolicyConfigurationInput ¶
type UpdateDevicePolicyConfigurationInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The certificate chain, including intermediate certificates and the root // certificate authority certificate used to issue device certificates. DeviceCaCertificate *string }
type UpdateDevicePolicyConfigurationOutput ¶
type UpdateDevicePolicyConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateDomainMetadataInput ¶
type UpdateDomainMetadataInput struct { // The name of the domain. // // This member is required. DomainName *string // The ARN of the fleet. // // This member is required. FleetArn *string // The name to display. DisplayName *string }
type UpdateDomainMetadataOutput ¶
type UpdateDomainMetadataOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateFleetMetadataInput ¶
type UpdateFleetMetadataInput struct { // The fleet name to display. The existing DisplayName is unset if null is passed. DisplayName *string // The ARN of the fleet. // // This member is required. FleetArn *string // 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 UpdateFleetMetadataOutput ¶
type UpdateFleetMetadataOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateIdentityProviderConfigurationInput ¶
type UpdateIdentityProviderConfigurationInput struct { // The ARN of the fleet. // // This member is required. FleetArn *string // The type of identity provider. // // This member is required. IdentityProviderType types.IdentityProviderType // The SAML metadata document provided by the customer’s identity provider. The // existing IdentityProviderSamlMetadata is unset if null is passed. IdentityProviderSamlMetadata *string }
type UpdateIdentityProviderConfigurationOutput ¶
type UpdateIdentityProviderConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.go api_op_AssociateDomain.go api_op_AssociateWebsiteAuthorizationProvider.go api_op_AssociateWebsiteCertificateAuthority.go api_op_CreateFleet.go api_op_DeleteFleet.go api_op_DescribeAuditStreamConfiguration.go api_op_DescribeCompanyNetworkConfiguration.go api_op_DescribeDevice.go api_op_DescribeDevicePolicyConfiguration.go api_op_DescribeDomain.go api_op_DescribeFleetMetadata.go api_op_DescribeIdentityProviderConfiguration.go api_op_DescribeWebsiteCertificateAuthority.go api_op_DisassociateDomain.go api_op_DisassociateWebsiteAuthorizationProvider.go api_op_DisassociateWebsiteCertificateAuthority.go api_op_ListDevices.go api_op_ListDomains.go api_op_ListFleets.go api_op_ListTagsForResource.go api_op_ListWebsiteAuthorizationProviders.go api_op_ListWebsiteCertificateAuthorities.go api_op_RestoreDomainAccess.go api_op_RevokeDomainAccess.go api_op_SignOutUser.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateAuditStreamConfiguration.go api_op_UpdateCompanyNetworkConfiguration.go api_op_UpdateDevicePolicyConfiguration.go api_op_UpdateDomainMetadata.go api_op_UpdateFleetMetadata.go api_op_UpdateIdentityProviderConfiguration.go deserializers.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v0.26.0
- Published
- Oct 1, 2020
- Platform
- windows/amd64
- Imports
- 26 packages
- Last checked
- now –
Tools for package owners.