Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data DescribedConnector = DescribedConnector' {}
- newDescribedConnector :: Text -> DescribedConnector
- describedConnector_accessRole :: Lens' DescribedConnector (Maybe Text)
- describedConnector_as2Config :: Lens' DescribedConnector (Maybe As2ConnectorConfig)
- describedConnector_connectorId :: Lens' DescribedConnector (Maybe Text)
- describedConnector_loggingRole :: Lens' DescribedConnector (Maybe Text)
- describedConnector_tags :: Lens' DescribedConnector (Maybe (NonEmpty Tag))
- describedConnector_url :: Lens' DescribedConnector (Maybe Text)
- describedConnector_arn :: Lens' DescribedConnector Text
Documentation
data DescribedConnector Source #
Describes the parameters for the connector, as identified by the
ConnectorId
.
See: newDescribedConnector
smart constructor.
DescribedConnector' | |
|
Instances
newDescribedConnector Source #
Create a value of DescribedConnector
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessRole:DescribedConnector'
, describedConnector_accessRole
- With AS2, you can send files by calling StartFileTransfer
and
specifying the file paths in the request parameter, SendFilePaths
. We
use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is
/bucket/dir/
) to temporarily store a processed AS2 message file,
store the MDN when we receive them from the partner, and write a final
JSON file containing relevant metadata of the transmission. So, the
AccessRole
needs to provide read and write access to the parent
directory of the file location used in the 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
.
$sel:as2Config:DescribedConnector'
, describedConnector_as2Config
- A structure that contains the parameters for a connector object.
$sel:connectorId:DescribedConnector'
, describedConnector_connectorId
- The unique identifier for the connector.
$sel:loggingRole:DescribedConnector'
, describedConnector_loggingRole
- The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) role that allows a connector to turn on CloudWatch logging for
Amazon S3 events. When set, you can view connector activity in your
CloudWatch logs.
$sel:tags:DescribedConnector'
, describedConnector_tags
- Key-value pairs that can be used to group and search for connectors.
$sel:url:DescribedConnector'
, describedConnector_url
- The URL of the partner's AS2 endpoint.
$sel:arn:DescribedConnector'
, describedConnector_arn
- The unique Amazon Resource Name (ARN) for the connector.
describedConnector_accessRole :: Lens' DescribedConnector (Maybe Text) Source #
With AS2, you can send files by calling StartFileTransfer
and
specifying the file paths in the request parameter, SendFilePaths
. We
use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is
/bucket/dir/
) to temporarily store a processed AS2 message file,
store the MDN when we receive them from the partner, and write a final
JSON file containing relevant metadata of the transmission. So, the
AccessRole
needs to provide read and write access to the parent
directory of the file location used in the 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
.
describedConnector_as2Config :: Lens' DescribedConnector (Maybe As2ConnectorConfig) Source #
A structure that contains the parameters for a connector object.
describedConnector_connectorId :: Lens' DescribedConnector (Maybe Text) Source #
The unique identifier for the connector.
describedConnector_loggingRole :: Lens' DescribedConnector (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your CloudWatch logs.
describedConnector_tags :: Lens' DescribedConnector (Maybe (NonEmpty Tag)) Source #
Key-value pairs that can be used to group and search for connectors.
describedConnector_url :: Lens' DescribedConnector (Maybe Text) Source #
The URL of the partner's AS2 endpoint.
describedConnector_arn :: Lens' DescribedConnector Text Source #
The unique Amazon Resource Name (ARN) for the connector.