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 |
Delete the contents of a hub.
Synopsis
- data DeleteHubContent = DeleteHubContent' {}
- newDeleteHubContent :: Text -> HubContentType -> Text -> Text -> DeleteHubContent
- deleteHubContent_hubName :: Lens' DeleteHubContent Text
- deleteHubContent_hubContentType :: Lens' DeleteHubContent HubContentType
- deleteHubContent_hubContentName :: Lens' DeleteHubContent Text
- deleteHubContent_hubContentVersion :: Lens' DeleteHubContent Text
- data DeleteHubContentResponse = DeleteHubContentResponse' {
- newDeleteHubContentResponse :: DeleteHubContentResponse
Creating a Request
data DeleteHubContent Source #
See: newDeleteHubContent
smart constructor.
DeleteHubContent' | |
|
Instances
:: Text | |
-> HubContentType | |
-> Text | |
-> Text | |
-> DeleteHubContent |
Create a value of DeleteHubContent
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:
DeleteHubContent
, deleteHubContent_hubName
- The name of the hub that you want to delete content in.
DeleteHubContent
, deleteHubContent_hubContentType
- The type of content that you want to delete from a hub.
DeleteHubContent
, deleteHubContent_hubContentName
- The name of the content that you want to delete from a hub.
DeleteHubContent
, deleteHubContent_hubContentVersion
- The version of the content that you want to delete from a hub.
Request Lenses
deleteHubContent_hubName :: Lens' DeleteHubContent Text Source #
The name of the hub that you want to delete content in.
deleteHubContent_hubContentType :: Lens' DeleteHubContent HubContentType Source #
The type of content that you want to delete from a hub.
deleteHubContent_hubContentName :: Lens' DeleteHubContent Text Source #
The name of the content that you want to delete from a hub.
deleteHubContent_hubContentVersion :: Lens' DeleteHubContent Text Source #
The version of the content that you want to delete from a hub.
Destructuring the Response
data DeleteHubContentResponse Source #
See: newDeleteHubContentResponse
smart constructor.
Instances
Generic DeleteHubContentResponse Source # | |
Defined in Amazonka.SageMaker.DeleteHubContent type Rep DeleteHubContentResponse :: Type -> Type # | |
Read DeleteHubContentResponse Source # | |
Show DeleteHubContentResponse Source # | |
Defined in Amazonka.SageMaker.DeleteHubContent showsPrec :: Int -> DeleteHubContentResponse -> ShowS # show :: DeleteHubContentResponse -> String # showList :: [DeleteHubContentResponse] -> ShowS # | |
NFData DeleteHubContentResponse Source # | |
Defined in Amazonka.SageMaker.DeleteHubContent rnf :: DeleteHubContentResponse -> () # | |
Eq DeleteHubContentResponse Source # | |
Defined in Amazonka.SageMaker.DeleteHubContent | |
type Rep DeleteHubContentResponse Source # | |
newDeleteHubContentResponse :: DeleteHubContentResponse Source #
Create a value of DeleteHubContentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.