{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2026-06-30",
    "auth":["aws.auth#sigv4"],
    "endpointPrefix":"supportauthz",
    "protocol":"rest-json",
    "protocols":["rest-json"],
    "serviceFullName":"SupportAuthZ",
    "serviceId":"SupportAuthZ",
    "signatureVersion":"v4",
    "signingName":"supportauthz",
    "uid":"supportauthz-2026-06-30"
  },
  "operations":{
    "CreateSupportPermit":{
      "name":"CreateSupportPermit",
      "http":{
        "method":"POST",
        "requestUri":"/support-permits",
        "responseCode":200
      },
      "input":{"shape":"CreateSupportPermitInput"},
      "output":{"shape":"CreateSupportPermitOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"InternalServerException"}
      ]
    },
    "DeleteSupportPermit":{
      "name":"DeleteSupportPermit",
      "http":{
        "method":"DELETE",
        "requestUri":"/support-permits/{supportPermitIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"DeleteSupportPermitInput"},
      "output":{"shape":"DeleteSupportPermitOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "GetAction":{
      "name":"GetAction",
      "http":{
        "method":"GET",
        "requestUri":"/actions/{action}",
        "responseCode":200
      },
      "input":{"shape":"GetActionInput"},
      "output":{"shape":"GetActionOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "readonly":true
    },
    "GetSupportPermit":{
      "name":"GetSupportPermit",
      "http":{
        "method":"GET",
        "requestUri":"/support-permits/{supportPermitIdentifier}",
        "responseCode":200
      },
      "input":{"shape":"GetSupportPermitInput"},
      "output":{"shape":"GetSupportPermitOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "readonly":true
    },
    "ListActions":{
      "name":"ListActions",
      "http":{
        "method":"GET",
        "requestUri":"/actions",
        "responseCode":200
      },
      "input":{"shape":"ListActionsInput"},
      "output":{"shape":"ListActionsOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "readonly":true
    },
    "ListSupportPermitRequests":{
      "name":"ListSupportPermitRequests",
      "http":{
        "method":"GET",
        "requestUri":"/support-permit-requests",
        "responseCode":200
      },
      "input":{"shape":"ListSupportPermitRequestsInput"},
      "output":{"shape":"ListSupportPermitRequestsOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "readonly":true
    },
    "ListSupportPermits":{
      "name":"ListSupportPermits",
      "http":{
        "method":"GET",
        "requestUri":"/support-permits",
        "responseCode":200
      },
      "input":{"shape":"ListSupportPermitsInput"},
      "output":{"shape":"ListSupportPermitsOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "readonly":true
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"GET",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"ListTagsForResourceInput"},
      "output":{"shape":"ListTagsForResourceOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "readonly":true
    },
    "RejectSupportPermitRequest":{
      "name":"RejectSupportPermitRequest",
      "http":{
        "method":"PUT",
        "requestUri":"/support-permit-requests/{requestArn}/reject",
        "responseCode":200
      },
      "input":{"shape":"RejectSupportPermitRequestInput"},
      "output":{"shape":"RejectSupportPermitRequestOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":204
      },
      "input":{"shape":"TagResourceInput"},
      "output":{"shape":"TagResourceOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ]
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"DELETE",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":204
      },
      "input":{"shape":"UntagResourceInput"},
      "output":{"shape":"UntagResourceOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    }
  },
  "shapes":{
    "AccessDeniedException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":403,
        "senderFault":true
      },
      "exception":true
    },
    "Action":{
      "type":"string",
      "max":255,
      "min":3,
      "pattern":"[a-z][a-z0-9-]*:[A-Za-z0-9_.-]+"
    },
    "ActionDescription":{
      "type":"string",
      "max":10240,
      "min":1
    },
    "ActionSet":{
      "type":"structure",
      "members":{
        "allActions":{"shape":"Unit"},
        "actions":{"shape":"Actions"}
      },
      "union":true
    },
    "ActionSummaries":{
      "type":"list",
      "member":{"shape":"ActionSummary"},
      "max":100,
      "min":0
    },
    "ActionSummary":{
      "type":"structure",
      "required":[
        "action",
        "service",
        "description"
      ],
      "members":{
        "action":{"shape":"Action"},
        "service":{"shape":"Service"},
        "description":{"shape":"ActionDescription"}
      }
    },
    "Actions":{
      "type":"list",
      "member":{"shape":"Action"},
      "max":10,
      "min":1
    },
    "Arn":{
      "type":"string",
      "max":512,
      "min":1,
      "pattern":"arn:[a-z0-9-]+:[a-z0-9-]+:[a-z0-9-]*:[0-9]{12}:.+"
    },
    "ClientToken":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[!-~]+"
    },
    "Condition":{
      "type":"structure",
      "members":{
        "allowAfter":{"shape":"Timestamp"},
        "allowBefore":{"shape":"Timestamp"}
      },
      "union":true
    },
    "Conditions":{
      "type":"list",
      "member":{"shape":"Condition"},
      "max":2,
      "min":0
    },
    "ConflictException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":409,
        "senderFault":true
      },
      "exception":true
    },
    "CreateSupportPermitInput":{
      "type":"structure",
      "required":[
        "permit",
        "name",
        "signingKeyInfo"
      ],
      "members":{
        "permit":{"shape":"Permit"},
        "name":{"shape":"Name"},
        "description":{"shape":"Description"},
        "signingKeyInfo":{"shape":"SigningKeyInfo"},
        "supportCaseDisplayId":{"shape":"SupportCaseDisplayId"},
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true
        },
        "tags":{"shape":"Tags"}
      }
    },
    "CreateSupportPermitOutput":{
      "type":"structure",
      "required":[
        "name",
        "arn",
        "permit",
        "status",
        "signingKeyInfo",
        "createdAt"
      ],
      "members":{
        "name":{"shape":"Name"},
        "arn":{"shape":"Arn"},
        "description":{"shape":"Description"},
        "permit":{"shape":"Permit"},
        "status":{"shape":"SupportPermitStatus"},
        "signingKeyInfo":{"shape":"SigningKeyInfo"},
        "createdAt":{"shape":"Timestamp"},
        "supportCaseDisplayId":{"shape":"SupportCaseDisplayId"},
        "tags":{"shape":"Tags"}
      }
    },
    "DeleteSupportPermitInput":{
      "type":"structure",
      "required":["supportPermitIdentifier"],
      "members":{
        "supportPermitIdentifier":{
          "shape":"Arn",
          "location":"uri",
          "locationName":"supportPermitIdentifier"
        }
      }
    },
    "DeleteSupportPermitOutput":{
      "type":"structure",
      "required":[
        "name",
        "arn",
        "permit",
        "status",
        "signingKeyInfo",
        "createdAt"
      ],
      "members":{
        "name":{"shape":"Name"},
        "arn":{"shape":"Arn"},
        "description":{"shape":"Description"},
        "permit":{"shape":"Permit"},
        "status":{"shape":"SupportPermitStatus"},
        "signingKeyInfo":{"shape":"SigningKeyInfo"},
        "createdAt":{"shape":"Timestamp"},
        "supportCaseDisplayId":{"shape":"SupportCaseDisplayId"}
      }
    },
    "Description":{
      "type":"string",
      "max":1024,
      "min":1
    },
    "GetActionInput":{
      "type":"structure",
      "required":["action"],
      "members":{
        "action":{
          "shape":"Action",
          "location":"uri",
          "locationName":"action"
        }
      }
    },
    "GetActionOutput":{
      "type":"structure",
      "required":[
        "action",
        "service",
        "description"
      ],
      "members":{
        "action":{"shape":"Action"},
        "service":{"shape":"Service"},
        "description":{"shape":"ActionDescription"}
      }
    },
    "GetSupportPermitInput":{
      "type":"structure",
      "required":["supportPermitIdentifier"],
      "members":{
        "supportPermitIdentifier":{
          "shape":"SupportPermitIdentifier",
          "location":"uri",
          "locationName":"supportPermitIdentifier"
        }
      }
    },
    "GetSupportPermitOutput":{
      "type":"structure",
      "required":[
        "name",
        "arn",
        "permit",
        "status",
        "signingKeyInfo",
        "createdAt"
      ],
      "members":{
        "name":{"shape":"Name"},
        "arn":{"shape":"Arn"},
        "description":{"shape":"Description"},
        "permit":{"shape":"Permit"},
        "status":{"shape":"SupportPermitStatus"},
        "signingKeyInfo":{"shape":"SigningKeyInfo"},
        "createdAt":{"shape":"Timestamp"},
        "supportCaseDisplayId":{"shape":"SupportCaseDisplayId"},
        "tags":{"shape":"Tags"}
      }
    },
    "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}
    },
    "KmsKeyArn":{
      "type":"string",
      "max":512,
      "min":1,
      "pattern":"[a-zA-Z0-9/:_-]{1,512}"
    },
    "ListActionsInput":{
      "type":"structure",
      "required":["service"],
      "members":{
        "nextToken":{
          "shape":"NextToken",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "maxResults":{
          "shape":"MaxResults",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "service":{
          "shape":"Service",
          "location":"querystring",
          "locationName":"service"
        }
      }
    },
    "ListActionsOutput":{
      "type":"structure",
      "required":["actionSummaries"],
      "members":{
        "actionSummaries":{"shape":"ActionSummaries"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListSupportPermitRequestsInput":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"NextToken",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "maxResults":{
          "shape":"MaxResults",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "supportCaseDisplayId":{
          "shape":"SupportCaseDisplayId",
          "location":"querystring",
          "locationName":"supportCaseDisplayId"
        }
      }
    },
    "ListSupportPermitRequestsOutput":{
      "type":"structure",
      "required":["supportPermitRequests"],
      "members":{
        "supportPermitRequests":{"shape":"SupportPermitRequests"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListSupportPermitsInput":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"NextToken",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "maxResults":{
          "shape":"MaxResults",
          "location":"querystring",
          "locationName":"maxResults"
        },
        "supportPermitStatuses":{
          "shape":"SupportPermitStatuses",
          "location":"querystring",
          "locationName":"supportPermitStatuses"
        }
      }
    },
    "ListSupportPermitsOutput":{
      "type":"structure",
      "required":["supportPermits"],
      "members":{
        "supportPermits":{"shape":"SupportPermitSummaries"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListTagsForResourceInput":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{
          "shape":"Arn",
          "location":"uri",
          "locationName":"resourceArn"
        }
      }
    },
    "ListTagsForResourceOutput":{
      "type":"structure",
      "members":{
        "tags":{"shape":"Tags"}
      }
    },
    "MaxResults":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "Name":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[a-zA-Z0-9]{1,256}"
    },
    "NextToken":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"[a-zA-Z0-9/+=%_-]+"
    },
    "Permit":{
      "type":"structure",
      "required":[
        "actions",
        "resources"
      ],
      "members":{
        "actions":{"shape":"ActionSet"},
        "resources":{"shape":"ResourceSet"},
        "conditions":{"shape":"Conditions"}
      }
    },
    "RejectSupportPermitRequestInput":{
      "type":"structure",
      "required":["requestArn"],
      "members":{
        "requestArn":{
          "shape":"RequestArn",
          "location":"uri",
          "locationName":"requestArn"
        }
      }
    },
    "RejectSupportPermitRequestOutput":{
      "type":"structure",
      "required":["requestArn"],
      "members":{
        "requestArn":{"shape":"RequestArn"}
      }
    },
    "RequestArn":{
      "type":"string",
      "max":512,
      "min":1,
      "pattern":"[a-zA-Z0-9:/-]{1,512}"
    },
    "Resource":{
      "type":"string",
      "max":512,
      "min":1,
      "pattern":"[a-zA-Z0-9:/_.-]+"
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "ResourceSet":{
      "type":"structure",
      "members":{
        "allResourcesInRegion":{"shape":"Unit"},
        "resources":{"shape":"Resources"}
      },
      "union":true
    },
    "Resources":{
      "type":"list",
      "member":{"shape":"Resource"},
      "max":5,
      "min":1
    },
    "Service":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[a-zA-Z0-9-]+"
    },
    "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
    },
    "SigningKeyInfo":{
      "type":"structure",
      "members":{
        "kmsKey":{"shape":"KmsKeyArn"}
      },
      "union":true
    },
    "String":{"type":"string"},
    "SupportCaseDisplayId":{
      "type":"string",
      "max":512,
      "min":1,
      "pattern":"[a-zA-Z0-9:/-]{1,512}"
    },
    "SupportPermitIdentifier":{
      "type":"string",
      "max":512,
      "min":1,
      "pattern":"[a-zA-Z0-9:/-]{1,512}"
    },
    "SupportPermitRequest":{
      "type":"structure",
      "required":[
        "requestArn",
        "permit",
        "supportCaseDisplayId",
        "status",
        "createdAt",
        "updatedAt"
      ],
      "members":{
        "requestArn":{"shape":"RequestArn"},
        "permit":{"shape":"Permit"},
        "supportCaseDisplayId":{"shape":"SupportCaseDisplayId"},
        "status":{"shape":"SupportPermitRequestStatus"},
        "createdAt":{"shape":"Timestamp"},
        "updatedAt":{"shape":"Timestamp"}
      }
    },
    "SupportPermitRequestStatus":{
      "type":"string",
      "enum":[
        "PENDING",
        "ACCEPTED",
        "REJECTED",
        "CANCELLED"
      ]
    },
    "SupportPermitRequests":{
      "type":"list",
      "member":{"shape":"SupportPermitRequest"},
      "max":100,
      "min":0
    },
    "SupportPermitStatus":{
      "type":"string",
      "enum":[
        "ACTIVE",
        "INACTIVE",
        "DELETING"
      ]
    },
    "SupportPermitStatuses":{
      "type":"list",
      "member":{"shape":"SupportPermitStatus"},
      "max":5,
      "min":1
    },
    "SupportPermitSummaries":{
      "type":"list",
      "member":{"shape":"SupportPermitSummary"},
      "max":100,
      "min":0
    },
    "SupportPermitSummary":{
      "type":"structure",
      "required":[
        "name",
        "arn",
        "permit",
        "status",
        "signingKeyInfo",
        "createdAt"
      ],
      "members":{
        "name":{"shape":"Name"},
        "arn":{"shape":"Arn"},
        "permit":{"shape":"Permit"},
        "status":{"shape":"SupportPermitStatus"},
        "signingKeyInfo":{"shape":"SigningKeyInfo"},
        "createdAt":{"shape":"Timestamp"},
        "supportCaseDisplayId":{"shape":"SupportCaseDisplayId"}
      }
    },
    "TagKey":{
      "type":"string",
      "max":128,
      "min":1
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"}
    },
    "TagResourceInput":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tags"
      ],
      "members":{
        "resourceArn":{
          "shape":"Arn",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tags":{"shape":"Tags"}
      }
    },
    "TagResourceOutput":{
      "type":"structure",
      "members":{}
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":0
    },
    "Tags":{
      "type":"map",
      "key":{"shape":"TagKey"},
      "value":{"shape":"TagValue"},
      "max":50,
      "min":0
    },
    "ThrottlingException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "retryAfterSeconds":{
          "shape":"Integer",
          "location":"header",
          "locationName":"Retry-After"
        }
      },
      "error":{
        "httpStatusCode":429,
        "senderFault":true
      },
      "exception":true,
      "retryable":{"throttling":true}
    },
    "Timestamp":{"type":"timestamp"},
    "Unit":{
      "type":"structure",
      "members":{}
    },
    "UntagResourceInput":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tagKeys"
      ],
      "members":{
        "resourceArn":{
          "shape":"Arn",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tagKeys":{
          "shape":"TagKeyList",
          "location":"querystring",
          "locationName":"tagKeys"
        }
      }
    },
    "UntagResourceOutput":{
      "type":"structure",
      "members":{}
    },
    "ValidationException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "fieldList":{"shape":"ValidationExceptionFieldList"}
      },
      "exception":true
    },
    "ValidationExceptionField":{
      "type":"structure",
      "required":[
        "path",
        "message"
      ],
      "members":{
        "path":{"shape":"String"},
        "message":{"shape":"String"}
      }
    },
    "ValidationExceptionFieldList":{
      "type":"list",
      "member":{"shape":"ValidationExceptionField"}
    }
  }
}
