NAME

Paws::CloudWatchEvents::UpdateConnection - Arguments for method UpdateConnection on Paws::CloudWatchEvents

DESCRIPTION

This class represents the parameters used for calling the method UpdateConnection on the Amazon EventBridge service. Use the attributes of this class as arguments to method UpdateConnection.

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

SYNOPSIS

my $events = Paws->service('CloudWatchEvents');
my $UpdateConnectionResponse = $events->UpdateConnection(
  Name           => 'MyConnectionName',
  AuthParameters => {
    ApiKeyAuthParameters => {
      ApiKeyName  => 'MyAuthHeaderParameters',  # min: 1, max: 512; OPTIONAL
      ApiKeyValue => 'MyAuthHeaderParameters',  # min: 1, max: 512; OPTIONAL
    },    # OPTIONAL
    BasicAuthParameters => {
      Password => 'MyAuthHeaderParameters',    # min: 1, max: 512; OPTIONAL
      Username => 'MyAuthHeaderParameters',    # min: 1, max: 512; OPTIONAL
    },    # OPTIONAL
    InvocationHttpParameters => {
      BodyParameters => [
        {
          IsValueSecret => 1,             # OPTIONAL
          Key           => 'MyString',    # OPTIONAL
          Value         => 'MyString',    # OPTIONAL
        },
        ...
      ],    # max: 100; OPTIONAL
      HeaderParameters => [
        {
          IsValueSecret => 1,                  # OPTIONAL
          Key           => 'MyHeaderKey',      # max: 512; OPTIONAL
          Value         => 'MyHeaderValue',    # max: 512; OPTIONAL
        },
        ...
      ],    # max: 100; OPTIONAL
      QueryStringParameters => [
        {
          IsValueSecret => 1,                       # OPTIONAL
          Key           => 'MyQueryStringKey',      # max: 512; OPTIONAL
          Value         => 'MyQueryStringValue',    # max: 512; OPTIONAL
        },
        ...
      ],    # max: 100; OPTIONAL
    },    # OPTIONAL
    OAuthParameters => {
      AuthorizationEndpoint =>
        'MyHttpsEndpoint',    # min: 1, max: 2048; OPTIONAL
      ClientParameters => {
        ClientID => 'MyAuthHeaderParameters',   # min: 1, max: 512; OPTIONAL
        ClientSecret =>
          'MyAuthHeaderParameters',             # min: 1, max: 512; OPTIONAL
      },    # OPTIONAL
      HttpMethod          => 'GET',    # values: GET, POST, PUT; OPTIONAL
      OAuthHttpParameters => {
        BodyParameters => [
          {
            IsValueSecret => 1,             # OPTIONAL
            Key           => 'MyString',    # OPTIONAL
            Value         => 'MyString',    # OPTIONAL
          },
          ...
        ],    # max: 100; OPTIONAL
        HeaderParameters => [
          {
            IsValueSecret => 1,                  # OPTIONAL
            Key           => 'MyHeaderKey',      # max: 512; OPTIONAL
            Value         => 'MyHeaderValue',    # max: 512; OPTIONAL
          },
          ...
        ],    # max: 100; OPTIONAL
        QueryStringParameters => [
          {
            IsValueSecret => 1,                       # OPTIONAL
            Key           => 'MyQueryStringKey',      # max: 512; OPTIONAL
            Value         => 'MyQueryStringValue',    # max: 512; OPTIONAL
          },
          ...
        ],    # max: 100; OPTIONAL
      },    # OPTIONAL
    },    # OPTIONAL
  },    # OPTIONAL
  AuthorizationType => 'BASIC',                      # OPTIONAL
  Description       => 'MyConnectionDescription',    # OPTIONAL
);

# Results:
my $ConnectionArn      = $UpdateConnectionResponse->ConnectionArn;
my $ConnectionState    = $UpdateConnectionResponse->ConnectionState;
my $CreationTime       = $UpdateConnectionResponse->CreationTime;
my $LastAuthorizedTime = $UpdateConnectionResponse->LastAuthorizedTime;
my $LastModifiedTime   = $UpdateConnectionResponse->LastModifiedTime;

# Returns a L<Paws::CloudWatchEvents::UpdateConnectionResponse> 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/events/UpdateConnection

ATTRIBUTES

AuthorizationType => Str

The type of authorization to use for the connection.

Valid values are: "BASIC", "OAUTH_CLIENT_CREDENTIALS", "API_KEY"

AuthParameters => Paws::CloudWatchEvents::UpdateConnectionAuthRequestParameters

The authorization parameters to use for the connection.

Description => Str

A description for the connection.

REQUIRED Name => Str

The name of the connection to update.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateConnection in Paws::CloudWatchEvents

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