libZSservicesZSamazonka-datasyncZSamazonka-datasync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataSync.UpdateLocationObjectStorage

Description

Updates some of the parameters of a previously created location for self-managed object storage server access. For information about creating a self-managed object storage location, see Creating a location for object storage.

Synopsis

Creating a Request

data UpdateLocationObjectStorage Source #

See: newUpdateLocationObjectStorage smart constructor.

Constructors

UpdateLocationObjectStorage' 

Fields

  • serverPort :: Maybe Natural

    The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.

  • agentArns :: Maybe (NonEmpty Text)

    The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

  • serverProtocol :: Maybe ObjectStorageServerProtocol

    The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

  • secretKey :: Maybe (Sensitive Text)

    Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

  • subdirectory :: Maybe Text

    The subdirectory in the self-managed object storage server that is used to read data from.

  • accessKey :: Maybe Text

    Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

  • locationArn :: Text

    The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.

Instances

Instances details
Eq UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

Show UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

Generic UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

Associated Types

type Rep UpdateLocationObjectStorage :: Type -> Type #

NFData UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

Hashable UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

ToJSON UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

AWSRequest UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

ToHeaders UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

ToPath UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

ToQuery UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

type Rep UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

type Rep UpdateLocationObjectStorage = D1 ('MetaData "UpdateLocationObjectStorage" "Amazonka.DataSync.UpdateLocationObjectStorage" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "UpdateLocationObjectStorage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "serverPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "agentArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "serverProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectStorageServerProtocol)))) :*: ((S1 ('MetaSel ('Just "secretKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "subdirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "accessKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "locationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateLocationObjectStorage Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

newUpdateLocationObjectStorage Source #

Create a value of UpdateLocationObjectStorage 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:serverPort:UpdateLocationObjectStorage', updateLocationObjectStorage_serverPort - The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.

$sel:agentArns:UpdateLocationObjectStorage', updateLocationObjectStorage_agentArns - The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

$sel:serverProtocol:UpdateLocationObjectStorage', updateLocationObjectStorage_serverProtocol - The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

$sel:secretKey:UpdateLocationObjectStorage', updateLocationObjectStorage_secretKey - Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

$sel:subdirectory:UpdateLocationObjectStorage', updateLocationObjectStorage_subdirectory - The subdirectory in the self-managed object storage server that is used to read data from.

$sel:accessKey:UpdateLocationObjectStorage', updateLocationObjectStorage_accessKey - Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

$sel:locationArn:UpdateLocationObjectStorage', updateLocationObjectStorage_locationArn - The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.

Request Lenses

updateLocationObjectStorage_serverPort :: Lens' UpdateLocationObjectStorage (Maybe Natural) Source #

The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.

updateLocationObjectStorage_agentArns :: Lens' UpdateLocationObjectStorage (Maybe (NonEmpty Text)) Source #

The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

updateLocationObjectStorage_serverProtocol :: Lens' UpdateLocationObjectStorage (Maybe ObjectStorageServerProtocol) Source #

The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

updateLocationObjectStorage_secretKey :: Lens' UpdateLocationObjectStorage (Maybe Text) Source #

Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

updateLocationObjectStorage_subdirectory :: Lens' UpdateLocationObjectStorage (Maybe Text) Source #

The subdirectory in the self-managed object storage server that is used to read data from.

updateLocationObjectStorage_accessKey :: Lens' UpdateLocationObjectStorage (Maybe Text) Source #

Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

updateLocationObjectStorage_locationArn :: Lens' UpdateLocationObjectStorage Text Source #

The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.

Destructuring the Response

data UpdateLocationObjectStorageResponse Source #

Constructors

UpdateLocationObjectStorageResponse' 

Fields

Instances

Instances details
Eq UpdateLocationObjectStorageResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

Read UpdateLocationObjectStorageResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

Show UpdateLocationObjectStorageResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

Generic UpdateLocationObjectStorageResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

NFData UpdateLocationObjectStorageResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

type Rep UpdateLocationObjectStorageResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateLocationObjectStorage

type Rep UpdateLocationObjectStorageResponse = D1 ('MetaData "UpdateLocationObjectStorageResponse" "Amazonka.DataSync.UpdateLocationObjectStorage" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "UpdateLocationObjectStorageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateLocationObjectStorageResponse Source #

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

Response Lenses