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.

GetConnectionsInput

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

type GetConnectionsInput struct { CatalogId *string `min:"1" type:"string"` Filter *GetConnectionsFilter `type:"structure"` HidePassword *bool `type:"boolean"` MaxResults *int64 `min:"1" type:"integer"` NextToken *string `type:"string"` }

CatalogId

Type: *string

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

Filter

Filters the connection definitions that are returned by the GetConnections API operation.

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.

MaxResults

Type: *int64

The maximum number of connections to return in one response.

NextToken

Type: *string

A continuation token, if this is a continuation call.

Method

GoString

func (s GetConnectionsInput) GoString() string

GoString returns the string representation

SetCatalogId

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

SetCatalogId sets the CatalogId field's value.

SetFilter

func (s *GetConnectionsInput) SetFilter(v *GetConnectionsFilter) *GetConnectionsInput

SetFilter sets the Filter field's value.

SetHidePassword

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

SetHidePassword sets the HidePassword field's value.

SetMaxResults

func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput

SetNextToken sets the NextToken field's value.

String

func (s GetConnectionsInput) String() string

String returns the string representation

Validate

func (s *GetConnectionsInput) Validate() error

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

On this page: