Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeleteContext' | |
|
Instances
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:
$sel:contextName: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.
DeleteContextResponse' | |
|
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:
$sel:contextArn: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.