« blib/lib/Paws/ApiGatewayV2/CreateDeploymentResponse.pm
↑ Summary
blib/lib/Paws/ApiGatewayV2/CreateDomainNameInput.pm »
| 1 | |||
| 2 | package Paws::ApiGatewayV2::CreateDomainName; | ||
| 3 | use Moose; | ||
| 4 | has DomainName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'domainName', required => 1); | ||
| 5 | has DomainNameConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::ApiGatewayV2::DomainNameConfiguration]', traits => ['NameInRequest'], request_name => 'domainNameConfigurations'); | ||
| 6 | has MutualTlsAuthentication => (is => 'ro', isa => 'Paws::ApiGatewayV2::MutualTlsAuthenticationInput', traits => ['NameInRequest'], request_name => 'mutualTlsAuthentication'); | ||
| 7 | has Tags => (is => 'ro', isa => 'Paws::ApiGatewayV2::Tags', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDomainName'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v2/domainnames'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGatewayV2::CreateDomainNameResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::ApiGatewayV2::CreateDomainName - Arguments for method CreateDomainName on L<Paws::ApiGatewayV2> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method CreateDomainName on the | ||
| 26 | L<AmazonApiGatewayV2|Paws::ApiGatewayV2> service. Use the attributes of this class | ||
| 27 | as arguments to method CreateDomainName. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDomainName. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $apigateway = Paws->service('ApiGatewayV2'); | ||
| 34 | my $CreateDomainNameResponse = $apigateway->CreateDomainName( | ||
| 35 | DomainName => 'MyStringWithLengthBetween1And512', | ||
| 36 | DomainNameConfigurations => [ | ||
| 37 | { | ||
| 38 | ApiGatewayDomainName => 'My__string', # OPTIONAL | ||
| 39 | CertificateArn => 'MyArn', # OPTIONAL | ||
| 40 | CertificateName => 'MyStringWithLengthBetween1And128', # OPTIONAL | ||
| 41 | CertificateUploadDate => '1970-01-01T01:00:00', # OPTIONAL | ||
| 42 | DomainNameStatus => | ||
| 43 | 'AVAILABLE', # values: AVAILABLE, UPDATING; OPTIONAL | ||
| 44 | DomainNameStatusMessage => 'My__string', # OPTIONAL | ||
| 45 | EndpointType => 'REGIONAL', # values: REGIONAL, EDGE; OPTIONAL | ||
| 46 | HostedZoneId => 'My__string', # OPTIONAL | ||
| 47 | SecurityPolicy => 'TLS_1_0', # values: TLS_1_0, TLS_1_2; OPTIONAL | ||
| 48 | }, | ||
| 49 | ... | ||
| 50 | ], # OPTIONAL | ||
| 51 | MutualTlsAuthentication => { | ||
| 52 | TruststoreUri => 'MyUriWithLengthBetween1And2048', # OPTIONAL | ||
| 53 | TruststoreVersion => 'MyStringWithLengthBetween1And64', # OPTIONAL | ||
| 54 | }, # OPTIONAL | ||
| 55 | Tags => { | ||
| 56 | 'My__string' => 'MyStringWithLengthBetween1And1600', # key: OPTIONAL | ||
| 57 | }, # OPTIONAL | ||
| 58 | ); | ||
| 59 | |||
| 60 | # Results: | ||
| 61 | my $ApiMappingSelectionExpression = | ||
| 62 | $CreateDomainNameResponse->ApiMappingSelectionExpression; | ||
| 63 | my $DomainName = $CreateDomainNameResponse->DomainName; | ||
| 64 | my $DomainNameConfigurations = | ||
| 65 | $CreateDomainNameResponse->DomainNameConfigurations; | ||
| 66 | my $MutualTlsAuthentication = | ||
| 67 | $CreateDomainNameResponse->MutualTlsAuthentication; | ||
| 68 | my $Tags = $CreateDomainNameResponse->Tags; | ||
| 69 | |||
| 70 | # Returns a L<Paws::ApiGatewayV2::CreateDomainNameResponse> object. | ||
| 71 | |||
| 72 | 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. | ||
| 73 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apigateway/CreateDomainName> | ||
| 74 | |||
| 75 | =head1 ATTRIBUTES | ||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> DomainName => Str | ||
| 79 | |||
| 80 | The domain name. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 DomainNameConfigurations => ArrayRef[L<Paws::ApiGatewayV2::DomainNameConfiguration>] | ||
| 85 | |||
| 86 | The domain name configurations. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 MutualTlsAuthentication => L<Paws::ApiGatewayV2::MutualTlsAuthenticationInput> | ||
| 91 | |||
| 92 | The mutual TLS authentication configuration for a custom domain name. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head2 Tags => L<Paws::ApiGatewayV2::Tags> | ||
| 97 | |||
| 98 | The collection of tags associated with a domain name. | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head1 SEE ALSO | ||
| 104 | |||
| 105 | This class forms part of L<Paws>, documenting arguments for method CreateDomainName in L<Paws::ApiGatewayV2> | ||
| 106 | |||
| 107 | =head1 BUGS and CONTRIBUTIONS | ||
| 108 | |||
| 109 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 110 | |||
| 111 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 112 | |||
| 113 | =cut | ||
| 114 |