AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetConnectionInput

import "github.com/aws/aws-sdk-go/service/glue"

type GetConnectionInput struct { CatalogId *string `min:"1" type:"string"` HidePassword *bool `type:"boolean"` Name *string `min:"1" type:"string" required:"true"` }

CatalogId

Type: *string

The ID of the Data Catalog in which the connection resides. If none is provided, the AWS account ID is used by default.

HidePassword

Type: *bool

Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the AWS KMS key to decrypt the password, but does have permission to access the rest of the connection properties.

Name

Type: *string

The name of the connection definition to retrieve.

Name is a required field

Method

GoString

func (s GetConnectionInput) GoString() string

GoString returns the string representation

SetCatalogId

func (s *GetConnectionInput) SetCatalogId(v string) *GetConnectionInput

SetCatalogId sets the CatalogId field's value.

SetHidePassword

func (s *GetConnectionInput) SetHidePassword(v bool) *GetConnectionInput

SetHidePassword sets the HidePassword field's value.

SetName

func (s *GetConnectionInput) SetName(v string) *GetConnectionInput

SetName sets the Name field's value.

String

func (s GetConnectionInput) String() string

String returns the string representation

Validate

func (s *GetConnectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: