{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2025-09-26",
    "auth":["aws.auth#sigv4"],
    "endpointPrefix":"sdb",
    "protocol":"rest-json",
    "protocols":["rest-json"],
    "serviceFullName":"Amazon SimpleDB v2",
    "serviceId":"SimpleDBv2",
    "signatureVersion":"v4",
    "signingName":"sdb",
    "uid":"simpledbv2-2025-09-26"
  },
  "operations":{
    "GetExport":{
      "name":"GetExport",
      "http":{
        "method":"POST",
        "requestUri":"/v2/GetExport",
        "responseCode":200
      },
      "input":{"shape":"GetExportRequest"},
      "output":{"shape":"GetExportResponse"},
      "errors":[
        {"shape":"NoSuchExportException"},
        {"shape":"InvalidParameterValueException"}
      ],
      "readonly":true
    },
    "ListExports":{
      "name":"ListExports",
      "http":{
        "method":"POST",
        "requestUri":"/v2/ListExports",
        "responseCode":200
      },
      "input":{"shape":"ListExportsRequest"},
      "output":{"shape":"ListExportsResponse"},
      "errors":[
        {"shape":"InvalidNextTokenException"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"NoSuchDomainException"}
      ],
      "readonly":true
    },
    "StartDomainExport":{
      "name":"StartDomainExport",
      "http":{
        "method":"POST",
        "requestUri":"/v2/StartDomainExport",
        "responseCode":200
      },
      "input":{"shape":"StartDomainExportRequest"},
      "output":{"shape":"StartDomainExportResponse"},
      "errors":[
        {"shape":"InvalidParameterCombinationException"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"ConflictException"},
        {"shape":"NumberExportsLimitExceeded"},
        {"shape":"NoSuchDomainException"}
      ],
      "idempotent":true
    }
  },
  "shapes":{
    "AwsAccountId":{
      "type":"string",
      "pattern":"[0-9]{12}"
    },
    "ConflictException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "DomainName":{
      "type":"string",
      "min":1
    },
    "ExportArn":{
      "type":"string",
      "max":2048,
      "min":20
    },
    "ExportDataCutoffTime":{"type":"timestamp"},
    "ExportManifestSummary":{
      "type":"string",
      "min":1
    },
    "ExportStatus":{
      "type":"string",
      "enum":[
        "PENDING",
        "IN_PROGRESS",
        "SUCCEEDED",
        "FAILED"
      ]
    },
    "ExportSummaries":{
      "type":"list",
      "member":{"shape":"ExportSummary"},
      "min":0
    },
    "ExportSummary":{
      "type":"structure",
      "required":[
        "exportArn",
        "exportStatus",
        "requestedAt",
        "domainName"
      ],
      "members":{
        "exportArn":{"shape":"ExportArn"},
        "exportStatus":{"shape":"ExportStatus"},
        "requestedAt":{"shape":"RequestedAt"},
        "domainName":{"shape":"DomainName"}
      }
    },
    "FailureCode":{
      "type":"string",
      "min":1,
      "pattern":"[a-zA-Z0-9]+"
    },
    "FailureMessage":{
      "type":"string",
      "min":1
    },
    "GetExportRequest":{
      "type":"structure",
      "required":["exportArn"],
      "members":{
        "exportArn":{"shape":"ExportArn"}
      }
    },
    "GetExportResponse":{
      "type":"structure",
      "required":[
        "exportArn",
        "clientToken",
        "exportStatus",
        "domainName",
        "requestedAt",
        "s3Bucket"
      ],
      "members":{
        "exportArn":{"shape":"ExportArn"},
        "clientToken":{"shape":"IdempotencyToken"},
        "exportStatus":{"shape":"ExportStatus"},
        "domainName":{"shape":"DomainName"},
        "requestedAt":{"shape":"RequestedAt"},
        "s3Bucket":{"shape":"S3BucketName"},
        "s3KeyPrefix":{"shape":"S3KeyPrefix"},
        "s3SseAlgorithm":{"shape":"S3SseAlgorithm"},
        "s3SseKmsKeyId":{"shape":"S3SseKmsKeyId"},
        "s3BucketOwner":{"shape":"AwsAccountId"},
        "failureCode":{"shape":"FailureCode"},
        "failureMessage":{"shape":"FailureMessage"},
        "exportManifest":{"shape":"ExportManifestSummary"},
        "itemsCount":{"shape":"ItemsCount"},
        "exportDataCutoffTime":{"shape":"ExportDataCutoffTime"}
      }
    },
    "IdempotencyToken":{
      "type":"string",
      "min":1
    },
    "InvalidNextTokenException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "InvalidParameterCombinationException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "InvalidParameterValueException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "ItemsCount":{
      "type":"long",
      "box":true,
      "min":0
    },
    "ListExportsRequest":{
      "type":"structure",
      "members":{
        "domainName":{"shape":"DomainName"},
        "maxResults":{"shape":"MaxResults"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListExportsResponse":{
      "type":"structure",
      "required":["exportSummaries"],
      "members":{
        "exportSummaries":{"shape":"ExportSummaries"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "MaxResults":{
      "type":"integer",
      "box":true,
      "min":1
    },
    "NextToken":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "NoSuchDomainException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "NoSuchExportException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "NumberExportsLimitExceeded":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":409,
        "senderFault":true
      },
      "exception":true
    },
    "RequestedAt":{"type":"timestamp"},
    "S3BucketName":{
      "type":"string",
      "max":255,
      "min":3,
      "pattern":"[a-z0-9A-Z]+[\\.\\-\\w]*[a-z0-9A-Z]+"
    },
    "S3KeyPrefix":{
      "type":"string",
      "max":850,
      "min":1
    },
    "S3SseAlgorithm":{
      "type":"string",
      "enum":[
        "AES256",
        "KMS"
      ]
    },
    "S3SseKmsKeyId":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "StartDomainExportRequest":{
      "type":"structure",
      "required":[
        "domainName",
        "s3Bucket"
      ],
      "members":{
        "clientToken":{
          "shape":"IdempotencyToken",
          "idempotencyToken":true
        },
        "domainName":{"shape":"DomainName"},
        "s3Bucket":{"shape":"S3BucketName"},
        "s3KeyPrefix":{"shape":"S3KeyPrefix"},
        "s3SseAlgorithm":{"shape":"S3SseAlgorithm"},
        "s3SseKmsKeyId":{"shape":"S3SseKmsKeyId"},
        "s3BucketOwner":{"shape":"AwsAccountId"}
      }
    },
    "StartDomainExportResponse":{
      "type":"structure",
      "required":[
        "clientToken",
        "exportArn",
        "requestedAt"
      ],
      "members":{
        "clientToken":{"shape":"IdempotencyToken"},
        "exportArn":{"shape":"ExportArn"},
        "requestedAt":{"shape":"RequestedAt"}
      }
    },
    "String":{"type":"string"}
  }
}
