create_channel
¶
create_channel(
space_id: SpaceId,
channel_name: ChannelName,
*,
config_overrides: Optional[repostspaceClientConfig] = None,
channel_description: Optional[ChannelDescription] = None,
) -> CreateChannelOutput
Creates a channel in an AWS re:Post Private private re:Post.
Parameters:
-
space_id(SpaceId) –The unique ID of the private re:Post.
-
channel_name(ChannelName) –The name for the channel. This must be unique per private re:Post.
-
channel_description(Optional[ChannelDescription], default:None) –A description for the channel. This is used only to help you identify this channel.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
CreateChannel
>>> client.create_channel(space_id='SP1234567890abcdefghijkl', channel_name='My First Channel', channel_description='Useful channel description')