The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::NetworkManager::CreateSite - Arguments for method CreateSite on Paws::NetworkManager

DESCRIPTION

This class represents the parameters used for calling the method CreateSite on the AWS Network Manager service. Use the attributes of this class as arguments to method CreateSite.

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

SYNOPSIS

    my $networkmanager = Paws->service('NetworkManager');
    my $CreateSiteResponse = $networkmanager->CreateSite(
      GlobalNetworkId => 'MyString',
      Description     => 'MyString',    # OPTIONAL
      Location        => {
        Address   => 'MyString',
        Latitude  => 'MyString',
        Longitude => 'MyString',
      },                                # OPTIONAL
      Tags => [
        {
          Key   => 'MyTagKey',      # OPTIONAL
          Value => 'MyTagValue',    # OPTIONAL
        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $Site = $CreateSiteResponse->Site;

    # Returns a L<Paws::NetworkManager::CreateSiteResponse> 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/networkmanager/CreateSite

ATTRIBUTES

Description => Str

A description of your site.

Length Constraints: Maximum length of 256 characters.

REQUIRED GlobalNetworkId => Str

The ID of the global network.

Location => Paws::NetworkManager::Location

The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

  • Address: The physical address of the site.

  • Latitude: The latitude of the site.

  • Longitude: The longitude of the site.

Tags => ArrayRef[Paws::NetworkManager::Tag]

The tags to apply to the resource during creation.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateSite in Paws::NetworkManager

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