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::Config::PutStoredQuery - Arguments for method PutStoredQuery on Paws::Config

DESCRIPTION

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

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

SYNOPSIS

    my $config = Paws->service('Config');
    my $PutStoredQueryResponse = $config->PutStoredQuery(
      StoredQuery => {
        QueryName   => 'MyQueryName',           # min: 1, max: 64
        Description => 'MyQueryDescription',    # max: 256; OPTIONAL
        Expression  => 'MyQueryExpression',     # min: 1, max: 4096; OPTIONAL
        QueryArn    => 'MyQueryArn',            # min: 1, max: 500; OPTIONAL
        QueryId     => 'MyQueryId',             # min: 1, max: 36; OPTIONAL
      },
      Tags => [
        {
          Key   => 'MyTagKey',                  # min: 1, max: 128; OPTIONAL
          Value => 'MyTagValue',                # max: 256; OPTIONAL
        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $QueryArn = $PutStoredQueryResponse->QueryArn;

    # Returns a L<Paws::Config::PutStoredQueryResponse> 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/config/PutStoredQuery

ATTRIBUTES

REQUIRED StoredQuery => Paws::Config::StoredQuery

A list of StoredQuery objects. The mandatory fields are QueryName and Expression.

When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.

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

A list of Tags object.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutStoredQuery in Paws::Config

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