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::Greengrass::CreateSubscriptionDefinitionVersion - Arguments for method CreateSubscriptionDefinitionVersion on Paws::Greengrass

DESCRIPTION

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

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

SYNOPSIS

    my $greengrass = Paws->service('Greengrass');
    my $CreateSubscriptionDefinitionVersionResponse =
      $greengrass->CreateSubscriptionDefinitionVersion(
      SubscriptionDefinitionId => 'My__string',
      AmznClientToken          => 'My__string',    # OPTIONAL
      Subscriptions            => [
        {
          Id      => 'My__string',
          Source  => 'My__string',
          Subject => 'My__string',
          Target  => 'My__string',

        },
        ...
      ],                                           # OPTIONAL
      );

    # Results:
    my $Arn = $CreateSubscriptionDefinitionVersionResponse->Arn;
    my $CreationTimestamp =
      $CreateSubscriptionDefinitionVersionResponse->CreationTimestamp;
    my $Id      = $CreateSubscriptionDefinitionVersionResponse->Id;
    my $Version = $CreateSubscriptionDefinitionVersionResponse->Version;

# Returns a Paws::Greengrass::CreateSubscriptionDefinitionVersionResponse 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/greengrass/CreateSubscriptionDefinitionVersion

ATTRIBUTES

AmznClientToken => Str

A client token used to correlate requests and responses.

REQUIRED SubscriptionDefinitionId => Str

The ID of the subscription definition.

Subscriptions => ArrayRef[Paws::Greengrass::Subscription]

A list of subscriptions.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateSubscriptionDefinitionVersion in Paws::Greengrass

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