The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Chime::CreateChannel - Arguments for method CreateChannel on Paws::Chime

DESCRIPTION

This class represents the parameters used for calling the method CreateChannel on the Amazon Chime service. Use the attributes of this class as arguments to method CreateChannel.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateChannel.

SYNOPSIS

    my $chime = Paws->service('Chime');
    my $CreateChannelResponse = $chime->CreateChannel(
      AppInstanceArn     => 'MyChimeArn',
      ClientRequestToken => 'MyClientRequestToken',
      Name               => 'MyNonEmptyResourceName',
      ChimeBearer        => 'MyChimeArn',               # OPTIONAL
      Metadata           => 'MyMetadata',               # OPTIONAL
      Mode               => 'UNRESTRICTED',             # OPTIONAL
      Privacy            => 'PUBLIC',                   # OPTIONAL
      Tags               => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # min: 1, max: 256

        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $ChannelArn = $CreateChannelResponse->ChannelArn;

    # Returns a L<Paws::Chime::CreateChannelResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/chime/CreateChannel

ATTRIBUTES

REQUIRED AppInstanceArn => Str

The ARN of the channel request.

ChimeBearer => Str

The AppInstanceUserArn of the user that makes the API call.

REQUIRED ClientRequestToken => Str

The client token for the request. An Idempotency token.

Metadata => Str

The metadata of the creation request. Limited to 1KB and UTF-8.

Mode => Str

The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.

Valid values are: "UNRESTRICTED", "RESTRICTED"

REQUIRED Name => Str

The name of the channel.

Privacy => Str

The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance.

Valid values are: "PUBLIC", "PRIVATE"

Tags => ArrayRef[Paws::Chime::Tag]

The tags for the creation request.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateChannel in Paws::Chime

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues