AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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 Amazon Web Services service
that hosts the resource that the ARN key represents.
The following are common error codes that you might receive from other Amazon Web Services services:
InternalServiceException – This can mean that the Resource Groups Tagging API didn't receive a response from another Amazon Web Services service. It can also mean that 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 call the
tagging operations in the Amazon Web Services service that contains the resource.
For example, to use the Resource Groups Tagging API to tag a Amazon CloudWatch alarm
resource, you need permission to call both
TagResources
and
TagResource
in the CloudWatch API.
For more information on errors that are generated from other Amazon Web Services services, see the documentation for that service.
Namespace: Amazon.ResourceGroupsTaggingAPI.Model
Assembly: AWSSDK.ResourceGroupsTaggingAPI.dll
Version: 3.x.y.z
public class FailureInfo
The FailureInfo type exposes the following members
Name | Description | |
---|---|---|
FailureInfo() |
Name | Type | Description | |
---|---|---|---|
ErrorCode | Amazon.ResourceGroupsTaggingAPI.ErrorCode |
Gets and sets the property ErrorCode.
The code of the common error. Valid values include |
|
ErrorMessage | System.String |
Gets and sets the property ErrorMessage. The message of the common error. |
|
StatusCode | System.Int32 |
Gets and sets the property StatusCode. The HTTP status code of the common error. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5