AWS SDK for C++  1.8.100
AWS SDK for C++
Public Types | Public Member Functions | List of all members
Aws::CloudTrail::CloudTrailClient Class Reference

#include <CloudTrailClient.h>

+ Inheritance diagram for Aws::CloudTrail::CloudTrailClient:

Public Types

typedef Aws::Client::AWSJsonClient BASECLASS
 
- Public Types inherited from Aws::Client::AWSJsonClient
typedef AWSClient BASECLASS
 

Public Member Functions

 CloudTrailClient (const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
 
 CloudTrailClient (const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
 
 CloudTrailClient (const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
 
virtual ~CloudTrailClient ()
 
virtual Model::AddTagsOutcome AddTags (const Model::AddTagsRequest &request) const
 
virtual Model::AddTagsOutcomeCallable AddTagsCallable (const Model::AddTagsRequest &request) const
 
virtual void AddTagsAsync (const Model::AddTagsRequest &request, const AddTagsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::CreateTrailOutcome CreateTrail (const Model::CreateTrailRequest &request) const
 
virtual Model::CreateTrailOutcomeCallable CreateTrailCallable (const Model::CreateTrailRequest &request) const
 
virtual void CreateTrailAsync (const Model::CreateTrailRequest &request, const CreateTrailResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::DeleteTrailOutcome DeleteTrail (const Model::DeleteTrailRequest &request) const
 
virtual Model::DeleteTrailOutcomeCallable DeleteTrailCallable (const Model::DeleteTrailRequest &request) const
 
virtual void DeleteTrailAsync (const Model::DeleteTrailRequest &request, const DeleteTrailResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::DescribeTrailsOutcome DescribeTrails (const Model::DescribeTrailsRequest &request) const
 
virtual Model::DescribeTrailsOutcomeCallable DescribeTrailsCallable (const Model::DescribeTrailsRequest &request) const
 
virtual void DescribeTrailsAsync (const Model::DescribeTrailsRequest &request, const DescribeTrailsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetEventSelectorsOutcome GetEventSelectors (const Model::GetEventSelectorsRequest &request) const
 
virtual Model::GetEventSelectorsOutcomeCallable GetEventSelectorsCallable (const Model::GetEventSelectorsRequest &request) const
 
virtual void GetEventSelectorsAsync (const Model::GetEventSelectorsRequest &request, const GetEventSelectorsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetInsightSelectorsOutcome GetInsightSelectors (const Model::GetInsightSelectorsRequest &request) const
 
virtual Model::GetInsightSelectorsOutcomeCallable GetInsightSelectorsCallable (const Model::GetInsightSelectorsRequest &request) const
 
virtual void GetInsightSelectorsAsync (const Model::GetInsightSelectorsRequest &request, const GetInsightSelectorsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetTrailOutcome GetTrail (const Model::GetTrailRequest &request) const
 
virtual Model::GetTrailOutcomeCallable GetTrailCallable (const Model::GetTrailRequest &request) const
 
virtual void GetTrailAsync (const Model::GetTrailRequest &request, const GetTrailResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetTrailStatusOutcome GetTrailStatus (const Model::GetTrailStatusRequest &request) const
 
virtual Model::GetTrailStatusOutcomeCallable GetTrailStatusCallable (const Model::GetTrailStatusRequest &request) const
 
virtual void GetTrailStatusAsync (const Model::GetTrailStatusRequest &request, const GetTrailStatusResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::ListPublicKeysOutcome ListPublicKeys (const Model::ListPublicKeysRequest &request) const
 
virtual Model::ListPublicKeysOutcomeCallable ListPublicKeysCallable (const Model::ListPublicKeysRequest &request) const
 
virtual void ListPublicKeysAsync (const Model::ListPublicKeysRequest &request, const ListPublicKeysResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::ListTagsOutcome ListTags (const Model::ListTagsRequest &request) const
 
virtual Model::ListTagsOutcomeCallable ListTagsCallable (const Model::ListTagsRequest &request) const
 
virtual void ListTagsAsync (const Model::ListTagsRequest &request, const ListTagsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::ListTrailsOutcome ListTrails (const Model::ListTrailsRequest &request) const
 
virtual Model::ListTrailsOutcomeCallable ListTrailsCallable (const Model::ListTrailsRequest &request) const
 
virtual void ListTrailsAsync (const Model::ListTrailsRequest &request, const ListTrailsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::LookupEventsOutcome LookupEvents (const Model::LookupEventsRequest &request) const
 
virtual Model::LookupEventsOutcomeCallable LookupEventsCallable (const Model::LookupEventsRequest &request) const
 
virtual void LookupEventsAsync (const Model::LookupEventsRequest &request, const LookupEventsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::PutEventSelectorsOutcome PutEventSelectors (const Model::PutEventSelectorsRequest &request) const
 
virtual Model::PutEventSelectorsOutcomeCallable PutEventSelectorsCallable (const Model::PutEventSelectorsRequest &request) const
 
virtual void PutEventSelectorsAsync (const Model::PutEventSelectorsRequest &request, const PutEventSelectorsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::PutInsightSelectorsOutcome PutInsightSelectors (const Model::PutInsightSelectorsRequest &request) const
 
virtual Model::PutInsightSelectorsOutcomeCallable PutInsightSelectorsCallable (const Model::PutInsightSelectorsRequest &request) const
 
virtual void PutInsightSelectorsAsync (const Model::PutInsightSelectorsRequest &request, const PutInsightSelectorsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::RemoveTagsOutcome RemoveTags (const Model::RemoveTagsRequest &request) const
 
virtual Model::RemoveTagsOutcomeCallable RemoveTagsCallable (const Model::RemoveTagsRequest &request) const
 
virtual void RemoveTagsAsync (const Model::RemoveTagsRequest &request, const RemoveTagsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::StartLoggingOutcome StartLogging (const Model::StartLoggingRequest &request) const
 
virtual Model::StartLoggingOutcomeCallable StartLoggingCallable (const Model::StartLoggingRequest &request) const
 
virtual void StartLoggingAsync (const Model::StartLoggingRequest &request, const StartLoggingResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::StopLoggingOutcome StopLogging (const Model::StopLoggingRequest &request) const
 
virtual Model::StopLoggingOutcomeCallable StopLoggingCallable (const Model::StopLoggingRequest &request) const
 
virtual void StopLoggingAsync (const Model::StopLoggingRequest &request, const StopLoggingResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::UpdateTrailOutcome UpdateTrail (const Model::UpdateTrailRequest &request) const
 
virtual Model::UpdateTrailOutcomeCallable UpdateTrailCallable (const Model::UpdateTrailRequest &request) const
 
virtual void UpdateTrailAsync (const Model::UpdateTrailRequest &request, const UpdateTrailResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
void OverrideEndpoint (const Aws::String &endpoint)
 
- Public Member Functions inherited from Aws::Client::AWSJsonClient
 AWSJsonClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Client::AWSAuthSigner > &signer, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
 AWSJsonClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Auth::AWSAuthSignerProvider > &signerProvider, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
virtual ~AWSJsonClient ()=default
 
- Public Member Functions inherited from Aws::Client::AWSClient
 AWSClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Client::AWSAuthSigner > &signer, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
 AWSClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Auth::AWSAuthSignerProvider > &signerProvider, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
virtual ~AWSClient ()
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const Aws::Http::HeaderValueCollection &customizedHeaders, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const Aws::Http::HeaderValueCollection &customizedHeaders, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, const Aws::Http::HeaderValueCollection &customizedHeaders, long long expirationInSeconds=0)
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const char *serviceName, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
Aws::String GeneratePresignedUrl (const Aws::AmazonWebServiceRequest &request, Aws::Http::URI &uri, Aws::Http::HttpMethod method, const char *region, const Aws::Http::QueryStringParameterCollection &extraParams=Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds=0) const
 
void DisableRequestProcessing ()
 
void EnableRequestProcessing ()
 
virtual const char * GetServiceClientName () const
 
virtual void SetServiceClientName (const Aws::String &name)
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::Client::AWSJsonClient
virtual AWSError< CoreErrorsBuildAWSError (const std::shared_ptr< Aws::Http::HttpResponse > &response) const override
 
JsonOutcome MakeRequest (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
JsonOutcome MakeRequest (const Aws::Http::URI &uri, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *requestName="", const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
JsonOutcome MakeEventStreamRequest (std::shared_ptr< Aws::Http::HttpRequest > &request) const
 
- Protected Member Functions inherited from Aws::Client::AWSClient
HttpResponseOutcome AttemptExhaustively (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod httpMethod, const char *signerName, const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
HttpResponseOutcome AttemptExhaustively (const Aws::Http::URI &uri, Http::HttpMethod httpMethod, const char *signerName, const char *requestName="", const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
HttpResponseOutcome AttemptOneRequest (const std::shared_ptr< Http::HttpRequest > &httpRequest, const Aws::AmazonWebServiceRequest &request, const char *signerName, const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
HttpResponseOutcome AttemptOneRequest (const std::shared_ptr< Http::HttpRequest > &httpRequest, const char *signerName, const char *requestName="", const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
StreamOutcome MakeRequestWithUnparsedResponse (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
StreamOutcome MakeRequestWithUnparsedResponse (const Aws::Http::URI &uri, Http::HttpMethod method=Http::HttpMethod::HTTP_POST, const char *signerName=Aws::Auth::SIGV4_SIGNER, const char *requestName="", const char *signerRegionOverride=nullptr, const char *signerServiceNameOverride=nullptr) const
 
virtual void BuildHttpRequest (const Aws::AmazonWebServiceRequest &request, const std::shared_ptr< Aws::Http::HttpRequest > &httpRequest) const
 
const std::shared_ptr< AWSErrorMarshaller > & GetErrorMarshaller () const
 
Aws::Client::AWSAuthSignerGetSignerByName (const char *name) const
 
std::shared_ptr< Aws::Http::HttpRequestBuildAndSignHttpRequest (const Aws::Http::URI &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method, const char *signerName) const
 
std::shared_ptr< Aws::Http::HttpResponseMakeHttpRequest (std::shared_ptr< Aws::Http::HttpRequest > &request) const
 
- Protected Attributes inherited from Aws::Client::AWSClient
Aws::String m_region
 

Detailed Description

<fullname>AWS CloudTrail</fullname>

This is the CloudTrail API Reference. It provides descriptions of actions, data types, common parameters, and common errors for CloudTrail.

CloudTrail is a web service that records AWS API calls for your AWS account and delivers log files to an Amazon S3 bucket. The recorded information includes the identity of the user, the start time of the AWS API call, the source IP address, the request parameters, and the response elements returned by the service.

As an alternative to the API, you can use one of the AWS SDKs, which consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to AWSCloudTrail. For example, the SDKs take care of cryptographically signing requests, managing errors, and retrying requests automatically. For information about the AWS SDKs, including how to download and install them, see the Tools for Amazon Web Services page.

See the AWS CloudTrail User Guide for information about the data that is included with each AWS API call listed in the log files.

Definition at line 170 of file CloudTrailClient.h.

Member Typedef Documentation

◆ BASECLASS

Definition at line 173 of file CloudTrailClient.h.

Constructor & Destructor Documentation

◆ CloudTrailClient() [1/3]

Aws::CloudTrail::CloudTrailClient::CloudTrailClient ( const Aws::Client::ClientConfiguration clientConfiguration = Aws::Client::ClientConfiguration())

Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.

◆ CloudTrailClient() [2/3]

Aws::CloudTrail::CloudTrailClient::CloudTrailClient ( const Aws::Auth::AWSCredentials credentials,
const Aws::Client::ClientConfiguration clientConfiguration = Aws::Client::ClientConfiguration() 
)

Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.

◆ CloudTrailClient() [3/3]

Aws::CloudTrail::CloudTrailClient::CloudTrailClient ( const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &  credentialsProvider,
const Aws::Client::ClientConfiguration clientConfiguration = Aws::Client::ClientConfiguration() 
)

Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, the default http client factory will be used

◆ ~CloudTrailClient()

virtual Aws::CloudTrail::CloudTrailClient::~CloudTrailClient ( )
virtual

Member Function Documentation

◆ AddTags()

virtual Model::AddTagsOutcome Aws::CloudTrail::CloudTrailClient::AddTags ( const Model::AddTagsRequest request) const
virtual

Adds one or more tags to a trail, up to a limit of 50. Overwrites an existing tag's value when a new value is specified for an existing tag key. Tag key names must be unique for a trail; you cannot have two keys with the same name but different values. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail that applies to all AWS Regions only from the Region in which the trail was created (also known as its home region).

See Also:

AWS API Reference

◆ AddTagsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::AddTagsAsync ( const Model::AddTagsRequest request,
const AddTagsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Adds one or more tags to a trail, up to a limit of 50. Overwrites an existing tag's value when a new value is specified for an existing tag key. Tag key names must be unique for a trail; you cannot have two keys with the same name but different values. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail that applies to all AWS Regions only from the Region in which the trail was created (also known as its home region).

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ AddTagsCallable()

virtual Model::AddTagsOutcomeCallable Aws::CloudTrail::CloudTrailClient::AddTagsCallable ( const Model::AddTagsRequest request) const
virtual

Adds one or more tags to a trail, up to a limit of 50. Overwrites an existing tag's value when a new value is specified for an existing tag key. Tag key names must be unique for a trail; you cannot have two keys with the same name but different values. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail that applies to all AWS Regions only from the Region in which the trail was created (also known as its home region).

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ CreateTrail()

virtual Model::CreateTrailOutcome Aws::CloudTrail::CloudTrailClient::CreateTrail ( const Model::CreateTrailRequest request) const
virtual

Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.

See Also:

AWS API Reference

◆ CreateTrailAsync()

virtual void Aws::CloudTrail::CloudTrailClient::CreateTrailAsync ( const Model::CreateTrailRequest request,
const CreateTrailResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ CreateTrailCallable()

virtual Model::CreateTrailOutcomeCallable Aws::CloudTrail::CloudTrailClient::CreateTrailCallable ( const Model::CreateTrailRequest request) const
virtual

Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ DeleteTrail()

virtual Model::DeleteTrailOutcome Aws::CloudTrail::CloudTrailClient::DeleteTrail ( const Model::DeleteTrailRequest request) const
virtual

Deletes a trail. This operation must be called from the region in which the trail was created. DeleteTrail cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.

See Also:

AWS API Reference

◆ DeleteTrailAsync()

virtual void Aws::CloudTrail::CloudTrailClient::DeleteTrailAsync ( const Model::DeleteTrailRequest request,
const DeleteTrailResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Deletes a trail. This operation must be called from the region in which the trail was created. DeleteTrail cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ DeleteTrailCallable()

virtual Model::DeleteTrailOutcomeCallable Aws::CloudTrail::CloudTrailClient::DeleteTrailCallable ( const Model::DeleteTrailRequest request) const
virtual

Deletes a trail. This operation must be called from the region in which the trail was created. DeleteTrail cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ DescribeTrails()

virtual Model::DescribeTrailsOutcome Aws::CloudTrail::CloudTrailClient::DescribeTrails ( const Model::DescribeTrailsRequest request) const
virtual

Retrieves settings for one or more trails associated with the current region for your account.

See Also:

AWS API Reference

◆ DescribeTrailsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::DescribeTrailsAsync ( const Model::DescribeTrailsRequest request,
const DescribeTrailsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Retrieves settings for one or more trails associated with the current region for your account.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ DescribeTrailsCallable()

virtual Model::DescribeTrailsOutcomeCallable Aws::CloudTrail::CloudTrailClient::DescribeTrailsCallable ( const Model::DescribeTrailsRequest request) const
virtual

Retrieves settings for one or more trails associated with the current region for your account.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetEventSelectors()

virtual Model::GetEventSelectorsOutcome Aws::CloudTrail::CloudTrailClient::GetEventSelectors ( const Model::GetEventSelectorsRequest request) const
virtual

Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following:

  • If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events.

  • If your event selector includes management events.

  • If your event selector includes data events, the Amazon S3 objects or AWS Lambda functions that you are logging for data events.

For more information, see Logging Data and Management Events for Trails in the AWS CloudTrail User Guide.

See Also:

AWS API Reference

◆ GetEventSelectorsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::GetEventSelectorsAsync ( const Model::GetEventSelectorsRequest request,
const GetEventSelectorsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following:

  • If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events.

  • If your event selector includes management events.

  • If your event selector includes data events, the Amazon S3 objects or AWS Lambda functions that you are logging for data events.

For more information, see Logging Data and Management Events for Trails in the AWS CloudTrail User Guide.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetEventSelectorsCallable()

virtual Model::GetEventSelectorsOutcomeCallable Aws::CloudTrail::CloudTrailClient::GetEventSelectorsCallable ( const Model::GetEventSelectorsRequest request) const
virtual

Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following:

  • If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events.

  • If your event selector includes management events.

  • If your event selector includes data events, the Amazon S3 objects or AWS Lambda functions that you are logging for data events.

For more information, see Logging Data and Management Events for Trails in the AWS CloudTrail User Guide.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetInsightSelectors()

virtual Model::GetInsightSelectorsOutcome Aws::CloudTrail::CloudTrailClient::GetInsightSelectors ( const Model::GetInsightSelectorsRequest request) const
virtual

Describes the settings for the Insights event selectors that you configured for your trail. GetInsightSelectors shows if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled. If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException

For more information, see Logging CloudTrail Insights Events for Trails in the AWS CloudTrail User Guide.

See Also:

AWS API Reference

◆ GetInsightSelectorsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::GetInsightSelectorsAsync ( const Model::GetInsightSelectorsRequest request,
const GetInsightSelectorsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Describes the settings for the Insights event selectors that you configured for your trail. GetInsightSelectors shows if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled. If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException

For more information, see Logging CloudTrail Insights Events for Trails in the AWS CloudTrail User Guide.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetInsightSelectorsCallable()

virtual Model::GetInsightSelectorsOutcomeCallable Aws::CloudTrail::CloudTrailClient::GetInsightSelectorsCallable ( const Model::GetInsightSelectorsRequest request) const
virtual

Describes the settings for the Insights event selectors that you configured for your trail. GetInsightSelectors shows if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled. If you run GetInsightSelectors on a trail that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException

For more information, see Logging CloudTrail Insights Events for Trails in the AWS CloudTrail User Guide.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetTrail()

virtual Model::GetTrailOutcome Aws::CloudTrail::CloudTrailClient::GetTrail ( const Model::GetTrailRequest request) const
virtual

Returns settings information for a specified trail.

See Also:

AWS API Reference

◆ GetTrailAsync()

virtual void Aws::CloudTrail::CloudTrailClient::GetTrailAsync ( const Model::GetTrailRequest request,
const GetTrailResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns settings information for a specified trail.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetTrailCallable()

virtual Model::GetTrailOutcomeCallable Aws::CloudTrail::CloudTrailClient::GetTrailCallable ( const Model::GetTrailRequest request) const
virtual

Returns settings information for a specified trail.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ GetTrailStatus()

virtual Model::GetTrailStatusOutcome Aws::CloudTrail::CloudTrailClient::GetTrailStatus ( const Model::GetTrailStatusRequest request) const
virtual

Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region.

See Also:

AWS API Reference

◆ GetTrailStatusAsync()

virtual void Aws::CloudTrail::CloudTrailClient::GetTrailStatusAsync ( const Model::GetTrailStatusRequest request,
const GetTrailStatusResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ GetTrailStatusCallable()

virtual Model::GetTrailStatusOutcomeCallable Aws::CloudTrail::CloudTrailClient::GetTrailStatusCallable ( const Model::GetTrailStatusRequest request) const
virtual

Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ ListPublicKeys()

virtual Model::ListPublicKeysOutcome Aws::CloudTrail::CloudTrailClient::ListPublicKeys ( const Model::ListPublicKeysRequest request) const
virtual

Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.

CloudTrail uses different private/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key.

See Also:

AWS API Reference

◆ ListPublicKeysAsync()

virtual void Aws::CloudTrail::CloudTrailClient::ListPublicKeysAsync ( const Model::ListPublicKeysRequest request,
const ListPublicKeysResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.

CloudTrail uses different private/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ ListPublicKeysCallable()

virtual Model::ListPublicKeysOutcomeCallable Aws::CloudTrail::CloudTrailClient::ListPublicKeysCallable ( const Model::ListPublicKeysRequest request) const
virtual

Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.

CloudTrail uses different private/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ ListTags()

virtual Model::ListTagsOutcome Aws::CloudTrail::CloudTrailClient::ListTags ( const Model::ListTagsRequest request) const
virtual

Lists the tags for the trail in the current region.

See Also:

AWS API Reference

◆ ListTagsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::ListTagsAsync ( const Model::ListTagsRequest request,
const ListTagsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Lists the tags for the trail in the current region.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ ListTagsCallable()

virtual Model::ListTagsOutcomeCallable Aws::CloudTrail::CloudTrailClient::ListTagsCallable ( const Model::ListTagsRequest request) const
virtual

Lists the tags for the trail in the current region.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ ListTrails()

virtual Model::ListTrailsOutcome Aws::CloudTrail::CloudTrailClient::ListTrails ( const Model::ListTrailsRequest request) const
virtual

Lists trails that are in the current account.

See Also:

AWS API Reference

◆ ListTrailsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::ListTrailsAsync ( const Model::ListTrailsRequest request,
const ListTrailsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Lists trails that are in the current account.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ ListTrailsCallable()

virtual Model::ListTrailsOutcomeCallable Aws::CloudTrail::CloudTrailClient::ListTrailsCallable ( const Model::ListTrailsRequest request) const
virtual

Lists trails that are in the current account.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ LookupEvents()

virtual Model::LookupEventsOutcome Aws::CloudTrail::CloudTrailClient::LookupEvents ( const Model::LookupEventsRequest request) const
virtual

Looks up management events or CloudTrail Insights events that are captured by CloudTrail. You can look up events that occurred in a region within the last 90 days. Lookup supports the following attributes for management events:

  • AWS access key

  • Event ID

  • Event name

  • Event source

  • Read only

  • Resource name

  • Resource type

  • User name

Lookup supports the following attributes for Insights events:

  • Event ID

  • Event name

  • Event source

All attributes are optional. The default number of results returned is 50, with a maximum of 50 possible. The response includes a token that you can use to get the next page of results.

The rate of lookup requests is limited to two per second, per account, per region. If this limit is exceeded, a throttling error occurs.

See Also:

AWS API Reference

◆ LookupEventsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::LookupEventsAsync ( const Model::LookupEventsRequest request,
const LookupEventsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Looks up management events or CloudTrail Insights events that are captured by CloudTrail. You can look up events that occurred in a region within the last 90 days. Lookup supports the following attributes for management events:

  • AWS access key

  • Event ID

  • Event name

  • Event source

  • Read only

  • Resource name

  • Resource type

  • User name

Lookup supports the following attributes for Insights events:

  • Event ID

  • Event name

  • Event source

All attributes are optional. The default number of results returned is 50, with a maximum of 50 possible. The response includes a token that you can use to get the next page of results.

The rate of lookup requests is limited to two per second, per account, per region. If this limit is exceeded, a throttling error occurs.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ LookupEventsCallable()

virtual Model::LookupEventsOutcomeCallable Aws::CloudTrail::CloudTrailClient::LookupEventsCallable ( const Model::LookupEventsRequest request) const
virtual

Looks up management events or CloudTrail Insights events that are captured by CloudTrail. You can look up events that occurred in a region within the last 90 days. Lookup supports the following attributes for management events:

  • AWS access key

  • Event ID

  • Event name

  • Event source

  • Read only

  • Resource name

  • Resource type

  • User name

Lookup supports the following attributes for Insights events:

  • Event ID

  • Event name

  • Event source

All attributes are optional. The default number of results returned is 50, with a maximum of 50 possible. The response includes a token that you can use to get the next page of results.

The rate of lookup requests is limited to two per second, per account, per region. If this limit is exceeded, a throttling error occurs.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ OverrideEndpoint()

void Aws::CloudTrail::CloudTrailClient::OverrideEndpoint ( const Aws::String endpoint)

◆ PutEventSelectors()

virtual Model::PutEventSelectorsOutcome Aws::CloudTrail::CloudTrailClient::PutEventSelectors ( const Model::PutEventSelectorsRequest request) const
virtual

Configures an event selector for your trail. Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events.

When an event occurs in your account, CloudTrail evaluates the event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event.

Example

  1. You create an event selector for a trail and specify that you want write-only events.

  2. The EC2 GetConsoleOutput and RunInstances API operations occur in your account.

  3. CloudTrail evaluates whether the events match your event selectors.

  4. The RunInstances is a write-only event and it matches your event selector. The trail logs the event.

  5. The GetConsoleOutput is a read-only event but it doesn't match your event selector. The trail doesn't log the event.

The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown.

You can configure up to five event selectors for each trail. For more information, see Logging Data and Management Events for Trails and Limits in AWS CloudTrail in the AWS CloudTrail User Guide.

See Also:

AWS API Reference

◆ PutEventSelectorsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::PutEventSelectorsAsync ( const Model::PutEventSelectorsRequest request,
const PutEventSelectorsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Configures an event selector for your trail. Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events.

When an event occurs in your account, CloudTrail evaluates the event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event.

Example

  1. You create an event selector for a trail and specify that you want write-only events.

  2. The EC2 GetConsoleOutput and RunInstances API operations occur in your account.

  3. CloudTrail evaluates whether the events match your event selectors.

  4. The RunInstances is a write-only event and it matches your event selector. The trail logs the event.

  5. The GetConsoleOutput is a read-only event but it doesn't match your event selector. The trail doesn't log the event.

The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown.

You can configure up to five event selectors for each trail. For more information, see Logging Data and Management Events for Trails and Limits in AWS CloudTrail in the AWS CloudTrail User Guide.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ PutEventSelectorsCallable()

virtual Model::PutEventSelectorsOutcomeCallable Aws::CloudTrail::CloudTrailClient::PutEventSelectorsCallable ( const Model::PutEventSelectorsRequest request) const
virtual

Configures an event selector for your trail. Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events.

When an event occurs in your account, CloudTrail evaluates the event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event.

Example

  1. You create an event selector for a trail and specify that you want write-only events.

  2. The EC2 GetConsoleOutput and RunInstances API operations occur in your account.

  3. CloudTrail evaluates whether the events match your event selectors.

  4. The RunInstances is a write-only event and it matches your event selector. The trail logs the event.

  5. The GetConsoleOutput is a read-only event but it doesn't match your event selector. The trail doesn't log the event.

The PutEventSelectors operation must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown.

You can configure up to five event selectors for each trail. For more information, see Logging Data and Management Events for Trails and Limits in AWS CloudTrail in the AWS CloudTrail User Guide.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ PutInsightSelectors()

virtual Model::PutInsightSelectorsOutcome Aws::CloudTrail::CloudTrailClient::PutInsightSelectors ( const Model::PutInsightSelectorsRequest request) const
virtual

Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of insight types. In this release, only ApiCallRateInsight is supported as an Insights selector.

See Also:

AWS API Reference

◆ PutInsightSelectorsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::PutInsightSelectorsAsync ( const Model::PutInsightSelectorsRequest request,
const PutInsightSelectorsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of insight types. In this release, only ApiCallRateInsight is supported as an Insights selector.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ PutInsightSelectorsCallable()

virtual Model::PutInsightSelectorsOutcomeCallable Aws::CloudTrail::CloudTrailClient::PutInsightSelectorsCallable ( const Model::PutInsightSelectorsRequest request) const
virtual

Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of insight types. In this release, only ApiCallRateInsight is supported as an Insights selector.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ RemoveTags()

virtual Model::RemoveTagsOutcome Aws::CloudTrail::CloudTrailClient::RemoveTags ( const Model::RemoveTagsRequest request) const
virtual

Removes the specified tags from a trail.

See Also:

AWS API Reference

◆ RemoveTagsAsync()

virtual void Aws::CloudTrail::CloudTrailClient::RemoveTagsAsync ( const Model::RemoveTagsRequest request,
const RemoveTagsResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Removes the specified tags from a trail.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ RemoveTagsCallable()

virtual Model::RemoveTagsOutcomeCallable Aws::CloudTrail::CloudTrailClient::RemoveTagsCallable ( const Model::RemoveTagsRequest request) const
virtual

Removes the specified tags from a trail.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ StartLogging()

virtual Model::StartLoggingOutcome Aws::CloudTrail::CloudTrailClient::StartLogging ( const Model::StartLoggingRequest request) const
virtual

Starts the recording of AWS API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.

See Also:

AWS API Reference

◆ StartLoggingAsync()

virtual void Aws::CloudTrail::CloudTrailClient::StartLoggingAsync ( const Model::StartLoggingRequest request,
const StartLoggingResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Starts the recording of AWS API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ StartLoggingCallable()

virtual Model::StartLoggingOutcomeCallable Aws::CloudTrail::CloudTrailClient::StartLoggingCallable ( const Model::StartLoggingRequest request) const
virtual

Starts the recording of AWS API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ StopLogging()

virtual Model::StopLoggingOutcome Aws::CloudTrail::CloudTrailClient::StopLogging ( const Model::StopLoggingRequest request) const
virtual

Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions.

See Also:

AWS API Reference

◆ StopLoggingAsync()

virtual void Aws::CloudTrail::CloudTrailClient::StopLoggingAsync ( const Model::StopLoggingRequest request,
const StopLoggingResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ StopLoggingCallable()

virtual Model::StopLoggingOutcomeCallable Aws::CloudTrail::CloudTrailClient::StopLoggingCallable ( const Model::StopLoggingRequest request) const
virtual

Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an InvalidHomeRegionException will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.

◆ UpdateTrail()

virtual Model::UpdateTrailOutcome Aws::CloudTrail::CloudTrailClient::UpdateTrail ( const Model::UpdateTrailRequest request) const
virtual

Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. UpdateTrail must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown.

See Also:

AWS API Reference

◆ UpdateTrailAsync()

virtual void Aws::CloudTrail::CloudTrailClient::UpdateTrailAsync ( const Model::UpdateTrailRequest request,
const UpdateTrailResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. UpdateTrail must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown.

See Also:

AWS API Reference

Queues the request into a thread executor and triggers associated callback when operation has finished.

◆ UpdateTrailCallable()

virtual Model::UpdateTrailOutcomeCallable Aws::CloudTrail::CloudTrailClient::UpdateTrailCallable ( const Model::UpdateTrailRequest request) const
virtual

Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. UpdateTrail must be called from the region in which the trail was created; otherwise, an InvalidHomeRegionException is thrown.

See Also:

AWS API Reference

returns a future to the operation so that it can be executed in parallel to other requests.


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