Amazon WorkLink

2024/07/12 - Amazon WorkLink - 33 new api methods

DisassociateWebsiteCertificateAuthority (new) Link ¶

Removes a certificate authority (CA).

See also: AWS API Documentation

Request Syntax

client.disassociate_website_certificate_authority(
    FleetArn='string',
    WebsiteCaId='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type WebsiteCaId:

string

param WebsiteCaId:

[REQUIRED]

A unique identifier for the CA.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

UpdateFleetMetadata (new) Link ¶

Updates fleet metadata, such as DisplayName.

See also: AWS API Documentation

Request Syntax

client.update_fleet_metadata(
    FleetArn='string',
    DisplayName='string',
    OptimizeForEndUserLocation=True|False
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type DisplayName:

string

param DisplayName:

The fleet name to display. The existing DisplayName is unset if null is passed.

type OptimizeForEndUserLocation:

boolean

param OptimizeForEndUserLocation:

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.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

DeleteFleet (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.delete_fleet(
    FleetArn='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

DescribeDomain (new) Link ¶

Provides information about the domain.

See also: AWS API Documentation

Request Syntax

client.describe_domain(
    FleetArn='string',
    DomainName='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type DomainName:

string

param DomainName:

[REQUIRED]

The name of the domain.

rtype:

dict

returns:

Response Syntax

{
    'DomainName': 'string',
    'DisplayName': 'string',
    'CreatedTime': datetime(2015, 1, 1),
    'DomainStatus': 'PENDING_VALIDATION'|'ASSOCIATING'|'ACTIVE'|'INACTIVE'|'DISASSOCIATING'|'DISASSOCIATED'|'FAILED_TO_ASSOCIATE'|'FAILED_TO_DISASSOCIATE',
    'AcmCertificateArn': 'string'
}

Response Structure

  • (dict) --

    • DomainName (string) --

      The name of the domain.

    • DisplayName (string) --

      The name to display.

    • CreatedTime (datetime) --

      The time that the domain was added.

    • DomainStatus (string) --

      The current state for the domain.

    • AcmCertificateArn (string) --

      The ARN of an issued ACM certificate that is valid for the domain being associated.

DisassociateWebsiteAuthorizationProvider (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.disassociate_website_authorization_provider(
    FleetArn='string',
    AuthorizationProviderId='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type AuthorizationProviderId:

string

param AuthorizationProviderId:

[REQUIRED]

A unique identifier for the authorization provider.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

DescribeAuditStreamConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.describe_audit_stream_configuration(
    FleetArn='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

rtype:

dict

returns:

Response Syntax

{
    'AuditStreamArn': 'string'
}

Response Structure

  • (dict) --

    • AuditStreamArn (string) --

      The ARN of the Amazon Kinesis data stream that will receive the audit events.

UpdateDomainMetadata (new) Link ¶

Updates domain metadata, such as DisplayName.

See also: AWS API Documentation

Request Syntax

client.update_domain_metadata(
    FleetArn='string',
    DomainName='string',
    DisplayName='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type DomainName:

string

param DomainName:

[REQUIRED]

The name of the domain.

type DisplayName:

string

param DisplayName:

The name to display.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

UpdateDevicePolicyConfiguration (new) Link ¶

Updates the device policy configuration for the fleet.

See also: AWS API Documentation

Request Syntax

client.update_device_policy_configuration(
    FleetArn='string',
    DeviceCaCertificate='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type DeviceCaCertificate:

string

param DeviceCaCertificate:

The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListWebsiteCertificateAuthorities (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.list_website_certificate_authorities(
    FleetArn='string',
    MaxResults=123,
    NextToken='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type MaxResults:

integer

param MaxResults:

The maximum number of results to be included in the next page.

type NextToken:

string

param NextToken:

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

rtype:

dict

returns:

Response Syntax

{
    'WebsiteCertificateAuthorities': [
        {
            'WebsiteCaId': 'string',
            'CreatedTime': datetime(2015, 1, 1),
            'DisplayName': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • WebsiteCertificateAuthorities (list) --

      Information about the certificates.

      • (dict) --

        The summary of the certificate authority (CA).

        • WebsiteCaId (string) --

          A unique identifier for the CA.

        • CreatedTime (datetime) --

          The time when the CA was added.

        • DisplayName (string) --

          The name to display.

    • NextToken (string) --

      The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

AssociateWebsiteAuthorizationProvider (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.associate_website_authorization_provider(
    FleetArn='string',
    AuthorizationProviderType='SAML',
    DomainName='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type AuthorizationProviderType:

string

param AuthorizationProviderType:

[REQUIRED]

The authorization provider type.

type DomainName:

string

param DomainName:

The domain name of the authorization provider. This applies only to SAML-based authorization providers.

rtype:

dict

returns:

Response Syntax

{
    'AuthorizationProviderId': 'string'
}

Response Structure

  • (dict) --

    • AuthorizationProviderId (string) --

      A unique identifier for the authorization provider.

DisassociateDomain (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.disassociate_domain(
    FleetArn='string',
    DomainName='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type DomainName:

string

param DomainName:

[REQUIRED]

The name of the domain.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListDomains (new) Link ¶

Retrieves a list of domains associated to a specified fleet.

See also: AWS API Documentation

Request Syntax

client.list_domains(
    FleetArn='string',
    NextToken='string',
    MaxResults=123
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type NextToken:

string

param NextToken:

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

type MaxResults:

integer

param MaxResults:

The maximum number of results to be included in the next page.

rtype:

dict

returns:

Response Syntax

{
    'Domains': [
        {
            'DomainName': 'string',
            'DisplayName': 'string',
            'CreatedTime': datetime(2015, 1, 1),
            'DomainStatus': 'PENDING_VALIDATION'|'ASSOCIATING'|'ACTIVE'|'INACTIVE'|'DISASSOCIATING'|'DISASSOCIATED'|'FAILED_TO_ASSOCIATE'|'FAILED_TO_DISASSOCIATE'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Domains (list) --

      Information about the domains.

      • (dict) --

        The summary of the domain.

        • DomainName (string) --

          The name of the domain.

        • DisplayName (string) --

          The name to display.

        • CreatedTime (datetime) --

          The time that the domain was created.

        • DomainStatus (string) --

          The status of the domain.

    • NextToken (string) --

      The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

ListTagsForResource (new) Link ¶

Retrieves a list of tags for the specified resource.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    ResourceArn='string'
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The Amazon Resource Name (ARN) of the fleet.

rtype:

dict

returns:

Response Syntax

{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • Tags (dict) --

      The tags attached to the resource. A tag is a key-value pair.

      • (string) --

        • (string) --

DescribeIdentityProviderConfiguration (new) Link ¶

Describes the identity provider configuration of the specified fleet.

See also: AWS API Documentation

Request Syntax

client.describe_identity_provider_configuration(
    FleetArn='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

rtype:

dict

returns:

Response Syntax

{
    'IdentityProviderType': 'SAML',
    'ServiceProviderSamlMetadata': 'string',
    'IdentityProviderSamlMetadata': 'string'
}

Response Structure

  • (dict) --

    • IdentityProviderType (string) --

      The type of identity provider.

    • ServiceProviderSamlMetadata (string) --

      The SAML metadata document uploaded to the user’s identity provider.

    • IdentityProviderSamlMetadata (string) --

      The SAML metadata document provided by the user’s identity provider.

DescribeDevice (new) Link ¶

Provides information about a user's device.

See also: AWS API Documentation

Request Syntax

client.describe_device(
    FleetArn='string',
    DeviceId='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type DeviceId:

string

param DeviceId:

[REQUIRED]

A unique identifier for a registered user's device.

rtype:

dict

returns:

Response Syntax

{
    'Status': 'ACTIVE'|'SIGNED_OUT',
    'Model': 'string',
    'Manufacturer': 'string',
    'OperatingSystem': 'string',
    'OperatingSystemVersion': 'string',
    'PatchLevel': 'string',
    'FirstAccessedTime': datetime(2015, 1, 1),
    'LastAccessedTime': datetime(2015, 1, 1),
    'Username': 'string'
}

Response Structure

  • (dict) --

    • Status (string) --

      The current state of the device.

    • Model (string) --

      The model of the device.

    • Manufacturer (string) --

      The manufacturer of the device.

    • OperatingSystem (string) --

      The operating system of the device.

    • OperatingSystemVersion (string) --

      The operating system version of the device.

    • PatchLevel (string) --

      The operating system patch level of the device.

    • FirstAccessedTime (datetime) --

      The date that the device first signed in to Amazon WorkLink.

    • LastAccessedTime (datetime) --

      The date that the device last accessed Amazon WorkLink.

    • Username (string) --

      The user name associated with the device.

ListDevices (new) Link ¶

Retrieves a list of devices registered with the specified fleet.

See also: AWS API Documentation

Request Syntax

client.list_devices(
    FleetArn='string',
    NextToken='string',
    MaxResults=123
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type NextToken:

string

param NextToken:

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

type MaxResults:

integer

param MaxResults:

The maximum number of results to be included in the next page.

rtype:

dict

returns:

Response Syntax

{
    'Devices': [
        {
            'DeviceId': 'string',
            'DeviceStatus': 'ACTIVE'|'SIGNED_OUT'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Devices (list) --

      Information about the devices.

      • (dict) --

        The summary of devices.

        • DeviceId (string) --

          The ID of the device.

        • DeviceStatus (string) --

          The status of the device.

    • NextToken (string) --

      The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

DescribeFleetMetadata (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.describe_fleet_metadata(
    FleetArn='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The Amazon Resource Name (ARN) of the fleet.

rtype:

dict

returns:

Response Syntax

{
    'CreatedTime': datetime(2015, 1, 1),
    'LastUpdatedTime': datetime(2015, 1, 1),
    'FleetName': 'string',
    'DisplayName': 'string',
    'OptimizeForEndUserLocation': True|False,
    'CompanyCode': 'string',
    'FleetStatus': 'CREATING'|'ACTIVE'|'DELETING'|'DELETED'|'FAILED_TO_CREATE'|'FAILED_TO_DELETE',
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • CreatedTime (datetime) --

      The time that the fleet was created.

    • LastUpdatedTime (datetime) --

      The time that the fleet was last updated.

    • FleetName (string) --

      The name of the fleet.

    • DisplayName (string) --

      The name to display.

    • OptimizeForEndUserLocation (boolean) --

      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.

    • CompanyCode (string) --

      The identifier used by users to sign in to the Amazon WorkLink app.

    • FleetStatus (string) --

      The current state of the fleet.

    • Tags (dict) --

      The tags attached to the resource. A tag is a key-value pair.

      • (string) --

        • (string) --

UpdateIdentityProviderConfiguration (new) Link ¶

Updates the identity provider configuration for the fleet.

See also: AWS API Documentation

Request Syntax

client.update_identity_provider_configuration(
    FleetArn='string',
    IdentityProviderType='SAML',
    IdentityProviderSamlMetadata='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type IdentityProviderType:

string

param IdentityProviderType:

[REQUIRED]

The type of identity provider.

type IdentityProviderSamlMetadata:

string

param IdentityProviderSamlMetadata:

The SAML metadata document provided by the customer’s identity provider. The existing IdentityProviderSamlMetadata is unset if null is passed.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListFleets (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.list_fleets(
    NextToken='string',
    MaxResults=123
)
type NextToken:

string

param NextToken:

The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

type MaxResults:

integer

param MaxResults:

The maximum number of results to be included in the next page.

rtype:

dict

returns:

Response Syntax

{
    'FleetSummaryList': [
        {
            'FleetArn': 'string',
            'CreatedTime': datetime(2015, 1, 1),
            'LastUpdatedTime': datetime(2015, 1, 1),
            'FleetName': 'string',
            'DisplayName': 'string',
            'CompanyCode': 'string',
            'FleetStatus': 'CREATING'|'ACTIVE'|'DELETING'|'DELETED'|'FAILED_TO_CREATE'|'FAILED_TO_DELETE',
            'Tags': {
                'string': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • FleetSummaryList (list) --

      The summary list of the fleets.

      • (dict) --

        The summary of the fleet.

        • FleetArn (string) --

          The Amazon Resource Name (ARN) of the fleet.

        • CreatedTime (datetime) --

          The time when the fleet was created.

        • LastUpdatedTime (datetime) --

          The time when the fleet was last updated.

        • FleetName (string) --

          The name of the fleet.

        • DisplayName (string) --

          The name of the fleet to display.

        • CompanyCode (string) --

          The identifier used by users to sign into the Amazon WorkLink app.

        • FleetStatus (string) --

          The status of the fleet.

        • Tags (dict) --

          The tags attached to the resource. A tag is a key-value pair.

          • (string) --

            • (string) --

    • NextToken (string) --

      The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

AssociateWebsiteCertificateAuthority (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.associate_website_certificate_authority(
    FleetArn='string',
    Certificate='string',
    DisplayName='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type Certificate:

string

param Certificate:

[REQUIRED]

The root certificate of the CA.

type DisplayName:

string

param DisplayName:

The certificate name to display.

rtype:

dict

returns:

Response Syntax

{
    'WebsiteCaId': 'string'
}

Response Structure

  • (dict) --

    • WebsiteCaId (string) --

      A unique identifier for the CA.

UpdateCompanyNetworkConfiguration (new) Link ¶

Updates the company network configuration for the fleet.

See also: AWS API Documentation

Request Syntax

client.update_company_network_configuration(
    FleetArn='string',
    VpcId='string',
    SubnetIds=[
        'string',
    ],
    SecurityGroupIds=[
        'string',
    ]
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type VpcId:

string

param VpcId:

[REQUIRED]

The VPC with connectivity to associated websites.

type SubnetIds:

list

param SubnetIds:

[REQUIRED]

The subnets used for X-ENI connections from Amazon WorkLink rendering containers.

  • (string) --

type SecurityGroupIds:

list

param SecurityGroupIds:

[REQUIRED]

The security groups associated with access to the provided subnets.

  • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

DescribeCompanyNetworkConfiguration (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.describe_company_network_configuration(
    FleetArn='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

rtype:

dict

returns:

Response Syntax

{
    'VpcId': 'string',
    'SubnetIds': [
        'string',
    ],
    'SecurityGroupIds': [
        'string',
    ]
}

Response Structure

  • (dict) --

    • VpcId (string) --

      The VPC with connectivity to associated websites.

    • SubnetIds (list) --

      The subnets used for X-ENI connections from Amazon WorkLink rendering containers.

      • (string) --

    • SecurityGroupIds (list) --

      The security groups associated with access to the provided subnets.

      • (string) --

DescribeWebsiteCertificateAuthority (new) Link ¶

Provides information about the certificate authority.

See also: AWS API Documentation

Request Syntax

client.describe_website_certificate_authority(
    FleetArn='string',
    WebsiteCaId='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type WebsiteCaId:

string

param WebsiteCaId:

[REQUIRED]

A unique identifier for the certificate authority.

rtype:

dict

returns:

Response Syntax

{
    'Certificate': 'string',
    'CreatedTime': datetime(2015, 1, 1),
    'DisplayName': 'string'
}

Response Structure

  • (dict) --

    • Certificate (string) --

      The root certificate of the certificate authority.

    • CreatedTime (datetime) --

      The time that the certificate authority was added.

    • DisplayName (string) --

      The certificate name to display.

RevokeDomainAccess (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.revoke_domain_access(
    FleetArn='string',
    DomainName='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type DomainName:

string

param DomainName:

[REQUIRED]

The name of the domain.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

UpdateAuditStreamConfiguration (new) Link ¶

Updates the audit stream configuration for the fleet.

See also: AWS API Documentation

Request Syntax

client.update_audit_stream_configuration(
    FleetArn='string',
    AuditStreamArn='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type AuditStreamArn:

string

param AuditStreamArn:

The ARN of the Amazon Kinesis data stream that receives the audit events.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

UntagResource (new) Link ¶

Removes one or more tags from the specified resource.

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    ResourceArn='string',
    TagKeys=[
        'string',
    ]
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The Amazon Resource Name (ARN) of the fleet.

type TagKeys:

list

param TagKeys:

[REQUIRED]

The list of tag keys to remove from the resource.

  • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

SignOutUser (new) Link ¶

Signs the user out from all of their devices. The user can sign in again if they have valid credentials.

See also: AWS API Documentation

Request Syntax

client.sign_out_user(
    FleetArn='string',
    Username='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type Username:

string

param Username:

[REQUIRED]

The name of the user.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

TagResource (new) Link ¶

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.

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    ResourceArn='string',
    Tags={
        'string': 'string'
    }
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The Amazon Resource Name (ARN) of the fleet.

type Tags:

dict

param Tags:

[REQUIRED]

The tags to add to the resource. A tag is a key-value pair.

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

CreateFleet (new) Link ¶

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.

See also: AWS API Documentation

Request Syntax

client.create_fleet(
    FleetName='string',
    DisplayName='string',
    OptimizeForEndUserLocation=True|False,
    Tags={
        'string': 'string'
    }
)
type FleetName:

string

param FleetName:

[REQUIRED]

A unique name for the fleet.

type DisplayName:

string

param DisplayName:

The fleet name to display.

type OptimizeForEndUserLocation:

boolean

param OptimizeForEndUserLocation:

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.

type Tags:

dict

param Tags:

The tags to add to the resource. A tag is a key-value pair.

  • (string) --

    • (string) --

rtype:

dict

returns:

Response Syntax

{
    'FleetArn': 'string'
}

Response Structure

  • (dict) --

    • FleetArn (string) --

      The Amazon Resource Name (ARN) of the fleet.

DescribeDevicePolicyConfiguration (new) Link ¶

Describes the device policy configuration for the specified fleet.

See also: AWS API Documentation

Request Syntax

client.describe_device_policy_configuration(
    FleetArn='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

rtype:

dict

returns:

Response Syntax

{
    'DeviceCaCertificate': 'string'
}

Response Structure

  • (dict) --

    • DeviceCaCertificate (string) --

      The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.

AssociateDomain (new) Link ¶

Specifies a domain to be associated to Amazon WorkLink.

See also: AWS API Documentation

Request Syntax

client.associate_domain(
    FleetArn='string',
    DomainName='string',
    DisplayName='string',
    AcmCertificateArn='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The Amazon Resource Name (ARN) of the fleet.

type DomainName:

string

param DomainName:

[REQUIRED]

The fully qualified domain name (FQDN).

type DisplayName:

string

param DisplayName:

The name to display.

type AcmCertificateArn:

string

param AcmCertificateArn:

[REQUIRED]

The ARN of an issued ACM certificate that is valid for the domain being associated.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

RestoreDomainAccess (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.restore_domain_access(
    FleetArn='string',
    DomainName='string'
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type DomainName:

string

param DomainName:

[REQUIRED]

The name of the domain.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

ListWebsiteAuthorizationProviders (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.list_website_authorization_providers(
    FleetArn='string',
    NextToken='string',
    MaxResults=123
)
type FleetArn:

string

param FleetArn:

[REQUIRED]

The ARN of the fleet.

type NextToken:

string

param NextToken:

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.

type MaxResults:

integer

param MaxResults:

The maximum number of results to be included in the next page.

rtype:

dict

returns:

Response Syntax

{
    'WebsiteAuthorizationProviders': [
        {
            'AuthorizationProviderId': 'string',
            'AuthorizationProviderType': 'SAML',
            'DomainName': 'string',
            'CreatedTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • WebsiteAuthorizationProviders (list) --

      The website authorization providers.

      • (dict) --

        The summary of the website authorization provider.

        • AuthorizationProviderId (string) --

          A unique identifier for the authorization provider.

        • AuthorizationProviderType (string) --

          The authorization provider type.

        • DomainName (string) --

          The domain name of the authorization provider. This applies only to SAML-based authorization providers.

        • CreatedTime (datetime) --

          The time of creation.

    • NextToken (string) --

      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.