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 |
Describe a hub.
Synopsis
- data DescribeHub = DescribeHub' {}
- newDescribeHub :: Text -> DescribeHub
- describeHub_hubName :: Lens' DescribeHub Text
- data DescribeHubResponse = DescribeHubResponse' {}
- newDescribeHubResponse :: Int -> Text -> Text -> HubStatus -> UTCTime -> UTCTime -> DescribeHubResponse
- describeHubResponse_failureReason :: Lens' DescribeHubResponse (Maybe Text)
- describeHubResponse_hubDescription :: Lens' DescribeHubResponse (Maybe Text)
- describeHubResponse_hubDisplayName :: Lens' DescribeHubResponse (Maybe Text)
- describeHubResponse_hubSearchKeywords :: Lens' DescribeHubResponse (Maybe [Text])
- describeHubResponse_s3StorageConfig :: Lens' DescribeHubResponse (Maybe HubS3StorageConfig)
- describeHubResponse_httpStatus :: Lens' DescribeHubResponse Int
- describeHubResponse_hubName :: Lens' DescribeHubResponse Text
- describeHubResponse_hubArn :: Lens' DescribeHubResponse Text
- describeHubResponse_hubStatus :: Lens' DescribeHubResponse HubStatus
- describeHubResponse_creationTime :: Lens' DescribeHubResponse UTCTime
- describeHubResponse_lastModifiedTime :: Lens' DescribeHubResponse UTCTime
Creating a Request
data DescribeHub Source #
See: newDescribeHub
smart constructor.
Instances
Create a value of DescribeHub
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:
DescribeHub
, describeHub_hubName
- The name of the hub to describe.
Request Lenses
describeHub_hubName :: Lens' DescribeHub Text Source #
The name of the hub to describe.
Destructuring the Response
data DescribeHubResponse Source #
See: newDescribeHubResponse
smart constructor.
DescribeHubResponse' | |
|
Instances
newDescribeHubResponse Source #
Create a value of DescribeHubResponse
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:
DescribeHubResponse
, describeHubResponse_failureReason
- The failure reason if importing hub content failed.
DescribeHubResponse
, describeHubResponse_hubDescription
- A description of the hub.
DescribeHubResponse
, describeHubResponse_hubDisplayName
- The display name of the hub.
DescribeHubResponse
, describeHubResponse_hubSearchKeywords
- The searchable keywords for the hub.
DescribeHubResponse
, describeHubResponse_s3StorageConfig
- The Amazon S3 storage configuration for the hub.
$sel:httpStatus:DescribeHubResponse'
, describeHubResponse_httpStatus
- The response's http status code.
DescribeHub
, describeHubResponse_hubName
- The name of the hub.
DescribeHubResponse
, describeHubResponse_hubArn
- The Amazon Resource Name (ARN) of the hub.
DescribeHubResponse
, describeHubResponse_hubStatus
- The status of the hub.
DescribeHubResponse
, describeHubResponse_creationTime
- The date and time that the hub was created.
DescribeHubResponse
, describeHubResponse_lastModifiedTime
- The date and time that the hub was last modified.
Response Lenses
describeHubResponse_failureReason :: Lens' DescribeHubResponse (Maybe Text) Source #
The failure reason if importing hub content failed.
describeHubResponse_hubDescription :: Lens' DescribeHubResponse (Maybe Text) Source #
A description of the hub.
describeHubResponse_hubDisplayName :: Lens' DescribeHubResponse (Maybe Text) Source #
The display name of the hub.
describeHubResponse_hubSearchKeywords :: Lens' DescribeHubResponse (Maybe [Text]) Source #
The searchable keywords for the hub.
describeHubResponse_s3StorageConfig :: Lens' DescribeHubResponse (Maybe HubS3StorageConfig) Source #
The Amazon S3 storage configuration for the hub.
describeHubResponse_httpStatus :: Lens' DescribeHubResponse Int Source #
The response's http status code.
describeHubResponse_hubName :: Lens' DescribeHubResponse Text Source #
The name of the hub.
describeHubResponse_hubArn :: Lens' DescribeHubResponse Text Source #
The Amazon Resource Name (ARN) of the hub.
describeHubResponse_hubStatus :: Lens' DescribeHubResponse HubStatus Source #
The status of the hub.
describeHubResponse_creationTime :: Lens' DescribeHubResponse UTCTime Source #
The date and time that the hub was created.
describeHubResponse_lastModifiedTime :: Lens' DescribeHubResponse UTCTime Source #
The date and time that the hub was last modified.