

# ResourceCallDetail

Shows how many calls the agent made to one AWS resource, the kind of access, and how many of those calls succeeded and failed.

## Contents
<a name="API_ResourceCallDetail_Contents"></a>

 ** accessType **   <a name="assurance-Type-ResourceCallDetail-accessType"></a>
The kind of access that the agent had to the resource. Valid values:  
+  `READ` – The agent only read the resource.
+  `WRITE` – The agent made at least one call that changed the resource.
Type: String  
Valid Values: `WRITE | READ`   
Required: Yes

 ** arn **   <a name="assurance-Type-ResourceCallDetail-arn"></a>
The ARN of the resource.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 512.  
Pattern: `arn:.+`   
Required: Yes

 ** failureCount **   <a name="assurance-Type-ResourceCallDetail-failureCount"></a>
The number of calls to the resource that failed.  
Type: Integer  
Required: Yes

 ** successCount **   <a name="assurance-Type-ResourceCallDetail-successCount"></a>
The number of calls to the resource that succeeded.  
Type: Integer  
Required: Yes

 ** resourceType **   <a name="assurance-Type-ResourceCallDetail-resourceType"></a>
The AWS CloudFormation resource type of the resource, such as `AWS::DynamoDB::Table`. The response omits this field when the type isn't known.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9:_-]*`   
Required: No

## See Also
<a name="API_ResourceCallDetail_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/assurance-2022-07-26/ResourceCallDetail) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/ResourceCallDetail) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/ResourceCallDetail) 