The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::IoTWireless::CreateWirelessGatewayTaskDefinition - Arguments for method CreateWirelessGatewayTaskDefinition on Paws::IoTWireless

DESCRIPTION

This class represents the parameters used for calling the method CreateWirelessGatewayTaskDefinition on the AWS IoT Wireless service. Use the attributes of this class as arguments to method CreateWirelessGatewayTaskDefinition.

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

SYNOPSIS

    my $api.iotwireless = Paws->service('IoTWireless');
    my $CreateWirelessGatewayTaskDefinitionResponse =
      $api . iotwireless->CreateWirelessGatewayTaskDefinition(
      AutoCreateTasks    => 1,
      ClientRequestToken => 'MyClientRequestToken',         # OPTIONAL
      Name               => 'MyWirelessGatewayTaskName',    # OPTIONAL
      Tags               => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256

        },
        ...
      ],    # OPTIONAL
      Update => {
        LoRaWAN => {
          CurrentVersion => {
            Model          => 'MyModel',           # min: 1, max: 4096; OPTIONAL
            PackageVersion => 'MyPackageVersion',  # min: 1, max: 32; OPTIONAL
            Station        => 'MyStation',         # min: 1, max: 4096; OPTIONAL
          },    # OPTIONAL
          SigKeyCrc       => 1,    # min: 1, max: 4294967295; OPTIONAL
          UpdateSignature => 'MyUpdateSignature',  # min: 1, max: 4096; OPTIONAL
          UpdateVersion   => {
            Model          => 'MyModel',           # min: 1, max: 4096; OPTIONAL
            PackageVersion => 'MyPackageVersion',  # min: 1, max: 32; OPTIONAL
            Station        => 'MyStation',         # min: 1, max: 4096; OPTIONAL
          },    # OPTIONAL
        },    # OPTIONAL
        UpdateDataRole   => 'MyUpdateDataSource',  # min: 1, max: 4096; OPTIONAL
        UpdateDataSource => 'MyUpdateDataSource',  # min: 1, max: 4096; OPTIONAL
      },    # OPTIONAL
      );

    # Results:
    my $Arn = $CreateWirelessGatewayTaskDefinitionResponse->Arn;
    my $Id  = $CreateWirelessGatewayTaskDefinitionResponse->Id;

# Returns a Paws::IoTWireless::CreateWirelessGatewayTaskDefinitionResponse 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/api.iotwireless/CreateWirelessGatewayTaskDefinition

ATTRIBUTES

REQUIRED AutoCreateTasks => Bool

Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.

ClientRequestToken => Str

Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

Name => Str

The name of the new resource.

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

The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.

Update => Paws::IoTWireless::UpdateWirelessGatewayTaskCreate

Information about the gateways to update.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateWirelessGatewayTaskDefinition in Paws::IoTWireless

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