| 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.DeleteContext
Description
Deletes an context.
Synopsis
- data DeleteContext = DeleteContext' {
- contextName :: Text
- newDeleteContext :: Text -> DeleteContext
- deleteContext_contextName :: Lens' DeleteContext Text
- data DeleteContextResponse = DeleteContextResponse' {
- contextArn :: Maybe Text
- httpStatus :: Int
- newDeleteContextResponse :: Int -> DeleteContextResponse
- deleteContextResponse_contextArn :: Lens' DeleteContextResponse (Maybe Text)
- deleteContextResponse_httpStatus :: Lens' DeleteContextResponse Int
Creating a Request
data DeleteContext Source #
See: newDeleteContext smart constructor.
Constructors
| DeleteContext' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteContext |
Create a value of DeleteContext 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:
DeleteContext, deleteContext_contextName - The name of the context to delete.
Request Lenses
deleteContext_contextName :: Lens' DeleteContext Text Source #
The name of the context to delete.
Destructuring the Response
data DeleteContextResponse Source #
See: newDeleteContextResponse smart constructor.
Constructors
| DeleteContextResponse' | |
Fields
| |
Instances
newDeleteContextResponse Source #
Create a value of DeleteContextResponse 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:
DeleteContextResponse, deleteContextResponse_contextArn - The Amazon Resource Name (ARN) of the context.
$sel:httpStatus:DeleteContextResponse', deleteContextResponse_httpStatus - The response's http status code.
Response Lenses
deleteContextResponse_contextArn :: Lens' DeleteContextResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the context.
deleteContextResponse_httpStatus :: Lens' DeleteContextResponse Int Source #
The response's http status code.