« blib/lib/Paws/AlexaForBusiness/Content.pm
↑ Summary
blib/lib/Paws/AlexaForBusiness/CreateAddressBookResponse.pm »
| 1 | |||
| 2 | package Paws::AlexaForBusiness::CreateAddressBook; | ||
| 3 | use Moose; | ||
| 4 | has ClientRequestToken => (is => 'ro', isa => 'Str'); | ||
| 5 | has Description => (is => 'ro', isa => 'Str'); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::Tag]'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateAddressBook'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::CreateAddressBookResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::AlexaForBusiness::CreateAddressBook - Arguments for method CreateAddressBook on L<Paws::AlexaForBusiness> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateAddressBook on the | ||
| 25 | L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class | ||
| 26 | as arguments to method CreateAddressBook. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAddressBook. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $a4b = Paws->service('AlexaForBusiness'); | ||
| 33 | my $CreateAddressBookResponse = $a4b->CreateAddressBook( | ||
| 34 | Name => 'MyAddressBookName', | ||
| 35 | ClientRequestToken => 'MyClientRequestToken', # OPTIONAL | ||
| 36 | Description => 'MyAddressBookDescription', # OPTIONAL | ||
| 37 | Tags => [ | ||
| 38 | { | ||
| 39 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 40 | Value => 'MyTagValue', # max: 256 | ||
| 41 | |||
| 42 | }, | ||
| 43 | ... | ||
| 44 | ], # OPTIONAL | ||
| 45 | ); | ||
| 46 | |||
| 47 | # Results: | ||
| 48 | my $AddressBookArn = $CreateAddressBookResponse->AddressBookArn; | ||
| 49 | |||
| 50 | # Returns a L<Paws::AlexaForBusiness::CreateAddressBookResponse> object. | ||
| 51 | |||
| 52 | 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. | ||
| 53 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a4b/CreateAddressBook> | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 ClientRequestToken => Str | ||
| 59 | |||
| 60 | A unique, user-specified identifier for the request that ensures | ||
| 61 | idempotency. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 Description => Str | ||
| 66 | |||
| 67 | The description of the address book. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 B<REQUIRED> Name => Str | ||
| 72 | |||
| 73 | The name of the address book. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 Tags => ArrayRef[L<Paws::AlexaForBusiness::Tag>] | ||
| 78 | |||
| 79 | The tags to be added to the specified resource. Do not provide system | ||
| 80 | tags. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head1 SEE ALSO | ||
| 86 | |||
| 87 | This class forms part of L<Paws>, documenting arguments for method CreateAddressBook in L<Paws::AlexaForBusiness> | ||
| 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 |