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 the content of a hub.
Synopsis
- data DescribeHubContent = DescribeHubContent' {}
- newDescribeHubContent :: Text -> HubContentType -> Text -> DescribeHubContent
- describeHubContent_hubContentVersion :: Lens' DescribeHubContent (Maybe Text)
- describeHubContent_hubName :: Lens' DescribeHubContent Text
- describeHubContent_hubContentType :: Lens' DescribeHubContent HubContentType
- describeHubContent_hubContentName :: Lens' DescribeHubContent Text
- data DescribeHubContentResponse = DescribeHubContentResponse' {
- failureReason :: Maybe Text
- hubContentDependencies :: Maybe [HubContentDependency]
- hubContentDescription :: Maybe Text
- hubContentDisplayName :: Maybe Text
- hubContentMarkdown :: Maybe Text
- hubContentSearchKeywords :: Maybe [Text]
- httpStatus :: Int
- hubContentName :: Text
- hubContentArn :: Text
- hubContentVersion :: Text
- hubContentType :: HubContentType
- documentSchemaVersion :: Text
- hubName :: Text
- hubArn :: Text
- hubContentDocument :: Text
- hubContentStatus :: HubContentStatus
- creationTime :: POSIX
- newDescribeHubContentResponse :: Int -> Text -> Text -> Text -> HubContentType -> Text -> Text -> Text -> Text -> HubContentStatus -> UTCTime -> DescribeHubContentResponse
- describeHubContentResponse_failureReason :: Lens' DescribeHubContentResponse (Maybe Text)
- describeHubContentResponse_hubContentDependencies :: Lens' DescribeHubContentResponse (Maybe [HubContentDependency])
- describeHubContentResponse_hubContentDescription :: Lens' DescribeHubContentResponse (Maybe Text)
- describeHubContentResponse_hubContentDisplayName :: Lens' DescribeHubContentResponse (Maybe Text)
- describeHubContentResponse_hubContentMarkdown :: Lens' DescribeHubContentResponse (Maybe Text)
- describeHubContentResponse_hubContentSearchKeywords :: Lens' DescribeHubContentResponse (Maybe [Text])
- describeHubContentResponse_httpStatus :: Lens' DescribeHubContentResponse Int
- describeHubContentResponse_hubContentName :: Lens' DescribeHubContentResponse Text
- describeHubContentResponse_hubContentArn :: Lens' DescribeHubContentResponse Text
- describeHubContentResponse_hubContentVersion :: Lens' DescribeHubContentResponse Text
- describeHubContentResponse_hubContentType :: Lens' DescribeHubContentResponse HubContentType
- describeHubContentResponse_documentSchemaVersion :: Lens' DescribeHubContentResponse Text
- describeHubContentResponse_hubName :: Lens' DescribeHubContentResponse Text
- describeHubContentResponse_hubArn :: Lens' DescribeHubContentResponse Text
- describeHubContentResponse_hubContentDocument :: Lens' DescribeHubContentResponse Text
- describeHubContentResponse_hubContentStatus :: Lens' DescribeHubContentResponse HubContentStatus
- describeHubContentResponse_creationTime :: Lens' DescribeHubContentResponse UTCTime
Creating a Request
data DescribeHubContent Source #
See: newDescribeHubContent
smart constructor.
DescribeHubContent' | |
|
Instances
newDescribeHubContent Source #
:: Text | |
-> HubContentType | |
-> Text | |
-> DescribeHubContent |
Create a value of DescribeHubContent
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:
DescribeHubContent
, describeHubContent_hubContentVersion
- The version of the content to describe.
DescribeHubContent
, describeHubContent_hubName
- The name of the hub that contains the content to describe.
DescribeHubContent
, describeHubContent_hubContentType
- The type of content in the hub.
DescribeHubContent
, describeHubContent_hubContentName
- The name of the content to describe.
Request Lenses
describeHubContent_hubContentVersion :: Lens' DescribeHubContent (Maybe Text) Source #
The version of the content to describe.
describeHubContent_hubName :: Lens' DescribeHubContent Text Source #
The name of the hub that contains the content to describe.
describeHubContent_hubContentType :: Lens' DescribeHubContent HubContentType Source #
The type of content in the hub.
describeHubContent_hubContentName :: Lens' DescribeHubContent Text Source #
The name of the content to describe.
Destructuring the Response
data DescribeHubContentResponse Source #
See: newDescribeHubContentResponse
smart constructor.
DescribeHubContentResponse' | |
|
Instances
newDescribeHubContentResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> Text | |
-> HubContentType | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> HubContentStatus | |
-> UTCTime | |
-> DescribeHubContentResponse |
Create a value of DescribeHubContentResponse
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:
DescribeHubContentResponse
, describeHubContentResponse_failureReason
- The failure reason if importing hub content failed.
$sel:hubContentDependencies:DescribeHubContentResponse'
, describeHubContentResponse_hubContentDependencies
- The location of any dependencies that the hub content has, such as
scripts, model artifacts, datasets, or notebooks.
DescribeHubContentResponse
, describeHubContentResponse_hubContentDescription
- A description of the hub content.
DescribeHubContentResponse
, describeHubContentResponse_hubContentDisplayName
- The display name of the hub content.
$sel:hubContentMarkdown:DescribeHubContentResponse'
, describeHubContentResponse_hubContentMarkdown
- Markdown files associated with the hub content to import.
DescribeHubContentResponse
, describeHubContentResponse_hubContentSearchKeywords
- The searchable keywords for the hub content.
$sel:httpStatus:DescribeHubContentResponse'
, describeHubContentResponse_httpStatus
- The response's http status code.
DescribeHubContent
, describeHubContentResponse_hubContentName
- The name of the hub content.
DescribeHubContentResponse
, describeHubContentResponse_hubContentArn
- The Amazon Resource Name (ARN) of the hub content.
DescribeHubContent
, describeHubContentResponse_hubContentVersion
- The version of the hub content.
DescribeHubContent
, describeHubContentResponse_hubContentType
- The type of hub content.
DescribeHubContentResponse
, describeHubContentResponse_documentSchemaVersion
- The document schema version for the hub content.
DescribeHubContent
, describeHubContentResponse_hubName
- The name of the hub that contains the content.
DescribeHubContentResponse
, describeHubContentResponse_hubArn
- The Amazon Resource Name (ARN) of the hub that contains the content.
$sel:hubContentDocument:DescribeHubContentResponse'
, describeHubContentResponse_hubContentDocument
- The hub content document that describes information about the hub
content such as type, associated containers, scripts, and more.
DescribeHubContentResponse
, describeHubContentResponse_hubContentStatus
- The status of the hub content.
DescribeHubContentResponse
, describeHubContentResponse_creationTime
- The date and time that hub content was created.
Response Lenses
describeHubContentResponse_failureReason :: Lens' DescribeHubContentResponse (Maybe Text) Source #
The failure reason if importing hub content failed.
describeHubContentResponse_hubContentDependencies :: Lens' DescribeHubContentResponse (Maybe [HubContentDependency]) Source #
The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.
describeHubContentResponse_hubContentDescription :: Lens' DescribeHubContentResponse (Maybe Text) Source #
A description of the hub content.
describeHubContentResponse_hubContentDisplayName :: Lens' DescribeHubContentResponse (Maybe Text) Source #
The display name of the hub content.
describeHubContentResponse_hubContentMarkdown :: Lens' DescribeHubContentResponse (Maybe Text) Source #
Markdown files associated with the hub content to import.
describeHubContentResponse_hubContentSearchKeywords :: Lens' DescribeHubContentResponse (Maybe [Text]) Source #
The searchable keywords for the hub content.
describeHubContentResponse_httpStatus :: Lens' DescribeHubContentResponse Int Source #
The response's http status code.
describeHubContentResponse_hubContentName :: Lens' DescribeHubContentResponse Text Source #
The name of the hub content.
describeHubContentResponse_hubContentArn :: Lens' DescribeHubContentResponse Text Source #
The Amazon Resource Name (ARN) of the hub content.
describeHubContentResponse_hubContentVersion :: Lens' DescribeHubContentResponse Text Source #
The version of the hub content.
describeHubContentResponse_hubContentType :: Lens' DescribeHubContentResponse HubContentType Source #
The type of hub content.
describeHubContentResponse_documentSchemaVersion :: Lens' DescribeHubContentResponse Text Source #
The document schema version for the hub content.
describeHubContentResponse_hubName :: Lens' DescribeHubContentResponse Text Source #
The name of the hub that contains the content.
describeHubContentResponse_hubArn :: Lens' DescribeHubContentResponse Text Source #
The Amazon Resource Name (ARN) of the hub that contains the content.
describeHubContentResponse_hubContentDocument :: Lens' DescribeHubContentResponse Text Source #
The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.
describeHubContentResponse_hubContentStatus :: Lens' DescribeHubContentResponse HubContentStatus Source #
The status of the hub content.
describeHubContentResponse_creationTime :: Lens' DescribeHubContentResponse UTCTime Source #
The date and time that hub content was created.