Paws::Chime::SearchAvailablePhoneNumbers - Arguments for method SearchAvailablePhoneNumbers on Paws::Chime
This class represents the parameters used for calling the method SearchAvailablePhoneNumbers on the Amazon Chime service. Use the attributes of this class as arguments to method SearchAvailablePhoneNumbers.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SearchAvailablePhoneNumbers.
my $chime = Paws->service('Chime'); my $SearchAvailablePhoneNumbersResponse = $chime->SearchAvailablePhoneNumbers( AreaCode => 'MyString', # OPTIONAL City => 'MyString', # OPTIONAL Country => 'MyAlpha2CountryCode', # OPTIONAL MaxResults => 1, # OPTIONAL NextToken => 'MyString', # OPTIONAL PhoneNumberType => 'Local', # OPTIONAL State => 'MyString', # OPTIONAL TollFreePrefix => 'MyTollFreePrefix', # OPTIONAL ); # Results: my $E164PhoneNumbers = $SearchAvailablePhoneNumbersResponse->E164PhoneNumbers; my $NextToken = $SearchAvailablePhoneNumbersResponse->NextToken; # Returns a L<Paws::Chime::SearchAvailablePhoneNumbersResponse> 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/SearchAvailablePhoneNumbers
The area code used to filter results. Only applies to the US.
The city used to filter results. Only applies to the US.
The country used to filter results. Defaults to the US Format: ISO 3166-1 alpha-2.
The maximum number of results to return in a single call.
The token used to retrieve the next page of results.
The phone number type used to filter results. Required for non-US numbers.
Valid values are: "Local", "TollFree"
"Local"
"TollFree"
The state used to filter results. Required only if you provide City. Only applies to the US.
City
The toll-free prefix that you use to filter results. Only applies to the US.
This class forms part of Paws, documenting arguments for method SearchAvailablePhoneNumbers in Paws::Chime
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.