/
GetBucketAnalyticsConfiguration
GetBucketAnalyticsConfiguration
Essa implementação da operação GET retorna uma configuração de análise (identificada pelo ID de configuração da análise) do bucket.
Request Syntax
GET /?analytics&Id=Id HTTP/1.1 Host: bucket-name.bigfile.brascloud.com.br:443
Response Syntax
HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <AnalyticsConfiguration> <Id>string</Id> <Filter> <And> <Prefix>string</Prefix> <Tag> <Key>string</Key> <Value>string</Value> </Tag> ... </And> <Prefix>string</Prefix> <Tag> <Key>string</Key> <Value>string</Value> </Tag> </Filter> <StorageClassAnalysis> <DataExport> <Destination> <S3BucketDestination> <Bucket>string</Bucket> <BucketAccountId>string</BucketAccountId> <Format>string</Format> <Prefix>string</Prefix> </S3BucketDestination> </Destination> <OutputSchemaVersion>string</OutputSchemaVersion> </DataExport> </StorageClassAnalysis> </AnalyticsConfiguration>
Exemplos
A seguinte solicitação GET para o bucket examplebucket
retorna a configuração de inventário com o ID list1
:
Request
GET /?analytics&id=list1 HTTP/1.1 Host: bucket.bigfile.brascloud.com.br:443 Date: Mon, 31 Oct 2016 12:00:00 GMT Authorization: authorization string
Response
HTTP/1.1 200 OK x-amz-id-2: YgIPIfBiKa2bj0KMgUAdQkf3ShJTOOpXUueF6QKo x-amz-request-id: 236A8905248E5A02 Date: Mon, 31 Oct 2016 12:00:00 GMT Server: bigfile Content-Length: length <?xml version="1.0" encoding="UTF-8"?> <AnalyticsConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <Id>list1</Id> <Filter> <And> <Prefix>images/</Prefix> <Tag> <Key>dog</Key> <Value>corgi</Value> </Tag> </And> </Filter> <StorageClassAnalysis> <DataExport> <OutputSchemaVersion>V_1</OutputSchemaVersion> <Destination> <S3BucketDestination> <Format>CSV</Format> <BucketAccountId>123456789012</BucketAccountId> <Bucket>arn:aws:s3:::destination-bucket</Bucket> <Prefix>destination-prefix</Prefix> </S3BucketDestination> </Destination> </DataExport> </StorageClassAnalysis> </AnalyticsConfiguration>
, multiple selections available,
Related content
GetBucketMetricsConfiguration
GetBucketMetricsConfiguration
More like this
GetBucketInventoryConfiguration
GetBucketInventoryConfiguration
More like this
GetBucketReplication
GetBucketReplication
More like this
GetBucketTagging
GetBucketTagging
More like this
ListBuckets
ListBuckets
More like this
GetBucketAccelerateConfiguration
GetBucketAccelerateConfiguration
More like this