2019/04/18 - Amazon WorkLink - 7 new api methods
Changes Update worklink client to latest version
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' )
string
[REQUIRED]
The ARN of the fleet.
string
[REQUIRED]
The name of the domain.
dict
Response Syntax
{}
Response Structure
(dict) --
Provides information about the domain.
See also: AWS API Documentation
Request Syntax
client.describe_domain( FleetArn='string', DomainName='string' )
string
[REQUIRED]
The ARN of the fleet.
string
[REQUIRED]
The name of the domain.
dict
Response Syntax
{ 'DisplayName': 'string', 'CreatedTime': datetime(2015, 1, 1), 'DomainStatus': 'PENDING_VALIDATION'|'ASSOCIATING'|'ACTIVE'|'INACTIVE'|'DISASSOCIATING'|'DISASSOCIATED'|'FAILED_TO_ASSOCIATE'|'FAILED_TO_DISASSOCIATE' }
Response Structure
(dict) --
DisplayName (string) --
The name to display.
CreatedTime (datetime) --
The time that the domain was added.
DomainStatus (string) --
The current state for the domain.
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' )
string
[REQUIRED]
The ARN of the fleet.
string
[REQUIRED]
The name of the domain.
dict
Response Syntax
{}
Response Structure
(dict) --
Specifies a domain to be associated to Amazon WorkLink.
See also: AWS API Documentation
Request Syntax
client.associate_domain( FleetArn='string', DomainName='string', AcmCertificateArn='string', DisplayName='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the fleet.
string
[REQUIRED]
The fully qualified domain name (FQDN).
string
[REQUIRED]
The ARN of an issued ACM certificate that is valid for the domain being associated.
string
The name to display.
dict
Response Syntax
{}
Response Structure
(dict) --
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' )
string
[REQUIRED]
The ARN of the fleet.
string
[REQUIRED]
The name of the domain.
dict
Response Syntax
{}
Response Structure
(dict) --
Updates domain metadata, such as DisplayName.
See also: AWS API Documentation
Request Syntax
client.update_domain_metadata( FleetArn='string', DomainName='string', DisplayName='string' )
string
[REQUIRED]
The ARN of the fleet.
string
[REQUIRED]
The name of the domain.
string
The name to display.
dict
Response Syntax
{}
Response Structure
(dict) --
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 )
string
[REQUIRED]
The ARN of the fleet.
string
The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
integer
The maximum number of results to be included in the next page.
dict
Response Syntax
{ 'Domains': [ { 'DomainName': 'string', 'CreatedTime': datetime(2015, 1, 1), 'DomainStatus': 'PENDING_VALIDATION'|'ASSOCIATING'|'ACTIVE'|'INACTIVE'|'DISASSOCIATING'|'DISASSOCIATED'|'FAILED_TO_ASSOCIATE'|'FAILED_TO_DISASSOCIATE', 'DisplayName': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Domains (list) --
Information about the domains.
(dict) --
The summary of the domain.
DomainName (string) --
The name of the domain.
CreatedTime (datetime) --
The time that the domain was created.
DomainStatus (string) --
The status of the domain.
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.