Skip to content

allS3BucketsDetailsFromAws

List of all S3 bucket details across regions for the AWS Native account.

Arguments

Argument Type Description
awsAccountRubrikId (required) UUID! Rubrik ID for AWS account.
region AwsNativeRegion The region in AWS. If no region is provided, the AWS function will return all buckets.

Returns

[S3BucketDetails!]!

Sample

query AllS3BucketsDetailsFromAws($awsAccountRubrikId: UUID!) {
  allS3BucketsDetailsFromAws(awsAccountRubrikId: $awsAccountRubrikId) {
    arn
    name
    region
    regionEnum
  }
}
{
  "awsAccountRubrikId": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "allS3BucketsDetailsFromAws": [
      {
        "arn": "example-string",
        "name": "example-string",
        "region": "example-string",
        "regionEnum": "AF_SOUTH_1"
      }
    ]
  }
}