associate_website_authorization_provider

WorkLink.Client.associate_website_authorization_provider(**kwargs)

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

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.associate_website_authorization_provider(
    FleetArn='string',
    AuthorizationProviderType='SAML',
    DomainName='string'
)
Parameters
  • FleetArn (string) --

    [REQUIRED]

    The ARN of the fleet.

  • AuthorizationProviderType (string) --

    [REQUIRED]

    The authorization provider type.

  • DomainName (string) -- The domain name of the authorization provider. This applies only to SAML-based authorization providers.
Return type

dict

Returns

Response Syntax

{
    'AuthorizationProviderId': 'string'
}

Response Structure

  • (dict) --

    • AuthorizationProviderId (string) --

      A unique identifier for the authorization provider.

Exceptions

  • WorkLink.Client.exceptions.UnauthorizedException
  • WorkLink.Client.exceptions.InternalServerErrorException
  • WorkLink.Client.exceptions.InvalidRequestException
  • WorkLink.Client.exceptions.ResourceNotFoundException
  • WorkLink.Client.exceptions.ResourceAlreadyExistsException
  • WorkLink.Client.exceptions.TooManyRequestsException