AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Use this action to associate one or more Domain Name Server (DNS) aliases with an existing Amazon FSx for Windows File Server file system. A file system can have a maximum of 50 DNS aliases associated with it at any one time. If you try to associate a DNS alias that is already associated with the file system, FSx takes no action on that alias in the request. For more information, see Working with DNS Aliases and Walkthrough 5: Using DNS aliases to access your file system, including additional steps you must take to be able to access your file system using a DNS alias.
The system response shows the DNS aliases that Amazon FSx is attempting to associate with the file system. Use the API operation to monitor the status of the aliases Amazon FSx is associating with the file system.
For .NET Core this operation is only available in asynchronous form. Please refer to AssociateFileSystemAliasesAsync.
Namespace: Amazon.FSx
Assembly: AWSSDK.FSx.dll
Version: 3.x.y.z
public virtual AssociateFileSystemAliasesResponse AssociateFileSystemAliases( AssociateFileSystemAliasesRequest request )
Container for the necessary parameters to execute the AssociateFileSystemAliases service method.
| Exception | Condition |
|---|---|
| BadRequestException | A generic error indicating a failure with a client request. |
| FileSystemNotFoundException | No Amazon FSx file systems were found based upon supplied parameters. |
| InternalServerErrorException | A generic error indicating a server-side failure. |
.NET Framework:
Supported in: 4.7.2 and newer