From c8d90ed796278f13b200b4c77627382a8808db11 Mon Sep 17 00:00:00 2001
From: awstools Provides Basic authentication support to the AS2 Connectors API. To use Basic authentication,
+ * you must provide the name or Amazon Resource Name (ARN) of a secret in Secrets Manager. The default value for this parameter is If the connector should use Basic authentication, the secret needs to be in the following format:
+ * Replace Note the following: You are storing these credentials in Secrets Manager, not passing them directly into this API. If you are using the API, SDKs, or CloudFormation to configure your connector, then you must create the secret before you can enable Basic authentication.
+ * However, if you are using the Amazon Web Services management console, you can have the system create the secret for you. If you have previously enabled Basic authentication for a connector, you can disable it by using the
+ * null
, which indicates that Basic authentication is not enabled for the connector.\{
+ * "Username": "user-name",
+ * "Password": "user-password"
+ * \}
+ * user-name
and user-password
with the credentials for the actual user that is being authenticated.
+ *
+ * UpdateConnector
API call. For example, if you are using the CLI, you can run the following command to remove Basic authentication:update-connector --connector-id my-connector-id --as2-config 'BasicAuthSecretId=""'
+ * StartFileTransfer
request. Additionally, you need to provide read and write
* access to the parent directory of the files that you intend to send with
* StartFileTransfer
.
If you are using Basic authentication for your AS2 connector, the access role requires the
+ * secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using
+ * a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also
+ * needs the kms:Decrypt
permission for that key.
StartFileTransfer
request. Additionally, you need to provide read and write
* access to the parent directory of the files that you intend to send with
* StartFileTransfer
.
+ * If you are using Basic authentication for your AS2 connector, the access role requires the
+ * secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using
+ * a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also
+ * needs the kms:Decrypt
permission for that key.
StartFileTransfer
request. Additionally, you need to provide read and write
* access to the parent directory of the files that you intend to send with
* StartFileTransfer
.
+ * If you are using Basic authentication for your AS2 connector, the access role requires the
+ * secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using
+ * a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also
+ * needs the kms:Decrypt
permission for that key.
StartFileTransfer
request. Additionally, you need to provide read and write
* access to the parent directory of the files that you intend to send with
* StartFileTransfer
.
+ * If you are using Basic authentication for your AS2 connector, the access role requires the
+ * secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using
+ * a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also
+ * needs the kms:Decrypt
permission for that key.
StartFileTransfer
request. Additionally, you need to provide read and write
* access to the parent directory of the files that you intend to send with
* StartFileTransfer
.
+ * If you are using Basic authentication for your AS2 connector, the access role requires the
+ * secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using
+ * a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also
+ * needs the kms:Decrypt
permission for that key.
StartFileTransfer
request. Additionally, you need to provide read and write
* access to the parent directory of the files that you intend to send with
* StartFileTransfer
.
+ * If you are using Basic authentication for your AS2 connector, the access role requires the
+ * secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using
+ * a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also
+ * needs the kms:Decrypt
permission for that key.
Used for outbound requests (from an Transfer Family server to a partner AS2 server) to determine whether\n the partner response for transfers is synchronous or asynchronous. Specify either of the following values:
\n\n SYNC
: The system expects a synchronous MDN response, confirming that the file was transferred successfully (or not).
\n NONE
: Specifies that no MDN response is required.
Provides Basic authentication support to the AS2 Connectors API. To use Basic authentication,\n you must provide the name or Amazon Resource Name (ARN) of a secret in Secrets Manager.
\nThe default value for this parameter is null
, which indicates that Basic authentication is not enabled for the connector.
If the connector should use Basic authentication, the secret needs to be in the following format:
\n\n {\n \"Username\": \"user-name\",\n \"Password\": \"user-password\"\n }
\n
Replace user-name
and user-password
with the credentials for the actual user that is being authenticated.
Note the following:
\nYou are storing these credentials in Secrets Manager, not passing them directly into this API.
\nIf you are using the API, SDKs, or CloudFormation to configure your connector, then you must create the secret before you can enable Basic authentication.\n However, if you are using the Amazon Web Services management console, you can have the system create the secret for you.
\nIf you have previously enabled Basic authentication for a connector, you can disable it by using the UpdateConnector
API call. For example, if you are using the CLI, you can run the following command to remove Basic authentication:
\n update-connector --connector-id my-connector-id --as2-config 'BasicAuthSecretId=\"\"'
\n
Contains the details for a connector object. The connector object is used for AS2 outbound\n processes, to connect the Transfer Family customer with the trading partner.
" } }, + "com.amazonaws.transfer#As2ConnectorSecretId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 2048 + } + } + }, "com.amazonaws.transfer#As2Id": { "type": "string", "traits": { @@ -562,7 +577,7 @@ "AccessRole": { "target": "com.amazonaws.transfer#Role", "traits": { - "smithy.api#documentation": "With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
If you are using Basic authentication for your AS2 connector, the access role requires the\n secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using\n a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also\n needs the kms:Decrypt
permission for that key.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
If you are using Basic authentication for your AS2 connector, the access role requires the\n secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using\n a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also\n needs the kms:Decrypt
permission for that key.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
If you are using Basic authentication for your AS2 connector, the access role requires the\n secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using\n a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also\n needs the kms:Decrypt
permission for that key.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
If you are using Basic authentication for your AS2 connector, the access role requires the\n secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using\n a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also\n needs the kms:Decrypt
permission for that key.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
If you are using Basic authentication for your AS2 connector, the access role requires the\n secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using\n a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also\n needs the kms:Decrypt
permission for that key.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
With AS2, you can send files by calling StartFileTransfer
and specifying the\n file paths in the request parameter, SendFilePaths
. We use the file’s parent\n directory (for example, for --send-file-paths /bucket/dir/file.txt
, parent\n directory is /bucket/dir/
) to temporarily store a processed AS2 message file,\n store the MDN when we receive them from the partner, and write a final JSON file containing\n relevant metadata of the transmission. So, the AccessRole
needs to provide read\n and write access to the parent directory of the file location used in the\n StartFileTransfer
request. Additionally, you need to provide read and write\n access to the parent directory of the files that you intend to send with\n StartFileTransfer
.
If you are using Basic authentication for your AS2 connector, the access role requires the\n secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using\n a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also\n needs the kms:Decrypt
permission for that key.