FailureInfo class
Information about the errors that are returned for each failed resource.
This information can include InternalServiceException
and
InvalidParameterException
errors. It can also include any valid
error code returned by the AWS service that hosts the resource that the ARN
key represents.
The following are common error codes that you might receive from other AWS services:
- InternalServiceException – This can mean that the Resource Groups Tagging API didn't receive a response from another AWS service. It can also mean the the resource type in the request is not supported by the Resource Groups Tagging API. In these cases, it's safe to retry the request and then call GetResources to verify the changes.
-
AccessDeniedException – This can mean that you need permission to
calling tagging operations in the AWS service that contains the resource.
For example, to use the Resource Groups Tagging API to tag a CloudWatch
alarm resource, you need permission to call
TagResources
andTagResource
in the CloudWatch API.
Constructors
- FailureInfo({ErrorCode? errorCode, String? errorMessage, int? statusCode})
-
FailureInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- errorCode → ErrorCode?
-
The code of the common error. Valid values include
InternalServiceException
,InvalidParameterException
, and any valid error code returned by the AWS service that hosts the resource that you want to tag.final - errorMessage → String?
-
The message of the common error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int?
-
The HTTP status code of the common error.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited