NAME

Paws::ApiGatewayV2::CreateDomainName - Arguments for method CreateDomainName on Paws::ApiGatewayV2

DESCRIPTION

This class represents the parameters used for calling the method CreateDomainName on the AmazonApiGatewayV2 service. Use the attributes of this class as arguments to method CreateDomainName.

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

SYNOPSIS

my $apigateway = Paws->service('ApiGatewayV2');
my $CreateDomainNameResponse = $apigateway->CreateDomainName(
  DomainName               => 'MyStringWithLengthBetween1And512',
  DomainNameConfigurations => [
    {
      ApiGatewayDomainName => 'My__string',                       # OPTIONAL
      CertificateArn       => 'MyArn',                            # OPTIONAL
      CertificateName      => 'MyStringWithLengthBetween1And128', # OPTIONAL
      CertificateUploadDate => '1970-01-01T01:00:00',             # OPTIONAL
      EndpointType => 'REGIONAL',      # values: REGIONAL, EDGE; OPTIONAL
      HostedZoneId => 'My__string',    # OPTIONAL
    },
    ...
  ],                                   # OPTIONAL
);

# Results:
my $ApiMappingSelectionExpression =
  $CreateDomainNameResponse->ApiMappingSelectionExpression;
my $DomainName = $CreateDomainNameResponse->DomainName;
my $DomainNameConfigurations =
  $CreateDomainNameResponse->DomainNameConfigurations;

# Returns a L<Paws::ApiGatewayV2::CreateDomainNameResponse> 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/apigateway/CreateDomainName

ATTRIBUTES

REQUIRED DomainName => Str

The domain name.

DomainNameConfigurations => ArrayRef[Paws::ApiGatewayV2::DomainNameConfiguration]

The domain name configurations.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDomainName in Paws::ApiGatewayV2

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