AWS SDK for C++  1.9.20
AWS SDK for C++
Public Member Functions | List of all members
Aws::Athena::Model::UpdateDataCatalogRequest Class Reference

#include <UpdateDataCatalogRequest.h>

+ Inheritance diagram for Aws::Athena::Model::UpdateDataCatalogRequest:

Public Member Functions

 UpdateDataCatalogRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
UpdateDataCatalogRequestWithName (const Aws::String &value)
 
UpdateDataCatalogRequestWithName (Aws::String &&value)
 
UpdateDataCatalogRequestWithName (const char *value)
 
const DataCatalogTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const DataCatalogType &value)
 
void SetType (DataCatalogType &&value)
 
UpdateDataCatalogRequestWithType (const DataCatalogType &value)
 
UpdateDataCatalogRequestWithType (DataCatalogType &&value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
UpdateDataCatalogRequestWithDescription (const Aws::String &value)
 
UpdateDataCatalogRequestWithDescription (Aws::String &&value)
 
UpdateDataCatalogRequestWithDescription (const char *value)
 
const Aws::Map< Aws::String, Aws::String > & GetParameters () const
 
bool ParametersHasBeenSet () const
 
void SetParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
UpdateDataCatalogRequestWithParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
UpdateDataCatalogRequestWithParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
UpdateDataCatalogRequestAddParameters (const Aws::String &key, const Aws::String &value)
 
UpdateDataCatalogRequestAddParameters (Aws::String &&key, const Aws::String &value)
 
UpdateDataCatalogRequestAddParameters (const Aws::String &key, Aws::String &&value)
 
UpdateDataCatalogRequestAddParameters (Aws::String &&key, Aws::String &&value)
 
UpdateDataCatalogRequestAddParameters (const char *key, Aws::String &&value)
 
UpdateDataCatalogRequestAddParameters (Aws::String &&key, const char *value)
 
UpdateDataCatalogRequestAddParameters (const char *key, const char *value)
 
- Public Member Functions inherited from Aws::Athena::AthenaRequest
virtual ~AthenaRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 23 of file UpdateDataCatalogRequest.h.

Constructor & Destructor Documentation

◆ UpdateDataCatalogRequest()

Aws::Athena::Model::UpdateDataCatalogRequest::UpdateDataCatalogRequest ( )

Member Function Documentation

◆ AddParameters() [1/7]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 396 of file UpdateDataCatalogRequest.h.

◆ AddParameters() [2/7]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters ( Aws::String &&  key,
const Aws::String value 
)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 356 of file UpdateDataCatalogRequest.h.

◆ AddParameters() [3/7]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters ( Aws::String &&  key,
const char *  value 
)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 436 of file UpdateDataCatalogRequest.h.

◆ AddParameters() [4/7]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters ( const Aws::String key,
Aws::String &&  value 
)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 376 of file UpdateDataCatalogRequest.h.

◆ AddParameters() [5/7]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters ( const Aws::String key,
const Aws::String value 
)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 336 of file UpdateDataCatalogRequest.h.

◆ AddParameters() [6/7]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters ( const char *  key,
Aws::String &&  value 
)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 416 of file UpdateDataCatalogRequest.h.

◆ AddParameters() [7/7]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::AddParameters ( const char *  key,
const char *  value 
)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 456 of file UpdateDataCatalogRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::Athena::Model::UpdateDataCatalogRequest::DescriptionHasBeenSet ( ) const
inline

New or modified text that describes the data catalog.

Definition at line 165 of file UpdateDataCatalogRequest.h.

◆ GetDescription()

const Aws::String& Aws::Athena::Model::UpdateDataCatalogRequest::GetDescription ( ) const
inline

New or modified text that describes the data catalog.

Definition at line 160 of file UpdateDataCatalogRequest.h.

◆ GetName()

const Aws::String& Aws::Athena::Model::UpdateDataCatalogRequest::GetName ( ) const
inline

The name of the data catalog to update. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

Definition at line 44 of file UpdateDataCatalogRequest.h.

◆ GetParameters()

const Aws::Map<Aws::String, Aws::String>& Aws::Athena::Model::UpdateDataCatalogRequest::GetParameters ( ) const
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 216 of file UpdateDataCatalogRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Athena::Model::UpdateDataCatalogRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Athena::AthenaRequest.

◆ GetServiceRequestName()

virtual const char* Aws::Athena::Model::UpdateDataCatalogRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file UpdateDataCatalogRequest.h.

◆ GetType()

const DataCatalogType& Aws::Athena::Model::UpdateDataCatalogRequest::GetType ( ) const
inline

Specifies the type of data catalog to update. Specify LAMBDA for a federated catalog or HIVE for an external hive metastore.

Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your account, of which you can have only one. Specifying the GLUE type will result in an INVALID_INPUT error.

Definition at line 104 of file UpdateDataCatalogRequest.h.

◆ NameHasBeenSet()

bool Aws::Athena::Model::UpdateDataCatalogRequest::NameHasBeenSet ( ) const
inline

The name of the data catalog to update. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

Definition at line 51 of file UpdateDataCatalogRequest.h.

◆ ParametersHasBeenSet()

bool Aws::Athena::Model::UpdateDataCatalogRequest::ParametersHasBeenSet ( ) const
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 236 of file UpdateDataCatalogRequest.h.

◆ SerializePayload()

Aws::String Aws::Athena::Model::UpdateDataCatalogRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDescription() [1/3]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetDescription ( Aws::String &&  value)
inline

New or modified text that describes the data catalog.

Definition at line 175 of file UpdateDataCatalogRequest.h.

◆ SetDescription() [2/3]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetDescription ( const Aws::String value)
inline

New or modified text that describes the data catalog.

Definition at line 170 of file UpdateDataCatalogRequest.h.

◆ SetDescription() [3/3]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetDescription ( const char *  value)
inline

New or modified text that describes the data catalog.

Definition at line 180 of file UpdateDataCatalogRequest.h.

◆ SetName() [1/3]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetName ( Aws::String &&  value)
inline

The name of the data catalog to update. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

Definition at line 65 of file UpdateDataCatalogRequest.h.

◆ SetName() [2/3]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetName ( const Aws::String value)
inline

The name of the data catalog to update. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

Definition at line 58 of file UpdateDataCatalogRequest.h.

◆ SetName() [3/3]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetName ( const char *  value)
inline

The name of the data catalog to update. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

Definition at line 72 of file UpdateDataCatalogRequest.h.

◆ SetParameters() [1/2]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 276 of file UpdateDataCatalogRequest.h.

◆ SetParameters() [2/2]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 256 of file UpdateDataCatalogRequest.h.

◆ SetType() [1/2]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetType ( const DataCatalogType value)
inline

Specifies the type of data catalog to update. Specify LAMBDA for a federated catalog or HIVE for an external hive metastore.

Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your account, of which you can have only one. Specifying the GLUE type will result in an INVALID_INPUT error.

Definition at line 124 of file UpdateDataCatalogRequest.h.

◆ SetType() [2/2]

void Aws::Athena::Model::UpdateDataCatalogRequest::SetType ( DataCatalogType &&  value)
inline

Specifies the type of data catalog to update. Specify LAMBDA for a federated catalog or HIVE for an external hive metastore.

Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your account, of which you can have only one. Specifying the GLUE type will result in an INVALID_INPUT error.

Definition at line 134 of file UpdateDataCatalogRequest.h.

◆ TypeHasBeenSet()

bool Aws::Athena::Model::UpdateDataCatalogRequest::TypeHasBeenSet ( ) const
inline

Specifies the type of data catalog to update. Specify LAMBDA for a federated catalog or HIVE for an external hive metastore.

Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your account, of which you can have only one. Specifying the GLUE type will result in an INVALID_INPUT error.

Definition at line 114 of file UpdateDataCatalogRequest.h.

◆ WithDescription() [1/3]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithDescription ( Aws::String &&  value)
inline

New or modified text that describes the data catalog.

Definition at line 190 of file UpdateDataCatalogRequest.h.

◆ WithDescription() [2/3]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithDescription ( const Aws::String value)
inline

New or modified text that describes the data catalog.

Definition at line 185 of file UpdateDataCatalogRequest.h.

◆ WithDescription() [3/3]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithDescription ( const char *  value)
inline

New or modified text that describes the data catalog.

Definition at line 195 of file UpdateDataCatalogRequest.h.

◆ WithName() [1/3]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithName ( Aws::String &&  value)
inline

The name of the data catalog to update. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

Definition at line 86 of file UpdateDataCatalogRequest.h.

◆ WithName() [2/3]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithName ( const Aws::String value)
inline

The name of the data catalog to update. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

Definition at line 79 of file UpdateDataCatalogRequest.h.

◆ WithName() [3/3]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithName ( const char *  value)
inline

The name of the data catalog to update. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

Definition at line 93 of file UpdateDataCatalogRequest.h.

◆ WithParameters() [1/2]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 316 of file UpdateDataCatalogRequest.h.

◆ WithParameters() [2/2]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Specifies the Lambda function or functions to use for updating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the HIVE data catalog type, use the following syntax. The metadata-function parameter is required. The sdk-version parameter is optional and defaults to the currently supported version.

    metadata-function=lambda_arn, sdk-version=version_number

  • For the LAMBDA data catalog type, use one of the following sets of required parameters, but not both.

    • If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.

      metadata-function=lambda_arn, record-function=lambda_arn

    • If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.

      function=lambda_arn

Definition at line 296 of file UpdateDataCatalogRequest.h.

◆ WithType() [1/2]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithType ( const DataCatalogType value)
inline

Specifies the type of data catalog to update. Specify LAMBDA for a federated catalog or HIVE for an external hive metastore.

Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your account, of which you can have only one. Specifying the GLUE type will result in an INVALID_INPUT error.

Definition at line 144 of file UpdateDataCatalogRequest.h.

◆ WithType() [2/2]

UpdateDataCatalogRequest& Aws::Athena::Model::UpdateDataCatalogRequest::WithType ( DataCatalogType &&  value)
inline

Specifies the type of data catalog to update. Specify LAMBDA for a federated catalog or HIVE for an external hive metastore.

Do not use the GLUE type. This refers to the AwsDataCatalog that already exists in your account, of which you can have only one. Specifying the GLUE type will result in an INVALID_INPUT error.

Definition at line 154 of file UpdateDataCatalogRequest.h.


The documentation for this class was generated from the following file: