{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2018-05-10",
    "auth":["aws.auth#sigv4"],
    "endpointPrefix":"artifact",
    "protocol":"rest-json",
    "protocols":["rest-json"],
    "serviceFullName":"AWS Artifact",
    "serviceId":"Artifact",
    "signatureVersion":"v4",
    "signingName":"artifact",
    "uid":"artifact-2018-05-10"
  },
  "operations":{
    "CreateComplianceInquiry":{
      "name":"CreateComplianceInquiry",
      "http":{
        "method":"POST",
        "requestUri":"/v1/compliance-inquiry/create",
        "responseCode":202
      },
      "input":{"shape":"CreateComplianceInquiryRequest"},
      "output":{"shape":"CreateComplianceInquiryResponse"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ]
    },
    "ExportComplianceInquiry":{
      "name":"ExportComplianceInquiry",
      "http":{
        "method":"POST",
        "requestUri":"/v1/compliance-inquiry/export",
        "responseCode":200
      },
      "input":{"shape":"ExportComplianceInquiryRequest"},
      "output":{"shape":"ExportComplianceInquiryResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ]
    },
    "GetAccountSettings":{
      "name":"GetAccountSettings",
      "http":{
        "method":"GET",
        "requestUri":"/v1/account-settings/get",
        "responseCode":200
      },
      "input":{"shape":"GetAccountSettingsRequest"},
      "output":{"shape":"GetAccountSettingsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "readonly":true
    },
    "GetComplianceInquiryMetadata":{
      "name":"GetComplianceInquiryMetadata",
      "http":{
        "method":"GET",
        "requestUri":"/v1/compliance-inquiry/getMetadata",
        "responseCode":200
      },
      "input":{"shape":"GetComplianceInquiryMetadataRequest"},
      "output":{"shape":"GetComplianceInquiryMetadataResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ],
      "readonly":true
    },
    "GetReport":{
      "name":"GetReport",
      "http":{
        "method":"GET",
        "requestUri":"/v1/report/get",
        "responseCode":200
      },
      "input":{"shape":"GetReportRequest"},
      "output":{"shape":"GetReportResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "readonly":true
    },
    "GetReportMetadata":{
      "name":"GetReportMetadata",
      "http":{
        "method":"GET",
        "requestUri":"/v1/report/getMetadata",
        "responseCode":200
      },
      "input":{"shape":"GetReportMetadataRequest"},
      "output":{"shape":"GetReportMetadataResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "readonly":true
    },
    "GetTermForReport":{
      "name":"GetTermForReport",
      "http":{
        "method":"GET",
        "requestUri":"/v1/report/getTermForReport",
        "responseCode":200
      },
      "input":{"shape":"GetTermForReportRequest"},
      "output":{"shape":"GetTermForReportResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "readonly":true
    },
    "ListComplianceInquiries":{
      "name":"ListComplianceInquiries",
      "http":{
        "method":"GET",
        "requestUri":"/v1/compliance-inquiry/list",
        "responseCode":200
      },
      "input":{"shape":"ListComplianceInquiriesRequest"},
      "output":{"shape":"ListComplianceInquiriesResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ],
      "readonly":true
    },
    "ListComplianceInquiryQueries":{
      "name":"ListComplianceInquiryQueries",
      "http":{
        "method":"GET",
        "requestUri":"/v1/compliance-inquiry/listQueries",
        "responseCode":200
      },
      "input":{"shape":"ListComplianceInquiryQueriesRequest"},
      "output":{"shape":"ListComplianceInquiryQueriesResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ],
      "readonly":true
    },
    "ListCustomerAgreements":{
      "name":"ListCustomerAgreements",
      "http":{
        "method":"GET",
        "requestUri":"/v1/customer-agreement/list",
        "responseCode":200
      },
      "input":{"shape":"ListCustomerAgreementsRequest"},
      "output":{"shape":"ListCustomerAgreementsResponse"},
      "errors":[
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ],
      "readonly":true
    },
    "ListReportVersions":{
      "name":"ListReportVersions",
      "http":{
        "method":"GET",
        "requestUri":"/v1/report/listVersions",
        "responseCode":200
      },
      "input":{"shape":"ListReportVersionsRequest"},
      "output":{"shape":"ListReportVersionsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "readonly":true
    },
    "ListReports":{
      "name":"ListReports",
      "http":{
        "method":"GET",
        "requestUri":"/v1/report/list",
        "responseCode":200
      },
      "input":{"shape":"ListReportsRequest"},
      "output":{"shape":"ListReportsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "readonly":true
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"GET",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"ListTagsForResourceRequest"},
      "output":{"shape":"ListTagsForResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ],
      "readonly":true
    },
    "PutAccountSettings":{
      "name":"PutAccountSettings",
      "http":{
        "method":"PUT",
        "requestUri":"/v1/account-settings/put",
        "responseCode":200
      },
      "input":{"shape":"PutAccountSettingsRequest"},
      "output":{"shape":"PutAccountSettingsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "idempotent":true
    },
    "PutComplianceInquiryFeedback":{
      "name":"PutComplianceInquiryFeedback",
      "http":{
        "method":"PUT",
        "requestUri":"/v1/compliance-inquiry/putFeedback",
        "responseCode":200
      },
      "input":{"shape":"PutComplianceInquiryFeedbackRequest"},
      "output":{"shape":"PutComplianceInquiryFeedbackResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ],
      "idempotent":true
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":204
      },
      "input":{"shape":"TagResourceRequest"},
      "output":{"shape":"TagResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ]
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"DELETE",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":204
      },
      "input":{"shape":"UntagResourceRequest"},
      "output":{"shape":"UntagResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ],
      "idempotent":true
    }
  },
  "shapes":{
    "AcceptanceType":{
      "type":"string",
      "enum":[
        "PASSTHROUGH",
        "EXPLICIT"
      ]
    },
    "AccessDeniedException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":403,
        "senderFault":true
      },
      "exception":true
    },
    "AccountSettings":{
      "type":"structure",
      "members":{
        "notificationSubscriptionStatus":{"shape":"NotificationSubscriptionStatus"}
      }
    },
    "AgreementTerms":{
      "type":"list",
      "member":{"shape":"LongStringAttribute"},
      "max":10,
      "min":0
    },
    "AgreementType":{
      "type":"string",
      "enum":[
        "CUSTOM",
        "DEFAULT",
        "MODIFIED"
      ]
    },
    "Blob":{"type":"blob"},
    "Boolean":{
      "type":"boolean",
      "box":true
    },
    "Citation":{
      "type":"structure",
      "members":{
        "sourceLabel":{"shape":"ShortStringAttribute"},
        "sourceContent":{"shape":"LongStringAttribute"},
        "sourceLink":{"shape":"LongStringAttribute"}
      }
    },
    "CitationList":{
      "type":"list",
      "member":{"shape":"Citation"}
    },
    "ConflictException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":409,
        "senderFault":true
      },
      "exception":true
    },
    "CreateComplianceInquiryRequest":{
      "type":"structure",
      "required":[
        "name",
        "inquiryContent"
      ],
      "members":{
        "name":{"shape":"InquiryName"},
        "inquiryContent":{"shape":"InquiryContent"},
        "clientToken":{
          "shape":"IdempotentClientToken",
          "idempotencyToken":true
        },
        "supportMode":{"shape":"InquirySupportMode"},
        "tags":{"shape":"TagsMap"}
      }
    },
    "CreateComplianceInquiryResponse":{
      "type":"structure",
      "members":{
        "complianceInquirySummary":{"shape":"InquirySummary"},
        "tags":{"shape":"TagsMap"}
      }
    },
    "CustomerAgreementIdAttribute":{
      "type":"string",
      "pattern":"customer-agreement-[a-zA-Z0-9]{16}"
    },
    "CustomerAgreementList":{
      "type":"list",
      "member":{"shape":"CustomerAgreementSummary"}
    },
    "CustomerAgreementState":{
      "type":"string",
      "enum":[
        "ACTIVE",
        "CUSTOMER_TERMINATED",
        "AWS_TERMINATED"
      ]
    },
    "CustomerAgreementSummary":{
      "type":"structure",
      "members":{
        "name":{"shape":"LongStringAttribute"},
        "arn":{"shape":"LongStringAttribute"},
        "id":{"shape":"CustomerAgreementIdAttribute"},
        "agreementArn":{"shape":"LongStringAttribute"},
        "awsAccountId":{"shape":"ShortStringAttribute"},
        "organizationArn":{"shape":"LongStringAttribute"},
        "effectiveStart":{"shape":"TimestampAttribute"},
        "effectiveEnd":{"shape":"TimestampAttribute"},
        "state":{"shape":"CustomerAgreementState"},
        "description":{"shape":"LongStringAttribute"},
        "acceptanceTerms":{"shape":"AgreementTerms"},
        "terminateTerms":{"shape":"AgreementTerms"},
        "type":{"shape":"AgreementType"}
      }
    },
    "ExportComplianceInquiryRequest":{
      "type":"structure",
      "required":["complianceInquiryId"],
      "members":{
        "complianceInquiryId":{"shape":"InquiryId"},
        "queryIdentifiers":{"shape":"QueryIdentifiersList"},
        "includeCitations":{"shape":"Boolean"}
      }
    },
    "ExportComplianceInquiryResponse":{
      "type":"structure",
      "members":{
        "documentPresignedUrl":{"shape":"PresignedUrl"},
        "tags":{"shape":"TagsMap"}
      }
    },
    "FeedbackCommentAttribute":{
      "type":"string",
      "max":1000,
      "min":1,
      "pattern":"[a-zA-Z0-9\\s.,;:!?'\\-()/@#&+=]+",
      "sensitive":true
    },
    "FeedbackRating":{
      "type":"string",
      "enum":[
        "THUMBS_UP",
        "THUMBS_DOWN"
      ]
    },
    "FeedbackReasonCode":{
      "type":"string",
      "enum":[
        "OTHER",
        "PARTIAL_RESPONSE",
        "IRRELEVANT_RESPONSE"
      ]
    },
    "FeedbackReasonCodeList":{
      "type":"list",
      "member":{"shape":"FeedbackReasonCode"}
    },
    "GetAccountSettingsRequest":{
      "type":"structure",
      "members":{}
    },
    "GetAccountSettingsResponse":{
      "type":"structure",
      "members":{
        "accountSettings":{"shape":"AccountSettings"}
      }
    },
    "GetComplianceInquiryMetadataRequest":{
      "type":"structure",
      "required":["complianceInquiryId"],
      "members":{
        "complianceInquiryId":{
          "shape":"InquiryId",
          "location":"querystring",
          "locationName":"complianceInquiryId"
        }
      }
    },
    "GetComplianceInquiryMetadataResponse":{
      "type":"structure",
      "members":{
        "complianceInquiryDetail":{"shape":"InquiryDetail"},
        "tags":{"shape":"TagsMap"}
      }
    },
    "GetReportMetadataRequest":{
      "type":"structure",
      "required":["reportId"],
      "members":{
        "reportId":{
          "shape":"ReportId",
          "location":"querystring",
          "locationName":"reportId"
        },
        "reportVersion":{
          "shape":"VersionAttribute",
          "location":"querystring",
          "locationName":"reportVersion"
        }
      }
    },
    "GetReportMetadataResponse":{
      "type":"structure",
      "members":{
        "reportDetails":{"shape":"ReportDetail"}
      }
    },
    "GetReportRequest":{
      "type":"structure",
      "required":[
        "reportId",
        "termToken"
      ],
      "members":{
        "reportId":{
          "shape":"ReportId",
          "location":"querystring",
          "locationName":"reportId"
        },
        "reportVersion":{
          "shape":"VersionAttribute",
          "location":"querystring",
          "locationName":"reportVersion"
        },
        "termToken":{
          "shape":"ShortStringAttribute",
          "location":"querystring",
          "locationName":"termToken"
        }
      }
    },
    "GetReportResponse":{
      "type":"structure",
      "members":{
        "documentPresignedUrl":{"shape":"GetReportResponseDocumentPresignedUrlString"}
      }
    },
    "GetReportResponseDocumentPresignedUrlString":{
      "type":"string",
      "max":10240,
      "min":1
    },
    "GetTermForReportRequest":{
      "type":"structure",
      "required":["reportId"],
      "members":{
        "reportId":{
          "shape":"ReportId",
          "location":"querystring",
          "locationName":"reportId"
        },
        "reportVersion":{
          "shape":"VersionAttribute",
          "location":"querystring",
          "locationName":"reportVersion"
        }
      }
    },
    "GetTermForReportResponse":{
      "type":"structure",
      "members":{
        "documentPresignedUrl":{"shape":"GetTermForReportResponseDocumentPresignedUrlString"},
        "termToken":{"shape":"String"}
      }
    },
    "GetTermForReportResponseDocumentPresignedUrlString":{
      "type":"string",
      "max":10240,
      "min":1
    },
    "IdempotentClientToken":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[\\w\\-]+"
    },
    "InputSource":{
      "type":"string",
      "enum":[
        "TEXT",
        "FILE"
      ]
    },
    "InquiriesList":{
      "type":"list",
      "member":{"shape":"InquirySummary"}
    },
    "InquiryContent":{
      "type":"structure",
      "members":{
        "query":{"shape":"LongStringAttribute"},
        "fileContent":{"shape":"InquiryFileContent"}
      },
      "sensitive":true,
      "union":true
    },
    "InquiryDetail":{
      "type":"structure",
      "required":[
        "arn",
        "name",
        "id",
        "status",
        "statusMessage",
        "inputSource",
        "createdAt"
      ],
      "members":{
        "arn":{"shape":"String"},
        "name":{"shape":"String"},
        "id":{"shape":"InquiryId"},
        "status":{"shape":"InquiryStatus"},
        "statusMessage":{"shape":"InquiryStatusMessage"},
        "inputSource":{"shape":"InputSource"},
        "createdAt":{"shape":"TimestampAttribute"},
        "updatedAt":{"shape":"TimestampAttribute"},
        "supportMode":{"shape":"InquirySupportMode"}
      }
    },
    "InquiryFileContent":{
      "type":"structure",
      "required":["content"],
      "members":{
        "fileSections":{"shape":"InquiryFileContentFileSectionsList"},
        "content":{"shape":"Blob"}
      }
    },
    "InquiryFileContentFileSectionsList":{
      "type":"list",
      "member":{"shape":"ShortStringAttribute"},
      "max":30,
      "min":0
    },
    "InquiryId":{
      "type":"string",
      "pattern":"compliance-inquiry-[a-zA-Z0-9]{16}"
    },
    "InquiryName":{
      "type":"string",
      "sensitive":true
    },
    "InquiryStatus":{
      "type":"string",
      "enum":[
        "PROCESSING",
        "HUMAN_REVIEW",
        "COMPLETED",
        "FAILED"
      ]
    },
    "InquiryStatusMessage":{
      "type":"string",
      "enum":[
        "Compliance inquiry processing is complete.",
        "Malware was detected on the file. Provide a new file and try again.",
        "Compliance inquiry processing is in-progress.",
        "An internal error occurred while processing the inquiry. Try again at a later time.",
        "Human review is in progress.",
        "Compliance inquiry processing is complete. One or more queries encountered errors during processing."
      ]
    },
    "InquirySummary":{
      "type":"structure",
      "required":[
        "arn",
        "name",
        "id",
        "status",
        "statusMessage",
        "inputSource",
        "createdAt"
      ],
      "members":{
        "arn":{"shape":"String"},
        "name":{"shape":"String"},
        "id":{"shape":"InquiryId"},
        "status":{"shape":"InquiryStatus"},
        "statusMessage":{"shape":"InquiryStatusMessage"},
        "inputSource":{"shape":"InputSource"},
        "createdAt":{"shape":"TimestampAttribute"}
      }
    },
    "InquirySupportMode":{
      "type":"string",
      "enum":["AI_ONLY"]
    },
    "Integer":{
      "type":"integer",
      "box":true
    },
    "InternalServerException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "retryAfterSeconds":{
          "shape":"Integer",
          "location":"header",
          "locationName":"Retry-After"
        }
      },
      "error":{"httpStatusCode":500},
      "exception":true,
      "fault":true,
      "retryable":{"throttling":false}
    },
    "ListComplianceInquiriesRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"MaxResultsAttribute",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenAttribute",
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListComplianceInquiriesResponse":{
      "type":"structure",
      "members":{
        "complianceInquiries":{"shape":"InquiriesList"},
        "nextToken":{"shape":"NextTokenAttribute"}
      }
    },
    "ListComplianceInquiryQueriesRequest":{
      "type":"structure",
      "required":["complianceInquiryId"],
      "members":{
        "complianceInquiryId":{
          "shape":"InquiryId",
          "location":"querystring",
          "locationName":"complianceInquiryId"
        },
        "maxResults":{
          "shape":"MaxResultsAttribute",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenAttribute",
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListComplianceInquiryQueriesResponse":{
      "type":"structure",
      "members":{
        "queries":{"shape":"QueriesList"},
        "nextToken":{"shape":"NextTokenAttribute"}
      }
    },
    "ListCustomerAgreementsRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"MaxResultsAttribute",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenAttribute",
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListCustomerAgreementsResponse":{
      "type":"structure",
      "required":["customerAgreements"],
      "members":{
        "customerAgreements":{"shape":"CustomerAgreementList"},
        "nextToken":{"shape":"NextTokenAttribute"}
      }
    },
    "ListReportVersionsRequest":{
      "type":"structure",
      "required":["reportId"],
      "members":{
        "reportId":{
          "shape":"ReportId",
          "location":"querystring",
          "locationName":"reportId"
        },
        "maxResults":{
          "shape":"MaxResultsAttribute",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenAttribute",
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListReportVersionsResponse":{
      "type":"structure",
      "required":["reports"],
      "members":{
        "reports":{"shape":"ReportsList"},
        "nextToken":{"shape":"NextTokenAttribute"}
      }
    },
    "ListReportsRequest":{
      "type":"structure",
      "members":{
        "maxResults":{
          "shape":"MaxResultsAttribute",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenAttribute",
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListReportsResponse":{
      "type":"structure",
      "members":{
        "reports":{"shape":"ReportsList"},
        "nextToken":{"shape":"NextTokenAttribute"}
      }
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{
          "shape":"LongStringAttribute",
          "location":"uri",
          "locationName":"resourceArn"
        }
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "tags":{"shape":"TagsMap"}
      }
    },
    "LongStringAttribute":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"[^<>]*"
    },
    "MaxResultsAttribute":{
      "type":"integer",
      "box":true,
      "max":300,
      "min":1
    },
    "NextTokenAttribute":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "NotificationSubscriptionStatus":{
      "type":"string",
      "enum":[
        "SUBSCRIBED",
        "NOT_SUBSCRIBED"
      ]
    },
    "PresignedUrl":{
      "type":"string",
      "sensitive":true
    },
    "PublishedState":{
      "type":"string",
      "enum":[
        "PUBLISHED",
        "UNPUBLISHED"
      ]
    },
    "PutAccountSettingsRequest":{
      "type":"structure",
      "members":{
        "notificationSubscriptionStatus":{"shape":"NotificationSubscriptionStatus"}
      }
    },
    "PutAccountSettingsResponse":{
      "type":"structure",
      "members":{
        "accountSettings":{"shape":"AccountSettings"}
      }
    },
    "PutComplianceInquiryFeedbackRequest":{
      "type":"structure",
      "required":[
        "complianceInquiryId",
        "rating"
      ],
      "members":{
        "complianceInquiryId":{"shape":"InquiryId"},
        "queryIdentifier":{"shape":"Integer"},
        "rating":{"shape":"FeedbackRating"},
        "responseRevisionId":{"shape":"Integer"},
        "reasonCodes":{"shape":"FeedbackReasonCodeList"},
        "comment":{"shape":"FeedbackCommentAttribute"},
        "clientToken":{
          "shape":"IdempotentClientToken",
          "idempotencyToken":true
        }
      }
    },
    "PutComplianceInquiryFeedbackResponse":{
      "type":"structure",
      "required":["submittedAt"],
      "members":{
        "submittedAt":{"shape":"TimestampAttribute"}
      }
    },
    "QueriesList":{
      "type":"list",
      "member":{"shape":"QuerySummary"}
    },
    "QueryIdentifiersList":{
      "type":"list",
      "member":{"shape":"Integer"}
    },
    "QueryStatus":{
      "type":"string",
      "enum":[
        "PROCESSING",
        "COMPLETED",
        "FAILED"
      ]
    },
    "QueryStatusMessage":{
      "type":"string",
      "enum":[
        "Query processing is complete.",
        "Query processing is in-progress.",
        "An internal error occurred while processing the query. Try again at a later time.",
        "Query is pending human review.",
        "Query contains restricted or unsupported content."
      ]
    },
    "QuerySummary":{
      "type":"structure",
      "required":[
        "queryIdentifier",
        "query",
        "status",
        "statusMessage",
        "createdAt"
      ],
      "members":{
        "queryIdentifier":{"shape":"Integer"},
        "query":{"shape":"LongStringAttribute"},
        "response":{"shape":"LongStringAttribute"},
        "reviewType":{"shape":"ReviewType"},
        "citations":{"shape":"CitationList"},
        "status":{"shape":"QueryStatus"},
        "statusMessage":{"shape":"QueryStatusMessage"},
        "createdAt":{"shape":"TimestampAttribute"},
        "updatedResponseVersions":{"shape":"ResponseVersionList"}
      }
    },
    "ReportDetail":{
      "type":"structure",
      "members":{
        "id":{"shape":"ReportId"},
        "name":{"shape":"ShortStringAttribute"},
        "description":{"shape":"LongStringAttribute"},
        "periodStart":{"shape":"TimestampAttribute"},
        "periodEnd":{"shape":"TimestampAttribute"},
        "createdAt":{"shape":"TimestampAttribute"},
        "lastModifiedAt":{"shape":"TimestampAttribute"},
        "deletedAt":{"shape":"TimestampAttribute"},
        "state":{"shape":"PublishedState"},
        "arn":{"shape":"LongStringAttribute"},
        "series":{"shape":"ShortStringAttribute"},
        "category":{"shape":"ShortStringAttribute"},
        "companyName":{"shape":"ShortStringAttribute"},
        "productName":{"shape":"ShortStringAttribute"},
        "termArn":{"shape":"LongStringAttribute"},
        "version":{"shape":"VersionAttribute"},
        "acceptanceType":{"shape":"AcceptanceType"},
        "sequenceNumber":{"shape":"SequenceNumberAttribute"},
        "uploadState":{"shape":"UploadState"},
        "statusMessage":{"shape":"StatusMessage"}
      }
    },
    "ReportId":{
      "type":"string",
      "pattern":"report-[a-zA-Z0-9]{16}"
    },
    "ReportSummary":{
      "type":"structure",
      "members":{
        "id":{"shape":"ReportId"},
        "name":{"shape":"ShortStringAttribute"},
        "state":{"shape":"PublishedState"},
        "arn":{"shape":"LongStringAttribute"},
        "version":{"shape":"VersionAttribute"},
        "uploadState":{"shape":"UploadState"},
        "description":{"shape":"LongStringAttribute"},
        "periodStart":{"shape":"TimestampAttribute"},
        "periodEnd":{"shape":"TimestampAttribute"},
        "series":{"shape":"ShortStringAttribute"},
        "category":{"shape":"ShortStringAttribute"},
        "companyName":{"shape":"ShortStringAttribute"},
        "productName":{"shape":"ShortStringAttribute"},
        "statusMessage":{"shape":"StatusMessage"},
        "acceptanceType":{"shape":"AcceptanceType"}
      }
    },
    "ReportsList":{
      "type":"list",
      "member":{"shape":"ReportSummary"}
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "ResponseVersion":{
      "type":"structure",
      "required":[
        "responseText",
        "timestamp"
      ],
      "members":{
        "responseText":{"shape":"LongStringAttribute"},
        "timestamp":{"shape":"TimestampAttribute"}
      }
    },
    "ResponseVersionList":{
      "type":"list",
      "member":{"shape":"ResponseVersion"}
    },
    "ReviewType":{
      "type":"string",
      "enum":[
        "HUMAN",
        "AI"
      ]
    },
    "SequenceNumberAttribute":{
      "type":"long",
      "box":true,
      "min":1
    },
    "ServiceQuotaExceededException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType",
        "serviceCode",
        "quotaCode"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"},
        "serviceCode":{"shape":"String"},
        "quotaCode":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":402,
        "senderFault":true
      },
      "exception":true
    },
    "ShortStringAttribute":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[a-zA-Z0-9_\\-\\s]*"
    },
    "StatusMessage":{"type":"string"},
    "String":{"type":"string"},
    "TagKey":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[a-zA-Z0-9\\s_.:/=+\\-@]*"
    },
    "TagKeys":{
      "type":"list",
      "member":{"shape":"TagKey"},
      "max":50,
      "min":1
    },
    "TagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tags"
      ],
      "members":{
        "resourceArn":{
          "shape":"LongStringAttribute",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tags":{"shape":"TagsMap"}
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{}
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":0,
      "pattern":"[a-zA-Z0-9\\s_.:/=+\\-@]*"
    },
    "TagsMap":{
      "type":"map",
      "key":{"shape":"TagKey"},
      "value":{"shape":"TagValue"},
      "max":50,
      "min":0
    },
    "ThrottlingException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "serviceCode":{"shape":"String"},
        "quotaCode":{"shape":"String"},
        "retryAfterSeconds":{
          "shape":"Integer",
          "location":"header",
          "locationName":"Retry-After"
        }
      },
      "error":{
        "httpStatusCode":429,
        "senderFault":true
      },
      "exception":true,
      "retryable":{"throttling":true}
    },
    "TimestampAttribute":{
      "type":"timestamp",
      "timestampFormat":"iso8601"
    },
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tagKeys"
      ],
      "members":{
        "resourceArn":{
          "shape":"LongStringAttribute",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tagKeys":{
          "shape":"TagKeys",
          "location":"querystring",
          "locationName":"tagKeys"
        }
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{}
    },
    "UploadState":{
      "type":"string",
      "enum":[
        "PROCESSING",
        "COMPLETE",
        "FAILED",
        "FAULT"
      ]
    },
    "ValidationException":{
      "type":"structure",
      "required":[
        "message",
        "reason"
      ],
      "members":{
        "message":{"shape":"String"},
        "reason":{"shape":"ValidationExceptionReason"},
        "fieldList":{"shape":"ValidationExceptionFieldList"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "ValidationExceptionField":{
      "type":"structure",
      "required":[
        "name",
        "message"
      ],
      "members":{
        "name":{"shape":"String"},
        "message":{"shape":"String"}
      }
    },
    "ValidationExceptionFieldList":{
      "type":"list",
      "member":{"shape":"ValidationExceptionField"}
    },
    "ValidationExceptionReason":{
      "type":"string",
      "enum":[
        "unknownOperation",
        "cannotParse",
        "fieldValidationFailed",
        "invalidToken",
        "other"
      ]
    },
    "VersionAttribute":{
      "type":"long",
      "box":true,
      "min":1
    }
  }
}
