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 |
Retrieves the properties of the requested source location.
Synopsis
- data DescribeSourceLocation = DescribeSourceLocation' {}
- newDescribeSourceLocation :: Text -> DescribeSourceLocation
- describeSourceLocation_sourceLocationName :: Lens' DescribeSourceLocation Text
- data DescribeSourceLocationResponse = DescribeSourceLocationResponse' {
- creationTime :: Maybe POSIX
- sourceLocationName :: Maybe Text
- arn :: Maybe Text
- httpConfiguration :: Maybe HttpConfiguration
- lastModifiedTime :: Maybe POSIX
- accessConfiguration :: Maybe AccessConfiguration
- defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfiguration
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newDescribeSourceLocationResponse :: Int -> DescribeSourceLocationResponse
- describeSourceLocationResponse_creationTime :: Lens' DescribeSourceLocationResponse (Maybe UTCTime)
- describeSourceLocationResponse_sourceLocationName :: Lens' DescribeSourceLocationResponse (Maybe Text)
- describeSourceLocationResponse_arn :: Lens' DescribeSourceLocationResponse (Maybe Text)
- describeSourceLocationResponse_httpConfiguration :: Lens' DescribeSourceLocationResponse (Maybe HttpConfiguration)
- describeSourceLocationResponse_lastModifiedTime :: Lens' DescribeSourceLocationResponse (Maybe UTCTime)
- describeSourceLocationResponse_accessConfiguration :: Lens' DescribeSourceLocationResponse (Maybe AccessConfiguration)
- describeSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' DescribeSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration)
- describeSourceLocationResponse_tags :: Lens' DescribeSourceLocationResponse (Maybe (HashMap Text Text))
- describeSourceLocationResponse_httpStatus :: Lens' DescribeSourceLocationResponse Int
Creating a Request
data DescribeSourceLocation Source #
See: newDescribeSourceLocation
smart constructor.
DescribeSourceLocation' | |
|
Instances
newDescribeSourceLocation Source #
Create a value of DescribeSourceLocation
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:sourceLocationName:DescribeSourceLocation'
, describeSourceLocation_sourceLocationName
- The identifier for the source location you are working on.
Request Lenses
describeSourceLocation_sourceLocationName :: Lens' DescribeSourceLocation Text Source #
The identifier for the source location you are working on.
Destructuring the Response
data DescribeSourceLocationResponse Source #
See: newDescribeSourceLocationResponse
smart constructor.
DescribeSourceLocationResponse' | |
|
Instances
newDescribeSourceLocationResponse Source #
Create a value of DescribeSourceLocationResponse
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:creationTime:DescribeSourceLocationResponse'
, describeSourceLocationResponse_creationTime
- The timestamp that indicates when the source location was created.
$sel:sourceLocationName:DescribeSourceLocation'
, describeSourceLocationResponse_sourceLocationName
- The name of the source location.
$sel:arn:DescribeSourceLocationResponse'
, describeSourceLocationResponse_arn
- The ARN of the source location.
$sel:httpConfiguration:DescribeSourceLocationResponse'
, describeSourceLocationResponse_httpConfiguration
- The HTTP package configuration settings for the source location.
$sel:lastModifiedTime:DescribeSourceLocationResponse'
, describeSourceLocationResponse_lastModifiedTime
- The timestamp that indicates when the source location was last modified.
$sel:accessConfiguration:DescribeSourceLocationResponse'
, describeSourceLocationResponse_accessConfiguration
- The access configuration for the source location.
$sel:defaultSegmentDeliveryConfiguration:DescribeSourceLocationResponse'
, describeSourceLocationResponse_defaultSegmentDeliveryConfiguration
- The default segment delivery configuration settings.
$sel:tags:DescribeSourceLocationResponse'
, describeSourceLocationResponse_tags
- The tags assigned to the source location.
$sel:httpStatus:DescribeSourceLocationResponse'
, describeSourceLocationResponse_httpStatus
- The response's http status code.
Response Lenses
describeSourceLocationResponse_creationTime :: Lens' DescribeSourceLocationResponse (Maybe UTCTime) Source #
The timestamp that indicates when the source location was created.
describeSourceLocationResponse_sourceLocationName :: Lens' DescribeSourceLocationResponse (Maybe Text) Source #
The name of the source location.
describeSourceLocationResponse_arn :: Lens' DescribeSourceLocationResponse (Maybe Text) Source #
The ARN of the source location.
describeSourceLocationResponse_httpConfiguration :: Lens' DescribeSourceLocationResponse (Maybe HttpConfiguration) Source #
The HTTP package configuration settings for the source location.
describeSourceLocationResponse_lastModifiedTime :: Lens' DescribeSourceLocationResponse (Maybe UTCTime) Source #
The timestamp that indicates when the source location was last modified.
describeSourceLocationResponse_accessConfiguration :: Lens' DescribeSourceLocationResponse (Maybe AccessConfiguration) Source #
The access configuration for the source location.
describeSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' DescribeSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration) Source #
The default segment delivery configuration settings.
describeSourceLocationResponse_tags :: Lens' DescribeSourceLocationResponse (Maybe (HashMap Text Text)) Source #
The tags assigned to the source location.
describeSourceLocationResponse_httpStatus :: Lens' DescribeSourceLocationResponse Int Source #
The response's http status code.