

# PublisherReport

An object that describes a publisher report for a public registry.

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

 ** createdAt **   <a name="ecrpublic-Type-PublisherReport-createdAt"></a>
The date and time that the report was created.  
Type: Timestamp  
Required: Yes

 ** granularity **   <a name="ecrpublic-Type-PublisherReport-granularity"></a>
The time period that the report covers. Valid values:  
+  `WEEKLY`: Each report covers one week, from Monday to Sunday.
+  `MONTHLY`: Each report covers one calendar month.
Type: String  
Valid Values: `WEEKLY | MONTHLY`   
Required: Yes

 ** period **   <a name="ecrpublic-Type-PublisherReport-period"></a>
The first and last dates of the time period that the report covers.  
Type: [PublisherReportPeriod](API_PublisherReportPeriod.md) object  
Required: Yes

 ** reportId **   <a name="ecrpublic-Type-PublisherReport-reportId"></a>
The ID of the report. Use this ID with `GetDownloadUrlForPublisherReport` to download the report.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-z0-9]+`   
Required: Yes

 ** reportType **   <a name="ecrpublic-Type-PublisherReport-reportType"></a>
The type of the report. Valid values:  
+  `SUMMARY`: The number of pulls and version checks for each image.
+  `TRENDS`: The same counts for each image, broken down by the country, cloud provider, client, domain and company of the puller.
Type: String  
Valid Values: `SUMMARY | TRENDS`   
Required: Yes

 ** sizeInBytes **   <a name="ecrpublic-Type-PublisherReport-sizeInBytes"></a>
The size of the compressed report file, in bytes.  
Type: Long  
Required: Yes

## See Also
<a name="API_PublisherReport_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/ecr-public-2020-10-30/PublisherReport) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ecr-public-2020-10-30/PublisherReport) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ecr-public-2020-10-30/PublisherReport) 