| 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 | 
Amazonka.SageMaker.ImportHubContent
Description
Import hub content.
Synopsis
- data ImportHubContent = ImportHubContent' {
- hubContentDescription :: Maybe Text
 - hubContentDisplayName :: Maybe Text
 - hubContentMarkdown :: Maybe Text
 - hubContentSearchKeywords :: Maybe [Text]
 - hubContentVersion :: Maybe Text
 - tags :: Maybe [Tag]
 - hubContentName :: Text
 - hubContentType :: HubContentType
 - documentSchemaVersion :: Text
 - hubName :: Text
 - hubContentDocument :: Text
 
 - newImportHubContent :: Text -> HubContentType -> Text -> Text -> Text -> ImportHubContent
 - importHubContent_hubContentDescription :: Lens' ImportHubContent (Maybe Text)
 - importHubContent_hubContentDisplayName :: Lens' ImportHubContent (Maybe Text)
 - importHubContent_hubContentMarkdown :: Lens' ImportHubContent (Maybe Text)
 - importHubContent_hubContentSearchKeywords :: Lens' ImportHubContent (Maybe [Text])
 - importHubContent_hubContentVersion :: Lens' ImportHubContent (Maybe Text)
 - importHubContent_tags :: Lens' ImportHubContent (Maybe [Tag])
 - importHubContent_hubContentName :: Lens' ImportHubContent Text
 - importHubContent_hubContentType :: Lens' ImportHubContent HubContentType
 - importHubContent_documentSchemaVersion :: Lens' ImportHubContent Text
 - importHubContent_hubName :: Lens' ImportHubContent Text
 - importHubContent_hubContentDocument :: Lens' ImportHubContent Text
 - data ImportHubContentResponse = ImportHubContentResponse' {
- httpStatus :: Int
 - hubArn :: Text
 - hubContentArn :: Text
 
 - newImportHubContentResponse :: Int -> Text -> Text -> ImportHubContentResponse
 - importHubContentResponse_httpStatus :: Lens' ImportHubContentResponse Int
 - importHubContentResponse_hubArn :: Lens' ImportHubContentResponse Text
 - importHubContentResponse_hubContentArn :: Lens' ImportHubContentResponse Text
 
Creating a Request
data ImportHubContent Source #
See: newImportHubContent smart constructor.
Constructors
| ImportHubContent' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> HubContentType | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> ImportHubContent | 
Create a value of ImportHubContent 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:
ImportHubContent, importHubContent_hubContentDescription - A description of the hub content to import.
ImportHubContent, importHubContent_hubContentDisplayName - The display name of the hub content to import.
$sel:hubContentMarkdown:ImportHubContent', importHubContent_hubContentMarkdown - Markdown files associated with the hub content to import.
ImportHubContent, importHubContent_hubContentSearchKeywords - The searchable keywords of the hub content.
ImportHubContent, importHubContent_hubContentVersion - The version of the hub content to import.
ImportHubContent, importHubContent_tags - Any tags associated with the hub content.
ImportHubContent, importHubContent_hubContentName - The name of the hub content to import.
ImportHubContent, importHubContent_hubContentType - The type of hub content to import.
ImportHubContent, importHubContent_documentSchemaVersion - The version of the hub content schema to import.
ImportHubContent, importHubContent_hubName - The name of the hub to import content into.
$sel:hubContentDocument:ImportHubContent', importHubContent_hubContentDocument - The hub content document that describes information about the hub
 content such as type, associated containers, scripts, and more.
Request Lenses
importHubContent_hubContentDescription :: Lens' ImportHubContent (Maybe Text) Source #
A description of the hub content to import.
importHubContent_hubContentDisplayName :: Lens' ImportHubContent (Maybe Text) Source #
The display name of the hub content to import.
importHubContent_hubContentMarkdown :: Lens' ImportHubContent (Maybe Text) Source #
Markdown files associated with the hub content to import.
importHubContent_hubContentSearchKeywords :: Lens' ImportHubContent (Maybe [Text]) Source #
The searchable keywords of the hub content.
importHubContent_hubContentVersion :: Lens' ImportHubContent (Maybe Text) Source #
The version of the hub content to import.
importHubContent_tags :: Lens' ImportHubContent (Maybe [Tag]) Source #
Any tags associated with the hub content.
importHubContent_hubContentName :: Lens' ImportHubContent Text Source #
The name of the hub content to import.
importHubContent_hubContentType :: Lens' ImportHubContent HubContentType Source #
The type of hub content to import.
importHubContent_documentSchemaVersion :: Lens' ImportHubContent Text Source #
The version of the hub content schema to import.
importHubContent_hubName :: Lens' ImportHubContent Text Source #
The name of the hub to import content into.
importHubContent_hubContentDocument :: Lens' ImportHubContent Text Source #
The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.
Destructuring the Response
data ImportHubContentResponse Source #
See: newImportHubContentResponse smart constructor.
Constructors
| ImportHubContentResponse' | |
Fields 
  | |
Instances
newImportHubContentResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> ImportHubContentResponse | 
Create a value of ImportHubContentResponse 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:ImportHubContentResponse', importHubContentResponse_httpStatus - The response's http status code.
ImportHubContentResponse, importHubContentResponse_hubArn - The ARN of the hub that the content was imported into.
ImportHubContentResponse, importHubContentResponse_hubContentArn - The ARN of the hub content that was imported.
Response Lenses
importHubContentResponse_httpStatus :: Lens' ImportHubContentResponse Int Source #
The response's http status code.
importHubContentResponse_hubArn :: Lens' ImportHubContentResponse Text Source #
The ARN of the hub that the content was imported into.
importHubContentResponse_hubContentArn :: Lens' ImportHubContentResponse Text Source #
The ARN of the hub content that was imported.