Class: Aws::EventBridge::Types::UpdateConnectionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EventBridge::Types::UpdateConnectionRequest
- 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
-
#auth_parameters ⇒ Types::UpdateConnectionAuthRequestParameters
The authorization parameters to use for the connection.
-
#authorization_type ⇒ String
The type of authorization to use for the connection.
-
#description ⇒ String
A description for the connection.
-
#name ⇒ String
The name of the connection to update.
Instance Attribute Details
#auth_parameters ⇒ Types::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_type ⇒ String
The type of authorization 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 |
#description ⇒ String
A description 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 |
#name ⇒ String
The name of the connection to update.
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 |