amazonka-transfer-2.0: Amazon Transfer Family SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Transfer.Types.DescribedAgreement

Description

 
Synopsis

Documentation

data DescribedAgreement Source #

Describes the properties of an agreement.

See: newDescribedAgreement smart constructor.

Constructors

DescribedAgreement' 

Fields

  • accessRole :: Maybe Text

    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.

  • agreementId :: Maybe Text

    A unique identifier for the agreement. This identifier is returned when you create an agreement.

  • baseDirectory :: Maybe Text

    The landing directory (folder) for files that are transferred by using the AS2 protocol.

  • description :: Maybe Text

    The name or short description that's used to identify the agreement.

  • localProfileId :: Maybe Text

    A unique identifier for the AS2 local profile.

  • partnerProfileId :: Maybe Text

    A unique identifier for the partner profile used in the agreement.

  • serverId :: Maybe Text

    A system-assigned unique identifier for a server instance. This identifier indicates the specific server that the agreement uses.

  • status :: Maybe AgreementStatusType

    The current status of the agreement, either ACTIVE or INACTIVE.

  • tags :: Maybe (NonEmpty Tag)

    Key-value pairs that can be used to group and search for agreements.

  • arn :: Text

    The unique Amazon Resource Name (ARN) for the agreement.

Instances

Instances details
FromJSON DescribedAgreement Source # 
Instance details

Defined in Amazonka.Transfer.Types.DescribedAgreement

Generic DescribedAgreement Source # 
Instance details

Defined in Amazonka.Transfer.Types.DescribedAgreement

Associated Types

type Rep DescribedAgreement :: Type -> Type #

Read DescribedAgreement Source # 
Instance details

Defined in Amazonka.Transfer.Types.DescribedAgreement

Show DescribedAgreement Source # 
Instance details

Defined in Amazonka.Transfer.Types.DescribedAgreement

NFData DescribedAgreement Source # 
Instance details

Defined in Amazonka.Transfer.Types.DescribedAgreement

Methods

rnf :: DescribedAgreement -> () #

Eq DescribedAgreement Source # 
Instance details

Defined in Amazonka.Transfer.Types.DescribedAgreement

Hashable DescribedAgreement Source # 
Instance details

Defined in Amazonka.Transfer.Types.DescribedAgreement

type Rep DescribedAgreement Source # 
Instance details

Defined in Amazonka.Transfer.Types.DescribedAgreement

newDescribedAgreement Source #

Create a value of DescribedAgreement 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:DescribedAgreement', describedAgreement_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:agreementId:DescribedAgreement', describedAgreement_agreementId - A unique identifier for the agreement. This identifier is returned when you create an agreement.

$sel:baseDirectory:DescribedAgreement', describedAgreement_baseDirectory - The landing directory (folder) for files that are transferred by using the AS2 protocol.

$sel:description:DescribedAgreement', describedAgreement_description - The name or short description that's used to identify the agreement.

$sel:localProfileId:DescribedAgreement', describedAgreement_localProfileId - A unique identifier for the AS2 local profile.

$sel:partnerProfileId:DescribedAgreement', describedAgreement_partnerProfileId - A unique identifier for the partner profile used in the agreement.

$sel:serverId:DescribedAgreement', describedAgreement_serverId - A system-assigned unique identifier for a server instance. This identifier indicates the specific server that the agreement uses.

$sel:status:DescribedAgreement', describedAgreement_status - The current status of the agreement, either ACTIVE or INACTIVE.

$sel:tags:DescribedAgreement', describedAgreement_tags - Key-value pairs that can be used to group and search for agreements.

$sel:arn:DescribedAgreement', describedAgreement_arn - The unique Amazon Resource Name (ARN) for the agreement.

describedAgreement_accessRole :: Lens' DescribedAgreement (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.

describedAgreement_agreementId :: Lens' DescribedAgreement (Maybe Text) Source #

A unique identifier for the agreement. This identifier is returned when you create an agreement.

describedAgreement_baseDirectory :: Lens' DescribedAgreement (Maybe Text) Source #

The landing directory (folder) for files that are transferred by using the AS2 protocol.

describedAgreement_description :: Lens' DescribedAgreement (Maybe Text) Source #

The name or short description that's used to identify the agreement.

describedAgreement_localProfileId :: Lens' DescribedAgreement (Maybe Text) Source #

A unique identifier for the AS2 local profile.

describedAgreement_partnerProfileId :: Lens' DescribedAgreement (Maybe Text) Source #

A unique identifier for the partner profile used in the agreement.

describedAgreement_serverId :: Lens' DescribedAgreement (Maybe Text) Source #

A system-assigned unique identifier for a server instance. This identifier indicates the specific server that the agreement uses.

describedAgreement_status :: Lens' DescribedAgreement (Maybe AgreementStatusType) Source #

The current status of the agreement, either ACTIVE or INACTIVE.

describedAgreement_tags :: Lens' DescribedAgreement (Maybe (NonEmpty Tag)) Source #

Key-value pairs that can be used to group and search for agreements.

describedAgreement_arn :: Lens' DescribedAgreement Text Source #

The unique Amazon Resource Name (ARN) for the agreement.