{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2024-03-18",
    "auth":[
      "aws.auth#sigv4a",
      "aws.auth#sigv4"
    ],
    "endpointPrefix":"partnercentral-channel",
    "jsonVersion":"1.0",
    "protocol":"json",
    "protocols":["json"],
    "serviceFullName":"Partner Central Channel API",
    "serviceId":"PartnerCentral Channel",
    "signatureVersion":"v4",
    "signingName":"partnercentral-channel",
    "targetPrefix":"PartnerCentralChannel",
    "uid":"partnercentral-channel-2024-03-18"
  },
  "operations":{
    "AcceptChannelHandshake":{
      "name":"AcceptChannelHandshake",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"AcceptChannelHandshakeRequest"},
      "output":{"shape":"AcceptChannelHandshakeResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"}
      ],
      "idempotent":true
    },
    "CancelChannelHandshake":{
      "name":"CancelChannelHandshake",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CancelChannelHandshakeRequest"},
      "output":{"shape":"CancelChannelHandshakeResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"}
      ],
      "idempotent":true
    },
    "CreateChannelHandshake":{
      "name":"CreateChannelHandshake",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateChannelHandshakeRequest"},
      "output":{"shape":"CreateChannelHandshakeResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "idempotent":true
    },
    "CreateProgramManagementAccount":{
      "name":"CreateProgramManagementAccount",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateProgramManagementAccountRequest"},
      "output":{"shape":"CreateProgramManagementAccountResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "idempotent":true
    },
    "CreateRelationship":{
      "name":"CreateRelationship",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateRelationshipRequest"},
      "output":{"shape":"CreateRelationshipResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"ServiceQuotaExceededException"}
      ],
      "idempotent":true
    },
    "DeleteProgramManagementAccount":{
      "name":"DeleteProgramManagementAccount",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteProgramManagementAccountRequest"},
      "output":{"shape":"DeleteProgramManagementAccountResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"}
      ],
      "idempotent":true
    },
    "DeleteRelationship":{
      "name":"DeleteRelationship",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteRelationshipRequest"},
      "output":{"shape":"DeleteRelationshipResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"}
      ],
      "idempotent":true
    },
    "GetRelationship":{
      "name":"GetRelationship",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetRelationshipRequest"},
      "output":{"shape":"GetRelationshipResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"}
      ],
      "readonly":true
    },
    "ListChannelHandshakes":{
      "name":"ListChannelHandshakes",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListChannelHandshakesRequest"},
      "output":{"shape":"ListChannelHandshakesResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"}
      ],
      "readonly":true
    },
    "ListProgramManagementAccounts":{
      "name":"ListProgramManagementAccounts",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListProgramManagementAccountsRequest"},
      "output":{"shape":"ListProgramManagementAccountsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"}
      ],
      "readonly":true
    },
    "ListRelationships":{
      "name":"ListRelationships",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListRelationshipsRequest"},
      "output":{"shape":"ListRelationshipsResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"}
      ],
      "readonly":true
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListTagsForResourceRequest"},
      "output":{"shape":"ListTagsForResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"}
      ],
      "readonly":true
    },
    "RejectChannelHandshake":{
      "name":"RejectChannelHandshake",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"RejectChannelHandshakeRequest"},
      "output":{"shape":"RejectChannelHandshakeResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"}
      ],
      "idempotent":true
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"TagResourceRequest"},
      "output":{"shape":"TagResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"}
      ],
      "idempotent":true
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UntagResourceRequest"},
      "output":{"shape":"UntagResourceResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"}
      ],
      "idempotent":true
    },
    "UpdateProgramManagementAccount":{
      "name":"UpdateProgramManagementAccount",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateProgramManagementAccountRequest"},
      "output":{"shape":"UpdateProgramManagementAccountResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"}
      ],
      "idempotent":true
    },
    "UpdateRelationship":{
      "name":"UpdateRelationship",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateRelationshipRequest"},
      "output":{"shape":"UpdateRelationshipResponse"},
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"}
      ]
    }
  },
  "shapes":{
    "AcceptChannelHandshakeDetail":{
      "type":"structure",
      "members":{
        "id":{"shape":"ChannelHandshakeId"},
        "arn":{"shape":"Arn"},
        "status":{"shape":"HandshakeStatus"}
      }
    },
    "AcceptChannelHandshakeRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "identifier"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "identifier":{"shape":"ChannelHandshakeIdentifier"}
      }
    },
    "AcceptChannelHandshakeResponse":{
      "type":"structure",
      "members":{
        "channelHandshakeDetail":{"shape":"AcceptChannelHandshakeDetail"}
      }
    },
    "AccessDeniedException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "reason":{"shape":"String"}
      },
      "exception":true
    },
    "AccountId":{
      "type":"string",
      "max":12,
      "min":12,
      "pattern":"[0-9]*"
    },
    "AccountIdList":{
      "type":"list",
      "member":{"shape":"AccountId"}
    },
    "Arn":{
      "type":"string",
      "max":1011,
      "min":1
    },
    "AssociatedResourceId":{
      "type":"string",
      "max":17,
      "min":16,
      "pattern":"(pma|rs)-[a-z0-9]{13}"
    },
    "AssociatedResourceIdentifier":{
      "type":"string",
      "max":1011,
      "min":16,
      "pattern":"((arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[a-zA-Z]+/program-management-account/pma-[a-z0-9]{13}(/relationship/rs-[a-z0-9]{13})?)|(pma|rs)-[a-z0-9]{13})"
    },
    "AssociatedResourceIdentifierList":{
      "type":"list",
      "member":{"shape":"AssociatedResourceIdentifier"}
    },
    "AssociationType":{
      "type":"string",
      "enum":[
        "DOWNSTREAM_SELLER",
        "END_CUSTOMER",
        "INTERNAL"
      ]
    },
    "AssociationTypeList":{
      "type":"list",
      "member":{"shape":"AssociationType"}
    },
    "CancelChannelHandshakeDetail":{
      "type":"structure",
      "members":{
        "id":{"shape":"ChannelHandshakeId"},
        "arn":{"shape":"Arn"},
        "status":{"shape":"HandshakeStatus"}
      }
    },
    "CancelChannelHandshakeRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "identifier"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "identifier":{"shape":"ChannelHandshakeIdentifier"}
      }
    },
    "CancelChannelHandshakeResponse":{
      "type":"structure",
      "members":{
        "channelHandshakeDetail":{"shape":"CancelChannelHandshakeDetail"}
      }
    },
    "Catalog":{
      "type":"string",
      "max":64,
      "min":1,
      "pattern":"[a-zA-Z]*"
    },
    "ChannelHandshakeId":{
      "type":"string",
      "max":16,
      "min":16,
      "pattern":"ch-[a-z0-9]{13}"
    },
    "ChannelHandshakeIdentifier":{
      "type":"string",
      "max":1011,
      "min":16,
      "pattern":"(arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[a-zA-Z]+/channel-handshake/)?ch-[a-z0-9]{13}"
    },
    "ChannelHandshakePayload":{
      "type":"structure",
      "members":{
        "startServicePeriodPayload":{"shape":"StartServicePeriodPayload"},
        "revokeServicePeriodPayload":{"shape":"RevokeServicePeriodPayload"}
      },
      "union":true
    },
    "ChannelHandshakeSummaries":{
      "type":"list",
      "member":{"shape":"ChannelHandshakeSummary"}
    },
    "ChannelHandshakeSummary":{
      "type":"structure",
      "members":{
        "id":{"shape":"ChannelHandshakeId"},
        "arn":{"shape":"Arn"},
        "catalog":{"shape":"Catalog"},
        "handshakeType":{"shape":"HandshakeType"},
        "ownerAccountId":{"shape":"AccountId"},
        "senderAccountId":{"shape":"AccountId"},
        "senderDisplayName":{"shape":"PartnerProfileDisplayName"},
        "receiverAccountId":{"shape":"AccountId"},
        "associatedResourceId":{"shape":"AssociatedResourceId"},
        "detail":{"shape":"HandshakeDetail"},
        "createdAt":{"shape":"DateTime"},
        "updatedAt":{"shape":"DateTime"},
        "status":{"shape":"HandshakeStatus"}
      }
    },
    "ClientToken":{
      "type":"string",
      "max":64,
      "min":1,
      "pattern":"[!-~]*"
    },
    "ConflictException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"}
      },
      "exception":true
    },
    "Coverage":{
      "type":"string",
      "enum":[
        "ENTIRE_ORGANIZATION",
        "MANAGEMENT_ACCOUNT_ONLY"
      ]
    },
    "CreateChannelHandshakeDetail":{
      "type":"structure",
      "members":{
        "id":{"shape":"ChannelHandshakeId"},
        "arn":{"shape":"Arn"}
      }
    },
    "CreateChannelHandshakeRequest":{
      "type":"structure",
      "required":[
        "handshakeType",
        "catalog",
        "associatedResourceIdentifier"
      ],
      "members":{
        "handshakeType":{"shape":"HandshakeType"},
        "catalog":{"shape":"Catalog"},
        "associatedResourceIdentifier":{"shape":"AssociatedResourceIdentifier"},
        "payload":{"shape":"ChannelHandshakePayload"},
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true
        },
        "tags":{"shape":"TagList"}
      }
    },
    "CreateChannelHandshakeResponse":{
      "type":"structure",
      "members":{
        "channelHandshakeDetail":{"shape":"CreateChannelHandshakeDetail"}
      }
    },
    "CreateProgramManagementAccountDetail":{
      "type":"structure",
      "members":{
        "id":{"shape":"ProgramManagementAccountId"},
        "arn":{"shape":"Arn"}
      }
    },
    "CreateProgramManagementAccountRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "program",
        "displayName",
        "accountId"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "program":{"shape":"Program"},
        "displayName":{"shape":"ProgramManagementAccountDisplayName"},
        "accountId":{"shape":"AccountId"},
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true
        },
        "tags":{"shape":"TagList"}
      }
    },
    "CreateProgramManagementAccountResponse":{
      "type":"structure",
      "members":{
        "programManagementAccountDetail":{"shape":"CreateProgramManagementAccountDetail"}
      }
    },
    "CreateRelationshipDetail":{
      "type":"structure",
      "members":{
        "arn":{"shape":"Arn"},
        "id":{"shape":"RelationshipId"}
      }
    },
    "CreateRelationshipRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "associationType",
        "programManagementAccountIdentifier",
        "associatedAccountId",
        "displayName",
        "sector"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "associationType":{"shape":"AssociationType"},
        "programManagementAccountIdentifier":{"shape":"ProgramManagementAccountIdentifier"},
        "associatedAccountId":{"shape":"AccountId"},
        "displayName":{"shape":"RelationshipDisplayName"},
        "resaleAccountModel":{"shape":"ResaleAccountModel"},
        "sector":{"shape":"Sector"},
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true
        },
        "tags":{"shape":"TagList"},
        "requestedSupportPlan":{"shape":"SupportPlan"}
      }
    },
    "CreateRelationshipResponse":{
      "type":"structure",
      "members":{
        "relationshipDetail":{"shape":"CreateRelationshipDetail"}
      }
    },
    "DateTime":{
      "type":"timestamp",
      "timestampFormat":"iso8601"
    },
    "DeleteProgramManagementAccountRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "identifier"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "identifier":{"shape":"ProgramManagementAccountIdentifier"},
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true
        }
      }
    },
    "DeleteProgramManagementAccountResponse":{
      "type":"structure",
      "members":{}
    },
    "DeleteRelationshipRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "identifier",
        "programManagementAccountIdentifier"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "identifier":{"shape":"RelationshipIdentifier"},
        "programManagementAccountIdentifier":{"shape":"ProgramManagementAccountIdentifier"},
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true
        }
      }
    },
    "DeleteRelationshipResponse":{
      "type":"structure",
      "members":{}
    },
    "GetRelationshipRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "programManagementAccountIdentifier",
        "identifier"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "programManagementAccountIdentifier":{"shape":"ProgramManagementAccountIdentifier"},
        "identifier":{"shape":"RelationshipIdentifier"}
      }
    },
    "GetRelationshipResponse":{
      "type":"structure",
      "members":{
        "relationshipDetail":{"shape":"RelationshipDetail"}
      }
    },
    "HandshakeDetail":{
      "type":"structure",
      "members":{
        "startServicePeriodHandshakeDetail":{"shape":"StartServicePeriodHandshakeDetail"},
        "revokeServicePeriodHandshakeDetail":{"shape":"RevokeServicePeriodHandshakeDetail"},
        "programManagementAccountHandshakeDetail":{"shape":"ProgramManagementAccountHandshakeDetail"}
      },
      "union":true
    },
    "HandshakeStatus":{
      "type":"string",
      "enum":[
        "PENDING",
        "ACCEPTED",
        "REJECTED",
        "CANCELED",
        "EXPIRED"
      ]
    },
    "HandshakeStatusList":{
      "type":"list",
      "member":{"shape":"HandshakeStatus"}
    },
    "HandshakeType":{
      "type":"string",
      "enum":[
        "START_SERVICE_PERIOD",
        "REVOKE_SERVICE_PERIOD",
        "PROGRAM_MANAGEMENT_ACCOUNT"
      ]
    },
    "InternalServerException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "exception":true,
      "fault":true,
      "retryable":{"throttling":false}
    },
    "ListChannelHandshakesRequest":{
      "type":"structure",
      "required":[
        "handshakeType",
        "catalog",
        "participantType"
      ],
      "members":{
        "handshakeType":{"shape":"HandshakeType"},
        "catalog":{"shape":"Catalog"},
        "participantType":{"shape":"ParticipantType"},
        "maxResults":{"shape":"ListChannelHandshakesRequestMaxResultsInteger"},
        "statuses":{"shape":"HandshakeStatusList"},
        "associatedResourceIdentifiers":{"shape":"AssociatedResourceIdentifierList"},
        "handshakeTypeFilters":{"shape":"ListChannelHandshakesTypeFilters"},
        "handshakeTypeSort":{"shape":"ListChannelHandshakesTypeSort"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListChannelHandshakesRequestMaxResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListChannelHandshakesResponse":{
      "type":"structure",
      "members":{
        "items":{"shape":"ChannelHandshakeSummaries"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListChannelHandshakesTypeFilters":{
      "type":"structure",
      "members":{
        "startServicePeriodTypeFilters":{"shape":"StartServicePeriodTypeFilters"},
        "revokeServicePeriodTypeFilters":{"shape":"RevokeServicePeriodTypeFilters"},
        "programManagementAccountTypeFilters":{"shape":"ProgramManagementAccountTypeFilters"}
      },
      "union":true
    },
    "ListChannelHandshakesTypeSort":{
      "type":"structure",
      "members":{
        "startServicePeriodTypeSort":{"shape":"StartServicePeriodTypeSort"},
        "revokeServicePeriodTypeSort":{"shape":"RevokeServicePeriodTypeSort"},
        "programManagementAccountTypeSort":{"shape":"ProgramManagementAccountTypeSort"}
      },
      "union":true
    },
    "ListProgramManagementAccountsRequest":{
      "type":"structure",
      "required":["catalog"],
      "members":{
        "catalog":{"shape":"Catalog"},
        "maxResults":{"shape":"ListProgramManagementAccountsRequestMaxResultsInteger"},
        "displayNames":{"shape":"ProgramManagementAccountDisplayNameList"},
        "programs":{"shape":"ProgramList"},
        "accountIds":{"shape":"AccountIdList"},
        "statuses":{"shape":"ProgramManagementAccountStatusList"},
        "sort":{"shape":"ListProgramManagementAccountsSortBase"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListProgramManagementAccountsRequestMaxResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListProgramManagementAccountsResponse":{
      "type":"structure",
      "members":{
        "items":{"shape":"ProgramManagementAccountSummaries"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListProgramManagementAccountsSortBase":{
      "type":"structure",
      "required":[
        "sortOrder",
        "sortBy"
      ],
      "members":{
        "sortOrder":{"shape":"SortOrder"},
        "sortBy":{"shape":"ListProgramManagementAccountsSortName"}
      }
    },
    "ListProgramManagementAccountsSortName":{
      "type":"string",
      "enum":["UpdatedAt"]
    },
    "ListRelationshipsRequest":{
      "type":"structure",
      "required":["catalog"],
      "members":{
        "catalog":{"shape":"Catalog"},
        "maxResults":{"shape":"ListRelationshipsRequestMaxResultsInteger"},
        "associatedAccountIds":{"shape":"AccountIdList"},
        "associationTypes":{"shape":"AssociationTypeList"},
        "displayNames":{"shape":"RelationshipDisplayNameList"},
        "programManagementAccountIdentifiers":{"shape":"ProgramManagementAccountIdentifierList"},
        "sort":{"shape":"ListRelationshipsSortBase"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListRelationshipsRequestMaxResultsInteger":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListRelationshipsResponse":{
      "type":"structure",
      "members":{
        "items":{"shape":"RelationshipSummaries"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListRelationshipsSortBase":{
      "type":"structure",
      "required":[
        "sortOrder",
        "sortBy"
      ],
      "members":{
        "sortOrder":{"shape":"SortOrder"},
        "sortBy":{"shape":"ListRelationshipsSortName"}
      }
    },
    "ListRelationshipsSortName":{
      "type":"string",
      "enum":["UpdatedAt"]
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{"shape":"TaggableArn"}
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "tags":{"shape":"TagList"}
      }
    },
    "MinimumNoticeDays":{
      "type":"string",
      "max":10,
      "min":1,
      "pattern":"[0-9]*"
    },
    "NextToken":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"[^\\x00-\\x1F\\x7F\\x20]*"
    },
    "Note":{
      "type":"string",
      "max":300,
      "min":1,
      "pattern":"[^\\x00-\\x1F\\x7F]*"
    },
    "ParticipantType":{
      "type":"string",
      "enum":[
        "SENDER",
        "RECEIVER"
      ]
    },
    "PartnerLedSupport":{
      "type":"structure",
      "required":[
        "coverage",
        "tamLocation"
      ],
      "members":{
        "coverage":{"shape":"Coverage"},
        "provider":{"shape":"Provider"},
        "tamLocation":{"shape":"String"}
      }
    },
    "PartnerProfileDisplayName":{
      "type":"string",
      "max":40,
      "min":1,
      "pattern":"[\\x00-\\x7E\\xA9\\xAE\\xA2-\\xA5\\u202F]+"
    },
    "Program":{
      "type":"string",
      "enum":[
        "SOLUTION_PROVIDER",
        "DISTRIBUTION",
        "DISTRIBUTION_SELLER"
      ]
    },
    "ProgramList":{
      "type":"list",
      "member":{"shape":"Program"}
    },
    "ProgramManagementAccountDisplayName":{
      "type":"string",
      "max":30,
      "min":1,
      "pattern":"[^\\x00-\\x1F\\x7F]*"
    },
    "ProgramManagementAccountDisplayNameList":{
      "type":"list",
      "member":{"shape":"ProgramManagementAccountDisplayName"}
    },
    "ProgramManagementAccountHandshakeDetail":{
      "type":"structure",
      "members":{
        "program":{"shape":"Program"}
      }
    },
    "ProgramManagementAccountId":{
      "type":"string",
      "max":17,
      "min":17,
      "pattern":"pma-[a-z0-9]{13}"
    },
    "ProgramManagementAccountIdentifier":{
      "type":"string",
      "max":1011,
      "min":17,
      "pattern":"(arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[a-zA-Z]+/program-management-account/)?pma-[a-z0-9]{13}"
    },
    "ProgramManagementAccountIdentifierList":{
      "type":"list",
      "member":{"shape":"ProgramManagementAccountIdentifier"}
    },
    "ProgramManagementAccountStatus":{
      "type":"string",
      "enum":[
        "PENDING",
        "ACTIVE",
        "INACTIVE"
      ]
    },
    "ProgramManagementAccountStatusList":{
      "type":"list",
      "member":{"shape":"ProgramManagementAccountStatus"}
    },
    "ProgramManagementAccountSummaries":{
      "type":"list",
      "member":{"shape":"ProgramManagementAccountSummary"}
    },
    "ProgramManagementAccountSummary":{
      "type":"structure",
      "members":{
        "id":{"shape":"ProgramManagementAccountId"},
        "revision":{"shape":"Revision"},
        "catalog":{"shape":"Catalog"},
        "program":{"shape":"Program"},
        "displayName":{"shape":"ProgramManagementAccountDisplayName"},
        "accountId":{"shape":"AccountId"},
        "arn":{"shape":"Arn"},
        "createdAt":{"shape":"DateTime"},
        "updatedAt":{"shape":"DateTime"},
        "startDate":{"shape":"DateTime"},
        "status":{"shape":"ProgramManagementAccountStatus"}
      }
    },
    "ProgramManagementAccountTypeFilters":{
      "type":"structure",
      "members":{
        "programs":{"shape":"ProgramList"}
      }
    },
    "ProgramManagementAccountTypeSort":{
      "type":"structure",
      "required":[
        "sortOrder",
        "sortBy"
      ],
      "members":{
        "sortOrder":{"shape":"SortOrder"},
        "sortBy":{"shape":"ProgramManagementAccountTypeSortName"}
      }
    },
    "ProgramManagementAccountTypeSortName":{
      "type":"string",
      "enum":["UpdatedAt"]
    },
    "Provider":{
      "type":"string",
      "enum":[
        "DISTRIBUTOR",
        "DISTRIBUTION_SELLER"
      ]
    },
    "RejectChannelHandshakeDetail":{
      "type":"structure",
      "members":{
        "id":{"shape":"ChannelHandshakeId"},
        "arn":{"shape":"Arn"},
        "status":{"shape":"HandshakeStatus"}
      }
    },
    "RejectChannelHandshakeRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "identifier"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "identifier":{"shape":"ChannelHandshakeIdentifier"}
      }
    },
    "RejectChannelHandshakeResponse":{
      "type":"structure",
      "members":{
        "channelHandshakeDetail":{"shape":"RejectChannelHandshakeDetail"}
      }
    },
    "RelationshipDetail":{
      "type":"structure",
      "members":{
        "arn":{"shape":"Arn"},
        "id":{"shape":"RelationshipId"},
        "revision":{"shape":"Revision"},
        "catalog":{"shape":"Catalog"},
        "associationType":{"shape":"AssociationType"},
        "programManagementAccountId":{"shape":"ProgramManagementAccountId"},
        "associatedAccountId":{"shape":"AccountId"},
        "displayName":{"shape":"RelationshipDisplayName"},
        "resaleAccountModel":{"shape":"ResaleAccountModel"},
        "sector":{"shape":"Sector"},
        "createdAt":{"shape":"DateTime"},
        "updatedAt":{"shape":"DateTime"},
        "startDate":{"shape":"DateTime"}
      }
    },
    "RelationshipDisplayName":{
      "type":"string",
      "max":30,
      "min":1,
      "pattern":"[^\\x00-\\x1F\\x7F]*"
    },
    "RelationshipDisplayNameList":{
      "type":"list",
      "member":{"shape":"RelationshipDisplayName"}
    },
    "RelationshipId":{
      "type":"string",
      "max":16,
      "min":16,
      "pattern":"rs-[a-z0-9]{13}"
    },
    "RelationshipIdentifier":{
      "type":"string",
      "max":1011,
      "min":16,
      "pattern":"(arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[a-zA-Z]+/program-management-account/pma-[a-z0-9]{13}/relationship/)?rs-[a-z0-9]{13}"
    },
    "RelationshipSummaries":{
      "type":"list",
      "member":{"shape":"RelationshipSummary"}
    },
    "RelationshipSummary":{
      "type":"structure",
      "members":{
        "arn":{"shape":"Arn"},
        "id":{"shape":"RelationshipId"},
        "revision":{"shape":"Revision"},
        "catalog":{"shape":"Catalog"},
        "associationType":{"shape":"AssociationType"},
        "programManagementAccountId":{"shape":"ProgramManagementAccountId"},
        "associatedAccountId":{"shape":"AccountId"},
        "displayName":{"shape":"RelationshipDisplayName"},
        "sector":{"shape":"Sector"},
        "createdAt":{"shape":"DateTime"},
        "updatedAt":{"shape":"DateTime"},
        "startDate":{"shape":"DateTime"}
      }
    },
    "ResaleAccountModel":{
      "type":"string",
      "enum":[
        "DISTRIBUTOR",
        "END_CUSTOMER",
        "SOLUTION_PROVIDER"
      ]
    },
    "ResoldBusiness":{
      "type":"structure",
      "required":["coverage"],
      "members":{
        "coverage":{"shape":"Coverage"}
      }
    },
    "ResoldEnterprise":{
      "type":"structure",
      "required":[
        "coverage",
        "tamLocation"
      ],
      "members":{
        "coverage":{"shape":"Coverage"},
        "tamLocation":{"shape":"String"},
        "chargeAccountId":{"shape":"AccountId"}
      }
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"}
      },
      "exception":true
    },
    "Revision":{
      "type":"string",
      "max":10,
      "min":1,
      "pattern":"[0-9]*"
    },
    "RevokeServicePeriodHandshakeDetail":{
      "type":"structure",
      "members":{
        "note":{"shape":"Note"},
        "servicePeriodType":{"shape":"ServicePeriodType"},
        "minimumNoticeDays":{"shape":"MinimumNoticeDays"},
        "startDate":{"shape":"DateTime"},
        "endDate":{"shape":"DateTime"}
      }
    },
    "RevokeServicePeriodPayload":{
      "type":"structure",
      "required":["programManagementAccountIdentifier"],
      "members":{
        "programManagementAccountIdentifier":{"shape":"ProgramManagementAccountIdentifier"},
        "note":{"shape":"Note"}
      }
    },
    "RevokeServicePeriodTypeFilters":{
      "type":"structure",
      "members":{
        "servicePeriodTypes":{"shape":"ServicePeriodTypeList"}
      }
    },
    "RevokeServicePeriodTypeSort":{
      "type":"structure",
      "required":[
        "sortOrder",
        "sortBy"
      ],
      "members":{
        "sortOrder":{"shape":"SortOrder"},
        "sortBy":{"shape":"RevokeServicePeriodTypeSortName"}
      }
    },
    "RevokeServicePeriodTypeSortName":{
      "type":"string",
      "enum":["UpdatedAt"]
    },
    "Sector":{
      "type":"string",
      "enum":[
        "COMMERCIAL",
        "GOVERNMENT",
        "GOVERNMENT_EXCEPTION"
      ]
    },
    "ServicePeriodType":{
      "type":"string",
      "enum":[
        "MINIMUM_NOTICE_PERIOD",
        "FIXED_COMMITMENT_PERIOD"
      ]
    },
    "ServicePeriodTypeList":{
      "type":"list",
      "member":{"shape":"ServicePeriodType"}
    },
    "ServiceQuotaExceededException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType",
        "quotaCode"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"},
        "quotaCode":{"shape":"String"}
      },
      "exception":true,
      "retryable":{"throttling":false}
    },
    "SortOrder":{
      "type":"string",
      "enum":[
        "Ascending",
        "Descending"
      ]
    },
    "StartServicePeriodHandshakeDetail":{
      "type":"structure",
      "members":{
        "note":{"shape":"Note"},
        "servicePeriodType":{"shape":"ServicePeriodType"},
        "minimumNoticeDays":{"shape":"MinimumNoticeDays"},
        "startDate":{"shape":"DateTime"},
        "endDate":{"shape":"DateTime"}
      }
    },
    "StartServicePeriodPayload":{
      "type":"structure",
      "required":[
        "programManagementAccountIdentifier",
        "servicePeriodType"
      ],
      "members":{
        "programManagementAccountIdentifier":{"shape":"ProgramManagementAccountIdentifier"},
        "note":{"shape":"Note"},
        "servicePeriodType":{"shape":"ServicePeriodType"},
        "minimumNoticeDays":{"shape":"MinimumNoticeDays"},
        "endDate":{"shape":"DateTime"}
      }
    },
    "StartServicePeriodTypeFilters":{
      "type":"structure",
      "members":{
        "servicePeriodTypes":{"shape":"ServicePeriodTypeList"}
      }
    },
    "StartServicePeriodTypeSort":{
      "type":"structure",
      "required":[
        "sortOrder",
        "sortBy"
      ],
      "members":{
        "sortOrder":{"shape":"SortOrder"},
        "sortBy":{"shape":"StartServicePeriodTypeSortName"}
      }
    },
    "StartServicePeriodTypeSortName":{
      "type":"string",
      "enum":["UpdatedAt"]
    },
    "String":{"type":"string"},
    "SupportPlan":{
      "type":"structure",
      "members":{
        "resoldBusiness":{"shape":"ResoldBusiness"},
        "resoldEnterprise":{"shape":"ResoldEnterprise"},
        "partnerLedSupport":{"shape":"PartnerLedSupport"}
      },
      "union":true
    },
    "Tag":{
      "type":"structure",
      "required":[
        "key",
        "value"
      ],
      "members":{
        "key":{"shape":"TagKey"},
        "value":{"shape":"TagValue"}
      }
    },
    "TagKey":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"}
    },
    "TagList":{
      "type":"list",
      "member":{"shape":"Tag"}
    },
    "TagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tags"
      ],
      "members":{
        "resourceArn":{"shape":"TaggableArn"},
        "tags":{"shape":"TagList"}
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{}
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":0,
      "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
    },
    "TaggableArn":{
      "type":"string",
      "max":1011,
      "min":1,
      "pattern":"arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[a-zA-Z]+/(program-management-account/pma-[a-z0-9]{13}(/relationship/rs-[a-z0-9]{13})?|channel-handshake/ch-[a-z0-9]{13})"
    },
    "ThrottlingException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "serviceCode":{"shape":"String"},
        "quotaCode":{"shape":"String"}
      },
      "exception":true,
      "retryable":{"throttling":true}
    },
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tagKeys"
      ],
      "members":{
        "resourceArn":{"shape":"TaggableArn"},
        "tagKeys":{"shape":"TagKeyList"}
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{}
    },
    "UpdateProgramManagementAccountDetail":{
      "type":"structure",
      "members":{
        "id":{"shape":"ProgramManagementAccountId"},
        "arn":{"shape":"Arn"},
        "revision":{"shape":"Revision"},
        "displayName":{"shape":"ProgramManagementAccountDisplayName"}
      }
    },
    "UpdateProgramManagementAccountRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "identifier"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "identifier":{"shape":"ProgramManagementAccountIdentifier"},
        "revision":{"shape":"Revision"},
        "displayName":{"shape":"ProgramManagementAccountDisplayName"}
      }
    },
    "UpdateProgramManagementAccountResponse":{
      "type":"structure",
      "members":{
        "programManagementAccountDetail":{"shape":"UpdateProgramManagementAccountDetail"}
      }
    },
    "UpdateRelationshipDetail":{
      "type":"structure",
      "members":{
        "arn":{"shape":"Arn"},
        "id":{"shape":"RelationshipId"},
        "revision":{"shape":"Revision"},
        "displayName":{"shape":"RelationshipDisplayName"}
      }
    },
    "UpdateRelationshipRequest":{
      "type":"structure",
      "required":[
        "catalog",
        "identifier",
        "programManagementAccountIdentifier"
      ],
      "members":{
        "catalog":{"shape":"Catalog"},
        "identifier":{"shape":"RelationshipIdentifier"},
        "programManagementAccountIdentifier":{"shape":"ProgramManagementAccountIdentifier"},
        "revision":{"shape":"Revision"},
        "displayName":{"shape":"RelationshipDisplayName"},
        "requestedSupportPlan":{"shape":"SupportPlan"}
      }
    },
    "UpdateRelationshipResponse":{
      "type":"structure",
      "members":{
        "relationshipDetail":{"shape":"UpdateRelationshipDetail"}
      }
    },
    "ValidationException":{
      "type":"structure",
      "required":[
        "message",
        "reason"
      ],
      "members":{
        "message":{"shape":"String"},
        "reason":{"shape":"ValidationExceptionReason"},
        "fieldList":{"shape":"ValidationExceptionFieldList"}
      },
      "exception":true
    },
    "ValidationExceptionField":{
      "type":"structure",
      "required":[
        "name",
        "code",
        "message"
      ],
      "members":{
        "name":{"shape":"String"},
        "code":{"shape":"String"},
        "message":{"shape":"String"}
      }
    },
    "ValidationExceptionFieldList":{
      "type":"list",
      "member":{"shape":"ValidationExceptionField"}
    },
    "ValidationExceptionReason":{
      "type":"string",
      "enum":[
        "REQUEST_VALIDATION_FAILED",
        "BUSINESS_VALIDATION_FAILED"
      ]
    }
  }
}
