{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datasync/json-schema/amazon-datasync-describe-location-object-storage-response-schema.json",
  "title": "DescribeLocationObjectStorageResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datasync-location-object-storage-api-openapi.yml#/components/schemas/DescribeLocationObjectStorageResponse",
  "type": "object",
  "properties": {
    "LocationArn": {
      "type": "string",
      "description": "The ARN of the object storage system location."
    },
    "LocationUri": {
      "type": "string",
      "description": "The URI of the object storage system location."
    },
    "AccessKey": {
      "type": "string",
      "description": "The access key (for example, a user name) required to authenticate with the object storage system."
    },
    "FederatedIdentity": {
      "$ref": "#/$defs/ObjectStorageFederatedIdentityConfig"
    },
    "ServerPort": {
      "type": "integer",
      "description": "The port that your object storage server accepts inbound network traffic on (for example, port 443)."
    },
    "ServerProtocol": {
      "type": "string",
      "enum": [
        "HTTPS",
        "HTTP"
      ],
      "description": "The protocol that your object storage system uses to communicate."
    },
    "AgentArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARNs of the DataSync agents that can connect with your object storage system."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the location was created."
    },
    "ServerCertificate": {
      "type": "string",
      "format": "byte",
      "description": "The certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA)."
    },
    "ManagedSecretConfig": {
      "$ref": "#/$defs/ManagedSecretConfig"
    },
    "CmkSecretConfig": {
      "$ref": "#/$defs/CmkSecretConfig"
    },
    "CustomSecretConfig": {
      "$ref": "#/$defs/CustomSecretConfig"
    }
  },
  "$defs": {
    "CmkSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for KmsKeyArn."
        },
        "KmsKeyArn": {
          "type": "string",
          "description": "Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn. DataSync provides this key to Secrets Manager."
        }
      }
    },
    "CustomSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for an Secrets Manager secret."
        },
        "SecretAccessRoleArn": {
          "type": "string",
          "description": "Specifies the ARN for the Identity and Access Management role that DataSync uses to access the secret specified for SecretArn."
        }
      }
    },
    "GoogleOidcConfig": {
      "type": "object",
      "properties": {
        "ProjectName": {
          "type": "string",
          "description": "Human-readable project name (e.g. \"my-project\")."
        },
        "ProjectNumber": {
          "type": "string",
          "description": "Numeric project ID as a string (e.g. \"123456789\")."
        },
        "IdentityPoolName": {
          "type": "string",
          "description": "Human-readable pool name (e.g. \"my-pool\")."
        },
        "IdentityProviderName": {
          "type": "string",
          "description": "Human-readable provider name (e.g. \"my-oidc-provider\")."
        }
      },
      "required": [
        "ProjectName",
        "ProjectNumber",
        "IdentityPoolName",
        "IdentityProviderName"
      ]
    },
    "ManagedSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for an Secrets Manager secret."
        }
      }
    },
    "ObjectStorageExternalIdentityConfig": {
      "type": "object",
      "properties": {
        "GoogleOidc": {
          "$ref": "#/$defs/GoogleOidcConfig"
        }
      }
    },
    "ObjectStorageFederatedIdentityConfig": {
      "type": "object",
      "properties": {
        "AwsIamRole": {
          "type": "string",
          "description": "Specifies the ARN for an Amazon Web Services role that allows DataSync to invoke STS GetWebIdentityToken API on behalf of the customer account and to obtain Amazon Web Services STS JWT (web token)."
        },
        "ExternalIdentity": {
          "$ref": "#/$defs/ObjectStorageExternalIdentityConfig"
        }
      }
    }
  }
}