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.
Used by administrators to choose which groups in the directory should have access
to upload and download files over the enabled protocols using Transfer Family. For
example, a Microsoft Active Directory might contain 50,000 users, but only a small
fraction might need the ability to transfer files to the server. An administrator
can use CreateAccess
to limit the access to the correct set of users who need
this ability.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateAccessAsync.
Namespace: Amazon.Transfer
Assembly: AWSSDK.Transfer.dll
Version: 3.x.y.z
public abstract CreateAccessResponse CreateAccess( CreateAccessRequest request )
Container for the necessary parameters to execute the CreateAccess service method.
Exception | Condition |
---|---|
InternalServiceErrorException | This exception is thrown when an error occurs in the Transfer Family service. |
InvalidRequestException | This exception is thrown when the client submits a malformed request. |
ResourceExistsException | The requested resource does not exist, or exists in a region other than the one specified for the command. |
ResourceNotFoundException | This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service. |
ServiceUnavailableException | The request has failed because the Amazon Web ServicesTransfer Family service is not available. |
.NET Framework:
Supported in: 4.5 and newer, 3.5