Class: Aws::EventBridge::Types::UpdateConnectionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb

Overview

Note:

When making an API call, you may pass UpdateConnectionRequest data as a hash:

{
  name: "ConnectionName", # required
  description: "ConnectionDescription",
  authorization_type: "BASIC", # accepts BASIC, OAUTH_CLIENT_CREDENTIALS, API_KEY
  auth_parameters: {
    basic_auth_parameters: {
      username: "AuthHeaderParameters",
      password: "AuthHeaderParameters",
    },
    o_auth_parameters: {
      client_parameters: {
        client_id: "AuthHeaderParameters",
        client_secret: "AuthHeaderParameters",
      },
      authorization_endpoint: "HttpsEndpoint",
      http_method: "GET", # accepts GET, POST, PUT
      o_auth_http_parameters: {
        header_parameters: [
          {
            key: "HeaderKey",
            value: "HeaderValue",
            is_value_secret: false,
          },
        ],
        query_string_parameters: [
          {
            key: "QueryStringKey",
            value: "QueryStringValue",
            is_value_secret: false,
          },
        ],
        body_parameters: [
          {
            key: "String",
            value: "String",
            is_value_secret: false,
          },
        ],
      },
    },
    api_key_auth_parameters: {
      api_key_name: "AuthHeaderParameters",
      api_key_value: "AuthHeaderParameters",
    },
    invocation_http_parameters: {
      header_parameters: [
        {
          key: "HeaderKey",
          value: "HeaderValue",
          is_value_secret: false,
        },
      ],
      query_string_parameters: [
        {
          key: "QueryStringKey",
          value: "QueryStringValue",
          is_value_secret: false,
        },
      ],
      body_parameters: [
        {
          key: "String",
          value: "String",
          is_value_secret: false,
        },
      ],
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auth_parametersTypes::UpdateConnectionAuthRequestParameters

The authorization parameters to use for the connection.



6318
6319
6320
6321
6322
6323
6324
6325
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 6318

class UpdateConnectionRequest < Struct.new(
  :name,
  :description,
  :authorization_type,
  :auth_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#authorization_typeString

The type of authorization to use for the connection.

Returns:

  • (String)


6318
6319
6320
6321
6322
6323
6324
6325
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 6318

class UpdateConnectionRequest < Struct.new(
  :name,
  :description,
  :authorization_type,
  :auth_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the connection.

Returns:

  • (String)


6318
6319
6320
6321
6322
6323
6324
6325
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 6318

class UpdateConnectionRequest < Struct.new(
  :name,
  :description,
  :authorization_type,
  :auth_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the connection to update.

Returns:

  • (String)


6318
6319
6320
6321
6322
6323
6324
6325
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 6318

class UpdateConnectionRequest < Struct.new(
  :name,
  :description,
  :authorization_type,
  :auth_parameters)
  SENSITIVE = []
  include Aws::Structure
end