Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data UpdateLocationObjectStorage = UpdateLocationObjectStorage' {}
- newUpdateLocationObjectStorage :: Text -> UpdateLocationObjectStorage
- updateLocationObjectStorage_serverPort :: Lens' UpdateLocationObjectStorage (Maybe Natural)
- updateLocationObjectStorage_agentArns :: Lens' UpdateLocationObjectStorage (Maybe (NonEmpty Text))
- updateLocationObjectStorage_serverProtocol :: Lens' UpdateLocationObjectStorage (Maybe ObjectStorageServerProtocol)
- updateLocationObjectStorage_secretKey :: Lens' UpdateLocationObjectStorage (Maybe Text)
- updateLocationObjectStorage_subdirectory :: Lens' UpdateLocationObjectStorage (Maybe Text)
- updateLocationObjectStorage_accessKey :: Lens' UpdateLocationObjectStorage (Maybe Text)
- updateLocationObjectStorage_locationArn :: Lens' UpdateLocationObjectStorage Text
- data UpdateLocationObjectStorageResponse = UpdateLocationObjectStorageResponse' {
- httpStatus :: Int
- newUpdateLocationObjectStorageResponse :: Int -> UpdateLocationObjectStorageResponse
- updateLocationObjectStorageResponse_httpStatus :: Lens' UpdateLocationObjectStorageResponse Int
Creating a Request
data UpdateLocationObjectStorage Source #
See: newUpdateLocationObjectStorage
smart constructor.
UpdateLocationObjectStorage' | |
|
Instances
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 #
See: newUpdateLocationObjectStorageResponse
smart constructor.
UpdateLocationObjectStorageResponse' | |
|
Instances
Eq UpdateLocationObjectStorageResponse Source # | |
Read UpdateLocationObjectStorageResponse Source # | |
Show UpdateLocationObjectStorageResponse Source # | |
Generic UpdateLocationObjectStorageResponse Source # | |
NFData UpdateLocationObjectStorageResponse Source # | |
Defined in Amazonka.DataSync.UpdateLocationObjectStorage rnf :: UpdateLocationObjectStorageResponse -> () # | |
type Rep UpdateLocationObjectStorageResponse Source # | |
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
updateLocationObjectStorageResponse_httpStatus :: Lens' UpdateLocationObjectStorageResponse Int Source #
The response's http status code.