| 1 | |||
| 2 | package Paws::Chime::UpdateChannel; | ||
| 3 | use Moose; | ||
| 4 | has ChannelArn => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'channelArn', required => 1); | ||
| 5 | has ChimeBearer => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-chime-bearer'); | ||
| 6 | has Metadata => (is => 'ro', isa => 'Str'); | ||
| 7 | has Mode => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateChannel'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/channels/{channelArn}'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Chime::UpdateChannelResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::Chime::UpdateChannel - Arguments for method UpdateChannel on L<Paws::Chime> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateChannel on the | ||
| 27 | L<Amazon Chime|Paws::Chime> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateChannel. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateChannel. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $chime = Paws->service('Chime'); | ||
| 35 | my $UpdateChannelResponse = $chime->UpdateChannel( | ||
| 36 | ChannelArn => 'MyChimeArn', | ||
| 37 | Mode => 'UNRESTRICTED', | ||
| 38 | Name => 'MyNonEmptyResourceName', | ||
| 39 | ChimeBearer => 'MyChimeArn', # OPTIONAL | ||
| 40 | Metadata => 'MyMetadata', # OPTIONAL | ||
| 41 | ); | ||
| 42 | |||
| 43 | # Results: | ||
| 44 | my $ChannelArn = $UpdateChannelResponse->ChannelArn; | ||
| 45 | |||
| 46 | # Returns a L<Paws::Chime::UpdateChannelResponse> object. | ||
| 47 | |||
| 48 | 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. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/chime/UpdateChannel> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> ChannelArn => Str | ||
| 55 | |||
| 56 | The ARN of the channel. | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head2 ChimeBearer => Str | ||
| 61 | |||
| 62 | The C<AppInstanceUserArn> of the user that makes the API call. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 Metadata => Str | ||
| 67 | |||
| 68 | The metadata for the update request. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 B<REQUIRED> Mode => Str | ||
| 73 | |||
| 74 | The mode of the update request. | ||
| 75 | |||
| 76 | Valid values are: C<"UNRESTRICTED">, C<"RESTRICTED"> | ||
| 77 | |||
| 78 | =head2 B<REQUIRED> Name => Str | ||
| 79 | |||
| 80 | The name of the channel. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head1 SEE ALSO | ||
| 86 | |||
| 87 | This class forms part of L<Paws>, documenting arguments for method UpdateChannel in L<Paws::Chime> | ||
| 88 | |||
| 89 | =head1 BUGS and CONTRIBUTIONS | ||
| 90 | |||
| 91 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 92 | |||
| 93 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 94 | |||
| 95 | =cut | ||
| 96 |