Skip to main content

Client

Client is a generic AWS Client that can be used for all AWS Client libraries.

Methods


GetSession()

@classmethod
def GetSession() - > *session.Session

Retrieves the AWS session associated with the client. Callers use this to access session-specific configurations or credentials.

Returns

TypeDescription
*session.SessionThe AWS session object.

GetSdkConfig()

@classmethod
def GetSdkConfig() - > *aws.Config

Fetches the AWS SDK configuration used by the client. This allows callers to inspect or modify SDK-level settings.

Returns

TypeDescription
*aws.ConfigThe AWS SDK configuration object.

GetConfig()

@classmethod
def GetConfig() - > *Config

Retrieves the client's specific configuration. This is used to access custom configuration settings for the client.

Returns

TypeDescription
*ConfigThe client's configuration object.

GetHostName()

@classmethod
def GetHostName() - > string

Returns the hostname associated with the client. Callers use this to identify the host being used for AWS operations.

Returns

TypeDescription
stringThe hostname as a string.