/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.appfabric; import org.w3c.dom.*; import java.net.*; import java.util.*; import javax.annotation.Generated; import org.apache.commons.logging.*; import com.amazonaws.*; import com.amazonaws.annotation.SdkInternalApi; import com.amazonaws.auth.*; import com.amazonaws.handlers.*; import com.amazonaws.http.*; import com.amazonaws.internal.*; import com.amazonaws.internal.auth.*; import com.amazonaws.metrics.*; import com.amazonaws.regions.*; import com.amazonaws.transform.*; import com.amazonaws.util.*; import com.amazonaws.protocol.json.*; import com.amazonaws.util.AWSRequestMetrics.Field; import com.amazonaws.annotation.ThreadSafe; import com.amazonaws.client.AwsSyncClientParams; import com.amazonaws.client.builder.AdvancedConfig; import com.amazonaws.services.appfabric.AWSAppFabricClientBuilder; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.appfabric.model.*; import com.amazonaws.services.appfabric.model.transform.*; /** * Client for accessing AppFabric. All service calls made using this client are blocking, and will not return until the * service call completes. *
*
* Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications across your organization. * This allows IT and security teams to easily manage and secure applications using a standard schema, and employees can * complete everyday tasks faster using generative artificial intelligence (AI). You can use these APIs to complete * AppFabric tasks, such as setting up audit log ingestions or viewing user access. For more information about * AppFabric, including the required permissions to use the service, see the Amazon Web Services AppFabric Administration * Guide. For more information about using the Command Line Interface (CLI) to manage your AppFabric resources, see * the AppFabric section of the CLI * Reference. *
*/ @ThreadSafe @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AWSAppFabricClient extends AmazonWebServiceClient implements AWSAppFabric { /** Provider for AWS credentials. */ private final AWSCredentialsProvider awsCredentialsProvider; private static final Log log = LogFactory.getLog(AWSAppFabric.class); /** Default signing name for the service. */ private static final String DEFAULT_SIGNING_NAME = "appfabric"; /** Client configuration factory providing ClientConfigurations tailored to this client */ protected static final ClientConfigurationFactory configFactory = new ClientConfigurationFactory(); private final AdvancedConfig advancedConfig; private static final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory = new com.amazonaws.protocol.json.SdkJsonProtocolFactory( new JsonClientMetadata() .withProtocolVersion("1.1") .withSupportsCbor(false) .withSupportsIon(false) .withContentTypeOverride("application/json") .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("AccessDeniedException").withExceptionUnmarshaller( com.amazonaws.services.appfabric.model.transform.AccessDeniedExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ConflictException").withExceptionUnmarshaller( com.amazonaws.services.appfabric.model.transform.ConflictExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ResourceNotFoundException").withExceptionUnmarshaller( com.amazonaws.services.appfabric.model.transform.ResourceNotFoundExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ThrottlingException").withExceptionUnmarshaller( com.amazonaws.services.appfabric.model.transform.ThrottlingExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ValidationException").withExceptionUnmarshaller( com.amazonaws.services.appfabric.model.transform.ValidationExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ServiceQuotaExceededException").withExceptionUnmarshaller( com.amazonaws.services.appfabric.model.transform.ServiceQuotaExceededExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("InternalServerException").withExceptionUnmarshaller( com.amazonaws.services.appfabric.model.transform.InternalServerExceptionUnmarshaller.getInstance())) .withBaseServiceExceptionClass(com.amazonaws.services.appfabric.model.AWSAppFabricException.class)); public static AWSAppFabricClientBuilder builder() { return AWSAppFabricClientBuilder.standard(); } /** * Constructs a new client to invoke service methods on AppFabric using the specified parameters. * ** All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AWSAppFabricClient(AwsSyncClientParams clientParams) { this(clientParams, false); } /** * Constructs a new client to invoke service methods on AppFabric using the specified parameters. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AWSAppFabricClient(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled) { super(clientParams); this.awsCredentialsProvider = clientParams.getCredentialsProvider(); this.advancedConfig = clientParams.getAdvancedConfig(); init(); } private void init() { setServiceNameIntern(DEFAULT_SIGNING_NAME); setEndpointPrefix(ENDPOINT_PREFIX); // calling this.setEndPoint(...) will also modify the signer accordingly setEndpoint("appfabric.us-east-1.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com/amazonaws/services/appfabric/request.handlers")); requestHandler2s.addAll(chainFactory.newRequestHandler2Chain("/com/amazonaws/services/appfabric/request.handler2s")); requestHandler2s.addAll(chainFactory.getGlobalHandlers()); } /** *
* Gets user access details in a batch request. *
*
* This action polls data from the tasks that are kicked off by the StartUserAccessTasks
action.
*
* Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to call * the APIs of the application. *
* * @param connectAppAuthorizationRequest * @return Result of the ConnectAppAuthorization operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.ConnectAppAuthorization * @see AWS API Documentation */ @Override public ConnectAppAuthorizationResult connectAppAuthorization(ConnectAppAuthorizationRequest request) { request = beforeClientExecution(request); return executeConnectAppAuthorization(request); } @SdkInternalApi final ConnectAppAuthorizationResult executeConnectAppAuthorization(ConnectAppAuthorizationRequest connectAppAuthorizationRequest) { ExecutionContext executionContext = createExecutionContext(connectAppAuthorizationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an app authorization within an app bundle, which allows AppFabric to connect to an application. *
* * @param createAppAuthorizationRequest * @return Result of the CreateAppAuthorization operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ServiceQuotaExceededException * The request exceeds a service quota. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ConflictException * The request has created a conflict. Check the request parameters and try again. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.CreateAppAuthorization * @see AWS API Documentation */ @Override public CreateAppAuthorizationResult createAppAuthorization(CreateAppAuthorizationRequest request) { request = beforeClientExecution(request); return executeCreateAppAuthorization(request); } @SdkInternalApi final CreateAppAuthorizationResult executeCreateAppAuthorization(CreateAppAuthorizationRequest createAppAuthorizationRequest) { ExecutionContext executionContext = createExecutionContext(createAppAuthorizationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an app bundle to collect data from an application using AppFabric. *
* * @param createAppBundleRequest * @return Result of the CreateAppBundle operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ServiceQuotaExceededException * The request exceeds a service quota. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ConflictException * The request has created a conflict. Check the request parameters and try again. * @throws ValidationException * The request has invalid or missing parameters. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.CreateAppBundle * @see AWS API * Documentation */ @Override public CreateAppBundleResult createAppBundle(CreateAppBundleRequest request) { request = beforeClientExecution(request); return executeCreateAppBundle(request); } @SdkInternalApi final CreateAppBundleResult executeCreateAppBundle(CreateAppBundleRequest createAppBundleRequest) { ExecutionContext executionContext = createExecutionContext(createAppBundleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a data ingestion for an application. *
* * @param createIngestionRequest * @return Result of the CreateIngestion operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ServiceQuotaExceededException * The request exceeds a service quota. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ConflictException * The request has created a conflict. Check the request parameters and try again. * @throws ValidationException * The request has invalid or missing parameters. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.CreateIngestion * @see AWS API * Documentation */ @Override public CreateIngestionResult createIngestion(CreateIngestionRequest request) { request = beforeClientExecution(request); return executeCreateIngestion(request); } @SdkInternalApi final CreateIngestionResult executeCreateIngestion(CreateIngestionRequest createIngestionRequest) { ExecutionContext executionContext = createExecutionContext(createIngestionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web * Services AppFabric and where it's delivered. *
* * @param createIngestionDestinationRequest * @return Result of the CreateIngestionDestination operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ServiceQuotaExceededException * The request exceeds a service quota. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ConflictException * The request has created a conflict. Check the request parameters and try again. * @throws ValidationException * The request has invalid or missing parameters. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.CreateIngestionDestination * @see AWS API Documentation */ @Override public CreateIngestionDestinationResult createIngestionDestination(CreateIngestionDestinationRequest request) { request = beforeClientExecution(request); return executeCreateIngestionDestination(request); } @SdkInternalApi final CreateIngestionDestinationResult executeCreateIngestionDestination(CreateIngestionDestinationRequest createIngestionDestinationRequest) { ExecutionContext executionContext = createExecutionContext(createIngestionDestinationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an app authorization. You must delete the associated ingestion before you can delete an app * authorization. *
* * @param deleteAppAuthorizationRequest * @return Result of the DeleteAppAuthorization operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.DeleteAppAuthorization * @see AWS API Documentation */ @Override public DeleteAppAuthorizationResult deleteAppAuthorization(DeleteAppAuthorizationRequest request) { request = beforeClientExecution(request); return executeDeleteAppAuthorization(request); } @SdkInternalApi final DeleteAppAuthorizationResult executeDeleteAppAuthorization(DeleteAppAuthorizationRequest deleteAppAuthorizationRequest) { ExecutionContext executionContext = createExecutionContext(deleteAppAuthorizationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an app bundle. You must delete all associated app authorizations before you can delete an app bundle. *
* * @param deleteAppBundleRequest * @return Result of the DeleteAppBundle operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ConflictException * The request has created a conflict. Check the request parameters and try again. * @throws ValidationException * The request has invalid or missing parameters. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.DeleteAppBundle * @see AWS API * Documentation */ @Override public DeleteAppBundleResult deleteAppBundle(DeleteAppBundleRequest request) { request = beforeClientExecution(request); return executeDeleteAppBundle(request); } @SdkInternalApi final DeleteAppBundleResult executeDeleteAppBundle(DeleteAppBundleRequest deleteAppBundleRequest) { ExecutionContext executionContext = createExecutionContext(deleteAppBundleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an ingestion. You must stop (disable) the ingestion and you must delete all associated ingestion * destinations before you can delete an app ingestion. *
* * @param deleteIngestionRequest * @return Result of the DeleteIngestion operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.DeleteIngestion * @see AWS API * Documentation */ @Override public DeleteIngestionResult deleteIngestion(DeleteIngestionRequest request) { request = beforeClientExecution(request); return executeDeleteIngestion(request); } @SdkInternalApi final DeleteIngestionResult executeDeleteIngestion(DeleteIngestionRequest deleteIngestionRequest) { ExecutionContext executionContext = createExecutionContext(deleteIngestionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an ingestion destination. *
** This deletes the association between an ingestion and it's destination. It doesn't delete previously ingested * data or the storage destination, such as the Amazon S3 bucket where the data is delivered. If the ingestion * destination is deleted while the associated ingestion is enabled, the ingestion will fail and is eventually * disabled. *
* * @param deleteIngestionDestinationRequest * @return Result of the DeleteIngestionDestination operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.DeleteIngestionDestination * @see AWS API Documentation */ @Override public DeleteIngestionDestinationResult deleteIngestionDestination(DeleteIngestionDestinationRequest request) { request = beforeClientExecution(request); return executeDeleteIngestionDestination(request); } @SdkInternalApi final DeleteIngestionDestinationResult executeDeleteIngestionDestination(DeleteIngestionDestinationRequest deleteIngestionDestinationRequest) { ExecutionContext executionContext = createExecutionContext(deleteIngestionDestinationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns information about an app authorization. *
* * @param getAppAuthorizationRequest * @return Result of the GetAppAuthorization operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.GetAppAuthorization * @see AWS * API Documentation */ @Override public GetAppAuthorizationResult getAppAuthorization(GetAppAuthorizationRequest request) { request = beforeClientExecution(request); return executeGetAppAuthorization(request); } @SdkInternalApi final GetAppAuthorizationResult executeGetAppAuthorization(GetAppAuthorizationRequest getAppAuthorizationRequest) { ExecutionContext executionContext = createExecutionContext(getAppAuthorizationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns information about an app bundle. *
* * @param getAppBundleRequest * @return Result of the GetAppBundle operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.GetAppBundle * @see AWS API * Documentation */ @Override public GetAppBundleResult getAppBundle(GetAppBundleRequest request) { request = beforeClientExecution(request); return executeGetAppBundle(request); } @SdkInternalApi final GetAppBundleResult executeGetAppBundle(GetAppBundleRequest getAppBundleRequest) { ExecutionContext executionContext = createExecutionContext(getAppBundleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns information about an ingestion. *
* * @param getIngestionRequest * @return Result of the GetIngestion operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.GetIngestion * @see AWS API * Documentation */ @Override public GetIngestionResult getIngestion(GetIngestionRequest request) { request = beforeClientExecution(request); return executeGetIngestion(request); } @SdkInternalApi final GetIngestionResult executeGetIngestion(GetIngestionRequest getIngestionRequest) { ExecutionContext executionContext = createExecutionContext(getIngestionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns information about an ingestion destination. *
* * @param getIngestionDestinationRequest * @return Result of the GetIngestionDestination operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.GetIngestionDestination * @see AWS API Documentation */ @Override public GetIngestionDestinationResult getIngestionDestination(GetIngestionDestinationRequest request) { request = beforeClientExecution(request); return executeGetIngestionDestination(request); } @SdkInternalApi final GetIngestionDestinationResult executeGetIngestionDestination(GetIngestionDestinationRequest getIngestionDestinationRequest) { ExecutionContext executionContext = createExecutionContext(getIngestionDestinationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list of all app authorizations configured for an app bundle. *
* * @param listAppAuthorizationsRequest * @return Result of the ListAppAuthorizations operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.ListAppAuthorizations * @see AWS API Documentation */ @Override public ListAppAuthorizationsResult listAppAuthorizations(ListAppAuthorizationsRequest request) { request = beforeClientExecution(request); return executeListAppAuthorizations(request); } @SdkInternalApi final ListAppAuthorizationsResult executeListAppAuthorizations(ListAppAuthorizationsRequest listAppAuthorizationsRequest) { ExecutionContext executionContext = createExecutionContext(listAppAuthorizationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list of app bundles. *
* * @param listAppBundlesRequest * @return Result of the ListAppBundles operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.ListAppBundles * @see AWS API * Documentation */ @Override public ListAppBundlesResult listAppBundles(ListAppBundlesRequest request) { request = beforeClientExecution(request); return executeListAppBundles(request); } @SdkInternalApi final ListAppBundlesResult executeListAppBundles(ListAppBundlesRequest listAppBundlesRequest) { ExecutionContext executionContext = createExecutionContext(listAppBundlesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list of all ingestion destinations configured for an ingestion. *
* * @param listIngestionDestinationsRequest * @return Result of the ListIngestionDestinations operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.ListIngestionDestinations * @see AWS API Documentation */ @Override public ListIngestionDestinationsResult listIngestionDestinations(ListIngestionDestinationsRequest request) { request = beforeClientExecution(request); return executeListIngestionDestinations(request); } @SdkInternalApi final ListIngestionDestinationsResult executeListIngestionDestinations(ListIngestionDestinationsRequest listIngestionDestinationsRequest) { ExecutionContext executionContext = createExecutionContext(listIngestionDestinationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list of all ingestions configured for an app bundle. *
* * @param listIngestionsRequest * @return Result of the ListIngestions operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.ListIngestions * @see AWS API * Documentation */ @Override public ListIngestionsResult listIngestions(ListIngestionsRequest request) { request = beforeClientExecution(request); return executeListIngestions(request); } @SdkInternalApi final ListIngestionsResult executeListIngestions(ListIngestionsRequest listIngestionsRequest) { ExecutionContext executionContext = createExecutionContext(listIngestionsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns a list of tags for a resource. *
* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.ListTagsForResource * @see AWS * API Documentation */ @Override public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request) { request = beforeClientExecution(request); return executeListTagsForResource(request); } @SdkInternalApi final ListTagsForResourceResult executeListTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) { ExecutionContext executionContext = createExecutionContext(listTagsForResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Starts (enables) an ingestion, which collects data from an application. *
* * @param startIngestionRequest * @return Result of the StartIngestion operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ConflictException * The request has created a conflict. Check the request parameters and try again. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.StartIngestion * @see AWS API * Documentation */ @Override public StartIngestionResult startIngestion(StartIngestionRequest request) { request = beforeClientExecution(request); return executeStartIngestion(request); } @SdkInternalApi final StartIngestionResult executeStartIngestion(StartIngestionRequest startIngestionRequest) { ExecutionContext executionContext = createExecutionContext(startIngestionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Starts the tasks to search user access status for a specific email address. *
** The tasks are stopped when the user access status data is found. The tasks are terminated when the API calls to * the application time out. *
* * @param startUserAccessTasksRequest * @return Result of the StartUserAccessTasks operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.StartUserAccessTasks * @see AWS * API Documentation */ @Override public StartUserAccessTasksResult startUserAccessTasks(StartUserAccessTasksRequest request) { request = beforeClientExecution(request); return executeStartUserAccessTasks(request); } @SdkInternalApi final StartUserAccessTasksResult executeStartUserAccessTasks(StartUserAccessTasksRequest startUserAccessTasksRequest) { ExecutionContext executionContext = createExecutionContext(startUserAccessTasksRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Stops (disables) an ingestion. *
* * @param stopIngestionRequest * @return Result of the StopIngestion operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ConflictException * The request has created a conflict. Check the request parameters and try again. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.StopIngestion * @see AWS API * Documentation */ @Override public StopIngestionResult stopIngestion(StopIngestionRequest request) { request = beforeClientExecution(request); return executeStopIngestion(request); } @SdkInternalApi final StopIngestionResult executeStopIngestion(StopIngestionRequest stopIngestionRequest) { ExecutionContext executionContext = createExecutionContext(stopIngestionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Assigns one or more tags (key-value pairs) to the specified resource. *
* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.TagResource * @see AWS API * Documentation */ @Override public TagResourceResult tagResource(TagResourceRequest request) { request = beforeClientExecution(request); return executeTagResource(request); } @SdkInternalApi final TagResourceResult executeTagResource(TagResourceRequest tagResourceRequest) { ExecutionContext executionContext = createExecutionContext(tagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Removes a tag or tags from a resource. *
* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.UntagResource * @see AWS API * Documentation */ @Override public UntagResourceResult untagResource(UntagResourceRequest request) { request = beforeClientExecution(request); return executeUntagResource(request); } @SdkInternalApi final UntagResourceResult executeUntagResource(UntagResourceRequest untagResourceRequest) { ExecutionContext executionContext = createExecutionContext(untagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates an app authorization within an app bundle, which allows AppFabric to connect to an application. *
*
* If the app authorization was in a connected
state, updating the app authorization will set it back
* to a PendingConnect
state.
*
* Updates an ingestion destination, which specifies how an application's ingested data is processed by Amazon Web * Services AppFabric and where it's delivered. *
* * @param updateIngestionDestinationRequest * @return Result of the UpdateIngestionDestination operation returned by the service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception, or failure with an internal * server. * @throws ServiceQuotaExceededException * The request exceeds a service quota. * @throws ThrottlingException * The request rate exceeds the limit. * @throws ConflictException * The request has created a conflict. Check the request parameters and try again. * @throws ValidationException * The request has invalid or missing parameters. * @throws ResourceNotFoundException * The specified resource does not exist. * @throws AccessDeniedException * You are not authorized to perform this operation. * @sample AWSAppFabric.UpdateIngestionDestination * @see AWS API Documentation */ @Override public UpdateIngestionDestinationResult updateIngestionDestination(UpdateIngestionDestinationRequest request) { request = beforeClientExecution(request); return executeUpdateIngestionDestination(request); } @SdkInternalApi final UpdateIngestionDestinationResult executeUpdateIngestionDestination(UpdateIngestionDestinationRequest updateIngestionDestinationRequest) { ExecutionContext executionContext = createExecutionContext(updateIngestionDestinationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request
* 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.
*
* @param request
* The originally executed request
*
* @return The response metadata for the specified request, or null if none is available.
*/
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request) {
return client.getResponseMetadataForRequest(request);
}
/**
* Normal invoke with authentication. Credentials are required and may be overriden at the request level.
**/
private