| 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.MigrationHubReFactorSpaces.Types.ErrorResponse
Description
Synopsis
- data ErrorResponse = ErrorResponse' {}
- newErrorResponse :: ErrorResponse
- errorResponse_accountId :: Lens' ErrorResponse (Maybe Text)
- errorResponse_additionalDetails :: Lens' ErrorResponse (Maybe (HashMap Text Text))
- errorResponse_code :: Lens' ErrorResponse (Maybe ErrorCode)
- errorResponse_message :: Lens' ErrorResponse (Maybe Text)
- errorResponse_resourceIdentifier :: Lens' ErrorResponse (Maybe Text)
- errorResponse_resourceType :: Lens' ErrorResponse (Maybe ErrorResourceType)
Documentation
data ErrorResponse Source #
Error associated with a resource returned for a Get or List resource response.
See: newErrorResponse smart constructor.
Constructors
| ErrorResponse' | |
Fields
| |
Instances
newErrorResponse :: ErrorResponse Source #
Create a value of ErrorResponse 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:accountId:ErrorResponse', errorResponse_accountId - The Amazon Web Services account ID of the resource owner.
$sel:additionalDetails:ErrorResponse', errorResponse_additionalDetails - Additional details about the error.
$sel:code:ErrorResponse', errorResponse_code - The error code associated with the error.
$sel:message:ErrorResponse', errorResponse_message - The message associated with the error.
$sel:resourceIdentifier:ErrorResponse', errorResponse_resourceIdentifier - The ID of the resource.
$sel:resourceType:ErrorResponse', errorResponse_resourceType - The type of resource.
errorResponse_accountId :: Lens' ErrorResponse (Maybe Text) Source #
The Amazon Web Services account ID of the resource owner.
errorResponse_additionalDetails :: Lens' ErrorResponse (Maybe (HashMap Text Text)) Source #
Additional details about the error.
errorResponse_code :: Lens' ErrorResponse (Maybe ErrorCode) Source #
The error code associated with the error.
errorResponse_message :: Lens' ErrorResponse (Maybe Text) Source #
The message associated with the error.
errorResponse_resourceIdentifier :: Lens' ErrorResponse (Maybe Text) Source #
The ID of the resource.
errorResponse_resourceType :: Lens' ErrorResponse (Maybe ErrorResourceType) Source #
The type of resource.