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.UpdateConnector

Description

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.

Synopsis

Creating a Request

data UpdateConnector Source #

See: newUpdateConnector smart constructor.

Constructors

UpdateConnector' 

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.

  • as2Config :: Maybe As2ConnectorConfig

    A structure that contains the parameters for a connector object.

  • loggingRole :: Maybe Text

    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.

  • url :: Maybe Text

    The URL of the partner's AS2 endpoint.

  • connectorId :: Text

    The unique identifier for the connector.

Instances

Instances details
ToJSON UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

ToHeaders UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

ToPath UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

ToQuery UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

AWSRequest UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

Associated Types

type AWSResponse UpdateConnector #

Generic UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

Associated Types

type Rep UpdateConnector :: Type -> Type #

Read UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

Show UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

NFData UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

Methods

rnf :: UpdateConnector -> () #

Eq UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

Hashable UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

type AWSResponse UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

type Rep UpdateConnector Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

type Rep UpdateConnector = D1 ('MetaData "UpdateConnector" "Amazonka.Transfer.UpdateConnector" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "UpdateConnector'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "as2Config") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe As2ConnectorConfig))) :*: (S1 ('MetaSel ('Just "loggingRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateConnector Source #

Create a value of UpdateConnector 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:

UpdateConnector, updateConnector_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.

UpdateConnector, updateConnector_as2Config - A structure that contains the parameters for a connector object.

UpdateConnector, updateConnector_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.

UpdateConnector, updateConnector_url - The URL of the partner's AS2 endpoint.

UpdateConnector, updateConnector_connectorId - The unique identifier for the connector.

Request Lenses

updateConnector_accessRole :: Lens' UpdateConnector (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.

updateConnector_as2Config :: Lens' UpdateConnector (Maybe As2ConnectorConfig) Source #

A structure that contains the parameters for a connector object.

updateConnector_loggingRole :: Lens' UpdateConnector (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.

updateConnector_url :: Lens' UpdateConnector (Maybe Text) Source #

The URL of the partner's AS2 endpoint.

updateConnector_connectorId :: Lens' UpdateConnector Text Source #

The unique identifier for the connector.

Destructuring the Response

data UpdateConnectorResponse Source #

See: newUpdateConnectorResponse smart constructor.

Constructors

UpdateConnectorResponse' 

Fields

Instances

Instances details
Generic UpdateConnectorResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

Associated Types

type Rep UpdateConnectorResponse :: Type -> Type #

Read UpdateConnectorResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

Show UpdateConnectorResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

NFData UpdateConnectorResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

Methods

rnf :: UpdateConnectorResponse -> () #

Eq UpdateConnectorResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

type Rep UpdateConnectorResponse Source # 
Instance details

Defined in Amazonka.Transfer.UpdateConnector

type Rep UpdateConnectorResponse = D1 ('MetaData "UpdateConnectorResponse" "Amazonka.Transfer.UpdateConnector" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "UpdateConnectorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "connectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateConnectorResponse Source #

Create a value of UpdateConnectorResponse 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:httpStatus:UpdateConnectorResponse', updateConnectorResponse_httpStatus - The response's http status code.

UpdateConnector, updateConnectorResponse_connectorId - Returns the identifier of the connector object that you are updating.

Response Lenses

updateConnectorResponse_connectorId :: Lens' UpdateConnectorResponse Text Source #

Returns the identifier of the connector object that you are updating.