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 |
Gets the status of a namespace deletion task.
Synopsis
- data GetNamespaceDeletionStatus = GetNamespaceDeletionStatus' {
- newGetNamespaceDeletionStatus :: GetNamespaceDeletionStatus
- data GetNamespaceDeletionStatusResponse = GetNamespaceDeletionStatusResponse' {}
- newGetNamespaceDeletionStatusResponse :: Int -> GetNamespaceDeletionStatusResponse
- getNamespaceDeletionStatusResponse_status :: Lens' GetNamespaceDeletionStatusResponse (Maybe NamespaceDeletionStatus)
- getNamespaceDeletionStatusResponse_namespaceArn :: Lens' GetNamespaceDeletionStatusResponse (Maybe Text)
- getNamespaceDeletionStatusResponse_namespaceName :: Lens' GetNamespaceDeletionStatusResponse (Maybe Text)
- getNamespaceDeletionStatusResponse_errorCode :: Lens' GetNamespaceDeletionStatusResponse (Maybe NamespaceDeletionStatusErrorCodes)
- getNamespaceDeletionStatusResponse_errorMessage :: Lens' GetNamespaceDeletionStatusResponse (Maybe Text)
- getNamespaceDeletionStatusResponse_httpStatus :: Lens' GetNamespaceDeletionStatusResponse Int
Creating a Request
data GetNamespaceDeletionStatus Source #
See: newGetNamespaceDeletionStatus
smart constructor.
Instances
newGetNamespaceDeletionStatus :: GetNamespaceDeletionStatus Source #
Create a value of GetNamespaceDeletionStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetNamespaceDeletionStatusResponse Source #
See: newGetNamespaceDeletionStatusResponse
smart constructor.
GetNamespaceDeletionStatusResponse' | |
|
Instances
newGetNamespaceDeletionStatusResponse Source #
Create a value of GetNamespaceDeletionStatusResponse
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:status:GetNamespaceDeletionStatusResponse'
, getNamespaceDeletionStatusResponse_status
- The status of the deletion request.
$sel:namespaceArn:GetNamespaceDeletionStatusResponse'
, getNamespaceDeletionStatusResponse_namespaceArn
- The ARN of the namespace that is being deleted.
$sel:namespaceName:GetNamespaceDeletionStatusResponse'
, getNamespaceDeletionStatusResponse_namespaceName
- The name of the namespace that is being deleted.
$sel:errorCode:GetNamespaceDeletionStatusResponse'
, getNamespaceDeletionStatusResponse_errorCode
- An error code returned by the namespace deletion task.
$sel:errorMessage:GetNamespaceDeletionStatusResponse'
, getNamespaceDeletionStatusResponse_errorMessage
- An error code returned by the namespace deletion task.
$sel:httpStatus:GetNamespaceDeletionStatusResponse'
, getNamespaceDeletionStatusResponse_httpStatus
- The response's http status code.
Response Lenses
getNamespaceDeletionStatusResponse_status :: Lens' GetNamespaceDeletionStatusResponse (Maybe NamespaceDeletionStatus) Source #
The status of the deletion request.
getNamespaceDeletionStatusResponse_namespaceArn :: Lens' GetNamespaceDeletionStatusResponse (Maybe Text) Source #
The ARN of the namespace that is being deleted.
getNamespaceDeletionStatusResponse_namespaceName :: Lens' GetNamespaceDeletionStatusResponse (Maybe Text) Source #
The name of the namespace that is being deleted.
getNamespaceDeletionStatusResponse_errorCode :: Lens' GetNamespaceDeletionStatusResponse (Maybe NamespaceDeletionStatusErrorCodes) Source #
An error code returned by the namespace deletion task.
getNamespaceDeletionStatusResponse_errorMessage :: Lens' GetNamespaceDeletionStatusResponse (Maybe Text) Source #
An error code returned by the namespace deletion task.
getNamespaceDeletionStatusResponse_httpStatus :: Lens' GetNamespaceDeletionStatusResponse Int Source #
The response's http status code.