{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-schema/amazon-pinpoint-export-job-request-schema.json",
"title": "ExportJobRequest",
"description": "Specifies the settings for a job that exports endpoint definitions to an Amazon Simple Storage Service (Amazon S3) bucket.",
"type": "object",
"properties": {
"RoleArn": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location where you want to export endpoint definitions to."
}
]
},
"S3UrlPrefix": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where you want to export endpoint definitions to. This location is typically a folder that contains multiple files. The URL should be in the following format: s3://bucket-name/folder-name/."
}
]
},
"SegmentId": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The identifier for the segment to export endpoint definitions from. If you don't specify this value, Amazon Pinpoint exports definitions for all the endpoints that are associated with the application."
}
]
},
"SegmentVersion": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"description": "The version of the segment to export endpoint definitions from, if specified."
}
]
}
},
"required": [
"S3UrlPrefix",
"RoleArn"
]
}