{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datasync/json-schema/amazon-datasync-describe-location-s3-response-schema.json",
  "title": "DescribeLocationS3Response",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datasync-operations-api-openapi.yml#/components/schemas/DescribeLocationS3Response",
  "type": "object",
  "properties": {
    "LocationArn": {
      "type": "string",
      "description": "The ARN of the Amazon S3 location."
    },
    "LocationUri": {
      "type": "string",
      "description": "The URL of the Amazon S3 location that was described."
    },
    "S3StorageClass": {
      "type": "string",
      "enum": [
        "STANDARD",
        "STANDARD_IA",
        "ONEZONE_IA",
        "INTELLIGENT_TIERING",
        "GLACIER",
        "DEEP_ARCHIVE",
        "OUTPOSTS",
        "GLACIER_INSTANT_RETRIEVAL"
      ],
      "description": "When Amazon S3 is a destination location, this is the storage class that you chose for your objects. Some storage classes have behaviors that can affect your Amazon S3 storage costs. For more information, see Storage class considerations with Amazon S3 transfers."
    },
    "S3Config": {
      "$ref": "#/$defs/S3Config"
    },
    "AgentArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARNs of the DataSync agents deployed on your Outpost when using working with Amazon S3 on Outposts. For more information, see Deploy your DataSync agent on Outposts."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the Amazon S3 location was created."
    }
  },
  "$defs": {
    "S3Config": {
      "type": "object",
      "properties": {
        "BucketAccessRoleArn": {
          "type": "string",
          "description": "Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket."
        }
      },
      "required": [
        "BucketAccessRoleArn"
      ]
    }
  }
}