describe_file_system_aliases
(**kwargs)¶Returns the DNS aliases that are associated with the specified Amazon FSx for Windows File Server file system. A history of all DNS aliases that have been associated with and disassociated from the file system is available in the list of AdministrativeAction provided in the DescribeFileSystems operation response.
See also: AWS API Documentation
Request Syntax
response = client.describe_file_system_aliases(
ClientRequestToken='string',
FileSystemId='string',
MaxResults=123,
NextToken='string'
)
(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
This field is autopopulated if not provided.
[REQUIRED]
The ID of the file system to return the associated DNS aliases for (String).
MaxResults
parameter specified in the request and the service's internal maximum number of items per page.DescribeFileSystemAliases
operation (String). If a token is included in the request, the action continues the list from where the previous returning call left off.dict
Response Syntax
{
'Aliases': [
{
'Name': 'string',
'Lifecycle': 'AVAILABLE'|'CREATING'|'DELETING'|'CREATE_FAILED'|'DELETE_FAILED'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
The response object for DescribeFileSystemAliases
operation.
Aliases (list) --
An array of one or more DNS aliases currently associated with the specified file system.
(dict) --
A DNS alias that is associated with the file system. You can use a DNS alias to access a file system using user-defined DNS names, in addition to the default DNS name that Amazon FSx assigns to the file system. For more information, see DNS aliases in the FSx for Windows File Server User Guide .
Name (string) --
The name of the DNS alias. The alias name has to meet the following requirements:
hostname.domain
, for example, accounting.example.com
.For DNS names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes.
Lifecycle (string) --
Describes the state of the DNS alias.
NextToken (string) --
Present if there are more DNS aliases than returned in the response (String). You can use the NextToken
value in a later request to fetch additional descriptions.
Exceptions
FSx.Client.exceptions.BadRequest
FSx.Client.exceptions.FileSystemNotFound
FSx.Client.exceptions.InternalServerError