@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface TransferClient extends AwsClient
builder() method.
Transfer Family is a fully managed service that enables the transfer of files over the File Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3) or Amazon EFS. Additionally, you can use Applicability Statement 2 (AS2) to transfer files into and out of Amazon S3. Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating with existing authentication systems, and providing DNS routing with Amazon Route 53 so nothing changes for your customers and partners, or their applications. With your data in Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and set up.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static TransferClientBuilder |
builder()
Create a builder that can be used to configure and create a
TransferClient. |
static TransferClient |
create()
Create a
TransferClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAccessResponse |
createAccess(Consumer<CreateAccessRequest.Builder> createAccessRequest)
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.
|
default CreateAccessResponse |
createAccess(CreateAccessRequest createAccessRequest)
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.
|
default CreateAgreementResponse |
createAgreement(Consumer<CreateAgreementRequest.Builder> createAgreementRequest)
Creates an agreement.
|
default CreateAgreementResponse |
createAgreement(CreateAgreementRequest createAgreementRequest)
Creates an agreement.
|
default CreateConnectorResponse |
createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest)
Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol.
|
default CreateConnectorResponse |
createConnector(CreateConnectorRequest createConnectorRequest)
Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol.
|
default CreateProfileResponse |
createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest)
Creates the local or partner profile to use for AS2 transfers.
|
default CreateProfileResponse |
createProfile(CreateProfileRequest createProfileRequest)
Creates the local or partner profile to use for AS2 transfers.
|
default CreateServerResponse |
createServer(Consumer<CreateServerRequest.Builder> createServerRequest)
Instantiates an auto-scaling virtual server based on the selected file transfer protocol in Amazon Web Services.
|
default CreateServerResponse |
createServer(CreateServerRequest createServerRequest)
Instantiates an auto-scaling virtual server based on the selected file transfer protocol in Amazon Web Services.
|
default CreateUserResponse |
createUser(Consumer<CreateUserRequest.Builder> createUserRequest)
Creates a user and associates them with an existing file transfer protocol-enabled server.
|
default CreateUserResponse |
createUser(CreateUserRequest createUserRequest)
Creates a user and associates them with an existing file transfer protocol-enabled server.
|
default CreateWorkflowResponse |
createWorkflow(Consumer<CreateWorkflowRequest.Builder> createWorkflowRequest)
Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer
completes.
|
default CreateWorkflowResponse |
createWorkflow(CreateWorkflowRequest createWorkflowRequest)
Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer
completes.
|
default DeleteAccessResponse |
deleteAccess(Consumer<DeleteAccessRequest.Builder> deleteAccessRequest)
Allows you to delete the access specified in the
ServerID and ExternalID parameters. |
default DeleteAccessResponse |
deleteAccess(DeleteAccessRequest deleteAccessRequest)
Allows you to delete the access specified in the
ServerID and ExternalID parameters. |
default DeleteAgreementResponse |
deleteAgreement(Consumer<DeleteAgreementRequest.Builder> deleteAgreementRequest)
Delete the agreement that's specified in the provided
AgreementId. |
default DeleteAgreementResponse |
deleteAgreement(DeleteAgreementRequest deleteAgreementRequest)
Delete the agreement that's specified in the provided
AgreementId. |
default DeleteCertificateResponse |
deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest)
Deletes the certificate that's specified in the
CertificateId parameter. |
default DeleteCertificateResponse |
deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)
Deletes the certificate that's specified in the
CertificateId parameter. |
default DeleteConnectorResponse |
deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest)
Deletes the connector that's specified in the provided
ConnectorId. |
default DeleteConnectorResponse |
deleteConnector(DeleteConnectorRequest deleteConnectorRequest)
Deletes the connector that's specified in the provided
ConnectorId. |
default DeleteHostKeyResponse |
deleteHostKey(Consumer<DeleteHostKeyRequest.Builder> deleteHostKeyRequest)
Deletes the host key that's specified in the
HostKeyId parameter. |
default DeleteHostKeyResponse |
deleteHostKey(DeleteHostKeyRequest deleteHostKeyRequest)
Deletes the host key that's specified in the
HostKeyId parameter. |
default DeleteProfileResponse |
deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest)
Deletes the profile that's specified in the
ProfileId parameter. |
default DeleteProfileResponse |
deleteProfile(DeleteProfileRequest deleteProfileRequest)
Deletes the profile that's specified in the
ProfileId parameter. |
default DeleteServerResponse |
deleteServer(Consumer<DeleteServerRequest.Builder> deleteServerRequest)
Deletes the file transfer protocol-enabled server that you specify.
|
default DeleteServerResponse |
deleteServer(DeleteServerRequest deleteServerRequest)
Deletes the file transfer protocol-enabled server that you specify.
|
default DeleteSshPublicKeyResponse |
deleteSshPublicKey(Consumer<DeleteSshPublicKeyRequest.Builder> deleteSshPublicKeyRequest)
Deletes a user's Secure Shell (SSH) public key.
|
default DeleteSshPublicKeyResponse |
deleteSshPublicKey(DeleteSshPublicKeyRequest deleteSshPublicKeyRequest)
Deletes a user's Secure Shell (SSH) public key.
|
default DeleteUserResponse |
deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest)
Deletes the user belonging to a file transfer protocol-enabled server you specify.
|
default DeleteUserResponse |
deleteUser(DeleteUserRequest deleteUserRequest)
Deletes the user belonging to a file transfer protocol-enabled server you specify.
|
default DeleteWorkflowResponse |
deleteWorkflow(Consumer<DeleteWorkflowRequest.Builder> deleteWorkflowRequest)
Deletes the specified workflow.
|
default DeleteWorkflowResponse |
deleteWorkflow(DeleteWorkflowRequest deleteWorkflowRequest)
Deletes the specified workflow.
|
default DescribeAccessResponse |
describeAccess(Consumer<DescribeAccessRequest.Builder> describeAccessRequest)
Describes the access that is assigned to the specific file transfer protocol-enabled server, as identified by its
ServerId property and its ExternalId. |
default DescribeAccessResponse |
describeAccess(DescribeAccessRequest describeAccessRequest)
Describes the access that is assigned to the specific file transfer protocol-enabled server, as identified by its
ServerId property and its ExternalId. |
default DescribeAgreementResponse |
describeAgreement(Consumer<DescribeAgreementRequest.Builder> describeAgreementRequest)
Describes the agreement that's identified by the
AgreementId. |
default DescribeAgreementResponse |
describeAgreement(DescribeAgreementRequest describeAgreementRequest)
Describes the agreement that's identified by the
AgreementId. |
default DescribeCertificateResponse |
describeCertificate(Consumer<DescribeCertificateRequest.Builder> describeCertificateRequest)
Describes the certificate that's identified by the
CertificateId. |
default DescribeCertificateResponse |
describeCertificate(DescribeCertificateRequest describeCertificateRequest)
Describes the certificate that's identified by the
CertificateId. |
default DescribeConnectorResponse |
describeConnector(Consumer<DescribeConnectorRequest.Builder> describeConnectorRequest)
Describes the connector that's identified by the
ConnectorId. |
default DescribeConnectorResponse |
describeConnector(DescribeConnectorRequest describeConnectorRequest)
Describes the connector that's identified by the
ConnectorId. |
default DescribeExecutionResponse |
describeExecution(Consumer<DescribeExecutionRequest.Builder> describeExecutionRequest)
You can use
DescribeExecution to check the details of the execution of the specified workflow. |
default DescribeExecutionResponse |
describeExecution(DescribeExecutionRequest describeExecutionRequest)
You can use
DescribeExecution to check the details of the execution of the specified workflow. |
default DescribeHostKeyResponse |
describeHostKey(Consumer<DescribeHostKeyRequest.Builder> describeHostKeyRequest)
Returns the details of the host key that's specified by the
HostKeyId and ServerId. |
default DescribeHostKeyResponse |
describeHostKey(DescribeHostKeyRequest describeHostKeyRequest)
Returns the details of the host key that's specified by the
HostKeyId and ServerId. |
default DescribeProfileResponse |
describeProfile(Consumer<DescribeProfileRequest.Builder> describeProfileRequest)
Returns the details of the profile that's specified by the
ProfileId. |
default DescribeProfileResponse |
describeProfile(DescribeProfileRequest describeProfileRequest)
Returns the details of the profile that's specified by the
ProfileId. |
default DescribeSecurityPolicyResponse |
describeSecurityPolicy(Consumer<DescribeSecurityPolicyRequest.Builder> describeSecurityPolicyRequest)
Describes the security policy that is attached to your file transfer protocol-enabled server.
|
default DescribeSecurityPolicyResponse |
describeSecurityPolicy(DescribeSecurityPolicyRequest describeSecurityPolicyRequest)
Describes the security policy that is attached to your file transfer protocol-enabled server.
|
default DescribeServerResponse |
describeServer(Consumer<DescribeServerRequest.Builder> describeServerRequest)
Describes a file transfer protocol-enabled server that you specify by passing the
ServerId
parameter. |
default DescribeServerResponse |
describeServer(DescribeServerRequest describeServerRequest)
Describes a file transfer protocol-enabled server that you specify by passing the
ServerId
parameter. |
default DescribeUserResponse |
describeUser(Consumer<DescribeUserRequest.Builder> describeUserRequest)
Describes the user assigned to the specific file transfer protocol-enabled server, as identified by its
ServerId property. |
default DescribeUserResponse |
describeUser(DescribeUserRequest describeUserRequest)
Describes the user assigned to the specific file transfer protocol-enabled server, as identified by its
ServerId property. |
default DescribeWorkflowResponse |
describeWorkflow(Consumer<DescribeWorkflowRequest.Builder> describeWorkflowRequest)
Describes the specified workflow.
|
default DescribeWorkflowResponse |
describeWorkflow(DescribeWorkflowRequest describeWorkflowRequest)
Describes the specified workflow.
|
default ImportCertificateResponse |
importCertificate(Consumer<ImportCertificateRequest.Builder> importCertificateRequest)
Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner
profiles.
|
default ImportCertificateResponse |
importCertificate(ImportCertificateRequest importCertificateRequest)
Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner
profiles.
|
default ImportHostKeyResponse |
importHostKey(Consumer<ImportHostKeyRequest.Builder> importHostKeyRequest)
Adds a host key to the server that's specified by the
ServerId parameter. |
default ImportHostKeyResponse |
importHostKey(ImportHostKeyRequest importHostKeyRequest)
Adds a host key to the server that's specified by the
ServerId parameter. |
default ImportSshPublicKeyResponse |
importSshPublicKey(Consumer<ImportSshPublicKeyRequest.Builder> importSshPublicKeyRequest)
Adds a Secure Shell (SSH) public key to a Transfer Family user identified by a
UserName value
assigned to the specific file transfer protocol-enabled server, identified by ServerId. |
default ImportSshPublicKeyResponse |
importSshPublicKey(ImportSshPublicKeyRequest importSshPublicKeyRequest)
Adds a Secure Shell (SSH) public key to a Transfer Family user identified by a
UserName value
assigned to the specific file transfer protocol-enabled server, identified by ServerId. |
default ListAccessesResponse |
listAccesses(Consumer<ListAccessesRequest.Builder> listAccessesRequest)
Lists the details for all the accesses you have on your server.
|
default ListAccessesResponse |
listAccesses(ListAccessesRequest listAccessesRequest)
Lists the details for all the accesses you have on your server.
|
default ListAccessesIterable |
listAccessesPaginator(Consumer<ListAccessesRequest.Builder> listAccessesRequest)
Lists the details for all the accesses you have on your server.
|
default ListAccessesIterable |
listAccessesPaginator(ListAccessesRequest listAccessesRequest)
Lists the details for all the accesses you have on your server.
|
default ListAgreementsResponse |
listAgreements(Consumer<ListAgreementsRequest.Builder> listAgreementsRequest)
Returns a list of the agreements for the server that's identified by the
ServerId that you supply. |
default ListAgreementsResponse |
listAgreements(ListAgreementsRequest listAgreementsRequest)
Returns a list of the agreements for the server that's identified by the
ServerId that you supply. |
default ListAgreementsIterable |
listAgreementsPaginator(Consumer<ListAgreementsRequest.Builder> listAgreementsRequest)
Returns a list of the agreements for the server that's identified by the
ServerId that you supply. |
default ListAgreementsIterable |
listAgreementsPaginator(ListAgreementsRequest listAgreementsRequest)
Returns a list of the agreements for the server that's identified by the
ServerId that you supply. |
default ListCertificatesResponse |
listCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)
Returns a list of the current certificates that have been imported into Transfer Family.
|
default ListCertificatesResponse |
listCertificates(ListCertificatesRequest listCertificatesRequest)
Returns a list of the current certificates that have been imported into Transfer Family.
|
default ListCertificatesIterable |
listCertificatesPaginator(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)
Returns a list of the current certificates that have been imported into Transfer Family.
|
default ListCertificatesIterable |
listCertificatesPaginator(ListCertificatesRequest listCertificatesRequest)
Returns a list of the current certificates that have been imported into Transfer Family.
|
default ListConnectorsResponse |
listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)
Lists the connectors for the specified Region.
|
default ListConnectorsResponse |
listConnectors(ListConnectorsRequest listConnectorsRequest)
Lists the connectors for the specified Region.
|
default ListConnectorsIterable |
listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)
Lists the connectors for the specified Region.
|
default ListConnectorsIterable |
listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest)
Lists the connectors for the specified Region.
|
default ListExecutionsResponse |
listExecutions(Consumer<ListExecutionsRequest.Builder> listExecutionsRequest)
Lists all in-progress executions for the specified workflow.
|
default ListExecutionsResponse |
listExecutions(ListExecutionsRequest listExecutionsRequest)
Lists all in-progress executions for the specified workflow.
|
default ListExecutionsIterable |
listExecutionsPaginator(Consumer<ListExecutionsRequest.Builder> listExecutionsRequest)
Lists all in-progress executions for the specified workflow.
|
default ListExecutionsIterable |
listExecutionsPaginator(ListExecutionsRequest listExecutionsRequest)
Lists all in-progress executions for the specified workflow.
|
default ListHostKeysResponse |
listHostKeys(Consumer<ListHostKeysRequest.Builder> listHostKeysRequest)
Returns a list of host keys for the server that's specified by the
ServerId parameter. |
default ListHostKeysResponse |
listHostKeys(ListHostKeysRequest listHostKeysRequest)
Returns a list of host keys for the server that's specified by the
ServerId parameter. |
default ListProfilesResponse |
listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest)
Returns a list of the profiles for your system.
|
default ListProfilesResponse |
listProfiles(ListProfilesRequest listProfilesRequest)
Returns a list of the profiles for your system.
|
default ListProfilesIterable |
listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest)
Returns a list of the profiles for your system.
|
default ListProfilesIterable |
listProfilesPaginator(ListProfilesRequest listProfilesRequest)
Returns a list of the profiles for your system.
|
default ListSecurityPoliciesResponse |
listSecurityPolicies(Consumer<ListSecurityPoliciesRequest.Builder> listSecurityPoliciesRequest)
Lists the security policies that are attached to your file transfer protocol-enabled servers.
|
default ListSecurityPoliciesResponse |
listSecurityPolicies(ListSecurityPoliciesRequest listSecurityPoliciesRequest)
Lists the security policies that are attached to your file transfer protocol-enabled servers.
|
default ListSecurityPoliciesIterable |
listSecurityPoliciesPaginator(Consumer<ListSecurityPoliciesRequest.Builder> listSecurityPoliciesRequest)
Lists the security policies that are attached to your file transfer protocol-enabled servers.
|
default ListSecurityPoliciesIterable |
listSecurityPoliciesPaginator(ListSecurityPoliciesRequest listSecurityPoliciesRequest)
Lists the security policies that are attached to your file transfer protocol-enabled servers.
|
default ListServersResponse |
listServers()
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
|
default ListServersResponse |
listServers(Consumer<ListServersRequest.Builder> listServersRequest)
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
|
default ListServersResponse |
listServers(ListServersRequest listServersRequest)
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
|
default ListServersIterable |
listServersPaginator()
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
|
default ListServersIterable |
listServersPaginator(Consumer<ListServersRequest.Builder> listServersRequest)
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
|
default ListServersIterable |
listServersPaginator(ListServersRequest listServersRequest)
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.
|
default ListUsersResponse |
listUsers(Consumer<ListUsersRequest.Builder> listUsersRequest)
Lists the users for a file transfer protocol-enabled server that you specify by passing the
ServerId
parameter. |
default ListUsersResponse |
listUsers(ListUsersRequest listUsersRequest)
Lists the users for a file transfer protocol-enabled server that you specify by passing the
ServerId
parameter. |
default ListUsersIterable |
listUsersPaginator(Consumer<ListUsersRequest.Builder> listUsersRequest)
Lists the users for a file transfer protocol-enabled server that you specify by passing the
ServerId
parameter. |
default ListUsersIterable |
listUsersPaginator(ListUsersRequest listUsersRequest)
Lists the users for a file transfer protocol-enabled server that you specify by passing the
ServerId
parameter. |
default ListWorkflowsResponse |
listWorkflows(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest)
Lists all workflows associated with your Amazon Web Services account for your current region.
|
default ListWorkflowsResponse |
listWorkflows(ListWorkflowsRequest listWorkflowsRequest)
Lists all workflows associated with your Amazon Web Services account for your current region.
|
default ListWorkflowsIterable |
listWorkflowsPaginator(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest)
Lists all workflows associated with your Amazon Web Services account for your current region.
|
default ListWorkflowsIterable |
listWorkflowsPaginator(ListWorkflowsRequest listWorkflowsRequest)
Lists all workflows associated with your Amazon Web Services account for your current region.
|
default SendWorkflowStepStateResponse |
sendWorkflowStepState(Consumer<SendWorkflowStepStateRequest.Builder> sendWorkflowStepStateRequest)
Sends a callback for asynchronous custom steps.
|
default SendWorkflowStepStateResponse |
sendWorkflowStepState(SendWorkflowStepStateRequest sendWorkflowStepStateRequest)
Sends a callback for asynchronous custom steps.
|
default TransferServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default StartFileTransferResponse |
startFileTransfer(Consumer<StartFileTransferRequest.Builder> startFileTransferRequest)
Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.
|
default StartFileTransferResponse |
startFileTransfer(StartFileTransferRequest startFileTransferRequest)
Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.
|
default StartServerResponse |
startServer(Consumer<StartServerRequest.Builder> startServerRequest)
Changes the state of a file transfer protocol-enabled server from
OFFLINE to ONLINE. |
default StartServerResponse |
startServer(StartServerRequest startServerRequest)
Changes the state of a file transfer protocol-enabled server from
OFFLINE to ONLINE. |
default StopServerResponse |
stopServer(Consumer<StopServerRequest.Builder> stopServerRequest)
Changes the state of a file transfer protocol-enabled server from
ONLINE to OFFLINE. |
default StopServerResponse |
stopServer(StopServerRequest stopServerRequest)
Changes the state of a file transfer protocol-enabled server from
ONLINE to OFFLINE. |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
|
default TestConnectionResponse |
testConnection(Consumer<TestConnectionRequest.Builder> testConnectionRequest)
Tests whether your SFTP connector is set up successfully.
|
default TestConnectionResponse |
testConnection(TestConnectionRequest testConnectionRequest)
Tests whether your SFTP connector is set up successfully.
|
default TestIdentityProviderResponse |
testIdentityProvider(Consumer<TestIdentityProviderRequest.Builder> testIdentityProviderRequest)
If the
IdentityProviderType of a file transfer protocol-enabled server is
AWS_DIRECTORY_SERVICE or API_Gateway, tests whether your identity provider is set up
successfully. |
default TestIdentityProviderResponse |
testIdentityProvider(TestIdentityProviderRequest testIdentityProviderRequest)
If the
IdentityProviderType of a file transfer protocol-enabled server is
AWS_DIRECTORY_SERVICE or API_Gateway, tests whether your identity provider is set up
successfully. |
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN).
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN).
|
default UpdateAccessResponse |
updateAccess(Consumer<UpdateAccessRequest.Builder> updateAccessRequest)
Allows you to update parameters for the access specified in the
ServerID and ExternalID
parameters. |
default UpdateAccessResponse |
updateAccess(UpdateAccessRequest updateAccessRequest)
Allows you to update parameters for the access specified in the
ServerID and ExternalID
parameters. |
default UpdateAgreementResponse |
updateAgreement(Consumer<UpdateAgreementRequest.Builder> updateAgreementRequest)
Updates some of the parameters for an existing agreement.
|
default UpdateAgreementResponse |
updateAgreement(UpdateAgreementRequest updateAgreementRequest)
Updates some of the parameters for an existing agreement.
|
default UpdateCertificateResponse |
updateCertificate(Consumer<UpdateCertificateRequest.Builder> updateCertificateRequest)
Updates the active and inactive dates for a certificate.
|
default UpdateCertificateResponse |
updateCertificate(UpdateCertificateRequest updateCertificateRequest)
Updates the active and inactive dates for a certificate.
|
default UpdateConnectorResponse |
updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest)
Updates some of the parameters for an existing connector.
|
default UpdateConnectorResponse |
updateConnector(UpdateConnectorRequest updateConnectorRequest)
Updates some of the parameters for an existing connector.
|
default UpdateHostKeyResponse |
updateHostKey(Consumer<UpdateHostKeyRequest.Builder> updateHostKeyRequest)
Updates the description for the host key that's specified by the
ServerId and HostKeyId
parameters. |
default UpdateHostKeyResponse |
updateHostKey(UpdateHostKeyRequest updateHostKeyRequest)
Updates the description for the host key that's specified by the
ServerId and HostKeyId
parameters. |
default UpdateProfileResponse |
updateProfile(Consumer<UpdateProfileRequest.Builder> updateProfileRequest)
Updates some of the parameters for an existing profile.
|
default UpdateProfileResponse |
updateProfile(UpdateProfileRequest updateProfileRequest)
Updates some of the parameters for an existing profile.
|
default UpdateServerResponse |
updateServer(Consumer<UpdateServerRequest.Builder> updateServerRequest)
Updates the file transfer protocol-enabled server's properties after that server has been created.
|
default UpdateServerResponse |
updateServer(UpdateServerRequest updateServerRequest)
Updates the file transfer protocol-enabled server's properties after that server has been created.
|
default UpdateUserResponse |
updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest)
Assigns new properties to a user.
|
default UpdateUserResponse |
updateUser(UpdateUserRequest updateUserRequest)
Assigns new properties to a user.
|
default TransferWaiter |
waiter()
Create an instance of
TransferWaiter using this client. |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CreateAccessResponse createAccess(CreateAccessRequest createAccessRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
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.
createAccessRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAccessResponse createAccess(Consumer<CreateAccessRequest.Builder> createAccessRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
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.
This is a convenience which creates an instance of the CreateAccessRequest.Builder avoiding the need to
create one manually via CreateAccessRequest.builder()
createAccessRequest - A Consumer that will call methods on
CreateAccessRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAgreementResponse createAgreement(CreateAgreementRequest createAgreementRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Creates an agreement. An agreement is a bilateral trading partner agreement, or partnership, between an Transfer Family server and an AS2 process. The agreement defines the file and message transfer relationship between the server and the AS2 process. To define an agreement, Transfer Family combines a server, local profile, partner profile, certificate, and other attributes.
The partner is identified with the PartnerProfileId, and the AS2 process is identified with the
LocalProfileId.
createAgreementRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAgreementResponse createAgreement(Consumer<CreateAgreementRequest.Builder> createAgreementRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Creates an agreement. An agreement is a bilateral trading partner agreement, or partnership, between an Transfer Family server and an AS2 process. The agreement defines the file and message transfer relationship between the server and the AS2 process. To define an agreement, Transfer Family combines a server, local profile, partner profile, certificate, and other attributes.
The partner is identified with the PartnerProfileId, and the AS2 process is identified with the
LocalProfileId.
This is a convenience which creates an instance of the CreateAgreementRequest.Builder avoiding the need
to create one manually via CreateAgreementRequest.builder()
createAgreementRequest - A Consumer that will call methods on
CreateAgreementRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectorResponse createConnector(CreateConnectorRequest createConnectorRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server. For more details about connectors, see Create AS2 connectors and Create SFTP connectors.
You must specify exactly one configuration object: either for AS2 (As2Config) or SFTP (
SftpConfig).
createConnectorRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectorResponse createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server. For more details about connectors, see Create AS2 connectors and Create SFTP connectors.
You must specify exactly one configuration object: either for AS2 (As2Config) or SFTP (
SftpConfig).
This is a convenience which creates an instance of the CreateConnectorRequest.Builder avoiding the need
to create one manually via CreateConnectorRequest.builder()
createConnectorRequest - A Consumer that will call methods on
CreateConnectorRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateProfileResponse createProfile(CreateProfileRequest createProfileRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Creates the local or partner profile to use for AS2 transfers.
createProfileRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateProfileResponse createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Creates the local or partner profile to use for AS2 transfers.
This is a convenience which creates an instance of the CreateProfileRequest.Builder avoiding the need to
create one manually via CreateProfileRequest.builder()
createProfileRequest - A Consumer that will call methods on
CreateProfileRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServerResponse createServer(CreateServerRequest createServerRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Instantiates an auto-scaling virtual server based on the selected file transfer protocol in Amazon Web Services.
When you make updates to your file transfer protocol-enabled server or when you work with users, use the
service-generated ServerId property that is assigned to the newly created server.
createServerRequest - AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateServerResponse createServer(Consumer<CreateServerRequest.Builder> createServerRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Instantiates an auto-scaling virtual server based on the selected file transfer protocol in Amazon Web Services.
When you make updates to your file transfer protocol-enabled server or when you work with users, use the
service-generated ServerId property that is assigned to the newly created server.
This is a convenience which creates an instance of the CreateServerRequest.Builder avoiding the need to
create one manually via CreateServerRequest.builder()
createServerRequest - A Consumer that will call methods on
CreateServerRequest.Builder to create a request.AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateUserResponse createUser(CreateUserRequest createUserRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Creates a user and associates them with an existing file transfer protocol-enabled server. You can only create
and associate users with servers that have the IdentityProviderType set to
SERVICE_MANAGED. Using parameters for CreateUser, you can specify the user name, set
the home directory, store the user's public key, and assign the user's Identity and Access Management (IAM) role.
You can also optionally add a session policy, and assign metadata with tags that can be used to group and search
for users.
createUserRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateUserResponse createUser(Consumer<CreateUserRequest.Builder> createUserRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Creates a user and associates them with an existing file transfer protocol-enabled server. You can only create
and associate users with servers that have the IdentityProviderType set to
SERVICE_MANAGED. Using parameters for CreateUser, you can specify the user name, set
the home directory, store the user's public key, and assign the user's Identity and Access Management (IAM) role.
You can also optionally add a session policy, and assign metadata with tags that can be used to group and search
for users.
This is a convenience which creates an instance of the CreateUserRequest.Builder avoiding the need to
create one manually via CreateUserRequest.builder()
createUserRequest - A Consumer that will call methods on
CreateUserRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateWorkflowResponse createWorkflow(CreateWorkflowRequest createWorkflowRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer
completes. After creating a workflow, you can associate the workflow created with any transfer servers by
specifying the workflow-details field in CreateServer and UpdateServer
operations.
createWorkflowRequest - AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateWorkflowResponse createWorkflow(Consumer<CreateWorkflowRequest.Builder> createWorkflowRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer
completes. After creating a workflow, you can associate the workflow created with any transfer servers by
specifying the workflow-details field in CreateServer and UpdateServer
operations.
This is a convenience which creates an instance of the CreateWorkflowRequest.Builder avoiding the need to
create one manually via CreateWorkflowRequest.builder()
createWorkflowRequest - A Consumer that will call methods on
CreateWorkflowRequest.Builder to create a request.AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAccessResponse deleteAccess(DeleteAccessRequest deleteAccessRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Allows you to delete the access specified in the ServerID and ExternalID parameters.
deleteAccessRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAccessResponse deleteAccess(Consumer<DeleteAccessRequest.Builder> deleteAccessRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Allows you to delete the access specified in the ServerID and ExternalID parameters.
This is a convenience which creates an instance of the DeleteAccessRequest.Builder avoiding the need to
create one manually via DeleteAccessRequest.builder()
deleteAccessRequest - A Consumer that will call methods on
DeleteAccessRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAgreementResponse deleteAgreement(DeleteAgreementRequest deleteAgreementRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Delete the agreement that's specified in the provided AgreementId.
deleteAgreementRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAgreementResponse deleteAgreement(Consumer<DeleteAgreementRequest.Builder> deleteAgreementRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Delete the agreement that's specified in the provided AgreementId.
This is a convenience which creates an instance of the DeleteAgreementRequest.Builder avoiding the need
to create one manually via DeleteAgreementRequest.builder()
deleteAgreementRequest - A Consumer that will call methods on
DeleteAgreementRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest deleteCertificateRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the certificate that's specified in the CertificateId parameter.
deleteCertificateRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCertificateResponse deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the certificate that's specified in the CertificateId parameter.
This is a convenience which creates an instance of the DeleteCertificateRequest.Builder avoiding the need
to create one manually via DeleteCertificateRequest.builder()
deleteCertificateRequest - A Consumer that will call methods on
DeleteCertificateRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectorResponse deleteConnector(DeleteConnectorRequest deleteConnectorRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the connector that's specified in the provided ConnectorId.
deleteConnectorRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectorResponse deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the connector that's specified in the provided ConnectorId.
This is a convenience which creates an instance of the DeleteConnectorRequest.Builder avoiding the need
to create one manually via DeleteConnectorRequest.builder()
deleteConnectorRequest - A Consumer that will call methods on
DeleteConnectorRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteHostKeyResponse deleteHostKey(DeleteHostKeyRequest deleteHostKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Deletes the host key that's specified in the HostKeyId parameter.
deleteHostKeyRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteHostKeyResponse deleteHostKey(Consumer<DeleteHostKeyRequest.Builder> deleteHostKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Deletes the host key that's specified in the HostKeyId parameter.
This is a convenience which creates an instance of the DeleteHostKeyRequest.Builder avoiding the need to
create one manually via DeleteHostKeyRequest.builder()
deleteHostKeyRequest - A Consumer that will call methods on
DeleteHostKeyRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteProfileResponse deleteProfile(DeleteProfileRequest deleteProfileRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the profile that's specified in the ProfileId parameter.
deleteProfileRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteProfileResponse deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the profile that's specified in the ProfileId parameter.
This is a convenience which creates an instance of the DeleteProfileRequest.Builder avoiding the need to
create one manually via DeleteProfileRequest.builder()
deleteProfileRequest - A Consumer that will call methods on
DeleteProfileRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServerResponse deleteServer(DeleteServerRequest deleteServerRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the file transfer protocol-enabled server that you specify.
No response returns from this operation.
deleteServerRequest - AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteServerResponse deleteServer(Consumer<DeleteServerRequest.Builder> deleteServerRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the file transfer protocol-enabled server that you specify.
No response returns from this operation.
This is a convenience which creates an instance of the DeleteServerRequest.Builder avoiding the need to
create one manually via DeleteServerRequest.builder()
deleteServerRequest - A Consumer that will call methods on
DeleteServerRequest.Builder to create a request.AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSshPublicKeyResponse deleteSshPublicKey(DeleteSshPublicKeyRequest deleteSshPublicKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Deletes a user's Secure Shell (SSH) public key.
deleteSshPublicKeyRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSshPublicKeyResponse deleteSshPublicKey(Consumer<DeleteSshPublicKeyRequest.Builder> deleteSshPublicKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Deletes a user's Secure Shell (SSH) public key.
This is a convenience which creates an instance of the DeleteSshPublicKeyRequest.Builder avoiding the
need to create one manually via DeleteSshPublicKeyRequest.builder()
deleteSshPublicKeyRequest - A Consumer that will call methods on
DeleteSshPublicKeyRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteUserResponse deleteUser(DeleteUserRequest deleteUserRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the user belonging to a file transfer protocol-enabled server you specify.
No response returns from this operation.
When you delete a user from a server, the user's information is lost.
deleteUserRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteUserResponse deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the user belonging to a file transfer protocol-enabled server you specify.
No response returns from this operation.
When you delete a user from a server, the user's information is lost.
This is a convenience which creates an instance of the DeleteUserRequest.Builder avoiding the need to
create one manually via DeleteUserRequest.builder()
deleteUserRequest - A Consumer that will call methods on
DeleteUserRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteWorkflowResponse deleteWorkflow(DeleteWorkflowRequest deleteWorkflowRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the specified workflow.
deleteWorkflowRequest - AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteWorkflowResponse deleteWorkflow(Consumer<DeleteWorkflowRequest.Builder> deleteWorkflowRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Deletes the specified workflow.
This is a convenience which creates an instance of the DeleteWorkflowRequest.Builder avoiding the need to
create one manually via DeleteWorkflowRequest.builder()
deleteWorkflowRequest - A Consumer that will call methods on
DeleteWorkflowRequest.Builder to create a request.AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAccessResponse describeAccess(DescribeAccessRequest describeAccessRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the access that is assigned to the specific file transfer protocol-enabled server, as identified by its
ServerId property and its ExternalId.
The response from this call returns the properties of the access that is associated with the
ServerId value that was specified.
describeAccessRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAccessResponse describeAccess(Consumer<DescribeAccessRequest.Builder> describeAccessRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the access that is assigned to the specific file transfer protocol-enabled server, as identified by its
ServerId property and its ExternalId.
The response from this call returns the properties of the access that is associated with the
ServerId value that was specified.
This is a convenience which creates an instance of the DescribeAccessRequest.Builder avoiding the need to
create one manually via DescribeAccessRequest.builder()
describeAccessRequest - A Consumer that will call methods on
DescribeAccessRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAgreementResponse describeAgreement(DescribeAgreementRequest describeAgreementRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the agreement that's identified by the AgreementId.
describeAgreementRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAgreementResponse describeAgreement(Consumer<DescribeAgreementRequest.Builder> describeAgreementRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the agreement that's identified by the AgreementId.
This is a convenience which creates an instance of the DescribeAgreementRequest.Builder avoiding the need
to create one manually via DescribeAgreementRequest.builder()
describeAgreementRequest - A Consumer that will call methods on
DescribeAgreementRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCertificateResponse describeCertificate(DescribeCertificateRequest describeCertificateRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the certificate that's identified by the CertificateId.
describeCertificateRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCertificateResponse describeCertificate(Consumer<DescribeCertificateRequest.Builder> describeCertificateRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the certificate that's identified by the CertificateId.
This is a convenience which creates an instance of the DescribeCertificateRequest.Builder avoiding the
need to create one manually via DescribeCertificateRequest.builder()
describeCertificateRequest - A Consumer that will call methods on
DescribeCertificateRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeConnectorResponse describeConnector(DescribeConnectorRequest describeConnectorRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the connector that's identified by the ConnectorId.
describeConnectorRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeConnectorResponse describeConnector(Consumer<DescribeConnectorRequest.Builder> describeConnectorRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the connector that's identified by the ConnectorId.
This is a convenience which creates an instance of the DescribeConnectorRequest.Builder avoiding the need
to create one manually via DescribeConnectorRequest.builder()
describeConnectorRequest - A Consumer that will call methods on
DescribeConnectorRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeExecutionResponse describeExecution(DescribeExecutionRequest describeExecutionRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
You can use DescribeExecution to check the details of the execution of the specified workflow.
This API call only returns details for in-progress workflows.
If you provide an ID for an execution that is not in progress, or if the execution doesn't match the specified
workflow ID, you receive a ResourceNotFound exception.
describeExecutionRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeExecutionResponse describeExecution(Consumer<DescribeExecutionRequest.Builder> describeExecutionRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
You can use DescribeExecution to check the details of the execution of the specified workflow.
This API call only returns details for in-progress workflows.
If you provide an ID for an execution that is not in progress, or if the execution doesn't match the specified
workflow ID, you receive a ResourceNotFound exception.
This is a convenience which creates an instance of the DescribeExecutionRequest.Builder avoiding the need
to create one manually via DescribeExecutionRequest.builder()
describeExecutionRequest - A Consumer that will call methods on
DescribeExecutionRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeHostKeyResponse describeHostKey(DescribeHostKeyRequest describeHostKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns the details of the host key that's specified by the HostKeyId and ServerId.
describeHostKeyRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeHostKeyResponse describeHostKey(Consumer<DescribeHostKeyRequest.Builder> describeHostKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns the details of the host key that's specified by the HostKeyId and ServerId.
This is a convenience which creates an instance of the DescribeHostKeyRequest.Builder avoiding the need
to create one manually via DescribeHostKeyRequest.builder()
describeHostKeyRequest - A Consumer that will call methods on
DescribeHostKeyRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeProfileResponse describeProfile(DescribeProfileRequest describeProfileRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns the details of the profile that's specified by the ProfileId.
describeProfileRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeProfileResponse describeProfile(Consumer<DescribeProfileRequest.Builder> describeProfileRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns the details of the profile that's specified by the ProfileId.
This is a convenience which creates an instance of the DescribeProfileRequest.Builder avoiding the need
to create one manually via DescribeProfileRequest.builder()
describeProfileRequest - A Consumer that will call methods on
DescribeProfileRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSecurityPolicyResponse describeSecurityPolicy(DescribeSecurityPolicyRequest describeSecurityPolicyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the security policy that is attached to your file transfer protocol-enabled server. The response contains a description of the security policy's properties. For more information about security policies, see Working with security policies.
describeSecurityPolicyRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSecurityPolicyResponse describeSecurityPolicy(Consumer<DescribeSecurityPolicyRequest.Builder> describeSecurityPolicyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the security policy that is attached to your file transfer protocol-enabled server. The response contains a description of the security policy's properties. For more information about security policies, see Working with security policies.
This is a convenience which creates an instance of the DescribeSecurityPolicyRequest.Builder avoiding the
need to create one manually via DescribeSecurityPolicyRequest.builder()
describeSecurityPolicyRequest - A Consumer that will call methods on
DescribeSecurityPolicyRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeServerResponse describeServer(DescribeServerRequest describeServerRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes a file transfer protocol-enabled server that you specify by passing the ServerId
parameter.
The response contains a description of a server's properties. When you set EndpointType to VPC, the
response will contain the EndpointDetails.
describeServerRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeServerResponse describeServer(Consumer<DescribeServerRequest.Builder> describeServerRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes a file transfer protocol-enabled server that you specify by passing the ServerId
parameter.
The response contains a description of a server's properties. When you set EndpointType to VPC, the
response will contain the EndpointDetails.
This is a convenience which creates an instance of the DescribeServerRequest.Builder avoiding the need to
create one manually via DescribeServerRequest.builder()
describeServerRequest - A Consumer that will call methods on
DescribeServerRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeUserResponse describeUser(DescribeUserRequest describeUserRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the user assigned to the specific file transfer protocol-enabled server, as identified by its
ServerId property.
The response from this call returns the properties of the user associated with the ServerId value
that was specified.
describeUserRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeUserResponse describeUser(Consumer<DescribeUserRequest.Builder> describeUserRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the user assigned to the specific file transfer protocol-enabled server, as identified by its
ServerId property.
The response from this call returns the properties of the user associated with the ServerId value
that was specified.
This is a convenience which creates an instance of the DescribeUserRequest.Builder avoiding the need to
create one manually via DescribeUserRequest.builder()
describeUserRequest - A Consumer that will call methods on
DescribeUserRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeWorkflowResponse describeWorkflow(DescribeWorkflowRequest describeWorkflowRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the specified workflow.
describeWorkflowRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeWorkflowResponse describeWorkflow(Consumer<DescribeWorkflowRequest.Builder> describeWorkflowRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Describes the specified workflow.
This is a convenience which creates an instance of the DescribeWorkflowRequest.Builder avoiding the need
to create one manually via DescribeWorkflowRequest.builder()
describeWorkflowRequest - A Consumer that will call methods on
DescribeWorkflowRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ImportCertificateResponse importCertificate(ImportCertificateRequest importCertificateRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.
importCertificateRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ImportCertificateResponse importCertificate(Consumer<ImportCertificateRequest.Builder> importCertificateRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.
This is a convenience which creates an instance of the ImportCertificateRequest.Builder avoiding the need
to create one manually via ImportCertificateRequest.builder()
importCertificateRequest - A Consumer that will call methods on
ImportCertificateRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ImportHostKeyResponse importHostKey(ImportHostKeyRequest importHostKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Adds a host key to the server that's specified by the ServerId parameter.
importHostKeyRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ImportHostKeyResponse importHostKey(Consumer<ImportHostKeyRequest.Builder> importHostKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Adds a host key to the server that's specified by the ServerId parameter.
This is a convenience which creates an instance of the ImportHostKeyRequest.Builder avoiding the need to
create one manually via ImportHostKeyRequest.builder()
importHostKeyRequest - A Consumer that will call methods on
ImportHostKeyRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ImportSshPublicKeyResponse importSshPublicKey(ImportSshPublicKeyRequest importSshPublicKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Adds a Secure Shell (SSH) public key to a Transfer Family user identified by a UserName value
assigned to the specific file transfer protocol-enabled server, identified by ServerId.
The response returns the UserName value, the ServerId value, and the name of the
SshPublicKeyId.
importSshPublicKeyRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ImportSshPublicKeyResponse importSshPublicKey(Consumer<ImportSshPublicKeyRequest.Builder> importSshPublicKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Adds a Secure Shell (SSH) public key to a Transfer Family user identified by a UserName value
assigned to the specific file transfer protocol-enabled server, identified by ServerId.
The response returns the UserName value, the ServerId value, and the name of the
SshPublicKeyId.
This is a convenience which creates an instance of the ImportSshPublicKeyRequest.Builder avoiding the
need to create one manually via ImportSshPublicKeyRequest.builder()
importSshPublicKeyRequest - A Consumer that will call methods on
ImportSshPublicKeyRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessesResponse listAccesses(ListAccessesRequest listAccessesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the details for all the accesses you have on your server.
listAccessesRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessesResponse listAccesses(Consumer<ListAccessesRequest.Builder> listAccessesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the details for all the accesses you have on your server.
This is a convenience which creates an instance of the ListAccessesRequest.Builder avoiding the need to
create one manually via ListAccessesRequest.builder()
listAccessesRequest - A Consumer that will call methods on
ListAccessesRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessesIterable listAccessesPaginator(ListAccessesRequest listAccessesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the details for all the accesses you have on your server.
This is a variant of listAccesses(software.amazon.awssdk.services.transfer.model.ListAccessesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListAccessesIterable responses = client.listAccessesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListAccessesIterable responses = client.listAccessesPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListAccessesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListAccessesIterable responses = client.listAccessesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccesses(software.amazon.awssdk.services.transfer.model.ListAccessesRequest) operation.
listAccessesRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessesIterable listAccessesPaginator(Consumer<ListAccessesRequest.Builder> listAccessesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the details for all the accesses you have on your server.
This is a variant of listAccesses(software.amazon.awssdk.services.transfer.model.ListAccessesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListAccessesIterable responses = client.listAccessesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListAccessesIterable responses = client.listAccessesPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListAccessesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListAccessesIterable responses = client.listAccessesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccesses(software.amazon.awssdk.services.transfer.model.ListAccessesRequest) operation.
This is a convenience which creates an instance of the ListAccessesRequest.Builder avoiding the need to
create one manually via ListAccessesRequest.builder()
listAccessesRequest - A Consumer that will call methods on
ListAccessesRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAgreementsResponse listAgreements(ListAgreementsRequest listAgreementsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the agreements for the server that's identified by the ServerId that you supply.
If you want to limit the results to a certain number, supply a value for the MaxResults parameter.
If you ran the command previously and received a value for NextToken, you can supply that value to
continue listing agreements from where you left off.
listAgreementsRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAgreementsResponse listAgreements(Consumer<ListAgreementsRequest.Builder> listAgreementsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the agreements for the server that's identified by the ServerId that you supply.
If you want to limit the results to a certain number, supply a value for the MaxResults parameter.
If you ran the command previously and received a value for NextToken, you can supply that value to
continue listing agreements from where you left off.
This is a convenience which creates an instance of the ListAgreementsRequest.Builder avoiding the need to
create one manually via ListAgreementsRequest.builder()
listAgreementsRequest - A Consumer that will call methods on
ListAgreementsRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAgreementsIterable listAgreementsPaginator(ListAgreementsRequest listAgreementsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the agreements for the server that's identified by the ServerId that you supply.
If you want to limit the results to a certain number, supply a value for the MaxResults parameter.
If you ran the command previously and received a value for NextToken, you can supply that value to
continue listing agreements from where you left off.
This is a variant of
listAgreements(software.amazon.awssdk.services.transfer.model.ListAgreementsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListAgreementsIterable responses = client.listAgreementsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListAgreementsIterable responses = client
.listAgreementsPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListAgreementsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListAgreementsIterable responses = client.listAgreementsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgreements(software.amazon.awssdk.services.transfer.model.ListAgreementsRequest) operation.
listAgreementsRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAgreementsIterable listAgreementsPaginator(Consumer<ListAgreementsRequest.Builder> listAgreementsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the agreements for the server that's identified by the ServerId that you supply.
If you want to limit the results to a certain number, supply a value for the MaxResults parameter.
If you ran the command previously and received a value for NextToken, you can supply that value to
continue listing agreements from where you left off.
This is a variant of
listAgreements(software.amazon.awssdk.services.transfer.model.ListAgreementsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListAgreementsIterable responses = client.listAgreementsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListAgreementsIterable responses = client
.listAgreementsPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListAgreementsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListAgreementsIterable responses = client.listAgreementsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgreements(software.amazon.awssdk.services.transfer.model.ListAgreementsRequest) operation.
This is a convenience which creates an instance of the ListAgreementsRequest.Builder avoiding the need to
create one manually via ListAgreementsRequest.builder()
listAgreementsRequest - A Consumer that will call methods on
ListAgreementsRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCertificatesResponse listCertificates(ListCertificatesRequest listCertificatesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the current certificates that have been imported into Transfer Family. If you want to limit the
results to a certain number, supply a value for the MaxResults parameter. If you ran the command
previously and received a value for the NextToken parameter, you can supply that value to continue
listing certificates from where you left off.
listCertificatesRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCertificatesResponse listCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the current certificates that have been imported into Transfer Family. If you want to limit the
results to a certain number, supply a value for the MaxResults parameter. If you ran the command
previously and received a value for the NextToken parameter, you can supply that value to continue
listing certificates from where you left off.
This is a convenience which creates an instance of the ListCertificatesRequest.Builder avoiding the need
to create one manually via ListCertificatesRequest.builder()
listCertificatesRequest - A Consumer that will call methods on
ListCertificatesRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCertificatesIterable listCertificatesPaginator(ListCertificatesRequest listCertificatesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the current certificates that have been imported into Transfer Family. If you want to limit the
results to a certain number, supply a value for the MaxResults parameter. If you ran the command
previously and received a value for the NextToken parameter, you can supply that value to continue
listing certificates from where you left off.
This is a variant of
listCertificates(software.amazon.awssdk.services.transfer.model.ListCertificatesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListCertificatesIterable responses = client
.listCertificatesPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.transfer.model.ListCertificatesRequest) operation.
listCertificatesRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCertificatesIterable listCertificatesPaginator(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the current certificates that have been imported into Transfer Family. If you want to limit the
results to a certain number, supply a value for the MaxResults parameter. If you ran the command
previously and received a value for the NextToken parameter, you can supply that value to continue
listing certificates from where you left off.
This is a variant of
listCertificates(software.amazon.awssdk.services.transfer.model.ListCertificatesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListCertificatesIterable responses = client
.listCertificatesPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.transfer.model.ListCertificatesRequest) operation.
This is a convenience which creates an instance of the ListCertificatesRequest.Builder avoiding the need
to create one manually via ListCertificatesRequest.builder()
listCertificatesRequest - A Consumer that will call methods on
ListCertificatesRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConnectorsResponse listConnectors(ListConnectorsRequest listConnectorsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the connectors for the specified Region.
listConnectorsRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConnectorsResponse listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the connectors for the specified Region.
This is a convenience which creates an instance of the ListConnectorsRequest.Builder avoiding the need to
create one manually via ListConnectorsRequest.builder()
listConnectorsRequest - A Consumer that will call methods on
ListConnectorsRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConnectorsIterable listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the connectors for the specified Region.
This is a variant of
listConnectors(software.amazon.awssdk.services.transfer.model.ListConnectorsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListConnectorsIterable responses = client
.listConnectorsPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListConnectorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectors(software.amazon.awssdk.services.transfer.model.ListConnectorsRequest) operation.
listConnectorsRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConnectorsIterable listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the connectors for the specified Region.
This is a variant of
listConnectors(software.amazon.awssdk.services.transfer.model.ListConnectorsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListConnectorsIterable responses = client
.listConnectorsPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListConnectorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectors(software.amazon.awssdk.services.transfer.model.ListConnectorsRequest) operation.
This is a convenience which creates an instance of the ListConnectorsRequest.Builder avoiding the need to
create one manually via ListConnectorsRequest.builder()
listConnectorsRequest - A Consumer that will call methods on
ListConnectorsRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExecutionsResponse listExecutions(ListExecutionsRequest listExecutionsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists all in-progress executions for the specified workflow.
If the specified workflow ID cannot be found, ListExecutions returns a ResourceNotFound
exception.
listExecutionsRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExecutionsResponse listExecutions(Consumer<ListExecutionsRequest.Builder> listExecutionsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists all in-progress executions for the specified workflow.
If the specified workflow ID cannot be found, ListExecutions returns a ResourceNotFound
exception.
This is a convenience which creates an instance of the ListExecutionsRequest.Builder avoiding the need to
create one manually via ListExecutionsRequest.builder()
listExecutionsRequest - A Consumer that will call methods on
ListExecutionsRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExecutionsIterable listExecutionsPaginator(ListExecutionsRequest listExecutionsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists all in-progress executions for the specified workflow.
If the specified workflow ID cannot be found, ListExecutions returns a ResourceNotFound
exception.
This is a variant of
listExecutions(software.amazon.awssdk.services.transfer.model.ListExecutionsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListExecutionsIterable responses = client.listExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListExecutionsIterable responses = client
.listExecutionsPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListExecutionsIterable responses = client.listExecutionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExecutions(software.amazon.awssdk.services.transfer.model.ListExecutionsRequest) operation.
listExecutionsRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExecutionsIterable listExecutionsPaginator(Consumer<ListExecutionsRequest.Builder> listExecutionsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists all in-progress executions for the specified workflow.
If the specified workflow ID cannot be found, ListExecutions returns a ResourceNotFound
exception.
This is a variant of
listExecutions(software.amazon.awssdk.services.transfer.model.ListExecutionsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListExecutionsIterable responses = client.listExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListExecutionsIterable responses = client
.listExecutionsPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListExecutionsIterable responses = client.listExecutionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExecutions(software.amazon.awssdk.services.transfer.model.ListExecutionsRequest) operation.
This is a convenience which creates an instance of the ListExecutionsRequest.Builder avoiding the need to
create one manually via ListExecutionsRequest.builder()
listExecutionsRequest - A Consumer that will call methods on
ListExecutionsRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListHostKeysResponse listHostKeys(ListHostKeysRequest listHostKeysRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of host keys for the server that's specified by the ServerId parameter.
listHostKeysRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListHostKeysResponse listHostKeys(Consumer<ListHostKeysRequest.Builder> listHostKeysRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of host keys for the server that's specified by the ServerId parameter.
This is a convenience which creates an instance of the ListHostKeysRequest.Builder avoiding the need to
create one manually via ListHostKeysRequest.builder()
listHostKeysRequest - A Consumer that will call methods on
ListHostKeysRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProfilesResponse listProfiles(ListProfilesRequest listProfilesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the profiles for your system. If you want to limit the results to a certain number, supply a
value for the MaxResults parameter. If you ran the command previously and received a value for
NextToken, you can supply that value to continue listing profiles from where you left off.
listProfilesRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProfilesResponse listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the profiles for your system. If you want to limit the results to a certain number, supply a
value for the MaxResults parameter. If you ran the command previously and received a value for
NextToken, you can supply that value to continue listing profiles from where you left off.
This is a convenience which creates an instance of the ListProfilesRequest.Builder avoiding the need to
create one manually via ListProfilesRequest.builder()
listProfilesRequest - A Consumer that will call methods on
ListProfilesRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProfilesIterable listProfilesPaginator(ListProfilesRequest listProfilesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the profiles for your system. If you want to limit the results to a certain number, supply a
value for the MaxResults parameter. If you ran the command previously and received a value for
NextToken, you can supply that value to continue listing profiles from where you left off.
This is a variant of listProfiles(software.amazon.awssdk.services.transfer.model.ListProfilesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListProfilesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProfiles(software.amazon.awssdk.services.transfer.model.ListProfilesRequest) operation.
listProfilesRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProfilesIterable listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Returns a list of the profiles for your system. If you want to limit the results to a certain number, supply a
value for the MaxResults parameter. If you ran the command previously and received a value for
NextToken, you can supply that value to continue listing profiles from where you left off.
This is a variant of listProfiles(software.amazon.awssdk.services.transfer.model.ListProfilesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListProfilesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListProfilesIterable responses = client.listProfilesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProfiles(software.amazon.awssdk.services.transfer.model.ListProfilesRequest) operation.
This is a convenience which creates an instance of the ListProfilesRequest.Builder avoiding the need to
create one manually via ListProfilesRequest.builder()
listProfilesRequest - A Consumer that will call methods on
ListProfilesRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSecurityPoliciesResponse listSecurityPolicies(ListSecurityPoliciesRequest listSecurityPoliciesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the security policies that are attached to your file transfer protocol-enabled servers.
listSecurityPoliciesRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSecurityPoliciesResponse listSecurityPolicies(Consumer<ListSecurityPoliciesRequest.Builder> listSecurityPoliciesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the security policies that are attached to your file transfer protocol-enabled servers.
This is a convenience which creates an instance of the ListSecurityPoliciesRequest.Builder avoiding the
need to create one manually via ListSecurityPoliciesRequest.builder()
listSecurityPoliciesRequest - A Consumer that will call methods on
ListSecurityPoliciesRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSecurityPoliciesIterable listSecurityPoliciesPaginator(ListSecurityPoliciesRequest listSecurityPoliciesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the security policies that are attached to your file transfer protocol-enabled servers.
This is a variant of
listSecurityPolicies(software.amazon.awssdk.services.transfer.model.ListSecurityPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListSecurityPoliciesIterable responses = client.listSecurityPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListSecurityPoliciesIterable responses = client
.listSecurityPoliciesPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListSecurityPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListSecurityPoliciesIterable responses = client.listSecurityPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityPolicies(software.amazon.awssdk.services.transfer.model.ListSecurityPoliciesRequest)
operation.
listSecurityPoliciesRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSecurityPoliciesIterable listSecurityPoliciesPaginator(Consumer<ListSecurityPoliciesRequest.Builder> listSecurityPoliciesRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the security policies that are attached to your file transfer protocol-enabled servers.
This is a variant of
listSecurityPolicies(software.amazon.awssdk.services.transfer.model.ListSecurityPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListSecurityPoliciesIterable responses = client.listSecurityPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListSecurityPoliciesIterable responses = client
.listSecurityPoliciesPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListSecurityPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListSecurityPoliciesIterable responses = client.listSecurityPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityPolicies(software.amazon.awssdk.services.transfer.model.ListSecurityPoliciesRequest)
operation.
This is a convenience which creates an instance of the ListSecurityPoliciesRequest.Builder avoiding the
need to create one manually via ListSecurityPoliciesRequest.builder()
listSecurityPoliciesRequest - A Consumer that will call methods on
ListSecurityPoliciesRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServersResponse listServers(ListServersRequest listServersRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
listServersRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServersResponse listServers(Consumer<ListServersRequest.Builder> listServersRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
This is a convenience which creates an instance of the ListServersRequest.Builder avoiding the need to
create one manually via ListServersRequest.builder()
listServersRequest - A Consumer that will call methods on
ListServersRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServersResponse listServers() throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistServers(ListServersRequest),
AWS API
Documentationdefault ListServersIterable listServersPaginator() throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
This is a variant of listServers(software.amazon.awssdk.services.transfer.model.ListServersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListServersIterable responses = client.listServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListServersIterable responses = client.listServersPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListServersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListServersIterable responses = client.listServersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServers(software.amazon.awssdk.services.transfer.model.ListServersRequest) operation.
ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistServersPaginator(ListServersRequest),
AWS API
Documentationdefault ListServersIterable listServersPaginator(ListServersRequest listServersRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
This is a variant of listServers(software.amazon.awssdk.services.transfer.model.ListServersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListServersIterable responses = client.listServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListServersIterable responses = client.listServersPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListServersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListServersIterable responses = client.listServersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServers(software.amazon.awssdk.services.transfer.model.ListServersRequest) operation.
listServersRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListServersIterable listServersPaginator(Consumer<ListServersRequest.Builder> listServersRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.
This is a variant of listServers(software.amazon.awssdk.services.transfer.model.ListServersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListServersIterable responses = client.listServersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListServersIterable responses = client.listServersPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListServersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListServersIterable responses = client.listServersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServers(software.amazon.awssdk.services.transfer.model.ListServersRequest) operation.
This is a convenience which creates an instance of the ListServersRequest.Builder avoiding the need to
create one manually via ListServersRequest.builder()
listServersRequest - A Consumer that will call methods on
ListServersRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
listTagsForResourceRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.transfer.model.ListTagsForResourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListTagsForResourceIterable responses = client
.listTagsForResourcePaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListTagsForResourceResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.transfer.model.ListTagsForResourceRequest)
operation.
listTagsForResourceRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.transfer.model.ListTagsForResourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListTagsForResourceIterable responses = client
.listTagsForResourcePaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListTagsForResourceResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.transfer.model.ListTagsForResourceRequest)
operation.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsersResponse listUsers(ListUsersRequest listUsersRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the users for a file transfer protocol-enabled server that you specify by passing the ServerId
parameter.
listUsersRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsersResponse listUsers(Consumer<ListUsersRequest.Builder> listUsersRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the users for a file transfer protocol-enabled server that you specify by passing the ServerId
parameter.
This is a convenience which creates an instance of the ListUsersRequest.Builder avoiding the need to
create one manually via ListUsersRequest.builder()
listUsersRequest - A Consumer that will call methods on
ListUsersRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsersIterable listUsersPaginator(ListUsersRequest listUsersRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the users for a file transfer protocol-enabled server that you specify by passing the ServerId
parameter.
This is a variant of listUsers(software.amazon.awssdk.services.transfer.model.ListUsersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListUsersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsers(software.amazon.awssdk.services.transfer.model.ListUsersRequest) operation.
listUsersRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListUsersIterable listUsersPaginator(Consumer<ListUsersRequest.Builder> listUsersRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Lists the users for a file transfer protocol-enabled server that you specify by passing the ServerId
parameter.
This is a variant of listUsers(software.amazon.awssdk.services.transfer.model.ListUsersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListUsersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListUsersIterable responses = client.listUsersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUsers(software.amazon.awssdk.services.transfer.model.ListUsersRequest) operation.
This is a convenience which creates an instance of the ListUsersRequest.Builder avoiding the need to
create one manually via ListUsersRequest.builder()
listUsersRequest - A Consumer that will call methods on
ListUsersRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkflowsResponse listWorkflows(ListWorkflowsRequest listWorkflowsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists all workflows associated with your Amazon Web Services account for your current region.
listWorkflowsRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkflowsResponse listWorkflows(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists all workflows associated with your Amazon Web Services account for your current region.
This is a convenience which creates an instance of the ListWorkflowsRequest.Builder avoiding the need to
create one manually via ListWorkflowsRequest.builder()
listWorkflowsRequest - A Consumer that will call methods on
ListWorkflowsRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkflowsIterable listWorkflowsPaginator(ListWorkflowsRequest listWorkflowsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists all workflows associated with your Amazon Web Services account for your current region.
This is a variant of listWorkflows(software.amazon.awssdk.services.transfer.model.ListWorkflowsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListWorkflowsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflows(software.amazon.awssdk.services.transfer.model.ListWorkflowsRequest) operation.
listWorkflowsRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkflowsIterable listWorkflowsPaginator(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidNextTokenException, InvalidRequestException, AwsServiceException, SdkClientException, TransferException
Lists all workflows associated with your Amazon Web Services account for your current region.
This is a variant of listWorkflows(software.amazon.awssdk.services.transfer.model.ListWorkflowsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.transfer.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.transfer.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request);
for (software.amazon.awssdk.services.transfer.model.ListWorkflowsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.transfer.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkflows(software.amazon.awssdk.services.transfer.model.ListWorkflowsRequest) operation.
This is a convenience which creates an instance of the ListWorkflowsRequest.Builder avoiding the need to
create one manually via ListWorkflowsRequest.builder()
listWorkflowsRequest - A Consumer that will call methods on
ListWorkflowsRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidNextTokenException - The NextToken parameter that was passed is invalid.InvalidRequestException - This exception is thrown when the client submits a malformed request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SendWorkflowStepStateResponse sendWorkflowStepState(SendWorkflowStepStateRequest sendWorkflowStepStateRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Sends a callback for asynchronous custom steps.
The ExecutionId, WorkflowId, and Token are passed to the target resource
during execution of a custom step of a workflow. You must include those with their callback as well as providing
a status.
sendWorkflowStepStateRequest - AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SendWorkflowStepStateResponse sendWorkflowStepState(Consumer<SendWorkflowStepStateRequest.Builder> sendWorkflowStepStateRequest) throws AccessDeniedException, ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Sends a callback for asynchronous custom steps.
The ExecutionId, WorkflowId, and Token are passed to the target resource
during execution of a custom step of a workflow. You must include those with their callback as well as providing
a status.
This is a convenience which creates an instance of the SendWorkflowStepStateRequest.Builder avoiding the
need to create one manually via SendWorkflowStepStateRequest.builder()
sendWorkflowStepStateRequest - A Consumer that will call methods on
SendWorkflowStepStateRequest.Builder to create a
request.AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartFileTransferResponse startFileTransfer(StartFileTransferRequest startFileTransferRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.
For an AS2 connector, you specify the ConnectorId and one or more SendFilePaths to
identify the files you want to transfer.
For an SFTP connector, the file transfer can be either outbound or inbound. In both cases, you specify the
ConnectorId. Depending on the direction of the transfer, you also specify the following items:
If you are transferring file from a partner's SFTP server to Amazon Web Services storage, you specify one or more
RetreiveFilePaths to identify the files you want to transfer, and a LocalDirectoryPath
to specify the destination folder.
If you are transferring file to a partner's SFTP server from Amazon Web Services storage, you specify one or more
SendFilePaths to identify the files you want to transfer, and a RemoteDirectoryPath to
specify the destination folder.
startFileTransferRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartFileTransferResponse startFileTransfer(Consumer<StartFileTransferRequest.Builder> startFileTransferRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.
For an AS2 connector, you specify the ConnectorId and one or more SendFilePaths to
identify the files you want to transfer.
For an SFTP connector, the file transfer can be either outbound or inbound. In both cases, you specify the
ConnectorId. Depending on the direction of the transfer, you also specify the following items:
If you are transferring file from a partner's SFTP server to Amazon Web Services storage, you specify one or more
RetreiveFilePaths to identify the files you want to transfer, and a LocalDirectoryPath
to specify the destination folder.
If you are transferring file to a partner's SFTP server from Amazon Web Services storage, you specify one or more
SendFilePaths to identify the files you want to transfer, and a RemoteDirectoryPath to
specify the destination folder.
This is a convenience which creates an instance of the StartFileTransferRequest.Builder avoiding the need
to create one manually via StartFileTransferRequest.builder()
startFileTransferRequest - A Consumer that will call methods on
StartFileTransferRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartServerResponse startServer(StartServerRequest startServerRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Changes the state of a file transfer protocol-enabled server from OFFLINE to ONLINE. It
has no impact on a server that is already ONLINE. An ONLINE server can accept and
process file transfer jobs.
The state of STARTING indicates that the server is in an intermediate state, either not fully able
to respond, or not fully online. The values of START_FAILED can indicate an error condition.
No response is returned from this call.
startServerRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartServerResponse startServer(Consumer<StartServerRequest.Builder> startServerRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Changes the state of a file transfer protocol-enabled server from OFFLINE to ONLINE. It
has no impact on a server that is already ONLINE. An ONLINE server can accept and
process file transfer jobs.
The state of STARTING indicates that the server is in an intermediate state, either not fully able
to respond, or not fully online. The values of START_FAILED can indicate an error condition.
No response is returned from this call.
This is a convenience which creates an instance of the StartServerRequest.Builder avoiding the need to
create one manually via StartServerRequest.builder()
startServerRequest - A Consumer that will call methods on
StartServerRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopServerResponse stopServer(StopServerRequest stopServerRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Changes the state of a file transfer protocol-enabled server from ONLINE to OFFLINE. An
OFFLINE server cannot accept and process file transfer jobs. Information tied to your server, such
as server and user properties, are not affected by stopping your server.
Stopping the server does not reduce or impact your file transfer protocol endpoint billing; you must delete the server to stop being billed.
The state of STOPPING indicates that the server is in an intermediate state, either not fully able
to respond, or not fully offline. The values of STOP_FAILED can indicate an error condition.
No response is returned from this call.
stopServerRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopServerResponse stopServer(Consumer<StopServerRequest.Builder> stopServerRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Changes the state of a file transfer protocol-enabled server from ONLINE to OFFLINE. An
OFFLINE server cannot accept and process file transfer jobs. Information tied to your server, such
as server and user properties, are not affected by stopping your server.
Stopping the server does not reduce or impact your file transfer protocol endpoint billing; you must delete the server to stop being billed.
The state of STOPPING indicates that the server is in an intermediate state, either not fully able
to respond, or not fully offline. The values of STOP_FAILED can indicate an error condition.
No response is returned from this call.
This is a convenience which creates an instance of the StopServerRequest.Builder avoiding the need to
create one manually via StopServerRequest.builder()
stopServerRequest - A Consumer that will call methods on
StopServerRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
There is no response returned from this call.
tagResourceRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
There is no response returned from this call.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TestConnectionResponse testConnection(TestConnectionRequest testConnectionRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Tests whether your SFTP connector is set up successfully. We highly recommend that you call this operation to test your ability to transfer files between a Transfer Family server and a trading partner's SFTP server.
testConnectionRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TestConnectionResponse testConnection(Consumer<TestConnectionRequest.Builder> testConnectionRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Tests whether your SFTP connector is set up successfully. We highly recommend that you call this operation to test your ability to transfer files between a Transfer Family server and a trading partner's SFTP server.
This is a convenience which creates an instance of the TestConnectionRequest.Builder avoiding the need to
create one manually via TestConnectionRequest.builder()
testConnectionRequest - A Consumer that will call methods on
TestConnectionRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TestIdentityProviderResponse testIdentityProvider(TestIdentityProviderRequest testIdentityProviderRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
If the IdentityProviderType of a file transfer protocol-enabled server is
AWS_DIRECTORY_SERVICE or API_Gateway, tests whether your identity provider is set up
successfully. We highly recommend that you call this operation to test your authentication method as soon as you
create your server. By doing so, you can troubleshoot issues with the identity provider integration to ensure
that your users can successfully use the service.
The ServerId and UserName parameters are required. The ServerProtocol,
SourceIp, and UserPassword are all optional.
Note the following:
You cannot use TestIdentityProvider if the IdentityProviderType of your server is
SERVICE_MANAGED.
TestIdentityProvider does not work with keys: it only accepts passwords.
TestIdentityProvider can test the password operation for a custom Identity Provider that handles
keys and passwords.
If you provide any incorrect values for any parameters, the Response field is empty.
If you provide a server ID for a server that uses service-managed users, you get an error:
An error occurred (InvalidRequestException) when calling the TestIdentityProvider operation: s-server-ID not configured for external auth
If you enter a Server ID for the --server-id parameter that does not identify an actual Transfer
server, you receive the following error:
An error occurred (ResourceNotFoundException) when calling the TestIdentityProvider operation: Unknown server
.
It is possible your sever is in a different region. You can specify a region by adding the following:
--region region-code, such as --region us-east-2 to specify a server in US East
(Ohio).
testIdentityProviderRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TestIdentityProviderResponse testIdentityProvider(Consumer<TestIdentityProviderRequest.Builder> testIdentityProviderRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
If the IdentityProviderType of a file transfer protocol-enabled server is
AWS_DIRECTORY_SERVICE or API_Gateway, tests whether your identity provider is set up
successfully. We highly recommend that you call this operation to test your authentication method as soon as you
create your server. By doing so, you can troubleshoot issues with the identity provider integration to ensure
that your users can successfully use the service.
The ServerId and UserName parameters are required. The ServerProtocol,
SourceIp, and UserPassword are all optional.
Note the following:
You cannot use TestIdentityProvider if the IdentityProviderType of your server is
SERVICE_MANAGED.
TestIdentityProvider does not work with keys: it only accepts passwords.
TestIdentityProvider can test the password operation for a custom Identity Provider that handles
keys and passwords.
If you provide any incorrect values for any parameters, the Response field is empty.
If you provide a server ID for a server that uses service-managed users, you get an error:
An error occurred (InvalidRequestException) when calling the TestIdentityProvider operation: s-server-ID not configured for external auth
If you enter a Server ID for the --server-id parameter that does not identify an actual Transfer
server, you receive the following error:
An error occurred (ResourceNotFoundException) when calling the TestIdentityProvider operation: Unknown server
.
It is possible your sever is in a different region. You can specify a region by adding the following:
--region region-code, such as --region us-east-2 to specify a server in US East
(Ohio).
This is a convenience which creates an instance of the TestIdentityProviderRequest.Builder avoiding the
need to create one manually via TestIdentityProviderRequest.builder()
testIdentityProviderRequest - A Consumer that will call methods on
TestIdentityProviderRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
No response is returned from this call.
untagResourceRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, TransferException
Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
No response is returned from this call.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAccessResponse updateAccess(UpdateAccessRequest updateAccessRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Allows you to update parameters for the access specified in the ServerID and ExternalID
parameters.
updateAccessRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAccessResponse updateAccess(Consumer<UpdateAccessRequest.Builder> updateAccessRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Allows you to update parameters for the access specified in the ServerID and ExternalID
parameters.
This is a convenience which creates an instance of the UpdateAccessRequest.Builder avoiding the need to
create one manually via UpdateAccessRequest.builder()
updateAccessRequest - A Consumer that will call methods on
UpdateAccessRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAgreementResponse updateAgreement(UpdateAgreementRequest updateAgreementRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates some of the parameters for an existing agreement. Provide the AgreementId and the
ServerId for the agreement that you want to update, along with the new values for the parameters to
update.
updateAgreementRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAgreementResponse updateAgreement(Consumer<UpdateAgreementRequest.Builder> updateAgreementRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates some of the parameters for an existing agreement. Provide the AgreementId and the
ServerId for the agreement that you want to update, along with the new values for the parameters to
update.
This is a convenience which creates an instance of the UpdateAgreementRequest.Builder avoiding the need
to create one manually via UpdateAgreementRequest.builder()
updateAgreementRequest - A Consumer that will call methods on
UpdateAgreementRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCertificateResponse updateCertificate(UpdateCertificateRequest updateCertificateRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates the active and inactive dates for a certificate.
updateCertificateRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCertificateResponse updateCertificate(Consumer<UpdateCertificateRequest.Builder> updateCertificateRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates the active and inactive dates for a certificate.
This is a convenience which creates an instance of the UpdateCertificateRequest.Builder avoiding the need
to create one manually via UpdateCertificateRequest.builder()
updateCertificateRequest - A Consumer that will call methods on
UpdateCertificateRequest.Builder to create a
request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateConnectorResponse updateConnector(UpdateConnectorRequest updateConnectorRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates some of the parameters for an existing connector. Provide the ConnectorId for the connector
that you want to update, along with the new values for the parameters to update.
updateConnectorRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateConnectorResponse updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates some of the parameters for an existing connector. Provide the ConnectorId for the connector
that you want to update, along with the new values for the parameters to update.
This is a convenience which creates an instance of the UpdateConnectorRequest.Builder avoiding the need
to create one manually via UpdateConnectorRequest.builder()
updateConnectorRequest - A Consumer that will call methods on
UpdateConnectorRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateHostKeyResponse updateHostKey(UpdateHostKeyRequest updateHostKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates the description for the host key that's specified by the ServerId and HostKeyId
parameters.
updateHostKeyRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateHostKeyResponse updateHostKey(Consumer<UpdateHostKeyRequest.Builder> updateHostKeyRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates the description for the host key that's specified by the ServerId and HostKeyId
parameters.
This is a convenience which creates an instance of the UpdateHostKeyRequest.Builder avoiding the need to
create one manually via UpdateHostKeyRequest.builder()
updateHostKeyRequest - A Consumer that will call methods on
UpdateHostKeyRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateProfileResponse updateProfile(UpdateProfileRequest updateProfileRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates some of the parameters for an existing profile. Provide the ProfileId for the profile that
you want to update, along with the new values for the parameters to update.
updateProfileRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateProfileResponse updateProfile(Consumer<UpdateProfileRequest.Builder> updateProfileRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates some of the parameters for an existing profile. Provide the ProfileId for the profile that
you want to update, along with the new values for the parameters to update.
This is a convenience which creates an instance of the UpdateProfileRequest.Builder avoiding the need to
create one manually via UpdateProfileRequest.builder()
updateProfileRequest - A Consumer that will call methods on
UpdateProfileRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateServerResponse updateServer(UpdateServerRequest updateServerRequest) throws AccessDeniedException, ServiceUnavailableException, ConflictException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates the file transfer protocol-enabled server's properties after that server has been created.
The UpdateServer call returns the ServerId of the server you updated.
updateServerRequest - AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.ConflictException - This exception is thrown when the UpdateServer is called for a file transfer
protocol-enabled server that has VPC as the endpoint type and the server's VpcEndpointID is
not in the available state.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateServerResponse updateServer(Consumer<UpdateServerRequest.Builder> updateServerRequest) throws AccessDeniedException, ServiceUnavailableException, ConflictException, InternalServiceErrorException, InvalidRequestException, ResourceExistsException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Updates the file transfer protocol-enabled server's properties after that server has been created.
The UpdateServer call returns the ServerId of the server you updated.
This is a convenience which creates an instance of the UpdateServerRequest.Builder avoiding the need to
create one manually via UpdateServerRequest.builder()
updateServerRequest - A Consumer that will call methods on
UpdateServerRequest.Builder to create a request.AccessDeniedException - You do not have sufficient access to perform this action.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.ConflictException - This exception is thrown when the UpdateServer is called for a file transfer
protocol-enabled server that has VPC as the endpoint type and the server's VpcEndpointID is
not in the available state.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceExistsException - The requested resource does not exist.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateUserResponse updateUser(UpdateUserRequest updateUserRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Assigns new properties to a user. Parameters you pass modify any or all of the following: the home directory,
role, and policy for the UserName and ServerId you specify.
The response returns the ServerId and the UserName for the updated user.
updateUserRequest - ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateUserResponse updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest) throws ServiceUnavailableException, InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, TransferException
Assigns new properties to a user. Parameters you pass modify any or all of the following: the home directory,
role, and policy for the UserName and ServerId you specify.
The response returns the ServerId and the UserName for the updated user.
This is a convenience which creates an instance of the UpdateUserRequest.Builder avoiding the need to
create one manually via UpdateUserRequest.builder()
updateUserRequest - A Consumer that will call methods on
UpdateUserRequest.Builder to create a request.ServiceUnavailableException - The request has failed because the Amazon Web ServicesTransfer Family service is not available.InternalServiceErrorException - This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.InvalidRequestException - This exception is thrown when the client submits a malformed request.ResourceNotFoundException - This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TransferException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TransferWaiter waiter()
TransferWaiter using this client.
Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
TransferWaiterstatic TransferClient create()
TransferClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static TransferClientBuilder builder()
TransferClient.static ServiceMetadata serviceMetadata()
default TransferServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.