{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2022-05-13",
    "auth":["aws.auth#sigv4"],
    "endpointPrefix":"repostspace",
    "protocol":"rest-json",
    "protocols":["rest-json"],
    "serviceFullName":"AWS re:Post Private",
    "serviceId":"repostspace",
    "signatureVersion":"v4",
    "signingName":"repostspace",
    "uid":"repostspace-2022-05-13"
  },
  "operations":{
    "BatchAddChannelRoleToAccessors":{
      "name":"BatchAddChannelRoleToAccessors",
      "http":{
        "method":"POST",
        "requestUri":"/spaces/{spaceId}/channels/{channelId}/roles",
        "responseCode":200
      },
      "input":{"shape":"BatchAddChannelRoleToAccessorsInput"},
      "output":{"shape":"BatchAddChannelRoleToAccessorsOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "BatchAddRole":{
      "name":"BatchAddRole",
      "http":{
        "method":"POST",
        "requestUri":"/spaces/{spaceId}/roles",
        "responseCode":200
      },
      "input":{"shape":"BatchAddRoleInput"},
      "output":{"shape":"BatchAddRoleOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "BatchRemoveChannelRoleFromAccessors":{
      "name":"BatchRemoveChannelRoleFromAccessors",
      "http":{
        "method":"PATCH",
        "requestUri":"/spaces/{spaceId}/channels/{channelId}/roles",
        "responseCode":200
      },
      "input":{"shape":"BatchRemoveChannelRoleFromAccessorsInput"},
      "output":{"shape":"BatchRemoveChannelRoleFromAccessorsOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "BatchRemoveRole":{
      "name":"BatchRemoveRole",
      "http":{
        "method":"PATCH",
        "requestUri":"/spaces/{spaceId}/roles",
        "responseCode":200
      },
      "input":{"shape":"BatchRemoveRoleInput"},
      "output":{"shape":"BatchRemoveRoleOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "CreateChannel":{
      "name":"CreateChannel",
      "http":{
        "method":"POST",
        "requestUri":"/spaces/{spaceId}/channels",
        "responseCode":200
      },
      "input":{"shape":"CreateChannelInput"},
      "output":{"shape":"CreateChannelOutput"},
      "errors":[
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "CreateSpace":{
      "name":"CreateSpace",
      "http":{
        "method":"POST",
        "requestUri":"/spaces",
        "responseCode":200
      },
      "input":{"shape":"CreateSpaceInput"},
      "output":{"shape":"CreateSpaceOutput"},
      "errors":[
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "DeleteSpace":{
      "name":"DeleteSpace",
      "http":{
        "method":"DELETE",
        "requestUri":"/spaces/{spaceId}",
        "responseCode":200
      },
      "input":{"shape":"DeleteSpaceInput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "DeregisterAdmin":{
      "name":"DeregisterAdmin",
      "http":{
        "method":"DELETE",
        "requestUri":"/spaces/{spaceId}/admins/{adminId}",
        "responseCode":200
      },
      "input":{"shape":"DeregisterAdminInput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "GetChannel":{
      "name":"GetChannel",
      "http":{
        "method":"GET",
        "requestUri":"/spaces/{spaceId}/channels/{channelId}",
        "responseCode":200
      },
      "input":{"shape":"GetChannelInput"},
      "output":{"shape":"GetChannelOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ]
    },
    "GetSpace":{
      "name":"GetSpace",
      "http":{
        "method":"GET",
        "requestUri":"/spaces/{spaceId}",
        "responseCode":200
      },
      "input":{"shape":"GetSpaceInput"},
      "output":{"shape":"GetSpaceOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ]
    },
    "ListChannels":{
      "name":"ListChannels",
      "http":{
        "method":"GET",
        "requestUri":"/spaces/{spaceId}/channels",
        "responseCode":200
      },
      "input":{"shape":"ListChannelsInput"},
      "output":{"shape":"ListChannelsOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ]
    },
    "ListSpaces":{
      "name":"ListSpaces",
      "http":{
        "method":"GET",
        "requestUri":"/spaces",
        "responseCode":200
      },
      "input":{"shape":"ListSpacesInput"},
      "output":{"shape":"ListSpacesOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ]
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"GET",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"ListTagsForResourceRequest"},
      "output":{"shape":"ListTagsForResourceResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ]
    },
    "RegisterAdmin":{
      "name":"RegisterAdmin",
      "http":{
        "method":"POST",
        "requestUri":"/spaces/{spaceId}/admins/{adminId}",
        "responseCode":200
      },
      "input":{"shape":"RegisterAdminInput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "SendInvites":{
      "name":"SendInvites",
      "http":{
        "method":"POST",
        "requestUri":"/spaces/{spaceId}/invite",
        "responseCode":200
      },
      "input":{"shape":"SendInvitesInput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"TagResourceRequest"},
      "output":{"shape":"TagResourceResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"DELETE",
        "requestUri":"/tags/{resourceArn}",
        "responseCode":200
      },
      "input":{"shape":"UntagResourceRequest"},
      "output":{"shape":"UntagResourceResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "UpdateChannel":{
      "name":"UpdateChannel",
      "http":{
        "method":"PUT",
        "requestUri":"/spaces/{spaceId}/channels/{channelId}",
        "responseCode":200
      },
      "input":{"shape":"UpdateChannelInput"},
      "output":{"shape":"UpdateChannelOutput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    },
    "UpdateSpace":{
      "name":"UpdateSpace",
      "http":{
        "method":"PUT",
        "requestUri":"/spaces/{spaceId}",
        "responseCode":200
      },
      "input":{"shape":"UpdateSpaceInput"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "idempotent":true
    }
  },
  "shapes":{
    "AccessDeniedException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":403,
        "senderFault":true
      },
      "exception":true
    },
    "AccessorId":{"type":"string"},
    "AccessorIdList":{
      "type":"list",
      "member":{"shape":"AccessorId"},
      "max":1000,
      "min":0
    },
    "AdminId":{"type":"string"},
    "AllowedDomainsList":{
      "type":"list",
      "member":{"shape":"EmailDomain"},
      "max":10,
      "min":1
    },
    "Arn":{
      "type":"string",
      "max":2048,
      "min":20
    },
    "BatchAddChannelRoleToAccessorsInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "channelId",
        "accessorIds",
        "channelRole"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "channelId":{
          "shape":"ChannelId",
          "location":"uri",
          "locationName":"channelId"
        },
        "accessorIds":{"shape":"AccessorIdList"},
        "channelRole":{"shape":"ChannelRole"}
      }
    },
    "BatchAddChannelRoleToAccessorsOutput":{
      "type":"structure",
      "required":[
        "addedAccessorIds",
        "errors"
      ],
      "members":{
        "addedAccessorIds":{"shape":"AccessorIdList"},
        "errors":{"shape":"BatchErrorList"}
      }
    },
    "BatchAddRoleInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "accessorIds",
        "role"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "accessorIds":{"shape":"AccessorIdList"},
        "role":{"shape":"Role"}
      }
    },
    "BatchAddRoleOutput":{
      "type":"structure",
      "required":[
        "addedAccessorIds",
        "errors"
      ],
      "members":{
        "addedAccessorIds":{"shape":"AccessorIdList"},
        "errors":{"shape":"BatchErrorList"}
      }
    },
    "BatchError":{
      "type":"structure",
      "required":[
        "accessorId",
        "error",
        "message"
      ],
      "members":{
        "accessorId":{"shape":"AccessorId"},
        "error":{"shape":"ErrorCode"},
        "message":{"shape":"ErrorMessage"}
      }
    },
    "BatchErrorList":{
      "type":"list",
      "member":{"shape":"BatchError"}
    },
    "BatchRemoveChannelRoleFromAccessorsInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "channelId",
        "accessorIds",
        "channelRole"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "channelId":{
          "shape":"ChannelId",
          "location":"uri",
          "locationName":"channelId"
        },
        "accessorIds":{"shape":"AccessorIdList"},
        "channelRole":{"shape":"ChannelRole"}
      }
    },
    "BatchRemoveChannelRoleFromAccessorsOutput":{
      "type":"structure",
      "required":[
        "removedAccessorIds",
        "errors"
      ],
      "members":{
        "removedAccessorIds":{"shape":"AccessorIdList"},
        "errors":{"shape":"BatchErrorList"}
      }
    },
    "BatchRemoveRoleInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "accessorIds",
        "role"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "accessorIds":{"shape":"AccessorIdList"},
        "role":{"shape":"Role"}
      }
    },
    "BatchRemoveRoleOutput":{
      "type":"structure",
      "required":[
        "removedAccessorIds",
        "errors"
      ],
      "members":{
        "removedAccessorIds":{"shape":"AccessorIdList"},
        "errors":{"shape":"BatchErrorList"}
      }
    },
    "ChannelData":{
      "type":"structure",
      "required":[
        "spaceId",
        "channelId",
        "channelName",
        "createDateTime",
        "channelStatus",
        "userCount",
        "groupCount"
      ],
      "members":{
        "spaceId":{"shape":"SpaceId"},
        "channelId":{"shape":"ChannelId"},
        "channelName":{"shape":"ChannelName"},
        "channelDescription":{"shape":"ChannelDescription"},
        "createDateTime":{"shape":"SyntheticTimestamp_date_time"},
        "deleteDateTime":{"shape":"SyntheticTimestamp_date_time"},
        "channelStatus":{"shape":"ChannelStatus"},
        "userCount":{"shape":"UserCount"},
        "groupCount":{"shape":"GroupCount"}
      }
    },
    "ChannelDescription":{
      "type":"string",
      "max":255,
      "min":1,
      "sensitive":true
    },
    "ChannelId":{
      "type":"string",
      "max":24,
      "min":24
    },
    "ChannelName":{
      "type":"string",
      "max":64,
      "min":1,
      "sensitive":true
    },
    "ChannelRole":{
      "type":"string",
      "enum":[
        "ASKER",
        "EXPERT",
        "MODERATOR",
        "SUPPORTREQUESTOR"
      ]
    },
    "ChannelRoleList":{
      "type":"list",
      "member":{"shape":"ChannelRole"}
    },
    "ChannelRoles":{
      "type":"map",
      "key":{"shape":"AccessorId"},
      "value":{"shape":"ChannelRoleList"}
    },
    "ChannelStatus":{
      "type":"string",
      "enum":[
        "CREATED",
        "CREATING",
        "CREATE_FAILED",
        "DELETED",
        "DELETING",
        "DELETE_FAILED"
      ]
    },
    "ChannelsList":{
      "type":"list",
      "member":{"shape":"ChannelData"}
    },
    "ClientId":{"type":"string"},
    "ConfigurationStatus":{
      "type":"string",
      "enum":[
        "CONFIGURED",
        "UNCONFIGURED"
      ]
    },
    "ConflictException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":409,
        "senderFault":true
      },
      "exception":true
    },
    "ContentSize":{
      "type":"long",
      "box":true
    },
    "CreateChannelInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "channelName"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "channelName":{"shape":"ChannelName"},
        "channelDescription":{"shape":"ChannelDescription"}
      }
    },
    "CreateChannelOutput":{
      "type":"structure",
      "required":["channelId"],
      "members":{
        "channelId":{"shape":"ChannelId"}
      }
    },
    "CreateSpaceInput":{
      "type":"structure",
      "required":[
        "name",
        "subdomain",
        "tier"
      ],
      "members":{
        "name":{"shape":"SpaceName"},
        "subdomain":{"shape":"SpaceSubdomain"},
        "tier":{"shape":"TierLevel"},
        "description":{"shape":"SpaceDescription"},
        "userKMSKey":{"shape":"KMSKey"},
        "tags":{"shape":"Tags"},
        "roleArn":{"shape":"Arn"},
        "supportedEmailDomains":{"shape":"SupportedEmailDomainsParameters"}
      }
    },
    "CreateSpaceOutput":{
      "type":"structure",
      "required":["spaceId"],
      "members":{
        "spaceId":{"shape":"SpaceId"}
      }
    },
    "DeleteSpaceInput":{
      "type":"structure",
      "required":["spaceId"],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        }
      }
    },
    "DeregisterAdminInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "adminId"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "adminId":{
          "shape":"AdminId",
          "location":"uri",
          "locationName":"adminId"
        }
      }
    },
    "EmailDomain":{
      "type":"string",
      "max":255,
      "min":1,
      "sensitive":true
    },
    "ErrorCode":{
      "type":"integer",
      "box":true
    },
    "ErrorMessage":{"type":"string"},
    "FeatureEnableParameter":{
      "type":"string",
      "enum":[
        "ENABLED",
        "DISABLED"
      ]
    },
    "FeatureEnableStatus":{
      "type":"string",
      "enum":[
        "ENABLED",
        "DISABLED",
        "NOT_ALLOWED"
      ]
    },
    "GetChannelInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "channelId"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "channelId":{
          "shape":"ChannelId",
          "location":"uri",
          "locationName":"channelId"
        }
      }
    },
    "GetChannelOutput":{
      "type":"structure",
      "required":[
        "spaceId",
        "channelId",
        "channelName",
        "createDateTime",
        "channelStatus"
      ],
      "members":{
        "spaceId":{"shape":"SpaceId"},
        "channelId":{"shape":"ChannelId"},
        "channelName":{"shape":"ChannelName"},
        "channelDescription":{"shape":"ChannelDescription"},
        "createDateTime":{"shape":"SyntheticTimestamp_date_time"},
        "deleteDateTime":{"shape":"SyntheticTimestamp_date_time"},
        "channelRoles":{"shape":"ChannelRoles"},
        "channelStatus":{"shape":"ChannelStatus"}
      }
    },
    "GetSpaceInput":{
      "type":"structure",
      "required":["spaceId"],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        }
      }
    },
    "GetSpaceOutput":{
      "type":"structure",
      "required":[
        "spaceId",
        "arn",
        "name",
        "status",
        "configurationStatus",
        "clientId",
        "vanityDomainStatus",
        "vanityDomain",
        "randomDomain",
        "createDateTime",
        "tier",
        "storageLimit"
      ],
      "members":{
        "spaceId":{"shape":"SpaceId"},
        "arn":{"shape":"Arn"},
        "name":{"shape":"SpaceName"},
        "status":{"shape":"ProvisioningStatus"},
        "configurationStatus":{"shape":"ConfigurationStatus"},
        "clientId":{"shape":"ClientId"},
        "identityStoreId":{"shape":"IdentityStoreId"},
        "applicationArn":{"shape":"Arn"},
        "description":{"shape":"SpaceDescription"},
        "vanityDomainStatus":{"shape":"VanityDomainStatus"},
        "vanityDomain":{"shape":"Url"},
        "randomDomain":{"shape":"Url"},
        "customerRoleArn":{"shape":"Arn"},
        "createDateTime":{"shape":"SyntheticTimestamp_date_time"},
        "deleteDateTime":{"shape":"SyntheticTimestamp_date_time"},
        "tier":{"shape":"TierLevel"},
        "storageLimit":{"shape":"StorageLimit"},
        "userAdmins":{
          "shape":"UserAdmins",
          "deprecated":true,
          "deprecatedMessage":"This property has been depracted and will be replaced by the roles property."
        },
        "groupAdmins":{
          "shape":"GroupAdmins",
          "deprecated":true,
          "deprecatedMessage":"This property has been depracted and will be replaced by the roles property."
        },
        "roles":{"shape":"Roles"},
        "userKMSKey":{"shape":"KMSKey"},
        "userCount":{"shape":"UserCount"},
        "contentSize":{"shape":"ContentSize"},
        "supportedEmailDomains":{"shape":"SupportedEmailDomainsStatus"}
      }
    },
    "GroupAdmins":{
      "type":"list",
      "member":{"shape":"AdminId"}
    },
    "GroupCount":{
      "type":"integer",
      "box":true
    },
    "IdentityStoreId":{"type":"string"},
    "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}
    },
    "InviteBody":{
      "type":"string",
      "max":600,
      "min":1,
      "sensitive":true
    },
    "InviteTitle":{
      "type":"string",
      "max":200,
      "min":1,
      "sensitive":true
    },
    "KMSKey":{"type":"string"},
    "ListChannelsInput":{
      "type":"structure",
      "required":["spaceId"],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "nextToken":{
          "shape":"String",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "maxResults":{
          "shape":"ListChannelsLimit",
          "location":"querystring",
          "locationName":"maxResults"
        }
      }
    },
    "ListChannelsLimit":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListChannelsOutput":{
      "type":"structure",
      "required":["channels"],
      "members":{
        "channels":{"shape":"ChannelsList"},
        "nextToken":{"shape":"String"}
      }
    },
    "ListSpacesInput":{
      "type":"structure",
      "members":{
        "nextToken":{
          "shape":"String",
          "location":"querystring",
          "locationName":"nextToken"
        },
        "maxResults":{
          "shape":"ListSpacesLimit",
          "location":"querystring",
          "locationName":"maxResults"
        }
      }
    },
    "ListSpacesLimit":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "ListSpacesOutput":{
      "type":"structure",
      "required":["spaces"],
      "members":{
        "spaces":{"shape":"SpacesList"},
        "nextToken":{"shape":"String"}
      }
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{
          "shape":"Arn",
          "location":"uri",
          "locationName":"resourceArn"
        }
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "tags":{"shape":"Tags"}
      }
    },
    "ProvisioningStatus":{
      "type":"string",
      "max":30,
      "min":1
    },
    "RegisterAdminInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "adminId"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "adminId":{
          "shape":"AdminId",
          "location":"uri",
          "locationName":"adminId"
        }
      }
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{"shape":"String"},
        "resourceType":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "Role":{
      "type":"string",
      "enum":[
        "EXPERT",
        "MODERATOR",
        "ADMINISTRATOR",
        "SUPPORTREQUESTOR"
      ]
    },
    "RoleList":{
      "type":"list",
      "member":{"shape":"Role"}
    },
    "Roles":{
      "type":"map",
      "key":{"shape":"AccessorId"},
      "value":{"shape":"RoleList"}
    },
    "SendInvitesInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "accessorIds",
        "title",
        "body"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "accessorIds":{"shape":"AccessorIdList"},
        "title":{"shape":"InviteTitle"},
        "body":{"shape":"InviteBody"}
      }
    },
    "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
    },
    "SpaceData":{
      "type":"structure",
      "required":[
        "spaceId",
        "arn",
        "name",
        "status",
        "configurationStatus",
        "vanityDomainStatus",
        "vanityDomain",
        "randomDomain",
        "tier",
        "storageLimit",
        "createDateTime"
      ],
      "members":{
        "spaceId":{"shape":"SpaceId"},
        "arn":{"shape":"Arn"},
        "name":{"shape":"SpaceName"},
        "description":{"shape":"SpaceDescription"},
        "status":{"shape":"ProvisioningStatus"},
        "configurationStatus":{"shape":"ConfigurationStatus"},
        "vanityDomainStatus":{"shape":"VanityDomainStatus"},
        "vanityDomain":{"shape":"Url"},
        "randomDomain":{"shape":"Url"},
        "tier":{"shape":"TierLevel"},
        "storageLimit":{"shape":"StorageLimit"},
        "createDateTime":{"shape":"SyntheticTimestamp_date_time"},
        "deleteDateTime":{"shape":"SyntheticTimestamp_date_time"},
        "userKMSKey":{"shape":"KMSKey"},
        "userCount":{"shape":"UserCount"},
        "contentSize":{"shape":"ContentSize"},
        "supportedEmailDomains":{"shape":"SupportedEmailDomainsStatus"}
      }
    },
    "SpaceDescription":{
      "type":"string",
      "max":255,
      "min":1,
      "sensitive":true
    },
    "SpaceId":{"type":"string"},
    "SpaceName":{
      "type":"string",
      "max":30,
      "min":1,
      "sensitive":true
    },
    "SpaceSubdomain":{
      "type":"string",
      "max":63,
      "min":1
    },
    "SpacesList":{
      "type":"list",
      "member":{"shape":"SpaceData"}
    },
    "StorageLimit":{
      "type":"long",
      "box":true
    },
    "String":{"type":"string"},
    "SupportedEmailDomainsParameters":{
      "type":"structure",
      "members":{
        "enabled":{"shape":"FeatureEnableParameter"},
        "allowedDomains":{"shape":"AllowedDomainsList"}
      }
    },
    "SupportedEmailDomainsStatus":{
      "type":"structure",
      "members":{
        "enabled":{"shape":"FeatureEnableStatus"},
        "allowedDomains":{"shape":"AllowedDomainsList"}
      }
    },
    "SyntheticTimestamp_date_time":{
      "type":"timestamp",
      "timestampFormat":"iso8601"
    },
    "TagKey":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"(?!aws:)[a-zA-Z+-=._:/]+"
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"},
      "max":50,
      "min":1
    },
    "TagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tags"
      ],
      "members":{
        "resourceArn":{
          "shape":"Arn",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tags":{"shape":"Tags"}
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":1
    },
    "Tags":{
      "type":"map",
      "key":{"shape":"TagKey"},
      "value":{"shape":"TagValue"},
      "sensitive":true
    },
    "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}
    },
    "TierLevel":{
      "type":"string",
      "enum":[
        "BASIC",
        "STANDARD"
      ]
    },
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tagKeys"
      ],
      "members":{
        "resourceArn":{
          "shape":"Arn",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tagKeys":{
          "shape":"TagKeyList",
          "location":"querystring",
          "locationName":"tagKeys"
        }
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateChannelInput":{
      "type":"structure",
      "required":[
        "spaceId",
        "channelId",
        "channelName"
      ],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "channelId":{
          "shape":"ChannelId",
          "location":"uri",
          "locationName":"channelId"
        },
        "channelName":{"shape":"ChannelName"},
        "channelDescription":{"shape":"ChannelDescription"}
      }
    },
    "UpdateChannelOutput":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateSpaceInput":{
      "type":"structure",
      "required":["spaceId"],
      "members":{
        "spaceId":{
          "shape":"SpaceId",
          "location":"uri",
          "locationName":"spaceId"
        },
        "description":{"shape":"SpaceDescription"},
        "tier":{"shape":"TierLevel"},
        "roleArn":{"shape":"Arn"},
        "supportedEmailDomains":{"shape":"SupportedEmailDomainsParameters"}
      }
    },
    "Url":{"type":"string"},
    "UserAdmins":{
      "type":"list",
      "member":{"shape":"AdminId"}
    },
    "UserCount":{
      "type":"integer",
      "box":true
    },
    "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",
        "other"
      ]
    },
    "VanityDomainStatus":{
      "type":"string",
      "enum":[
        "PENDING",
        "APPROVED",
        "UNAPPROVED"
      ]
    }
  }
}
