AmazonPinpointClient

Constructs a new client to invoke service methods on AmazonPinpoint using
the specified AWS account credentials.

If AWS session credentials are passed in, then those credentials will be
used to authenticate requests. Otherwise, if AWS long-term credentials
are passed in, then session management will be handled automatically by
the SDK. Callers are encouraged to use long-term credentials and let the
SDK handle starting and renewing sessions.

Automatically managed sessions will be shared among all clients that use
the same credentials and service endpoint. To opt out of this behavior,
explicitly provide an instance of AWSCredentialsProvider that
returns AWSSessionCredentials.

All service calls made using this new client object are blocking, and
will not return until the service call completes.

Parameters:

awsCredentials - The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.

AmazonPinpointClient

Constructs a new client to invoke service methods on AmazonPinpoint using
the specified AWS account credentials and client configuration options.

If AWS session credentials are passed in, then those credentials will be
used to authenticate requests. Otherwise, if AWS long-term credentials
are passed in, then session management will be handled automatically by
the SDK. Callers are encouraged to use long-term credentials and let the
SDK handle starting and renewing sessions.

Automatically managed sessions will be shared among all clients that use
the same credentials and service endpoint. To opt out of this behavior,
explicitly provide an instance of AWSCredentialsProvider that
returns AWSSessionCredentials.

All service calls made using this new client object are blocking, and
will not return until the service call completes.

Parameters:

awsCredentials - The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.

AmazonPinpointClient

Constructs a new client to invoke service methods on AmazonPinpoint using
the specified AWS account credentials provider.

If AWS session credentials are passed in, then those credentials will be
used to authenticate requests. Otherwise, if AWS long-term credentials
are passed in, then session management will be handled automatically by
the SDK. Callers are encouraged to use long-term credentials and let the
SDK handle starting and renewing sessions.

Automatically managed sessions will be shared among all clients that use
the same credentials and service endpoint. To opt out of this behavior,
explicitly provide an instance of AWSCredentialsProvider that
returns AWSSessionCredentials.

All service calls made using this new client object are blocking, and
will not return until the service call completes.

Parameters:

awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.

AmazonPinpointClient

Constructs a new client to invoke service methods on AmazonPinpoint using
the specified AWS account credentials provider and client configuration
options.

If AWS session credentials are passed in, then those credentials will be
used to authenticate requests. Otherwise, if AWS long-term credentials
are passed in, then session management will be handled automatically by
the SDK. Callers are encouraged to use long-term credentials and let the
SDK handle starting and renewing sessions.

Automatically managed sessions will be shared among all clients that use
the same credentials and service endpoint. To opt out of this behavior,
explicitly provide an instance of AWSCredentialsProvider that
returns AWSSessionCredentials.

All service calls made using this new client object are blocking, and
will not return until the service call completes.

Parameters:

awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.

getCachedResponseMetadata

Deprecated.ResponseMetadata cache can hold up to 50 requests and
responses in memory and will cause memory issue. This method
now always returns null.

Returns additional metadata for a previously executed successful,
request, typically used for debugging issues where a service isn't acting
as expected. This data isn't considered part of the result data returned
by an operation, so it's available through this separate, diagnostic
interface.

Response metadata is only cached for a limited period of time, so if you
need to access this extra diagnostic information for an executed request,
you should use this method to retrieve it as soon as possible after
executing the request.