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 |
Returns metadata about your DataSync location for an object storage system.
Synopsis
- data DescribeLocationObjectStorage = DescribeLocationObjectStorage' {
- locationArn :: Text
- newDescribeLocationObjectStorage :: Text -> DescribeLocationObjectStorage
- describeLocationObjectStorage_locationArn :: Lens' DescribeLocationObjectStorage Text
- data DescribeLocationObjectStorageResponse = DescribeLocationObjectStorageResponse' {}
- newDescribeLocationObjectStorageResponse :: Int -> DescribeLocationObjectStorageResponse
- describeLocationObjectStorageResponse_accessKey :: Lens' DescribeLocationObjectStorageResponse (Maybe Text)
- describeLocationObjectStorageResponse_agentArns :: Lens' DescribeLocationObjectStorageResponse (Maybe (NonEmpty Text))
- describeLocationObjectStorageResponse_creationTime :: Lens' DescribeLocationObjectStorageResponse (Maybe UTCTime)
- describeLocationObjectStorageResponse_locationArn :: Lens' DescribeLocationObjectStorageResponse (Maybe Text)
- describeLocationObjectStorageResponse_locationUri :: Lens' DescribeLocationObjectStorageResponse (Maybe Text)
- describeLocationObjectStorageResponse_serverCertificate :: Lens' DescribeLocationObjectStorageResponse (Maybe ByteString)
- describeLocationObjectStorageResponse_serverPort :: Lens' DescribeLocationObjectStorageResponse (Maybe Natural)
- describeLocationObjectStorageResponse_serverProtocol :: Lens' DescribeLocationObjectStorageResponse (Maybe ObjectStorageServerProtocol)
- describeLocationObjectStorageResponse_httpStatus :: Lens' DescribeLocationObjectStorageResponse Int
Creating a Request
data DescribeLocationObjectStorage Source #
DescribeLocationObjectStorageRequest
See: newDescribeLocationObjectStorage
smart constructor.
DescribeLocationObjectStorage' | |
|
Instances
newDescribeLocationObjectStorage Source #
Create a value of DescribeLocationObjectStorage
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:
DescribeLocationObjectStorage
, describeLocationObjectStorage_locationArn
- The Amazon Resource Name (ARN) of the object storage system location
that you want information about.
Request Lenses
describeLocationObjectStorage_locationArn :: Lens' DescribeLocationObjectStorage Text Source #
The Amazon Resource Name (ARN) of the object storage system location that you want information about.
Destructuring the Response
data DescribeLocationObjectStorageResponse Source #
DescribeLocationObjectStorageResponse
See: newDescribeLocationObjectStorageResponse
smart constructor.
DescribeLocationObjectStorageResponse' | |
|
Instances
newDescribeLocationObjectStorageResponse Source #
Create a value of DescribeLocationObjectStorageResponse
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:accessKey:DescribeLocationObjectStorageResponse'
, describeLocationObjectStorageResponse_accessKey
- The access key (for example, a user name) required to authenticate with
the object storage system.
DescribeLocationObjectStorageResponse
, describeLocationObjectStorageResponse_agentArns
- The ARNs of the DataSync agents that can securely connect with your
location.
$sel:creationTime:DescribeLocationObjectStorageResponse'
, describeLocationObjectStorageResponse_creationTime
- The time that the location was created.
DescribeLocationObjectStorage
, describeLocationObjectStorageResponse_locationArn
- The ARN of the object storage system location.
DescribeLocationObjectStorageResponse
, describeLocationObjectStorageResponse_locationUri
- The URL of the object storage system location.
$sel:serverCertificate:DescribeLocationObjectStorageResponse'
, describeLocationObjectStorageResponse_serverCertificate
- The self-signed certificate that DataSync uses to securely authenticate
with your object storage system.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:serverPort:DescribeLocationObjectStorageResponse'
, describeLocationObjectStorageResponse_serverPort
- The port that your object storage server accepts inbound network traffic
on (for example, port 443).
$sel:serverProtocol:DescribeLocationObjectStorageResponse'
, describeLocationObjectStorageResponse_serverProtocol
- The protocol that your object storage system uses to communicate.
$sel:httpStatus:DescribeLocationObjectStorageResponse'
, describeLocationObjectStorageResponse_httpStatus
- The response's http status code.
Response Lenses
describeLocationObjectStorageResponse_accessKey :: Lens' DescribeLocationObjectStorageResponse (Maybe Text) Source #
The access key (for example, a user name) required to authenticate with the object storage system.
describeLocationObjectStorageResponse_agentArns :: Lens' DescribeLocationObjectStorageResponse (Maybe (NonEmpty Text)) Source #
The ARNs of the DataSync agents that can securely connect with your location.
describeLocationObjectStorageResponse_creationTime :: Lens' DescribeLocationObjectStorageResponse (Maybe UTCTime) Source #
The time that the location was created.
describeLocationObjectStorageResponse_locationArn :: Lens' DescribeLocationObjectStorageResponse (Maybe Text) Source #
The ARN of the object storage system location.
describeLocationObjectStorageResponse_locationUri :: Lens' DescribeLocationObjectStorageResponse (Maybe Text) Source #
The URL of the object storage system location.
describeLocationObjectStorageResponse_serverCertificate :: Lens' DescribeLocationObjectStorageResponse (Maybe ByteString) Source #
The self-signed certificate that DataSync uses to securely authenticate
with your object storage system.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
describeLocationObjectStorageResponse_serverPort :: Lens' DescribeLocationObjectStorageResponse (Maybe Natural) Source #
The port that your object storage server accepts inbound network traffic on (for example, port 443).
describeLocationObjectStorageResponse_serverProtocol :: Lens' DescribeLocationObjectStorageResponse (Maybe ObjectStorageServerProtocol) Source #
The protocol that your object storage system uses to communicate.
describeLocationObjectStorageResponse_httpStatus :: Lens' DescribeLocationObjectStorageResponse Int Source #
The response's http status code.