3122 lines
231 KiB
C
3122 lines
231 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/ecs/ECS_EXPORTS.h>
|
|||
|
|
#include <aws/ecs/ECSErrors.h>
|
|||
|
|
#include <aws/core/client/AWSError.h>
|
|||
|
|
#include <aws/core/client/ClientConfiguration.h>
|
|||
|
|
#include <aws/core/client/AWSClient.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/json/JsonSerializer.h>
|
|||
|
|
#include <aws/ecs/model/CreateCapacityProviderResult.h>
|
|||
|
|
#include <aws/ecs/model/CreateClusterResult.h>
|
|||
|
|
#include <aws/ecs/model/CreateServiceResult.h>
|
|||
|
|
#include <aws/ecs/model/CreateTaskSetResult.h>
|
|||
|
|
#include <aws/ecs/model/DeleteAccountSettingResult.h>
|
|||
|
|
#include <aws/ecs/model/DeleteAttributesResult.h>
|
|||
|
|
#include <aws/ecs/model/DeleteCapacityProviderResult.h>
|
|||
|
|
#include <aws/ecs/model/DeleteClusterResult.h>
|
|||
|
|
#include <aws/ecs/model/DeleteServiceResult.h>
|
|||
|
|
#include <aws/ecs/model/DeleteTaskSetResult.h>
|
|||
|
|
#include <aws/ecs/model/DeregisterContainerInstanceResult.h>
|
|||
|
|
#include <aws/ecs/model/DeregisterTaskDefinitionResult.h>
|
|||
|
|
#include <aws/ecs/model/DescribeCapacityProvidersResult.h>
|
|||
|
|
#include <aws/ecs/model/DescribeClustersResult.h>
|
|||
|
|
#include <aws/ecs/model/DescribeContainerInstancesResult.h>
|
|||
|
|
#include <aws/ecs/model/DescribeServicesResult.h>
|
|||
|
|
#include <aws/ecs/model/DescribeTaskDefinitionResult.h>
|
|||
|
|
#include <aws/ecs/model/DescribeTaskSetsResult.h>
|
|||
|
|
#include <aws/ecs/model/DescribeTasksResult.h>
|
|||
|
|
#include <aws/ecs/model/DiscoverPollEndpointResult.h>
|
|||
|
|
#include <aws/ecs/model/ListAccountSettingsResult.h>
|
|||
|
|
#include <aws/ecs/model/ListAttributesResult.h>
|
|||
|
|
#include <aws/ecs/model/ListClustersResult.h>
|
|||
|
|
#include <aws/ecs/model/ListContainerInstancesResult.h>
|
|||
|
|
#include <aws/ecs/model/ListServicesResult.h>
|
|||
|
|
#include <aws/ecs/model/ListTagsForResourceResult.h>
|
|||
|
|
#include <aws/ecs/model/ListTaskDefinitionFamiliesResult.h>
|
|||
|
|
#include <aws/ecs/model/ListTaskDefinitionsResult.h>
|
|||
|
|
#include <aws/ecs/model/ListTasksResult.h>
|
|||
|
|
#include <aws/ecs/model/PutAccountSettingResult.h>
|
|||
|
|
#include <aws/ecs/model/PutAccountSettingDefaultResult.h>
|
|||
|
|
#include <aws/ecs/model/PutAttributesResult.h>
|
|||
|
|
#include <aws/ecs/model/PutClusterCapacityProvidersResult.h>
|
|||
|
|
#include <aws/ecs/model/RegisterContainerInstanceResult.h>
|
|||
|
|
#include <aws/ecs/model/RegisterTaskDefinitionResult.h>
|
|||
|
|
#include <aws/ecs/model/RunTaskResult.h>
|
|||
|
|
#include <aws/ecs/model/StartTaskResult.h>
|
|||
|
|
#include <aws/ecs/model/StopTaskResult.h>
|
|||
|
|
#include <aws/ecs/model/SubmitAttachmentStateChangesResult.h>
|
|||
|
|
#include <aws/ecs/model/SubmitContainerStateChangeResult.h>
|
|||
|
|
#include <aws/ecs/model/SubmitTaskStateChangeResult.h>
|
|||
|
|
#include <aws/ecs/model/TagResourceResult.h>
|
|||
|
|
#include <aws/ecs/model/UntagResourceResult.h>
|
|||
|
|
#include <aws/ecs/model/UpdateClusterSettingsResult.h>
|
|||
|
|
#include <aws/ecs/model/UpdateContainerAgentResult.h>
|
|||
|
|
#include <aws/ecs/model/UpdateContainerInstancesStateResult.h>
|
|||
|
|
#include <aws/ecs/model/UpdateServiceResult.h>
|
|||
|
|
#include <aws/ecs/model/UpdateServicePrimaryTaskSetResult.h>
|
|||
|
|
#include <aws/ecs/model/UpdateTaskSetResult.h>
|
|||
|
|
#include <aws/core/client/AsyncCallerContext.h>
|
|||
|
|
#include <aws/core/http/HttpTypes.h>
|
|||
|
|
#include <future>
|
|||
|
|
#include <functional>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
namespace Http
|
|||
|
|
{
|
|||
|
|
class HttpClient;
|
|||
|
|
class HttpClientFactory;
|
|||
|
|
} // namespace Http
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
template< typename R, typename E> class Outcome;
|
|||
|
|
namespace Threading
|
|||
|
|
{
|
|||
|
|
class Executor;
|
|||
|
|
} // namespace Threading
|
|||
|
|
} // namespace Utils
|
|||
|
|
|
|||
|
|
namespace Auth
|
|||
|
|
{
|
|||
|
|
class AWSCredentials;
|
|||
|
|
class AWSCredentialsProvider;
|
|||
|
|
} // namespace Auth
|
|||
|
|
|
|||
|
|
namespace Client
|
|||
|
|
{
|
|||
|
|
class RetryStrategy;
|
|||
|
|
} // namespace Client
|
|||
|
|
|
|||
|
|
namespace ECS
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class CreateCapacityProviderRequest;
|
|||
|
|
class CreateClusterRequest;
|
|||
|
|
class CreateServiceRequest;
|
|||
|
|
class CreateTaskSetRequest;
|
|||
|
|
class DeleteAccountSettingRequest;
|
|||
|
|
class DeleteAttributesRequest;
|
|||
|
|
class DeleteCapacityProviderRequest;
|
|||
|
|
class DeleteClusterRequest;
|
|||
|
|
class DeleteServiceRequest;
|
|||
|
|
class DeleteTaskSetRequest;
|
|||
|
|
class DeregisterContainerInstanceRequest;
|
|||
|
|
class DeregisterTaskDefinitionRequest;
|
|||
|
|
class DescribeCapacityProvidersRequest;
|
|||
|
|
class DescribeClustersRequest;
|
|||
|
|
class DescribeContainerInstancesRequest;
|
|||
|
|
class DescribeServicesRequest;
|
|||
|
|
class DescribeTaskDefinitionRequest;
|
|||
|
|
class DescribeTaskSetsRequest;
|
|||
|
|
class DescribeTasksRequest;
|
|||
|
|
class DiscoverPollEndpointRequest;
|
|||
|
|
class ListAccountSettingsRequest;
|
|||
|
|
class ListAttributesRequest;
|
|||
|
|
class ListClustersRequest;
|
|||
|
|
class ListContainerInstancesRequest;
|
|||
|
|
class ListServicesRequest;
|
|||
|
|
class ListTagsForResourceRequest;
|
|||
|
|
class ListTaskDefinitionFamiliesRequest;
|
|||
|
|
class ListTaskDefinitionsRequest;
|
|||
|
|
class ListTasksRequest;
|
|||
|
|
class PutAccountSettingRequest;
|
|||
|
|
class PutAccountSettingDefaultRequest;
|
|||
|
|
class PutAttributesRequest;
|
|||
|
|
class PutClusterCapacityProvidersRequest;
|
|||
|
|
class RegisterContainerInstanceRequest;
|
|||
|
|
class RegisterTaskDefinitionRequest;
|
|||
|
|
class RunTaskRequest;
|
|||
|
|
class StartTaskRequest;
|
|||
|
|
class StopTaskRequest;
|
|||
|
|
class SubmitAttachmentStateChangesRequest;
|
|||
|
|
class SubmitContainerStateChangeRequest;
|
|||
|
|
class SubmitTaskStateChangeRequest;
|
|||
|
|
class TagResourceRequest;
|
|||
|
|
class UntagResourceRequest;
|
|||
|
|
class UpdateClusterSettingsRequest;
|
|||
|
|
class UpdateContainerAgentRequest;
|
|||
|
|
class UpdateContainerInstancesStateRequest;
|
|||
|
|
class UpdateServiceRequest;
|
|||
|
|
class UpdateServicePrimaryTaskSetRequest;
|
|||
|
|
class UpdateTaskSetRequest;
|
|||
|
|
|
|||
|
|
typedef Aws::Utils::Outcome<CreateCapacityProviderResult, ECSError> CreateCapacityProviderOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<CreateClusterResult, ECSError> CreateClusterOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<CreateServiceResult, ECSError> CreateServiceOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<CreateTaskSetResult, ECSError> CreateTaskSetOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DeleteAccountSettingResult, ECSError> DeleteAccountSettingOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DeleteAttributesResult, ECSError> DeleteAttributesOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DeleteCapacityProviderResult, ECSError> DeleteCapacityProviderOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DeleteClusterResult, ECSError> DeleteClusterOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DeleteServiceResult, ECSError> DeleteServiceOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DeleteTaskSetResult, ECSError> DeleteTaskSetOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DeregisterContainerInstanceResult, ECSError> DeregisterContainerInstanceOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DeregisterTaskDefinitionResult, ECSError> DeregisterTaskDefinitionOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DescribeCapacityProvidersResult, ECSError> DescribeCapacityProvidersOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DescribeClustersResult, ECSError> DescribeClustersOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DescribeContainerInstancesResult, ECSError> DescribeContainerInstancesOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DescribeServicesResult, ECSError> DescribeServicesOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DescribeTaskDefinitionResult, ECSError> DescribeTaskDefinitionOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DescribeTaskSetsResult, ECSError> DescribeTaskSetsOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DescribeTasksResult, ECSError> DescribeTasksOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<DiscoverPollEndpointResult, ECSError> DiscoverPollEndpointOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<ListAccountSettingsResult, ECSError> ListAccountSettingsOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<ListAttributesResult, ECSError> ListAttributesOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<ListClustersResult, ECSError> ListClustersOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<ListContainerInstancesResult, ECSError> ListContainerInstancesOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<ListServicesResult, ECSError> ListServicesOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<ListTagsForResourceResult, ECSError> ListTagsForResourceOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<ListTaskDefinitionFamiliesResult, ECSError> ListTaskDefinitionFamiliesOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<ListTaskDefinitionsResult, ECSError> ListTaskDefinitionsOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<ListTasksResult, ECSError> ListTasksOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<PutAccountSettingResult, ECSError> PutAccountSettingOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<PutAccountSettingDefaultResult, ECSError> PutAccountSettingDefaultOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<PutAttributesResult, ECSError> PutAttributesOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<PutClusterCapacityProvidersResult, ECSError> PutClusterCapacityProvidersOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<RegisterContainerInstanceResult, ECSError> RegisterContainerInstanceOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<RegisterTaskDefinitionResult, ECSError> RegisterTaskDefinitionOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<RunTaskResult, ECSError> RunTaskOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<StartTaskResult, ECSError> StartTaskOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<StopTaskResult, ECSError> StopTaskOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<SubmitAttachmentStateChangesResult, ECSError> SubmitAttachmentStateChangesOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<SubmitContainerStateChangeResult, ECSError> SubmitContainerStateChangeOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<SubmitTaskStateChangeResult, ECSError> SubmitTaskStateChangeOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<TagResourceResult, ECSError> TagResourceOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<UntagResourceResult, ECSError> UntagResourceOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<UpdateClusterSettingsResult, ECSError> UpdateClusterSettingsOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<UpdateContainerAgentResult, ECSError> UpdateContainerAgentOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<UpdateContainerInstancesStateResult, ECSError> UpdateContainerInstancesStateOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<UpdateServiceResult, ECSError> UpdateServiceOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<UpdateServicePrimaryTaskSetResult, ECSError> UpdateServicePrimaryTaskSetOutcome;
|
|||
|
|
typedef Aws::Utils::Outcome<UpdateTaskSetResult, ECSError> UpdateTaskSetOutcome;
|
|||
|
|
|
|||
|
|
typedef std::future<CreateCapacityProviderOutcome> CreateCapacityProviderOutcomeCallable;
|
|||
|
|
typedef std::future<CreateClusterOutcome> CreateClusterOutcomeCallable;
|
|||
|
|
typedef std::future<CreateServiceOutcome> CreateServiceOutcomeCallable;
|
|||
|
|
typedef std::future<CreateTaskSetOutcome> CreateTaskSetOutcomeCallable;
|
|||
|
|
typedef std::future<DeleteAccountSettingOutcome> DeleteAccountSettingOutcomeCallable;
|
|||
|
|
typedef std::future<DeleteAttributesOutcome> DeleteAttributesOutcomeCallable;
|
|||
|
|
typedef std::future<DeleteCapacityProviderOutcome> DeleteCapacityProviderOutcomeCallable;
|
|||
|
|
typedef std::future<DeleteClusterOutcome> DeleteClusterOutcomeCallable;
|
|||
|
|
typedef std::future<DeleteServiceOutcome> DeleteServiceOutcomeCallable;
|
|||
|
|
typedef std::future<DeleteTaskSetOutcome> DeleteTaskSetOutcomeCallable;
|
|||
|
|
typedef std::future<DeregisterContainerInstanceOutcome> DeregisterContainerInstanceOutcomeCallable;
|
|||
|
|
typedef std::future<DeregisterTaskDefinitionOutcome> DeregisterTaskDefinitionOutcomeCallable;
|
|||
|
|
typedef std::future<DescribeCapacityProvidersOutcome> DescribeCapacityProvidersOutcomeCallable;
|
|||
|
|
typedef std::future<DescribeClustersOutcome> DescribeClustersOutcomeCallable;
|
|||
|
|
typedef std::future<DescribeContainerInstancesOutcome> DescribeContainerInstancesOutcomeCallable;
|
|||
|
|
typedef std::future<DescribeServicesOutcome> DescribeServicesOutcomeCallable;
|
|||
|
|
typedef std::future<DescribeTaskDefinitionOutcome> DescribeTaskDefinitionOutcomeCallable;
|
|||
|
|
typedef std::future<DescribeTaskSetsOutcome> DescribeTaskSetsOutcomeCallable;
|
|||
|
|
typedef std::future<DescribeTasksOutcome> DescribeTasksOutcomeCallable;
|
|||
|
|
typedef std::future<DiscoverPollEndpointOutcome> DiscoverPollEndpointOutcomeCallable;
|
|||
|
|
typedef std::future<ListAccountSettingsOutcome> ListAccountSettingsOutcomeCallable;
|
|||
|
|
typedef std::future<ListAttributesOutcome> ListAttributesOutcomeCallable;
|
|||
|
|
typedef std::future<ListClustersOutcome> ListClustersOutcomeCallable;
|
|||
|
|
typedef std::future<ListContainerInstancesOutcome> ListContainerInstancesOutcomeCallable;
|
|||
|
|
typedef std::future<ListServicesOutcome> ListServicesOutcomeCallable;
|
|||
|
|
typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
|
|||
|
|
typedef std::future<ListTaskDefinitionFamiliesOutcome> ListTaskDefinitionFamiliesOutcomeCallable;
|
|||
|
|
typedef std::future<ListTaskDefinitionsOutcome> ListTaskDefinitionsOutcomeCallable;
|
|||
|
|
typedef std::future<ListTasksOutcome> ListTasksOutcomeCallable;
|
|||
|
|
typedef std::future<PutAccountSettingOutcome> PutAccountSettingOutcomeCallable;
|
|||
|
|
typedef std::future<PutAccountSettingDefaultOutcome> PutAccountSettingDefaultOutcomeCallable;
|
|||
|
|
typedef std::future<PutAttributesOutcome> PutAttributesOutcomeCallable;
|
|||
|
|
typedef std::future<PutClusterCapacityProvidersOutcome> PutClusterCapacityProvidersOutcomeCallable;
|
|||
|
|
typedef std::future<RegisterContainerInstanceOutcome> RegisterContainerInstanceOutcomeCallable;
|
|||
|
|
typedef std::future<RegisterTaskDefinitionOutcome> RegisterTaskDefinitionOutcomeCallable;
|
|||
|
|
typedef std::future<RunTaskOutcome> RunTaskOutcomeCallable;
|
|||
|
|
typedef std::future<StartTaskOutcome> StartTaskOutcomeCallable;
|
|||
|
|
typedef std::future<StopTaskOutcome> StopTaskOutcomeCallable;
|
|||
|
|
typedef std::future<SubmitAttachmentStateChangesOutcome> SubmitAttachmentStateChangesOutcomeCallable;
|
|||
|
|
typedef std::future<SubmitContainerStateChangeOutcome> SubmitContainerStateChangeOutcomeCallable;
|
|||
|
|
typedef std::future<SubmitTaskStateChangeOutcome> SubmitTaskStateChangeOutcomeCallable;
|
|||
|
|
typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
|
|||
|
|
typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
|
|||
|
|
typedef std::future<UpdateClusterSettingsOutcome> UpdateClusterSettingsOutcomeCallable;
|
|||
|
|
typedef std::future<UpdateContainerAgentOutcome> UpdateContainerAgentOutcomeCallable;
|
|||
|
|
typedef std::future<UpdateContainerInstancesStateOutcome> UpdateContainerInstancesStateOutcomeCallable;
|
|||
|
|
typedef std::future<UpdateServiceOutcome> UpdateServiceOutcomeCallable;
|
|||
|
|
typedef std::future<UpdateServicePrimaryTaskSetOutcome> UpdateServicePrimaryTaskSetOutcomeCallable;
|
|||
|
|
typedef std::future<UpdateTaskSetOutcome> UpdateTaskSetOutcomeCallable;
|
|||
|
|
} // namespace Model
|
|||
|
|
|
|||
|
|
class ECSClient;
|
|||
|
|
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::CreateCapacityProviderRequest&, const Model::CreateCapacityProviderOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateCapacityProviderResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::CreateClusterRequest&, const Model::CreateClusterOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateClusterResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::CreateServiceRequest&, const Model::CreateServiceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateServiceResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::CreateTaskSetRequest&, const Model::CreateTaskSetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateTaskSetResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DeleteAccountSettingRequest&, const Model::DeleteAccountSettingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAccountSettingResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DeleteAttributesRequest&, const Model::DeleteAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAttributesResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DeleteCapacityProviderRequest&, const Model::DeleteCapacityProviderOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteCapacityProviderResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DeleteClusterRequest&, const Model::DeleteClusterOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteClusterResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DeleteServiceRequest&, const Model::DeleteServiceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteServiceResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DeleteTaskSetRequest&, const Model::DeleteTaskSetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteTaskSetResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DeregisterContainerInstanceRequest&, const Model::DeregisterContainerInstanceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeregisterContainerInstanceResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DeregisterTaskDefinitionRequest&, const Model::DeregisterTaskDefinitionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeregisterTaskDefinitionResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DescribeCapacityProvidersRequest&, const Model::DescribeCapacityProvidersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeCapacityProvidersResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DescribeClustersRequest&, const Model::DescribeClustersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeClustersResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DescribeContainerInstancesRequest&, const Model::DescribeContainerInstancesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeContainerInstancesResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DescribeServicesRequest&, const Model::DescribeServicesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeServicesResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DescribeTaskDefinitionRequest&, const Model::DescribeTaskDefinitionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeTaskDefinitionResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DescribeTaskSetsRequest&, const Model::DescribeTaskSetsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeTaskSetsResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DescribeTasksRequest&, const Model::DescribeTasksOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeTasksResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::DiscoverPollEndpointRequest&, const Model::DiscoverPollEndpointOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DiscoverPollEndpointResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::ListAccountSettingsRequest&, const Model::ListAccountSettingsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListAccountSettingsResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::ListAttributesRequest&, const Model::ListAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListAttributesResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::ListClustersRequest&, const Model::ListClustersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListClustersResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::ListContainerInstancesRequest&, const Model::ListContainerInstancesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListContainerInstancesResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::ListServicesRequest&, const Model::ListServicesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListServicesResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::ListTaskDefinitionFamiliesRequest&, const Model::ListTaskDefinitionFamiliesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTaskDefinitionFamiliesResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::ListTaskDefinitionsRequest&, const Model::ListTaskDefinitionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTaskDefinitionsResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::ListTasksRequest&, const Model::ListTasksOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTasksResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::PutAccountSettingRequest&, const Model::PutAccountSettingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutAccountSettingResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::PutAccountSettingDefaultRequest&, const Model::PutAccountSettingDefaultOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutAccountSettingDefaultResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::PutAttributesRequest&, const Model::PutAttributesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutAttributesResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::PutClusterCapacityProvidersRequest&, const Model::PutClusterCapacityProvidersOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutClusterCapacityProvidersResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::RegisterContainerInstanceRequest&, const Model::RegisterContainerInstanceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RegisterContainerInstanceResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::RegisterTaskDefinitionRequest&, const Model::RegisterTaskDefinitionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RegisterTaskDefinitionResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::RunTaskRequest&, const Model::RunTaskOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RunTaskResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::StartTaskRequest&, const Model::StartTaskOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartTaskResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::StopTaskRequest&, const Model::StopTaskOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StopTaskResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::SubmitAttachmentStateChangesRequest&, const Model::SubmitAttachmentStateChangesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SubmitAttachmentStateChangesResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::SubmitContainerStateChangeRequest&, const Model::SubmitContainerStateChangeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SubmitContainerStateChangeResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::SubmitTaskStateChangeRequest&, const Model::SubmitTaskStateChangeOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SubmitTaskStateChangeResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::UpdateClusterSettingsRequest&, const Model::UpdateClusterSettingsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateClusterSettingsResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::UpdateContainerAgentRequest&, const Model::UpdateContainerAgentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateContainerAgentResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::UpdateContainerInstancesStateRequest&, const Model::UpdateContainerInstancesStateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateContainerInstancesStateResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::UpdateServiceRequest&, const Model::UpdateServiceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateServiceResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::UpdateServicePrimaryTaskSetRequest&, const Model::UpdateServicePrimaryTaskSetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateServicePrimaryTaskSetResponseReceivedHandler;
|
|||
|
|
typedef std::function<void(const ECSClient*, const Model::UpdateTaskSetRequest&, const Model::UpdateTaskSetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateTaskSetResponseReceivedHandler;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <fullname>Amazon Elastic Container Service</fullname> <p>Amazon Elastic
|
|||
|
|
* Container Service (Amazon ECS) is a highly scalable, fast, container management
|
|||
|
|
* service that makes it easy to run, stop, and manage Docker containers on a
|
|||
|
|
* cluster. You can host your cluster on a serverless infrastructure that is
|
|||
|
|
* managed by Amazon ECS by launching your services or tasks using the Fargate
|
|||
|
|
* launch type. For more control, you can host your tasks on a cluster of Amazon
|
|||
|
|
* Elastic Compute Cloud (Amazon EC2) instances that you manage by using the EC2
|
|||
|
|
* launch type. For more information about launch types, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html">Amazon
|
|||
|
|
* ECS Launch Types</a>.</p> <p>Amazon ECS lets you launch and stop container-based
|
|||
|
|
* applications with simple API calls, allows you to get the state of your cluster
|
|||
|
|
* from a centralized service, and gives you access to many familiar Amazon EC2
|
|||
|
|
* features.</p> <p>You can use Amazon ECS to schedule the placement of containers
|
|||
|
|
* across your cluster based on your resource needs, isolation policies, and
|
|||
|
|
* availability requirements. Amazon ECS eliminates the need for you to operate
|
|||
|
|
* your own cluster management and configuration management systems or worry about
|
|||
|
|
* scaling your management infrastructure.</p>
|
|||
|
|
*/
|
|||
|
|
class AWS_ECS_API ECSClient : public Aws::Client::AWSJsonClient
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
typedef Aws::Client::AWSJsonClient BASECLASS;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 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.
|
|||
|
|
*/
|
|||
|
|
ECSClient(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.
|
|||
|
|
*/
|
|||
|
|
ECSClient(const Aws::Auth::AWSCredentials& credentials, 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
|
|||
|
|
*/
|
|||
|
|
ECSClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
|
|||
|
|
const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
|
|||
|
|
|
|||
|
|
virtual ~ECSClient();
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Creates a new capacity provider. Capacity providers are associated with an
|
|||
|
|
* Amazon ECS cluster and are used in capacity provider strategies to facilitate
|
|||
|
|
* cluster auto scaling.</p> <p>Only capacity providers using an Auto Scaling group
|
|||
|
|
* can be created. Amazon ECS tasks on AWS Fargate use the <code>FARGATE</code> and
|
|||
|
|
* <code>FARGATE_SPOT</code> capacity providers which are already created and
|
|||
|
|
* available to all accounts in Regions supported by AWS Fargate.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCapacityProvider">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::CreateCapacityProviderOutcome CreateCapacityProvider(const Model::CreateCapacityProviderRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Creates a new capacity provider. Capacity providers are associated with an
|
|||
|
|
* Amazon ECS cluster and are used in capacity provider strategies to facilitate
|
|||
|
|
* cluster auto scaling.</p> <p>Only capacity providers using an Auto Scaling group
|
|||
|
|
* can be created. Amazon ECS tasks on AWS Fargate use the <code>FARGATE</code> and
|
|||
|
|
* <code>FARGATE_SPOT</code> capacity providers which are already created and
|
|||
|
|
* available to all accounts in Regions supported by AWS Fargate.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCapacityProvider">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::CreateCapacityProviderOutcomeCallable CreateCapacityProviderCallable(const Model::CreateCapacityProviderRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Creates a new capacity provider. Capacity providers are associated with an
|
|||
|
|
* Amazon ECS cluster and are used in capacity provider strategies to facilitate
|
|||
|
|
* cluster auto scaling.</p> <p>Only capacity providers using an Auto Scaling group
|
|||
|
|
* can be created. Amazon ECS tasks on AWS Fargate use the <code>FARGATE</code> and
|
|||
|
|
* <code>FARGATE_SPOT</code> capacity providers which are already created and
|
|||
|
|
* available to all accounts in Regions supported by AWS Fargate.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCapacityProvider">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void CreateCapacityProviderAsync(const Model::CreateCapacityProviderRequest& request, const CreateCapacityProviderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Creates a new Amazon ECS cluster. By default, your account receives a
|
|||
|
|
* <code>default</code> cluster when you launch your first container instance.
|
|||
|
|
* However, you can create your own cluster with a unique name with the
|
|||
|
|
* <code>CreateCluster</code> action.</p> <p>When you call the
|
|||
|
|
* <a>CreateCluster</a> API operation, Amazon ECS attempts to create the Amazon ECS
|
|||
|
|
* service-linked role for your account so that required resources in other AWS
|
|||
|
|
* services can be managed on your behalf. However, if the IAM user that makes the
|
|||
|
|
* call does not have permissions to create the service-linked role, it is not
|
|||
|
|
* created. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
|
|||
|
|
* Service-Linked Roles for Amazon ECS</a> in the <i>Amazon Elastic Container
|
|||
|
|
* Service Developer Guide</i>.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::CreateClusterOutcome CreateCluster(const Model::CreateClusterRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Creates a new Amazon ECS cluster. By default, your account receives a
|
|||
|
|
* <code>default</code> cluster when you launch your first container instance.
|
|||
|
|
* However, you can create your own cluster with a unique name with the
|
|||
|
|
* <code>CreateCluster</code> action.</p> <p>When you call the
|
|||
|
|
* <a>CreateCluster</a> API operation, Amazon ECS attempts to create the Amazon ECS
|
|||
|
|
* service-linked role for your account so that required resources in other AWS
|
|||
|
|
* services can be managed on your behalf. However, if the IAM user that makes the
|
|||
|
|
* call does not have permissions to create the service-linked role, it is not
|
|||
|
|
* created. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
|
|||
|
|
* Service-Linked Roles for Amazon ECS</a> in the <i>Amazon Elastic Container
|
|||
|
|
* Service Developer Guide</i>.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::CreateClusterOutcomeCallable CreateClusterCallable(const Model::CreateClusterRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Creates a new Amazon ECS cluster. By default, your account receives a
|
|||
|
|
* <code>default</code> cluster when you launch your first container instance.
|
|||
|
|
* However, you can create your own cluster with a unique name with the
|
|||
|
|
* <code>CreateCluster</code> action.</p> <p>When you call the
|
|||
|
|
* <a>CreateCluster</a> API operation, Amazon ECS attempts to create the Amazon ECS
|
|||
|
|
* service-linked role for your account so that required resources in other AWS
|
|||
|
|
* services can be managed on your behalf. However, if the IAM user that makes the
|
|||
|
|
* call does not have permissions to create the service-linked role, it is not
|
|||
|
|
* created. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using
|
|||
|
|
* Service-Linked Roles for Amazon ECS</a> in the <i>Amazon Elastic Container
|
|||
|
|
* Service Developer Guide</i>.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void CreateClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Runs and maintains a desired number of tasks from a specified task
|
|||
|
|
* definition. If the number of tasks running in a service drops below the
|
|||
|
|
* <code>desiredCount</code>, Amazon ECS runs another copy of the task in the
|
|||
|
|
* specified cluster. To update an existing service, see the UpdateService
|
|||
|
|
* action.</p> <p>In addition to maintaining the desired count of tasks in your
|
|||
|
|
* service, you can optionally run your service behind one or more load balancers.
|
|||
|
|
* The load balancers distribute traffic across the tasks that are associated with
|
|||
|
|
* the service. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service
|
|||
|
|
* Load Balancing</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>Tasks for services that <i>do not</i> use a load balancer are
|
|||
|
|
* considered healthy if they're in the <code>RUNNING</code> state. Tasks for
|
|||
|
|
* services that <i>do</i> use a load balancer are considered healthy if they're in
|
|||
|
|
* the <code>RUNNING</code> state and the container instance that they're hosted on
|
|||
|
|
* is reported as healthy by the load balancer.</p> <p>There are two service
|
|||
|
|
* scheduler strategies available:</p> <ul> <li> <p> <code>REPLICA</code> - The
|
|||
|
|
* replica scheduling strategy places and maintains the desired number of tasks
|
|||
|
|
* across your cluster. By default, the service scheduler spreads tasks across
|
|||
|
|
* Availability Zones. You can use task placement strategies and constraints to
|
|||
|
|
* customize task placement decisions. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service
|
|||
|
|
* Scheduler Concepts</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> </li> <li> <p> <code>DAEMON</code> - The daemon scheduling
|
|||
|
|
* strategy deploys exactly one task on each active container instance that meets
|
|||
|
|
* all of the task placement constraints that you specify in your cluster. The
|
|||
|
|
* service scheduler also evaluates the task placement constraints for running
|
|||
|
|
* tasks and will stop tasks that do not meet the placement constraints. When using
|
|||
|
|
* this strategy, you don't need to specify a desired number of tasks, a task
|
|||
|
|
* placement strategy, or use Service Auto Scaling policies. For more information,
|
|||
|
|
* see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service
|
|||
|
|
* Scheduler Concepts</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> </li> </ul> <p>You can optionally specify a deployment
|
|||
|
|
* configuration for your service. The deployment is triggered by changing
|
|||
|
|
* properties, such as the task definition or the desired count of a service, with
|
|||
|
|
* an <a>UpdateService</a> operation. The default value for a replica service for
|
|||
|
|
* <code>minimumHealthyPercent</code> is 100%. The default value for a daemon
|
|||
|
|
* service for <code>minimumHealthyPercent</code> is 0%.</p> <p>If a service is
|
|||
|
|
* using the <code>ECS</code> deployment controller, the minimum healthy percent
|
|||
|
|
* represents a lower limit on the number of tasks in a service that must remain in
|
|||
|
|
* the <code>RUNNING</code> state during a deployment, as a percentage of the
|
|||
|
|
* desired number of tasks (rounded up to the nearest integer), and while any
|
|||
|
|
* container instances are in the <code>DRAINING</code> state if the service
|
|||
|
|
* contains tasks using the EC2 launch type. This parameter enables you to deploy
|
|||
|
|
* without using additional cluster capacity. For example, if your service has a
|
|||
|
|
* desired number of four tasks and a minimum healthy percent of 50%, the scheduler
|
|||
|
|
* might stop two existing tasks to free up cluster capacity before starting two
|
|||
|
|
* new tasks. Tasks for services that <i>do not</i> use a load balancer are
|
|||
|
|
* considered healthy if they're in the <code>RUNNING</code> state. Tasks for
|
|||
|
|
* services that <i>do</i> use a load balancer are considered healthy if they're in
|
|||
|
|
* the <code>RUNNING</code> state and they're reported as healthy by the load
|
|||
|
|
* balancer. The default value for minimum healthy percent is 100%.</p> <p>If a
|
|||
|
|
* service is using the <code>ECS</code> deployment controller, the <b>maximum
|
|||
|
|
* percent</b> parameter represents an upper limit on the number of tasks in a
|
|||
|
|
* service that are allowed in the <code>RUNNING</code> or <code>PENDING</code>
|
|||
|
|
* state during a deployment, as a percentage of the desired number of tasks
|
|||
|
|
* (rounded down to the nearest integer), and while any container instances are in
|
|||
|
|
* the <code>DRAINING</code> state if the service contains tasks using the EC2
|
|||
|
|
* launch type. This parameter enables you to define the deployment batch size. For
|
|||
|
|
* example, if your service has a desired number of four tasks and a maximum
|
|||
|
|
* percent value of 200%, the scheduler may start four new tasks before stopping
|
|||
|
|
* the four older tasks (provided that the cluster resources required to do this
|
|||
|
|
* are available). The default value for maximum percent is 200%.</p> <p>If a
|
|||
|
|
* service is using either the <code>CODE_DEPLOY</code> or <code>EXTERNAL</code>
|
|||
|
|
* deployment controller types and tasks that use the EC2 launch type, the
|
|||
|
|
* <b>minimum healthy percent</b> and <b>maximum percent</b> values are used only
|
|||
|
|
* to define the lower and upper limit on the number of the tasks in the service
|
|||
|
|
* that remain in the <code>RUNNING</code> state while the container instances are
|
|||
|
|
* in the <code>DRAINING</code> state. If the tasks in the service use the Fargate
|
|||
|
|
* launch type, the minimum healthy percent and maximum percent values aren't used,
|
|||
|
|
* although they're currently visible when describing your service.</p> <p>When
|
|||
|
|
* creating a service that uses the <code>EXTERNAL</code> deployment controller,
|
|||
|
|
* you can specify only parameters that aren't controlled at the task set level.
|
|||
|
|
* The only required parameter is the service name. You control your services using
|
|||
|
|
* the <a>CreateTaskSet</a> operation. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>When the service scheduler launches new tasks, it determines
|
|||
|
|
* task placement in your cluster using the following logic:</p> <ul> <li>
|
|||
|
|
* <p>Determine which of the container instances in your cluster can support your
|
|||
|
|
* service's task definition (for example, they have the required CPU, memory,
|
|||
|
|
* ports, and container instance attributes).</p> </li> <li> <p>By default, the
|
|||
|
|
* service scheduler attempts to balance tasks across Availability Zones in this
|
|||
|
|
* manner (although you can choose a different placement strategy) with the
|
|||
|
|
* <code>placementStrategy</code> parameter):</p> <ul> <li> <p>Sort the valid
|
|||
|
|
* container instances, giving priority to instances that have the fewest number of
|
|||
|
|
* running tasks for this service in their respective Availability Zone. For
|
|||
|
|
* example, if zone A has one running service task and zones B and C each have
|
|||
|
|
* zero, valid container instances in either zone B or C are considered optimal for
|
|||
|
|
* placement.</p> </li> <li> <p>Place the new service task on a valid container
|
|||
|
|
* instance in an optimal Availability Zone (based on the previous steps), favoring
|
|||
|
|
* container instances with the fewest number of running tasks for this
|
|||
|
|
* service.</p> </li> </ul> </li> </ul><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::CreateServiceOutcome CreateService(const Model::CreateServiceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Runs and maintains a desired number of tasks from a specified task
|
|||
|
|
* definition. If the number of tasks running in a service drops below the
|
|||
|
|
* <code>desiredCount</code>, Amazon ECS runs another copy of the task in the
|
|||
|
|
* specified cluster. To update an existing service, see the UpdateService
|
|||
|
|
* action.</p> <p>In addition to maintaining the desired count of tasks in your
|
|||
|
|
* service, you can optionally run your service behind one or more load balancers.
|
|||
|
|
* The load balancers distribute traffic across the tasks that are associated with
|
|||
|
|
* the service. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service
|
|||
|
|
* Load Balancing</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>Tasks for services that <i>do not</i> use a load balancer are
|
|||
|
|
* considered healthy if they're in the <code>RUNNING</code> state. Tasks for
|
|||
|
|
* services that <i>do</i> use a load balancer are considered healthy if they're in
|
|||
|
|
* the <code>RUNNING</code> state and the container instance that they're hosted on
|
|||
|
|
* is reported as healthy by the load balancer.</p> <p>There are two service
|
|||
|
|
* scheduler strategies available:</p> <ul> <li> <p> <code>REPLICA</code> - The
|
|||
|
|
* replica scheduling strategy places and maintains the desired number of tasks
|
|||
|
|
* across your cluster. By default, the service scheduler spreads tasks across
|
|||
|
|
* Availability Zones. You can use task placement strategies and constraints to
|
|||
|
|
* customize task placement decisions. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service
|
|||
|
|
* Scheduler Concepts</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> </li> <li> <p> <code>DAEMON</code> - The daemon scheduling
|
|||
|
|
* strategy deploys exactly one task on each active container instance that meets
|
|||
|
|
* all of the task placement constraints that you specify in your cluster. The
|
|||
|
|
* service scheduler also evaluates the task placement constraints for running
|
|||
|
|
* tasks and will stop tasks that do not meet the placement constraints. When using
|
|||
|
|
* this strategy, you don't need to specify a desired number of tasks, a task
|
|||
|
|
* placement strategy, or use Service Auto Scaling policies. For more information,
|
|||
|
|
* see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service
|
|||
|
|
* Scheduler Concepts</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> </li> </ul> <p>You can optionally specify a deployment
|
|||
|
|
* configuration for your service. The deployment is triggered by changing
|
|||
|
|
* properties, such as the task definition or the desired count of a service, with
|
|||
|
|
* an <a>UpdateService</a> operation. The default value for a replica service for
|
|||
|
|
* <code>minimumHealthyPercent</code> is 100%. The default value for a daemon
|
|||
|
|
* service for <code>minimumHealthyPercent</code> is 0%.</p> <p>If a service is
|
|||
|
|
* using the <code>ECS</code> deployment controller, the minimum healthy percent
|
|||
|
|
* represents a lower limit on the number of tasks in a service that must remain in
|
|||
|
|
* the <code>RUNNING</code> state during a deployment, as a percentage of the
|
|||
|
|
* desired number of tasks (rounded up to the nearest integer), and while any
|
|||
|
|
* container instances are in the <code>DRAINING</code> state if the service
|
|||
|
|
* contains tasks using the EC2 launch type. This parameter enables you to deploy
|
|||
|
|
* without using additional cluster capacity. For example, if your service has a
|
|||
|
|
* desired number of four tasks and a minimum healthy percent of 50%, the scheduler
|
|||
|
|
* might stop two existing tasks to free up cluster capacity before starting two
|
|||
|
|
* new tasks. Tasks for services that <i>do not</i> use a load balancer are
|
|||
|
|
* considered healthy if they're in the <code>RUNNING</code> state. Tasks for
|
|||
|
|
* services that <i>do</i> use a load balancer are considered healthy if they're in
|
|||
|
|
* the <code>RUNNING</code> state and they're reported as healthy by the load
|
|||
|
|
* balancer. The default value for minimum healthy percent is 100%.</p> <p>If a
|
|||
|
|
* service is using the <code>ECS</code> deployment controller, the <b>maximum
|
|||
|
|
* percent</b> parameter represents an upper limit on the number of tasks in a
|
|||
|
|
* service that are allowed in the <code>RUNNING</code> or <code>PENDING</code>
|
|||
|
|
* state during a deployment, as a percentage of the desired number of tasks
|
|||
|
|
* (rounded down to the nearest integer), and while any container instances are in
|
|||
|
|
* the <code>DRAINING</code> state if the service contains tasks using the EC2
|
|||
|
|
* launch type. This parameter enables you to define the deployment batch size. For
|
|||
|
|
* example, if your service has a desired number of four tasks and a maximum
|
|||
|
|
* percent value of 200%, the scheduler may start four new tasks before stopping
|
|||
|
|
* the four older tasks (provided that the cluster resources required to do this
|
|||
|
|
* are available). The default value for maximum percent is 200%.</p> <p>If a
|
|||
|
|
* service is using either the <code>CODE_DEPLOY</code> or <code>EXTERNAL</code>
|
|||
|
|
* deployment controller types and tasks that use the EC2 launch type, the
|
|||
|
|
* <b>minimum healthy percent</b> and <b>maximum percent</b> values are used only
|
|||
|
|
* to define the lower and upper limit on the number of the tasks in the service
|
|||
|
|
* that remain in the <code>RUNNING</code> state while the container instances are
|
|||
|
|
* in the <code>DRAINING</code> state. If the tasks in the service use the Fargate
|
|||
|
|
* launch type, the minimum healthy percent and maximum percent values aren't used,
|
|||
|
|
* although they're currently visible when describing your service.</p> <p>When
|
|||
|
|
* creating a service that uses the <code>EXTERNAL</code> deployment controller,
|
|||
|
|
* you can specify only parameters that aren't controlled at the task set level.
|
|||
|
|
* The only required parameter is the service name. You control your services using
|
|||
|
|
* the <a>CreateTaskSet</a> operation. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>When the service scheduler launches new tasks, it determines
|
|||
|
|
* task placement in your cluster using the following logic:</p> <ul> <li>
|
|||
|
|
* <p>Determine which of the container instances in your cluster can support your
|
|||
|
|
* service's task definition (for example, they have the required CPU, memory,
|
|||
|
|
* ports, and container instance attributes).</p> </li> <li> <p>By default, the
|
|||
|
|
* service scheduler attempts to balance tasks across Availability Zones in this
|
|||
|
|
* manner (although you can choose a different placement strategy) with the
|
|||
|
|
* <code>placementStrategy</code> parameter):</p> <ul> <li> <p>Sort the valid
|
|||
|
|
* container instances, giving priority to instances that have the fewest number of
|
|||
|
|
* running tasks for this service in their respective Availability Zone. For
|
|||
|
|
* example, if zone A has one running service task and zones B and C each have
|
|||
|
|
* zero, valid container instances in either zone B or C are considered optimal for
|
|||
|
|
* placement.</p> </li> <li> <p>Place the new service task on a valid container
|
|||
|
|
* instance in an optimal Availability Zone (based on the previous steps), favoring
|
|||
|
|
* container instances with the fewest number of running tasks for this
|
|||
|
|
* service.</p> </li> </ul> </li> </ul><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::CreateServiceOutcomeCallable CreateServiceCallable(const Model::CreateServiceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Runs and maintains a desired number of tasks from a specified task
|
|||
|
|
* definition. If the number of tasks running in a service drops below the
|
|||
|
|
* <code>desiredCount</code>, Amazon ECS runs another copy of the task in the
|
|||
|
|
* specified cluster. To update an existing service, see the UpdateService
|
|||
|
|
* action.</p> <p>In addition to maintaining the desired count of tasks in your
|
|||
|
|
* service, you can optionally run your service behind one or more load balancers.
|
|||
|
|
* The load balancers distribute traffic across the tasks that are associated with
|
|||
|
|
* the service. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service
|
|||
|
|
* Load Balancing</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>Tasks for services that <i>do not</i> use a load balancer are
|
|||
|
|
* considered healthy if they're in the <code>RUNNING</code> state. Tasks for
|
|||
|
|
* services that <i>do</i> use a load balancer are considered healthy if they're in
|
|||
|
|
* the <code>RUNNING</code> state and the container instance that they're hosted on
|
|||
|
|
* is reported as healthy by the load balancer.</p> <p>There are two service
|
|||
|
|
* scheduler strategies available:</p> <ul> <li> <p> <code>REPLICA</code> - The
|
|||
|
|
* replica scheduling strategy places and maintains the desired number of tasks
|
|||
|
|
* across your cluster. By default, the service scheduler spreads tasks across
|
|||
|
|
* Availability Zones. You can use task placement strategies and constraints to
|
|||
|
|
* customize task placement decisions. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service
|
|||
|
|
* Scheduler Concepts</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> </li> <li> <p> <code>DAEMON</code> - The daemon scheduling
|
|||
|
|
* strategy deploys exactly one task on each active container instance that meets
|
|||
|
|
* all of the task placement constraints that you specify in your cluster. The
|
|||
|
|
* service scheduler also evaluates the task placement constraints for running
|
|||
|
|
* tasks and will stop tasks that do not meet the placement constraints. When using
|
|||
|
|
* this strategy, you don't need to specify a desired number of tasks, a task
|
|||
|
|
* placement strategy, or use Service Auto Scaling policies. For more information,
|
|||
|
|
* see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Service
|
|||
|
|
* Scheduler Concepts</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> </li> </ul> <p>You can optionally specify a deployment
|
|||
|
|
* configuration for your service. The deployment is triggered by changing
|
|||
|
|
* properties, such as the task definition or the desired count of a service, with
|
|||
|
|
* an <a>UpdateService</a> operation. The default value for a replica service for
|
|||
|
|
* <code>minimumHealthyPercent</code> is 100%. The default value for a daemon
|
|||
|
|
* service for <code>minimumHealthyPercent</code> is 0%.</p> <p>If a service is
|
|||
|
|
* using the <code>ECS</code> deployment controller, the minimum healthy percent
|
|||
|
|
* represents a lower limit on the number of tasks in a service that must remain in
|
|||
|
|
* the <code>RUNNING</code> state during a deployment, as a percentage of the
|
|||
|
|
* desired number of tasks (rounded up to the nearest integer), and while any
|
|||
|
|
* container instances are in the <code>DRAINING</code> state if the service
|
|||
|
|
* contains tasks using the EC2 launch type. This parameter enables you to deploy
|
|||
|
|
* without using additional cluster capacity. For example, if your service has a
|
|||
|
|
* desired number of four tasks and a minimum healthy percent of 50%, the scheduler
|
|||
|
|
* might stop two existing tasks to free up cluster capacity before starting two
|
|||
|
|
* new tasks. Tasks for services that <i>do not</i> use a load balancer are
|
|||
|
|
* considered healthy if they're in the <code>RUNNING</code> state. Tasks for
|
|||
|
|
* services that <i>do</i> use a load balancer are considered healthy if they're in
|
|||
|
|
* the <code>RUNNING</code> state and they're reported as healthy by the load
|
|||
|
|
* balancer. The default value for minimum healthy percent is 100%.</p> <p>If a
|
|||
|
|
* service is using the <code>ECS</code> deployment controller, the <b>maximum
|
|||
|
|
* percent</b> parameter represents an upper limit on the number of tasks in a
|
|||
|
|
* service that are allowed in the <code>RUNNING</code> or <code>PENDING</code>
|
|||
|
|
* state during a deployment, as a percentage of the desired number of tasks
|
|||
|
|
* (rounded down to the nearest integer), and while any container instances are in
|
|||
|
|
* the <code>DRAINING</code> state if the service contains tasks using the EC2
|
|||
|
|
* launch type. This parameter enables you to define the deployment batch size. For
|
|||
|
|
* example, if your service has a desired number of four tasks and a maximum
|
|||
|
|
* percent value of 200%, the scheduler may start four new tasks before stopping
|
|||
|
|
* the four older tasks (provided that the cluster resources required to do this
|
|||
|
|
* are available). The default value for maximum percent is 200%.</p> <p>If a
|
|||
|
|
* service is using either the <code>CODE_DEPLOY</code> or <code>EXTERNAL</code>
|
|||
|
|
* deployment controller types and tasks that use the EC2 launch type, the
|
|||
|
|
* <b>minimum healthy percent</b> and <b>maximum percent</b> values are used only
|
|||
|
|
* to define the lower and upper limit on the number of the tasks in the service
|
|||
|
|
* that remain in the <code>RUNNING</code> state while the container instances are
|
|||
|
|
* in the <code>DRAINING</code> state. If the tasks in the service use the Fargate
|
|||
|
|
* launch type, the minimum healthy percent and maximum percent values aren't used,
|
|||
|
|
* although they're currently visible when describing your service.</p> <p>When
|
|||
|
|
* creating a service that uses the <code>EXTERNAL</code> deployment controller,
|
|||
|
|
* you can specify only parameters that aren't controlled at the task set level.
|
|||
|
|
* The only required parameter is the service name. You control your services using
|
|||
|
|
* the <a>CreateTaskSet</a> operation. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>When the service scheduler launches new tasks, it determines
|
|||
|
|
* task placement in your cluster using the following logic:</p> <ul> <li>
|
|||
|
|
* <p>Determine which of the container instances in your cluster can support your
|
|||
|
|
* service's task definition (for example, they have the required CPU, memory,
|
|||
|
|
* ports, and container instance attributes).</p> </li> <li> <p>By default, the
|
|||
|
|
* service scheduler attempts to balance tasks across Availability Zones in this
|
|||
|
|
* manner (although you can choose a different placement strategy) with the
|
|||
|
|
* <code>placementStrategy</code> parameter):</p> <ul> <li> <p>Sort the valid
|
|||
|
|
* container instances, giving priority to instances that have the fewest number of
|
|||
|
|
* running tasks for this service in their respective Availability Zone. For
|
|||
|
|
* example, if zone A has one running service task and zones B and C each have
|
|||
|
|
* zero, valid container instances in either zone B or C are considered optimal for
|
|||
|
|
* placement.</p> </li> <li> <p>Place the new service task on a valid container
|
|||
|
|
* instance in an optimal Availability Zone (based on the previous steps), favoring
|
|||
|
|
* container instances with the fewest number of running tasks for this
|
|||
|
|
* service.</p> </li> </ul> </li> </ul><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void CreateServiceAsync(const Model::CreateServiceRequest& request, const CreateServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Create a task set in the specified cluster and service. This is used when a
|
|||
|
|
* service uses the <code>EXTERNAL</code> deployment controller type. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::CreateTaskSetOutcome CreateTaskSet(const Model::CreateTaskSetRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Create a task set in the specified cluster and service. This is used when a
|
|||
|
|
* service uses the <code>EXTERNAL</code> deployment controller type. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::CreateTaskSetOutcomeCallable CreateTaskSetCallable(const Model::CreateTaskSetRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Create a task set in the specified cluster and service. This is used when a
|
|||
|
|
* service uses the <code>EXTERNAL</code> deployment controller type. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void CreateTaskSetAsync(const Model::CreateTaskSetRequest& request, const CreateTaskSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Disables an account setting for a specified IAM user, IAM role, or the root
|
|||
|
|
* user for an account.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAccountSetting">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteAccountSettingOutcome DeleteAccountSetting(const Model::DeleteAccountSettingRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Disables an account setting for a specified IAM user, IAM role, or the root
|
|||
|
|
* user for an account.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAccountSetting">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteAccountSettingOutcomeCallable DeleteAccountSettingCallable(const Model::DeleteAccountSettingRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Disables an account setting for a specified IAM user, IAM role, or the root
|
|||
|
|
* user for an account.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAccountSetting">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DeleteAccountSettingAsync(const Model::DeleteAccountSettingRequest& request, const DeleteAccountSettingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes one or more custom attributes from an Amazon ECS
|
|||
|
|
* resource.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteAttributesOutcome DeleteAttributes(const Model::DeleteAttributesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes one or more custom attributes from an Amazon ECS
|
|||
|
|
* resource.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteAttributesOutcomeCallable DeleteAttributesCallable(const Model::DeleteAttributesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes one or more custom attributes from an Amazon ECS
|
|||
|
|
* resource.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DeleteAttributesAsync(const Model::DeleteAttributesRequest& request, const DeleteAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes the specified capacity provider.</p> <p>The
|
|||
|
|
* <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers are
|
|||
|
|
* reserved and cannot be deleted. You can disassociate them from a cluster using
|
|||
|
|
* either the <a>PutClusterCapacityProviders</a> API or by deleting the
|
|||
|
|
* cluster.</p> <p>Prior to a capacity provider being deleted, the capacity
|
|||
|
|
* provider must be removed from the capacity provider strategy from all services.
|
|||
|
|
* The <a>UpdateService</a> API can be used to remove a capacity provider from a
|
|||
|
|
* service's capacity provider strategy. When updating a service, the
|
|||
|
|
* <code>forceNewDeployment</code> option can be used to ensure that any tasks
|
|||
|
|
* using the Amazon EC2 instance capacity provided by the capacity provider are
|
|||
|
|
* transitioned to use the capacity from the remaining capacity providers. Only
|
|||
|
|
* capacity providers that are not associated with a cluster can be deleted. To
|
|||
|
|
* remove a capacity provider from a cluster, you can either use
|
|||
|
|
* <a>PutClusterCapacityProviders</a> or delete the cluster.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteCapacityProviderOutcome DeleteCapacityProvider(const Model::DeleteCapacityProviderRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes the specified capacity provider.</p> <p>The
|
|||
|
|
* <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers are
|
|||
|
|
* reserved and cannot be deleted. You can disassociate them from a cluster using
|
|||
|
|
* either the <a>PutClusterCapacityProviders</a> API or by deleting the
|
|||
|
|
* cluster.</p> <p>Prior to a capacity provider being deleted, the capacity
|
|||
|
|
* provider must be removed from the capacity provider strategy from all services.
|
|||
|
|
* The <a>UpdateService</a> API can be used to remove a capacity provider from a
|
|||
|
|
* service's capacity provider strategy. When updating a service, the
|
|||
|
|
* <code>forceNewDeployment</code> option can be used to ensure that any tasks
|
|||
|
|
* using the Amazon EC2 instance capacity provided by the capacity provider are
|
|||
|
|
* transitioned to use the capacity from the remaining capacity providers. Only
|
|||
|
|
* capacity providers that are not associated with a cluster can be deleted. To
|
|||
|
|
* remove a capacity provider from a cluster, you can either use
|
|||
|
|
* <a>PutClusterCapacityProviders</a> or delete the cluster.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteCapacityProviderOutcomeCallable DeleteCapacityProviderCallable(const Model::DeleteCapacityProviderRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes the specified capacity provider.</p> <p>The
|
|||
|
|
* <code>FARGATE</code> and <code>FARGATE_SPOT</code> capacity providers are
|
|||
|
|
* reserved and cannot be deleted. You can disassociate them from a cluster using
|
|||
|
|
* either the <a>PutClusterCapacityProviders</a> API or by deleting the
|
|||
|
|
* cluster.</p> <p>Prior to a capacity provider being deleted, the capacity
|
|||
|
|
* provider must be removed from the capacity provider strategy from all services.
|
|||
|
|
* The <a>UpdateService</a> API can be used to remove a capacity provider from a
|
|||
|
|
* service's capacity provider strategy. When updating a service, the
|
|||
|
|
* <code>forceNewDeployment</code> option can be used to ensure that any tasks
|
|||
|
|
* using the Amazon EC2 instance capacity provided by the capacity provider are
|
|||
|
|
* transitioned to use the capacity from the remaining capacity providers. Only
|
|||
|
|
* capacity providers that are not associated with a cluster can be deleted. To
|
|||
|
|
* remove a capacity provider from a cluster, you can either use
|
|||
|
|
* <a>PutClusterCapacityProviders</a> or delete the cluster.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DeleteCapacityProviderAsync(const Model::DeleteCapacityProviderRequest& request, const DeleteCapacityProviderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes the specified cluster. The cluster will transition to the
|
|||
|
|
* <code>INACTIVE</code> state. Clusters with an <code>INACTIVE</code> status may
|
|||
|
|
* remain discoverable in your account for a period of time. However, this behavior
|
|||
|
|
* is subject to change in the future, so you should not rely on
|
|||
|
|
* <code>INACTIVE</code> clusters persisting.</p> <p>You must deregister all
|
|||
|
|
* container instances from this cluster before you may delete it. You can list the
|
|||
|
|
* container instances in a cluster with <a>ListContainerInstances</a> and
|
|||
|
|
* deregister them with <a>DeregisterContainerInstance</a>.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteClusterOutcome DeleteCluster(const Model::DeleteClusterRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes the specified cluster. The cluster will transition to the
|
|||
|
|
* <code>INACTIVE</code> state. Clusters with an <code>INACTIVE</code> status may
|
|||
|
|
* remain discoverable in your account for a period of time. However, this behavior
|
|||
|
|
* is subject to change in the future, so you should not rely on
|
|||
|
|
* <code>INACTIVE</code> clusters persisting.</p> <p>You must deregister all
|
|||
|
|
* container instances from this cluster before you may delete it. You can list the
|
|||
|
|
* container instances in a cluster with <a>ListContainerInstances</a> and
|
|||
|
|
* deregister them with <a>DeregisterContainerInstance</a>.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteClusterOutcomeCallable DeleteClusterCallable(const Model::DeleteClusterRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes the specified cluster. The cluster will transition to the
|
|||
|
|
* <code>INACTIVE</code> state. Clusters with an <code>INACTIVE</code> status may
|
|||
|
|
* remain discoverable in your account for a period of time. However, this behavior
|
|||
|
|
* is subject to change in the future, so you should not rely on
|
|||
|
|
* <code>INACTIVE</code> clusters persisting.</p> <p>You must deregister all
|
|||
|
|
* container instances from this cluster before you may delete it. You can list the
|
|||
|
|
* container instances in a cluster with <a>ListContainerInstances</a> and
|
|||
|
|
* deregister them with <a>DeregisterContainerInstance</a>.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DeleteClusterAsync(const Model::DeleteClusterRequest& request, const DeleteClusterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes a specified service within a cluster. You can delete a service if you
|
|||
|
|
* have no running tasks in it and the desired task count is zero. If the service
|
|||
|
|
* is actively maintaining tasks, you cannot delete it, and you must update the
|
|||
|
|
* service to a desired task count of zero. For more information, see
|
|||
|
|
* <a>UpdateService</a>.</p> <p>When you delete a service, if there are
|
|||
|
|
* still running tasks that require cleanup, the service status moves from
|
|||
|
|
* <code>ACTIVE</code> to <code>DRAINING</code>, and the service is no longer
|
|||
|
|
* visible in the console or in the <a>ListServices</a> API operation. After all
|
|||
|
|
* tasks have transitioned to either <code>STOPPING</code> or <code>STOPPED</code>
|
|||
|
|
* status, the service status moves from <code>DRAINING</code> to
|
|||
|
|
* <code>INACTIVE</code>. Services in the <code>DRAINING</code> or
|
|||
|
|
* <code>INACTIVE</code> status can still be viewed with the
|
|||
|
|
* <a>DescribeServices</a> API operation. However, in the future,
|
|||
|
|
* <code>INACTIVE</code> services may be cleaned up and purged from Amazon ECS
|
|||
|
|
* record keeping, and <a>DescribeServices</a> calls on those services return a
|
|||
|
|
* <code>ServiceNotFoundException</code> error.</p> <p>If you
|
|||
|
|
* attempt to create a new service with the same name as an existing service in
|
|||
|
|
* either <code>ACTIVE</code> or <code>DRAINING</code> status, you receive an
|
|||
|
|
* error.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteServiceOutcome DeleteService(const Model::DeleteServiceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes a specified service within a cluster. You can delete a service if you
|
|||
|
|
* have no running tasks in it and the desired task count is zero. If the service
|
|||
|
|
* is actively maintaining tasks, you cannot delete it, and you must update the
|
|||
|
|
* service to a desired task count of zero. For more information, see
|
|||
|
|
* <a>UpdateService</a>.</p> <p>When you delete a service, if there are
|
|||
|
|
* still running tasks that require cleanup, the service status moves from
|
|||
|
|
* <code>ACTIVE</code> to <code>DRAINING</code>, and the service is no longer
|
|||
|
|
* visible in the console or in the <a>ListServices</a> API operation. After all
|
|||
|
|
* tasks have transitioned to either <code>STOPPING</code> or <code>STOPPED</code>
|
|||
|
|
* status, the service status moves from <code>DRAINING</code> to
|
|||
|
|
* <code>INACTIVE</code>. Services in the <code>DRAINING</code> or
|
|||
|
|
* <code>INACTIVE</code> status can still be viewed with the
|
|||
|
|
* <a>DescribeServices</a> API operation. However, in the future,
|
|||
|
|
* <code>INACTIVE</code> services may be cleaned up and purged from Amazon ECS
|
|||
|
|
* record keeping, and <a>DescribeServices</a> calls on those services return a
|
|||
|
|
* <code>ServiceNotFoundException</code> error.</p> <p>If you
|
|||
|
|
* attempt to create a new service with the same name as an existing service in
|
|||
|
|
* either <code>ACTIVE</code> or <code>DRAINING</code> status, you receive an
|
|||
|
|
* error.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteServiceOutcomeCallable DeleteServiceCallable(const Model::DeleteServiceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes a specified service within a cluster. You can delete a service if you
|
|||
|
|
* have no running tasks in it and the desired task count is zero. If the service
|
|||
|
|
* is actively maintaining tasks, you cannot delete it, and you must update the
|
|||
|
|
* service to a desired task count of zero. For more information, see
|
|||
|
|
* <a>UpdateService</a>.</p> <p>When you delete a service, if there are
|
|||
|
|
* still running tasks that require cleanup, the service status moves from
|
|||
|
|
* <code>ACTIVE</code> to <code>DRAINING</code>, and the service is no longer
|
|||
|
|
* visible in the console or in the <a>ListServices</a> API operation. After all
|
|||
|
|
* tasks have transitioned to either <code>STOPPING</code> or <code>STOPPED</code>
|
|||
|
|
* status, the service status moves from <code>DRAINING</code> to
|
|||
|
|
* <code>INACTIVE</code>. Services in the <code>DRAINING</code> or
|
|||
|
|
* <code>INACTIVE</code> status can still be viewed with the
|
|||
|
|
* <a>DescribeServices</a> API operation. However, in the future,
|
|||
|
|
* <code>INACTIVE</code> services may be cleaned up and purged from Amazon ECS
|
|||
|
|
* record keeping, and <a>DescribeServices</a> calls on those services return a
|
|||
|
|
* <code>ServiceNotFoundException</code> error.</p> <p>If you
|
|||
|
|
* attempt to create a new service with the same name as an existing service in
|
|||
|
|
* either <code>ACTIVE</code> or <code>DRAINING</code> status, you receive an
|
|||
|
|
* error.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DeleteServiceAsync(const Model::DeleteServiceRequest& request, const DeleteServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes a specified task set within a service. This is used when a service
|
|||
|
|
* uses the <code>EXTERNAL</code> deployment controller type. For more information,
|
|||
|
|
* see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteTaskSetOutcome DeleteTaskSet(const Model::DeleteTaskSetRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes a specified task set within a service. This is used when a service
|
|||
|
|
* uses the <code>EXTERNAL</code> deployment controller type. For more information,
|
|||
|
|
* see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeleteTaskSetOutcomeCallable DeleteTaskSetCallable(const Model::DeleteTaskSetRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes a specified task set within a service. This is used when a service
|
|||
|
|
* uses the <code>EXTERNAL</code> deployment controller type. For more information,
|
|||
|
|
* see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DeleteTaskSetAsync(const Model::DeleteTaskSetRequest& request, const DeleteTaskSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deregisters an Amazon ECS container instance from the specified cluster. This
|
|||
|
|
* instance is no longer available to run tasks.</p> <p>If you intend to use the
|
|||
|
|
* container instance for some other purpose after deregistration, you should stop
|
|||
|
|
* all of the tasks running on the container instance before deregistration. That
|
|||
|
|
* prevents any orphaned tasks from consuming resources.</p> <p>Deregistering a
|
|||
|
|
* container instance removes the instance from a cluster, but it does not
|
|||
|
|
* terminate the EC2 instance. If you are finished using the instance, be sure to
|
|||
|
|
* terminate it in the Amazon EC2 console to stop billing.</p> <p>If you
|
|||
|
|
* terminate a running container instance, Amazon ECS automatically deregisters the
|
|||
|
|
* instance from your cluster (stopped container instances or instances with
|
|||
|
|
* disconnected agents are not automatically deregistered when terminated).</p>
|
|||
|
|
* <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeregisterContainerInstanceOutcome DeregisterContainerInstance(const Model::DeregisterContainerInstanceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deregisters an Amazon ECS container instance from the specified cluster. This
|
|||
|
|
* instance is no longer available to run tasks.</p> <p>If you intend to use the
|
|||
|
|
* container instance for some other purpose after deregistration, you should stop
|
|||
|
|
* all of the tasks running on the container instance before deregistration. That
|
|||
|
|
* prevents any orphaned tasks from consuming resources.</p> <p>Deregistering a
|
|||
|
|
* container instance removes the instance from a cluster, but it does not
|
|||
|
|
* terminate the EC2 instance. If you are finished using the instance, be sure to
|
|||
|
|
* terminate it in the Amazon EC2 console to stop billing.</p> <p>If you
|
|||
|
|
* terminate a running container instance, Amazon ECS automatically deregisters the
|
|||
|
|
* instance from your cluster (stopped container instances or instances with
|
|||
|
|
* disconnected agents are not automatically deregistered when terminated).</p>
|
|||
|
|
* <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeregisterContainerInstanceOutcomeCallable DeregisterContainerInstanceCallable(const Model::DeregisterContainerInstanceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deregisters an Amazon ECS container instance from the specified cluster. This
|
|||
|
|
* instance is no longer available to run tasks.</p> <p>If you intend to use the
|
|||
|
|
* container instance for some other purpose after deregistration, you should stop
|
|||
|
|
* all of the tasks running on the container instance before deregistration. That
|
|||
|
|
* prevents any orphaned tasks from consuming resources.</p> <p>Deregistering a
|
|||
|
|
* container instance removes the instance from a cluster, but it does not
|
|||
|
|
* terminate the EC2 instance. If you are finished using the instance, be sure to
|
|||
|
|
* terminate it in the Amazon EC2 console to stop billing.</p> <p>If you
|
|||
|
|
* terminate a running container instance, Amazon ECS automatically deregisters the
|
|||
|
|
* instance from your cluster (stopped container instances or instances with
|
|||
|
|
* disconnected agents are not automatically deregistered when terminated).</p>
|
|||
|
|
* <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DeregisterContainerInstanceAsync(const Model::DeregisterContainerInstanceRequest& request, const DeregisterContainerInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deregisters the specified task definition by family and revision. Upon
|
|||
|
|
* deregistration, the task definition is marked as <code>INACTIVE</code>. Existing
|
|||
|
|
* tasks and services that reference an <code>INACTIVE</code> task definition
|
|||
|
|
* continue to run without disruption. Existing services that reference an
|
|||
|
|
* <code>INACTIVE</code> task definition can still scale up or down by modifying
|
|||
|
|
* the service's desired count.</p> <p>You cannot use an <code>INACTIVE</code> task
|
|||
|
|
* definition to run new tasks or create new services, and you cannot update an
|
|||
|
|
* existing service to reference an <code>INACTIVE</code> task definition. However,
|
|||
|
|
* there may be up to a 10-minute window following deregistration where these
|
|||
|
|
* restrictions have not yet taken effect.</p> <p>At this time,
|
|||
|
|
* <code>INACTIVE</code> task definitions remain discoverable in your account
|
|||
|
|
* indefinitely. However, this behavior is subject to change in the future, so you
|
|||
|
|
* should not rely on <code>INACTIVE</code> task definitions persisting beyond the
|
|||
|
|
* lifecycle of any associated tasks and services.</p> <p><h3>See Also:</h3>
|
|||
|
|
* <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeregisterTaskDefinitionOutcome DeregisterTaskDefinition(const Model::DeregisterTaskDefinitionRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deregisters the specified task definition by family and revision. Upon
|
|||
|
|
* deregistration, the task definition is marked as <code>INACTIVE</code>. Existing
|
|||
|
|
* tasks and services that reference an <code>INACTIVE</code> task definition
|
|||
|
|
* continue to run without disruption. Existing services that reference an
|
|||
|
|
* <code>INACTIVE</code> task definition can still scale up or down by modifying
|
|||
|
|
* the service's desired count.</p> <p>You cannot use an <code>INACTIVE</code> task
|
|||
|
|
* definition to run new tasks or create new services, and you cannot update an
|
|||
|
|
* existing service to reference an <code>INACTIVE</code> task definition. However,
|
|||
|
|
* there may be up to a 10-minute window following deregistration where these
|
|||
|
|
* restrictions have not yet taken effect.</p> <p>At this time,
|
|||
|
|
* <code>INACTIVE</code> task definitions remain discoverable in your account
|
|||
|
|
* indefinitely. However, this behavior is subject to change in the future, so you
|
|||
|
|
* should not rely on <code>INACTIVE</code> task definitions persisting beyond the
|
|||
|
|
* lifecycle of any associated tasks and services.</p> <p><h3>See Also:</h3>
|
|||
|
|
* <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DeregisterTaskDefinitionOutcomeCallable DeregisterTaskDefinitionCallable(const Model::DeregisterTaskDefinitionRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deregisters the specified task definition by family and revision. Upon
|
|||
|
|
* deregistration, the task definition is marked as <code>INACTIVE</code>. Existing
|
|||
|
|
* tasks and services that reference an <code>INACTIVE</code> task definition
|
|||
|
|
* continue to run without disruption. Existing services that reference an
|
|||
|
|
* <code>INACTIVE</code> task definition can still scale up or down by modifying
|
|||
|
|
* the service's desired count.</p> <p>You cannot use an <code>INACTIVE</code> task
|
|||
|
|
* definition to run new tasks or create new services, and you cannot update an
|
|||
|
|
* existing service to reference an <code>INACTIVE</code> task definition. However,
|
|||
|
|
* there may be up to a 10-minute window following deregistration where these
|
|||
|
|
* restrictions have not yet taken effect.</p> <p>At this time,
|
|||
|
|
* <code>INACTIVE</code> task definitions remain discoverable in your account
|
|||
|
|
* indefinitely. However, this behavior is subject to change in the future, so you
|
|||
|
|
* should not rely on <code>INACTIVE</code> task definitions persisting beyond the
|
|||
|
|
* lifecycle of any associated tasks and services.</p> <p><h3>See Also:</h3>
|
|||
|
|
* <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DeregisterTaskDefinitionAsync(const Model::DeregisterTaskDefinitionRequest& request, const DeregisterTaskDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes one or more of your capacity providers.</p><p><h3>See Also:</h3>
|
|||
|
|
* <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeCapacityProviders">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeCapacityProvidersOutcome DescribeCapacityProviders(const Model::DescribeCapacityProvidersRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes one or more of your capacity providers.</p><p><h3>See Also:</h3>
|
|||
|
|
* <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeCapacityProviders">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeCapacityProvidersOutcomeCallable DescribeCapacityProvidersCallable(const Model::DescribeCapacityProvidersRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes one or more of your capacity providers.</p><p><h3>See Also:</h3>
|
|||
|
|
* <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeCapacityProviders">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DescribeCapacityProvidersAsync(const Model::DescribeCapacityProvidersRequest& request, const DescribeCapacityProvidersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes one or more of your clusters.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeClustersOutcome DescribeClusters(const Model::DescribeClustersRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes one or more of your clusters.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeClustersOutcomeCallable DescribeClustersCallable(const Model::DescribeClustersRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes one or more of your clusters.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DescribeClustersAsync(const Model::DescribeClustersRequest& request, const DescribeClustersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes Amazon Elastic Container Service container instances. Returns
|
|||
|
|
* metadata about registered and remaining resources on each container instance
|
|||
|
|
* requested.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeContainerInstancesOutcome DescribeContainerInstances(const Model::DescribeContainerInstancesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes Amazon Elastic Container Service container instances. Returns
|
|||
|
|
* metadata about registered and remaining resources on each container instance
|
|||
|
|
* requested.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeContainerInstancesOutcomeCallable DescribeContainerInstancesCallable(const Model::DescribeContainerInstancesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes Amazon Elastic Container Service container instances. Returns
|
|||
|
|
* metadata about registered and remaining resources on each container instance
|
|||
|
|
* requested.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DescribeContainerInstancesAsync(const Model::DescribeContainerInstancesRequest& request, const DescribeContainerInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the specified services running in your cluster.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeServicesOutcome DescribeServices(const Model::DescribeServicesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the specified services running in your cluster.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeServicesOutcomeCallable DescribeServicesCallable(const Model::DescribeServicesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the specified services running in your cluster.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DescribeServicesAsync(const Model::DescribeServicesRequest& request, const DescribeServicesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes a task definition. You can specify a <code>family</code> and
|
|||
|
|
* <code>revision</code> to find information about a specific task definition, or
|
|||
|
|
* you can simply specify the family to find the latest <code>ACTIVE</code>
|
|||
|
|
* revision in that family.</p> <p>You can only describe
|
|||
|
|
* <code>INACTIVE</code> task definitions while an active task or service
|
|||
|
|
* references them.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeTaskDefinitionOutcome DescribeTaskDefinition(const Model::DescribeTaskDefinitionRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes a task definition. You can specify a <code>family</code> and
|
|||
|
|
* <code>revision</code> to find information about a specific task definition, or
|
|||
|
|
* you can simply specify the family to find the latest <code>ACTIVE</code>
|
|||
|
|
* revision in that family.</p> <p>You can only describe
|
|||
|
|
* <code>INACTIVE</code> task definitions while an active task or service
|
|||
|
|
* references them.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeTaskDefinitionOutcomeCallable DescribeTaskDefinitionCallable(const Model::DescribeTaskDefinitionRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes a task definition. You can specify a <code>family</code> and
|
|||
|
|
* <code>revision</code> to find information about a specific task definition, or
|
|||
|
|
* you can simply specify the family to find the latest <code>ACTIVE</code>
|
|||
|
|
* revision in that family.</p> <p>You can only describe
|
|||
|
|
* <code>INACTIVE</code> task definitions while an active task or service
|
|||
|
|
* references them.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DescribeTaskDefinitionAsync(const Model::DescribeTaskDefinitionRequest& request, const DescribeTaskDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the task sets in the specified cluster and service. This is used
|
|||
|
|
* when a service uses the <code>EXTERNAL</code> deployment controller type. For
|
|||
|
|
* more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskSets">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeTaskSetsOutcome DescribeTaskSets(const Model::DescribeTaskSetsRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the task sets in the specified cluster and service. This is used
|
|||
|
|
* when a service uses the <code>EXTERNAL</code> deployment controller type. For
|
|||
|
|
* more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskSets">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeTaskSetsOutcomeCallable DescribeTaskSetsCallable(const Model::DescribeTaskSetsRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the task sets in the specified cluster and service. This is used
|
|||
|
|
* when a service uses the <code>EXTERNAL</code> deployment controller type. For
|
|||
|
|
* more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskSets">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DescribeTaskSetsAsync(const Model::DescribeTaskSetsRequest& request, const DescribeTaskSetsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes a specified task or tasks.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeTasksOutcome DescribeTasks(const Model::DescribeTasksRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes a specified task or tasks.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DescribeTasksOutcomeCallable DescribeTasksCallable(const Model::DescribeTasksRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes a specified task or tasks.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DescribeTasksAsync(const Model::DescribeTasksRequest& request, const DescribeTasksResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Returns an endpoint for
|
|||
|
|
* the Amazon ECS agent to poll for updates.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::DiscoverPollEndpointOutcome DiscoverPollEndpoint(const Model::DiscoverPollEndpointRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Returns an endpoint for
|
|||
|
|
* the Amazon ECS agent to poll for updates.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::DiscoverPollEndpointOutcomeCallable DiscoverPollEndpointCallable(const Model::DiscoverPollEndpointRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Returns an endpoint for
|
|||
|
|
* the Amazon ECS agent to poll for updates.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void DiscoverPollEndpointAsync(const Model::DiscoverPollEndpointRequest& request, const DiscoverPollEndpointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Lists the account settings for a specified principal.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAccountSettings">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListAccountSettingsOutcome ListAccountSettings(const Model::ListAccountSettingsRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Lists the account settings for a specified principal.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAccountSettings">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListAccountSettingsOutcomeCallable ListAccountSettingsCallable(const Model::ListAccountSettingsRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Lists the account settings for a specified principal.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAccountSettings">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void ListAccountSettingsAsync(const Model::ListAccountSettingsRequest& request, const ListAccountSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Lists the attributes for Amazon ECS resources within a specified target type
|
|||
|
|
* and cluster. When you specify a target type and cluster,
|
|||
|
|
* <code>ListAttributes</code> returns a list of attribute objects, one for each
|
|||
|
|
* attribute on each resource. You can filter the list of results to a single
|
|||
|
|
* attribute name to only return results that have that name. You can also filter
|
|||
|
|
* the results by attribute name and value, for example, to see which container
|
|||
|
|
* instances in a cluster are running a Linux AMI (<code>ecs.os-type=linux</code>).
|
|||
|
|
* </p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListAttributesOutcome ListAttributes(const Model::ListAttributesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Lists the attributes for Amazon ECS resources within a specified target type
|
|||
|
|
* and cluster. When you specify a target type and cluster,
|
|||
|
|
* <code>ListAttributes</code> returns a list of attribute objects, one for each
|
|||
|
|
* attribute on each resource. You can filter the list of results to a single
|
|||
|
|
* attribute name to only return results that have that name. You can also filter
|
|||
|
|
* the results by attribute name and value, for example, to see which container
|
|||
|
|
* instances in a cluster are running a Linux AMI (<code>ecs.os-type=linux</code>).
|
|||
|
|
* </p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListAttributesOutcomeCallable ListAttributesCallable(const Model::ListAttributesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Lists the attributes for Amazon ECS resources within a specified target type
|
|||
|
|
* and cluster. When you specify a target type and cluster,
|
|||
|
|
* <code>ListAttributes</code> returns a list of attribute objects, one for each
|
|||
|
|
* attribute on each resource. You can filter the list of results to a single
|
|||
|
|
* attribute name to only return results that have that name. You can also filter
|
|||
|
|
* the results by attribute name and value, for example, to see which container
|
|||
|
|
* instances in a cluster are running a Linux AMI (<code>ecs.os-type=linux</code>).
|
|||
|
|
* </p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void ListAttributesAsync(const Model::ListAttributesRequest& request, const ListAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of existing clusters.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListClustersOutcome ListClusters(const Model::ListClustersRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of existing clusters.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListClustersOutcomeCallable ListClustersCallable(const Model::ListClustersRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of existing clusters.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void ListClustersAsync(const Model::ListClustersRequest& request, const ListClustersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of container instances in a specified cluster. You can filter
|
|||
|
|
* the results of a <code>ListContainerInstances</code> operation with cluster
|
|||
|
|
* query language statements inside the <code>filter</code> parameter. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html">Cluster
|
|||
|
|
* Query Language</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListContainerInstancesOutcome ListContainerInstances(const Model::ListContainerInstancesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of container instances in a specified cluster. You can filter
|
|||
|
|
* the results of a <code>ListContainerInstances</code> operation with cluster
|
|||
|
|
* query language statements inside the <code>filter</code> parameter. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html">Cluster
|
|||
|
|
* Query Language</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListContainerInstancesOutcomeCallable ListContainerInstancesCallable(const Model::ListContainerInstancesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of container instances in a specified cluster. You can filter
|
|||
|
|
* the results of a <code>ListContainerInstances</code> operation with cluster
|
|||
|
|
* query language statements inside the <code>filter</code> parameter. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html">Cluster
|
|||
|
|
* Query Language</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void ListContainerInstancesAsync(const Model::ListContainerInstancesRequest& request, const ListContainerInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Lists the services that are running in a specified cluster.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListServicesOutcome ListServices(const Model::ListServicesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Lists the services that are running in a specified cluster.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListServicesOutcomeCallable ListServicesCallable(const Model::ListServicesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Lists the services that are running in a specified cluster.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void ListServicesAsync(const Model::ListServicesRequest& request, const ListServicesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>List the tags for an Amazon ECS resource.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTagsForResource">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>List the tags for an Amazon ECS resource.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTagsForResource">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const Model::ListTagsForResourceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>List the tags for an Amazon ECS resource.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTagsForResource">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void ListTagsForResourceAsync(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of task definition families that are registered to your
|
|||
|
|
* account (which may include task definition families that no longer have any
|
|||
|
|
* <code>ACTIVE</code> task definition revisions).</p> <p>You can filter out task
|
|||
|
|
* definition families that do not contain any <code>ACTIVE</code> task definition
|
|||
|
|
* revisions by setting the <code>status</code> parameter to <code>ACTIVE</code>.
|
|||
|
|
* You can also filter the results with the <code>familyPrefix</code>
|
|||
|
|
* parameter.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListTaskDefinitionFamiliesOutcome ListTaskDefinitionFamilies(const Model::ListTaskDefinitionFamiliesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of task definition families that are registered to your
|
|||
|
|
* account (which may include task definition families that no longer have any
|
|||
|
|
* <code>ACTIVE</code> task definition revisions).</p> <p>You can filter out task
|
|||
|
|
* definition families that do not contain any <code>ACTIVE</code> task definition
|
|||
|
|
* revisions by setting the <code>status</code> parameter to <code>ACTIVE</code>.
|
|||
|
|
* You can also filter the results with the <code>familyPrefix</code>
|
|||
|
|
* parameter.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListTaskDefinitionFamiliesOutcomeCallable ListTaskDefinitionFamiliesCallable(const Model::ListTaskDefinitionFamiliesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of task definition families that are registered to your
|
|||
|
|
* account (which may include task definition families that no longer have any
|
|||
|
|
* <code>ACTIVE</code> task definition revisions).</p> <p>You can filter out task
|
|||
|
|
* definition families that do not contain any <code>ACTIVE</code> task definition
|
|||
|
|
* revisions by setting the <code>status</code> parameter to <code>ACTIVE</code>.
|
|||
|
|
* You can also filter the results with the <code>familyPrefix</code>
|
|||
|
|
* parameter.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void ListTaskDefinitionFamiliesAsync(const Model::ListTaskDefinitionFamiliesRequest& request, const ListTaskDefinitionFamiliesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of task definitions that are registered to your account. You
|
|||
|
|
* can filter the results by family name with the <code>familyPrefix</code>
|
|||
|
|
* parameter or by status with the <code>status</code> parameter.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListTaskDefinitionsOutcome ListTaskDefinitions(const Model::ListTaskDefinitionsRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of task definitions that are registered to your account. You
|
|||
|
|
* can filter the results by family name with the <code>familyPrefix</code>
|
|||
|
|
* parameter or by status with the <code>status</code> parameter.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListTaskDefinitionsOutcomeCallable ListTaskDefinitionsCallable(const Model::ListTaskDefinitionsRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of task definitions that are registered to your account. You
|
|||
|
|
* can filter the results by family name with the <code>familyPrefix</code>
|
|||
|
|
* parameter or by status with the <code>status</code> parameter.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void ListTaskDefinitionsAsync(const Model::ListTaskDefinitionsRequest& request, const ListTaskDefinitionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of tasks for a specified cluster. You can filter the results
|
|||
|
|
* by family name, by a particular container instance, or by the desired status of
|
|||
|
|
* the task with the <code>family</code>, <code>containerInstance</code>, and
|
|||
|
|
* <code>desiredStatus</code> parameters.</p> <p>Recently stopped tasks might
|
|||
|
|
* appear in the returned results. Currently, stopped tasks appear in the returned
|
|||
|
|
* results for at least one hour. </p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListTasksOutcome ListTasks(const Model::ListTasksRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of tasks for a specified cluster. You can filter the results
|
|||
|
|
* by family name, by a particular container instance, or by the desired status of
|
|||
|
|
* the task with the <code>family</code>, <code>containerInstance</code>, and
|
|||
|
|
* <code>desiredStatus</code> parameters.</p> <p>Recently stopped tasks might
|
|||
|
|
* appear in the returned results. Currently, stopped tasks appear in the returned
|
|||
|
|
* results for at least one hour. </p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::ListTasksOutcomeCallable ListTasksCallable(const Model::ListTasksRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Returns a list of tasks for a specified cluster. You can filter the results
|
|||
|
|
* by family name, by a particular container instance, or by the desired status of
|
|||
|
|
* the task with the <code>family</code>, <code>containerInstance</code>, and
|
|||
|
|
* <code>desiredStatus</code> parameters.</p> <p>Recently stopped tasks might
|
|||
|
|
* appear in the returned results. Currently, stopped tasks appear in the returned
|
|||
|
|
* results for at least one hour. </p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void ListTasksAsync(const Model::ListTasksRequest& request, const ListTasksResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies an account setting. Account settings are set on a per-Region
|
|||
|
|
* basis.</p> <p>If you change the account setting for the root user, the default
|
|||
|
|
* settings for all of the IAM users and roles for which no individual account
|
|||
|
|
* setting has been specified are reset. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
|
|||
|
|
* Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|||
|
|
* <p>When <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
|
|||
|
|
* <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource
|
|||
|
|
* Name (ARN) and resource ID format of the resource type for a specified IAM user,
|
|||
|
|
* IAM role, or the root user for an account is affected. The opt-in and opt-out
|
|||
|
|
* account setting must be set for each Amazon ECS resource separately. The ARN and
|
|||
|
|
* resource ID format of a resource will be defined by the opt-in status of the IAM
|
|||
|
|
* user or role that created the resource. You must enable this setting to use
|
|||
|
|
* Amazon ECS features such as resource tagging.</p> <p>When
|
|||
|
|
* <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
|
|||
|
|
* limit for any new container instances that support the feature is changed. If
|
|||
|
|
* <code>awsvpcTrunking</code> is enabled, any new container instances that support
|
|||
|
|
* the feature are launched have the increased ENI limits available to them. For
|
|||
|
|
* more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic
|
|||
|
|
* Network Interface Trunking</a> in the <i>Amazon Elastic Container Service
|
|||
|
|
* Developer Guide</i>.</p> <p>When <code>containerInsights</code> is specified,
|
|||
|
|
* the default setting indicating whether CloudWatch Container Insights is enabled
|
|||
|
|
* for your clusters is changed. If <code>containerInsights</code> is enabled, any
|
|||
|
|
* new clusters that are created will have Container Insights enabled unless you
|
|||
|
|
* disable it during cluster creation. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
|
|||
|
|
* Container Insights</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSetting">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::PutAccountSettingOutcome PutAccountSetting(const Model::PutAccountSettingRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies an account setting. Account settings are set on a per-Region
|
|||
|
|
* basis.</p> <p>If you change the account setting for the root user, the default
|
|||
|
|
* settings for all of the IAM users and roles for which no individual account
|
|||
|
|
* setting has been specified are reset. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
|
|||
|
|
* Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|||
|
|
* <p>When <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
|
|||
|
|
* <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource
|
|||
|
|
* Name (ARN) and resource ID format of the resource type for a specified IAM user,
|
|||
|
|
* IAM role, or the root user for an account is affected. The opt-in and opt-out
|
|||
|
|
* account setting must be set for each Amazon ECS resource separately. The ARN and
|
|||
|
|
* resource ID format of a resource will be defined by the opt-in status of the IAM
|
|||
|
|
* user or role that created the resource. You must enable this setting to use
|
|||
|
|
* Amazon ECS features such as resource tagging.</p> <p>When
|
|||
|
|
* <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
|
|||
|
|
* limit for any new container instances that support the feature is changed. If
|
|||
|
|
* <code>awsvpcTrunking</code> is enabled, any new container instances that support
|
|||
|
|
* the feature are launched have the increased ENI limits available to them. For
|
|||
|
|
* more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic
|
|||
|
|
* Network Interface Trunking</a> in the <i>Amazon Elastic Container Service
|
|||
|
|
* Developer Guide</i>.</p> <p>When <code>containerInsights</code> is specified,
|
|||
|
|
* the default setting indicating whether CloudWatch Container Insights is enabled
|
|||
|
|
* for your clusters is changed. If <code>containerInsights</code> is enabled, any
|
|||
|
|
* new clusters that are created will have Container Insights enabled unless you
|
|||
|
|
* disable it during cluster creation. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
|
|||
|
|
* Container Insights</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSetting">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::PutAccountSettingOutcomeCallable PutAccountSettingCallable(const Model::PutAccountSettingRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies an account setting. Account settings are set on a per-Region
|
|||
|
|
* basis.</p> <p>If you change the account setting for the root user, the default
|
|||
|
|
* settings for all of the IAM users and roles for which no individual account
|
|||
|
|
* setting has been specified are reset. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html">Account
|
|||
|
|
* Settings</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|||
|
|
* <p>When <code>serviceLongArnFormat</code>, <code>taskLongArnFormat</code>, or
|
|||
|
|
* <code>containerInstanceLongArnFormat</code> are specified, the Amazon Resource
|
|||
|
|
* Name (ARN) and resource ID format of the resource type for a specified IAM user,
|
|||
|
|
* IAM role, or the root user for an account is affected. The opt-in and opt-out
|
|||
|
|
* account setting must be set for each Amazon ECS resource separately. The ARN and
|
|||
|
|
* resource ID format of a resource will be defined by the opt-in status of the IAM
|
|||
|
|
* user or role that created the resource. You must enable this setting to use
|
|||
|
|
* Amazon ECS features such as resource tagging.</p> <p>When
|
|||
|
|
* <code>awsvpcTrunking</code> is specified, the elastic network interface (ENI)
|
|||
|
|
* limit for any new container instances that support the feature is changed. If
|
|||
|
|
* <code>awsvpcTrunking</code> is enabled, any new container instances that support
|
|||
|
|
* the feature are launched have the increased ENI limits available to them. For
|
|||
|
|
* more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html">Elastic
|
|||
|
|
* Network Interface Trunking</a> in the <i>Amazon Elastic Container Service
|
|||
|
|
* Developer Guide</i>.</p> <p>When <code>containerInsights</code> is specified,
|
|||
|
|
* the default setting indicating whether CloudWatch Container Insights is enabled
|
|||
|
|
* for your clusters is changed. If <code>containerInsights</code> is enabled, any
|
|||
|
|
* new clusters that are created will have Container Insights enabled unless you
|
|||
|
|
* disable it during cluster creation. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html">CloudWatch
|
|||
|
|
* Container Insights</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSetting">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void PutAccountSettingAsync(const Model::PutAccountSettingRequest& request, const PutAccountSettingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies an account setting for all IAM users on an account for whom no
|
|||
|
|
* individual account setting has been specified. Account settings are set on a
|
|||
|
|
* per-Region basis.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingDefault">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::PutAccountSettingDefaultOutcome PutAccountSettingDefault(const Model::PutAccountSettingDefaultRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies an account setting for all IAM users on an account for whom no
|
|||
|
|
* individual account setting has been specified. Account settings are set on a
|
|||
|
|
* per-Region basis.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingDefault">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::PutAccountSettingDefaultOutcomeCallable PutAccountSettingDefaultCallable(const Model::PutAccountSettingDefaultRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies an account setting for all IAM users on an account for whom no
|
|||
|
|
* individual account setting has been specified. Account settings are set on a
|
|||
|
|
* per-Region basis.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingDefault">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void PutAccountSettingDefaultAsync(const Model::PutAccountSettingDefaultRequest& request, const PutAccountSettingDefaultResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Create or update an attribute on an Amazon ECS resource. If the attribute
|
|||
|
|
* does not exist, it is created. If the attribute exists, its value is replaced
|
|||
|
|
* with the specified value. To delete an attribute, use <a>DeleteAttributes</a>.
|
|||
|
|
* For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes">Attributes</a>
|
|||
|
|
* in the <i>Amazon Elastic Container Service Developer Guide</i>.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::PutAttributesOutcome PutAttributes(const Model::PutAttributesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Create or update an attribute on an Amazon ECS resource. If the attribute
|
|||
|
|
* does not exist, it is created. If the attribute exists, its value is replaced
|
|||
|
|
* with the specified value. To delete an attribute, use <a>DeleteAttributes</a>.
|
|||
|
|
* For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes">Attributes</a>
|
|||
|
|
* in the <i>Amazon Elastic Container Service Developer Guide</i>.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::PutAttributesOutcomeCallable PutAttributesCallable(const Model::PutAttributesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Create or update an attribute on an Amazon ECS resource. If the attribute
|
|||
|
|
* does not exist, it is created. If the attribute exists, its value is replaced
|
|||
|
|
* with the specified value. To delete an attribute, use <a>DeleteAttributes</a>.
|
|||
|
|
* For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes">Attributes</a>
|
|||
|
|
* in the <i>Amazon Elastic Container Service Developer Guide</i>.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void PutAttributesAsync(const Model::PutAttributesRequest& request, const PutAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies the available capacity providers and the default capacity provider
|
|||
|
|
* strategy for a cluster.</p> <p>You must specify both the available capacity
|
|||
|
|
* providers and a default capacity provider strategy for the cluster. If the
|
|||
|
|
* specified cluster has existing capacity providers associated with it, you must
|
|||
|
|
* specify all existing capacity providers in addition to any new ones you want to
|
|||
|
|
* add. Any existing capacity providers associated with a cluster that are omitted
|
|||
|
|
* from a <a>PutClusterCapacityProviders</a> API call will be disassociated with
|
|||
|
|
* the cluster. You can only disassociate an existing capacity provider from a
|
|||
|
|
* cluster if it's not being used by any existing tasks.</p> <p>When creating a
|
|||
|
|
* service or running a task on a cluster, if no capacity provider or launch type
|
|||
|
|
* is specified, then the cluster's default capacity provider strategy is used. It
|
|||
|
|
* is recommended to define a default capacity provider strategy for your cluster,
|
|||
|
|
* however you may specify an empty array (<code>[]</code>) to bypass defining a
|
|||
|
|
* default strategy.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutClusterCapacityProviders">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::PutClusterCapacityProvidersOutcome PutClusterCapacityProviders(const Model::PutClusterCapacityProvidersRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies the available capacity providers and the default capacity provider
|
|||
|
|
* strategy for a cluster.</p> <p>You must specify both the available capacity
|
|||
|
|
* providers and a default capacity provider strategy for the cluster. If the
|
|||
|
|
* specified cluster has existing capacity providers associated with it, you must
|
|||
|
|
* specify all existing capacity providers in addition to any new ones you want to
|
|||
|
|
* add. Any existing capacity providers associated with a cluster that are omitted
|
|||
|
|
* from a <a>PutClusterCapacityProviders</a> API call will be disassociated with
|
|||
|
|
* the cluster. You can only disassociate an existing capacity provider from a
|
|||
|
|
* cluster if it's not being used by any existing tasks.</p> <p>When creating a
|
|||
|
|
* service or running a task on a cluster, if no capacity provider or launch type
|
|||
|
|
* is specified, then the cluster's default capacity provider strategy is used. It
|
|||
|
|
* is recommended to define a default capacity provider strategy for your cluster,
|
|||
|
|
* however you may specify an empty array (<code>[]</code>) to bypass defining a
|
|||
|
|
* default strategy.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutClusterCapacityProviders">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::PutClusterCapacityProvidersOutcomeCallable PutClusterCapacityProvidersCallable(const Model::PutClusterCapacityProvidersRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies the available capacity providers and the default capacity provider
|
|||
|
|
* strategy for a cluster.</p> <p>You must specify both the available capacity
|
|||
|
|
* providers and a default capacity provider strategy for the cluster. If the
|
|||
|
|
* specified cluster has existing capacity providers associated with it, you must
|
|||
|
|
* specify all existing capacity providers in addition to any new ones you want to
|
|||
|
|
* add. Any existing capacity providers associated with a cluster that are omitted
|
|||
|
|
* from a <a>PutClusterCapacityProviders</a> API call will be disassociated with
|
|||
|
|
* the cluster. You can only disassociate an existing capacity provider from a
|
|||
|
|
* cluster if it's not being used by any existing tasks.</p> <p>When creating a
|
|||
|
|
* service or running a task on a cluster, if no capacity provider or launch type
|
|||
|
|
* is specified, then the cluster's default capacity provider strategy is used. It
|
|||
|
|
* is recommended to define a default capacity provider strategy for your cluster,
|
|||
|
|
* however you may specify an empty array (<code>[]</code>) to bypass defining a
|
|||
|
|
* default strategy.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutClusterCapacityProviders">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void PutClusterCapacityProvidersAsync(const Model::PutClusterCapacityProvidersRequest& request, const PutClusterCapacityProvidersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Registers an EC2 instance
|
|||
|
|
* into the specified cluster. This instance becomes available to place containers
|
|||
|
|
* on.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::RegisterContainerInstanceOutcome RegisterContainerInstance(const Model::RegisterContainerInstanceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Registers an EC2 instance
|
|||
|
|
* into the specified cluster. This instance becomes available to place containers
|
|||
|
|
* on.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::RegisterContainerInstanceOutcomeCallable RegisterContainerInstanceCallable(const Model::RegisterContainerInstanceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Registers an EC2 instance
|
|||
|
|
* into the specified cluster. This instance becomes available to place containers
|
|||
|
|
* on.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void RegisterContainerInstanceAsync(const Model::RegisterContainerInstanceRequest& request, const RegisterContainerInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Registers a new task definition from the supplied <code>family</code> and
|
|||
|
|
* <code>containerDefinitions</code>. Optionally, you can add data volumes to your
|
|||
|
|
* containers with the <code>volumes</code> parameter. For more information about
|
|||
|
|
* task definition parameters and defaults, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon
|
|||
|
|
* ECS Task Definitions</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>You can specify an IAM role for your task with the
|
|||
|
|
* <code>taskRoleArn</code> parameter. When you specify an IAM role for a task, its
|
|||
|
|
* containers can then use the latest versions of the AWS CLI or SDKs to make API
|
|||
|
|
* requests to the AWS services that are specified in the IAM policy associated
|
|||
|
|
* with the role. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
|
|||
|
|
* Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>You can specify a Docker networking mode for the containers in
|
|||
|
|
* your task definition with the <code>networkMode</code> parameter. The available
|
|||
|
|
* network modes correspond to those described in <a
|
|||
|
|
* href="https://docs.docker.com/engine/reference/run/#/network-settings">Network
|
|||
|
|
* settings</a> in the Docker run reference. If you specify the <code>awsvpc</code>
|
|||
|
|
* network mode, the task is allocated an elastic network interface, and you must
|
|||
|
|
* specify a <a>NetworkConfiguration</a> when you create a service or run a task
|
|||
|
|
* with the task definition. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html">Task
|
|||
|
|
* Networking</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::RegisterTaskDefinitionOutcome RegisterTaskDefinition(const Model::RegisterTaskDefinitionRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Registers a new task definition from the supplied <code>family</code> and
|
|||
|
|
* <code>containerDefinitions</code>. Optionally, you can add data volumes to your
|
|||
|
|
* containers with the <code>volumes</code> parameter. For more information about
|
|||
|
|
* task definition parameters and defaults, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon
|
|||
|
|
* ECS Task Definitions</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>You can specify an IAM role for your task with the
|
|||
|
|
* <code>taskRoleArn</code> parameter. When you specify an IAM role for a task, its
|
|||
|
|
* containers can then use the latest versions of the AWS CLI or SDKs to make API
|
|||
|
|
* requests to the AWS services that are specified in the IAM policy associated
|
|||
|
|
* with the role. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
|
|||
|
|
* Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>You can specify a Docker networking mode for the containers in
|
|||
|
|
* your task definition with the <code>networkMode</code> parameter. The available
|
|||
|
|
* network modes correspond to those described in <a
|
|||
|
|
* href="https://docs.docker.com/engine/reference/run/#/network-settings">Network
|
|||
|
|
* settings</a> in the Docker run reference. If you specify the <code>awsvpc</code>
|
|||
|
|
* network mode, the task is allocated an elastic network interface, and you must
|
|||
|
|
* specify a <a>NetworkConfiguration</a> when you create a service or run a task
|
|||
|
|
* with the task definition. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html">Task
|
|||
|
|
* Networking</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::RegisterTaskDefinitionOutcomeCallable RegisterTaskDefinitionCallable(const Model::RegisterTaskDefinitionRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Registers a new task definition from the supplied <code>family</code> and
|
|||
|
|
* <code>containerDefinitions</code>. Optionally, you can add data volumes to your
|
|||
|
|
* containers with the <code>volumes</code> parameter. For more information about
|
|||
|
|
* task definition parameters and defaults, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html">Amazon
|
|||
|
|
* ECS Task Definitions</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>You can specify an IAM role for your task with the
|
|||
|
|
* <code>taskRoleArn</code> parameter. When you specify an IAM role for a task, its
|
|||
|
|
* containers can then use the latest versions of the AWS CLI or SDKs to make API
|
|||
|
|
* requests to the AWS services that are specified in the IAM policy associated
|
|||
|
|
* with the role. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM
|
|||
|
|
* Roles for Tasks</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p> <p>You can specify a Docker networking mode for the containers in
|
|||
|
|
* your task definition with the <code>networkMode</code> parameter. The available
|
|||
|
|
* network modes correspond to those described in <a
|
|||
|
|
* href="https://docs.docker.com/engine/reference/run/#/network-settings">Network
|
|||
|
|
* settings</a> in the Docker run reference. If you specify the <code>awsvpc</code>
|
|||
|
|
* network mode, the task is allocated an elastic network interface, and you must
|
|||
|
|
* specify a <a>NetworkConfiguration</a> when you create a service or run a task
|
|||
|
|
* with the task definition. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html">Task
|
|||
|
|
* Networking</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void RegisterTaskDefinitionAsync(const Model::RegisterTaskDefinitionRequest& request, const RegisterTaskDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Starts a new task using the specified task definition.</p> <p>You can allow
|
|||
|
|
* Amazon ECS to place tasks for you, or you can customize how Amazon ECS places
|
|||
|
|
* tasks using placement constraints and placement strategies. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling
|
|||
|
|
* Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|||
|
|
* <p>Alternatively, you can use <a>StartTask</a> to use your own scheduler or
|
|||
|
|
* place tasks manually on specific container instances.</p> <p>The Amazon ECS API
|
|||
|
|
* follows an eventual consistency model, due to the distributed nature of the
|
|||
|
|
* system supporting the API. This means that the result of an API command you run
|
|||
|
|
* that affects your Amazon ECS resources might not be immediately visible to all
|
|||
|
|
* subsequent commands you run. Keep this in mind when you carry out an API command
|
|||
|
|
* that immediately follows a previous API command.</p> <p>To manage eventual
|
|||
|
|
* consistency, you can do the following:</p> <ul> <li> <p>Confirm the state of the
|
|||
|
|
* resource before you run a command to modify it. Run the DescribeTasks command
|
|||
|
|
* using an exponential backoff algorithm to ensure that you allow enough time for
|
|||
|
|
* the previous command to propagate through the system. To do this, run the
|
|||
|
|
* DescribeTasks command repeatedly, starting with a couple of seconds of wait time
|
|||
|
|
* and increasing gradually up to five minutes of wait time.</p> </li> <li> <p>Add
|
|||
|
|
* wait time between subsequent commands, even if the DescribeTasks command returns
|
|||
|
|
* an accurate response. Apply an exponential backoff algorithm starting with a
|
|||
|
|
* couple of seconds of wait time, and increase gradually up to about five minutes
|
|||
|
|
* of wait time.</p> </li> </ul><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::RunTaskOutcome RunTask(const Model::RunTaskRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Starts a new task using the specified task definition.</p> <p>You can allow
|
|||
|
|
* Amazon ECS to place tasks for you, or you can customize how Amazon ECS places
|
|||
|
|
* tasks using placement constraints and placement strategies. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling
|
|||
|
|
* Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|||
|
|
* <p>Alternatively, you can use <a>StartTask</a> to use your own scheduler or
|
|||
|
|
* place tasks manually on specific container instances.</p> <p>The Amazon ECS API
|
|||
|
|
* follows an eventual consistency model, due to the distributed nature of the
|
|||
|
|
* system supporting the API. This means that the result of an API command you run
|
|||
|
|
* that affects your Amazon ECS resources might not be immediately visible to all
|
|||
|
|
* subsequent commands you run. Keep this in mind when you carry out an API command
|
|||
|
|
* that immediately follows a previous API command.</p> <p>To manage eventual
|
|||
|
|
* consistency, you can do the following:</p> <ul> <li> <p>Confirm the state of the
|
|||
|
|
* resource before you run a command to modify it. Run the DescribeTasks command
|
|||
|
|
* using an exponential backoff algorithm to ensure that you allow enough time for
|
|||
|
|
* the previous command to propagate through the system. To do this, run the
|
|||
|
|
* DescribeTasks command repeatedly, starting with a couple of seconds of wait time
|
|||
|
|
* and increasing gradually up to five minutes of wait time.</p> </li> <li> <p>Add
|
|||
|
|
* wait time between subsequent commands, even if the DescribeTasks command returns
|
|||
|
|
* an accurate response. Apply an exponential backoff algorithm starting with a
|
|||
|
|
* couple of seconds of wait time, and increase gradually up to about five minutes
|
|||
|
|
* of wait time.</p> </li> </ul><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::RunTaskOutcomeCallable RunTaskCallable(const Model::RunTaskRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Starts a new task using the specified task definition.</p> <p>You can allow
|
|||
|
|
* Amazon ECS to place tasks for you, or you can customize how Amazon ECS places
|
|||
|
|
* tasks using placement constraints and placement strategies. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling
|
|||
|
|
* Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|||
|
|
* <p>Alternatively, you can use <a>StartTask</a> to use your own scheduler or
|
|||
|
|
* place tasks manually on specific container instances.</p> <p>The Amazon ECS API
|
|||
|
|
* follows an eventual consistency model, due to the distributed nature of the
|
|||
|
|
* system supporting the API. This means that the result of an API command you run
|
|||
|
|
* that affects your Amazon ECS resources might not be immediately visible to all
|
|||
|
|
* subsequent commands you run. Keep this in mind when you carry out an API command
|
|||
|
|
* that immediately follows a previous API command.</p> <p>To manage eventual
|
|||
|
|
* consistency, you can do the following:</p> <ul> <li> <p>Confirm the state of the
|
|||
|
|
* resource before you run a command to modify it. Run the DescribeTasks command
|
|||
|
|
* using an exponential backoff algorithm to ensure that you allow enough time for
|
|||
|
|
* the previous command to propagate through the system. To do this, run the
|
|||
|
|
* DescribeTasks command repeatedly, starting with a couple of seconds of wait time
|
|||
|
|
* and increasing gradually up to five minutes of wait time.</p> </li> <li> <p>Add
|
|||
|
|
* wait time between subsequent commands, even if the DescribeTasks command returns
|
|||
|
|
* an accurate response. Apply an exponential backoff algorithm starting with a
|
|||
|
|
* couple of seconds of wait time, and increase gradually up to about five minutes
|
|||
|
|
* of wait time.</p> </li> </ul><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void RunTaskAsync(const Model::RunTaskRequest& request, const RunTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Starts a new task from the specified task definition on the specified
|
|||
|
|
* container instance or instances.</p> <p>Alternatively, you can use
|
|||
|
|
* <a>RunTask</a> to place tasks for you. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling
|
|||
|
|
* Tasks</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::StartTaskOutcome StartTask(const Model::StartTaskRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Starts a new task from the specified task definition on the specified
|
|||
|
|
* container instance or instances.</p> <p>Alternatively, you can use
|
|||
|
|
* <a>RunTask</a> to place tasks for you. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling
|
|||
|
|
* Tasks</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::StartTaskOutcomeCallable StartTaskCallable(const Model::StartTaskRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Starts a new task from the specified task definition on the specified
|
|||
|
|
* container instance or instances.</p> <p>Alternatively, you can use
|
|||
|
|
* <a>RunTask</a> to place tasks for you. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling
|
|||
|
|
* Tasks</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void StartTaskAsync(const Model::StartTaskRequest& request, const StartTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Stops a running task. Any tags associated with the task will be deleted.</p>
|
|||
|
|
* <p>When <a>StopTask</a> is called on a task, the equivalent of <code>docker
|
|||
|
|
* stop</code> is issued to the containers running in the task. This results in a
|
|||
|
|
* <code>SIGTERM</code> value and a default 30-second timeout, after which the
|
|||
|
|
* <code>SIGKILL</code> value is sent and the containers are forcibly stopped. If
|
|||
|
|
* the container handles the <code>SIGTERM</code> value gracefully and exits within
|
|||
|
|
* 30 seconds from receiving it, no <code>SIGKILL</code> value is sent.</p>
|
|||
|
|
* <p>The default 30-second timeout can be configured on the Amazon ECS container
|
|||
|
|
* agent with the <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html">Amazon
|
|||
|
|
* ECS Container Agent Configuration</a> in the <i>Amazon Elastic Container Service
|
|||
|
|
* Developer Guide</i>.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::StopTaskOutcome StopTask(const Model::StopTaskRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Stops a running task. Any tags associated with the task will be deleted.</p>
|
|||
|
|
* <p>When <a>StopTask</a> is called on a task, the equivalent of <code>docker
|
|||
|
|
* stop</code> is issued to the containers running in the task. This results in a
|
|||
|
|
* <code>SIGTERM</code> value and a default 30-second timeout, after which the
|
|||
|
|
* <code>SIGKILL</code> value is sent and the containers are forcibly stopped. If
|
|||
|
|
* the container handles the <code>SIGTERM</code> value gracefully and exits within
|
|||
|
|
* 30 seconds from receiving it, no <code>SIGKILL</code> value is sent.</p>
|
|||
|
|
* <p>The default 30-second timeout can be configured on the Amazon ECS container
|
|||
|
|
* agent with the <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html">Amazon
|
|||
|
|
* ECS Container Agent Configuration</a> in the <i>Amazon Elastic Container Service
|
|||
|
|
* Developer Guide</i>.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::StopTaskOutcomeCallable StopTaskCallable(const Model::StopTaskRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Stops a running task. Any tags associated with the task will be deleted.</p>
|
|||
|
|
* <p>When <a>StopTask</a> is called on a task, the equivalent of <code>docker
|
|||
|
|
* stop</code> is issued to the containers running in the task. This results in a
|
|||
|
|
* <code>SIGTERM</code> value and a default 30-second timeout, after which the
|
|||
|
|
* <code>SIGKILL</code> value is sent and the containers are forcibly stopped. If
|
|||
|
|
* the container handles the <code>SIGTERM</code> value gracefully and exits within
|
|||
|
|
* 30 seconds from receiving it, no <code>SIGKILL</code> value is sent.</p>
|
|||
|
|
* <p>The default 30-second timeout can be configured on the Amazon ECS container
|
|||
|
|
* agent with the <code>ECS_CONTAINER_STOP_TIMEOUT</code> variable. For more
|
|||
|
|
* information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html">Amazon
|
|||
|
|
* ECS Container Agent Configuration</a> in the <i>Amazon Elastic Container Service
|
|||
|
|
* Developer Guide</i>.</p> <p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void StopTaskAsync(const Model::StopTaskRequest& request, const StopTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Sent to acknowledge that
|
|||
|
|
* an attachment changed states.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitAttachmentStateChanges">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::SubmitAttachmentStateChangesOutcome SubmitAttachmentStateChanges(const Model::SubmitAttachmentStateChangesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Sent to acknowledge that
|
|||
|
|
* an attachment changed states.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitAttachmentStateChanges">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::SubmitAttachmentStateChangesOutcomeCallable SubmitAttachmentStateChangesCallable(const Model::SubmitAttachmentStateChangesRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Sent to acknowledge that
|
|||
|
|
* an attachment changed states.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitAttachmentStateChanges">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void SubmitAttachmentStateChangesAsync(const Model::SubmitAttachmentStateChangesRequest& request, const SubmitAttachmentStateChangesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Sent to acknowledge that a
|
|||
|
|
* container changed states.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::SubmitContainerStateChangeOutcome SubmitContainerStateChange(const Model::SubmitContainerStateChangeRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Sent to acknowledge that a
|
|||
|
|
* container changed states.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::SubmitContainerStateChangeOutcomeCallable SubmitContainerStateChangeCallable(const Model::SubmitContainerStateChangeRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Sent to acknowledge that a
|
|||
|
|
* container changed states.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void SubmitContainerStateChangeAsync(const Model::SubmitContainerStateChangeRequest& request, const SubmitContainerStateChangeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Sent to acknowledge that a
|
|||
|
|
* task changed states.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::SubmitTaskStateChangeOutcome SubmitTaskStateChange(const Model::SubmitTaskStateChangeRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Sent to acknowledge that a
|
|||
|
|
* task changed states.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::SubmitTaskStateChangeOutcomeCallable SubmitTaskStateChangeCallable(const Model::SubmitTaskStateChangeRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>This action is only used by the Amazon ECS agent, and it is not
|
|||
|
|
* intended for use outside of the agent.</p> <p>Sent to acknowledge that a
|
|||
|
|
* task changed states.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void SubmitTaskStateChangeAsync(const Model::SubmitTaskStateChangeRequest& request, const SubmitTaskStateChangeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Associates the specified tags to a resource with the specified
|
|||
|
|
* <code>resourceArn</code>. If existing tags on a resource are not specified in
|
|||
|
|
* the request parameters, they are not changed. When a resource is deleted, the
|
|||
|
|
* tags associated with that resource are deleted as well.</p><p><h3>See Also:</h3>
|
|||
|
|
* <a href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TagResource">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Associates the specified tags to a resource with the specified
|
|||
|
|
* <code>resourceArn</code>. If existing tags on a resource are not specified in
|
|||
|
|
* the request parameters, they are not changed. When a resource is deleted, the
|
|||
|
|
* tags associated with that resource are deleted as well.</p><p><h3>See Also:</h3>
|
|||
|
|
* <a href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TagResource">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::TagResourceOutcomeCallable TagResourceCallable(const Model::TagResourceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Associates the specified tags to a resource with the specified
|
|||
|
|
* <code>resourceArn</code>. If existing tags on a resource are not specified in
|
|||
|
|
* the request parameters, they are not changed. When a resource is deleted, the
|
|||
|
|
* tags associated with that resource are deleted as well.</p><p><h3>See Also:</h3>
|
|||
|
|
* <a href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TagResource">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void TagResourceAsync(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes specified tags from a resource.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UntagResource">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes specified tags from a resource.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UntagResource">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::UntagResourceOutcomeCallable UntagResourceCallable(const Model::UntagResourceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Deletes specified tags from a resource.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UntagResource">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void UntagResourceAsync(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies the settings to use for a cluster.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettings">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateClusterSettingsOutcome UpdateClusterSettings(const Model::UpdateClusterSettingsRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies the settings to use for a cluster.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettings">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateClusterSettingsOutcomeCallable UpdateClusterSettingsCallable(const Model::UpdateClusterSettingsRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies the settings to use for a cluster.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettings">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void UpdateClusterSettingsAsync(const Model::UpdateClusterSettingsRequest& request, const UpdateClusterSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Updates the Amazon ECS container agent on a specified container instance.
|
|||
|
|
* Updating the Amazon ECS container agent does not interrupt running tasks or
|
|||
|
|
* services on the container instance. The process for updating the agent differs
|
|||
|
|
* depending on whether your container instance was launched with the Amazon
|
|||
|
|
* ECS-optimized AMI or another operating system.</p> <p>
|
|||
|
|
* <code>UpdateContainerAgent</code> requires the Amazon ECS-optimized AMI or
|
|||
|
|
* Amazon Linux with the <code>ecs-init</code> service installed and running. For
|
|||
|
|
* help updating the Amazon ECS container agent on other operating systems, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent">Manually
|
|||
|
|
* Updating the Amazon ECS Container Agent</a> in the <i>Amazon Elastic Container
|
|||
|
|
* Service Developer Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateContainerAgentOutcome UpdateContainerAgent(const Model::UpdateContainerAgentRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Updates the Amazon ECS container agent on a specified container instance.
|
|||
|
|
* Updating the Amazon ECS container agent does not interrupt running tasks or
|
|||
|
|
* services on the container instance. The process for updating the agent differs
|
|||
|
|
* depending on whether your container instance was launched with the Amazon
|
|||
|
|
* ECS-optimized AMI or another operating system.</p> <p>
|
|||
|
|
* <code>UpdateContainerAgent</code> requires the Amazon ECS-optimized AMI or
|
|||
|
|
* Amazon Linux with the <code>ecs-init</code> service installed and running. For
|
|||
|
|
* help updating the Amazon ECS container agent on other operating systems, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent">Manually
|
|||
|
|
* Updating the Amazon ECS Container Agent</a> in the <i>Amazon Elastic Container
|
|||
|
|
* Service Developer Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateContainerAgentOutcomeCallable UpdateContainerAgentCallable(const Model::UpdateContainerAgentRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Updates the Amazon ECS container agent on a specified container instance.
|
|||
|
|
* Updating the Amazon ECS container agent does not interrupt running tasks or
|
|||
|
|
* services on the container instance. The process for updating the agent differs
|
|||
|
|
* depending on whether your container instance was launched with the Amazon
|
|||
|
|
* ECS-optimized AMI or another operating system.</p> <p>
|
|||
|
|
* <code>UpdateContainerAgent</code> requires the Amazon ECS-optimized AMI or
|
|||
|
|
* Amazon Linux with the <code>ecs-init</code> service installed and running. For
|
|||
|
|
* help updating the Amazon ECS container agent on other operating systems, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html#manually_update_agent">Manually
|
|||
|
|
* Updating the Amazon ECS Container Agent</a> in the <i>Amazon Elastic Container
|
|||
|
|
* Service Developer Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void UpdateContainerAgentAsync(const Model::UpdateContainerAgentRequest& request, const UpdateContainerAgentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies the status of an Amazon ECS container instance.</p> <p>Once a
|
|||
|
|
* container instance has reached an <code>ACTIVE</code> state, you can change the
|
|||
|
|
* status of a container instance to <code>DRAINING</code> to manually remove an
|
|||
|
|
* instance from a cluster, for example to perform system updates, update the
|
|||
|
|
* Docker daemon, or scale down the cluster size.</p> <p>A container
|
|||
|
|
* instance cannot be changed to <code>DRAINING</code> until it has reached an
|
|||
|
|
* <code>ACTIVE</code> status. If the instance is in any other status, an error
|
|||
|
|
* will be received.</p> <p>When you set a container instance to
|
|||
|
|
* <code>DRAINING</code>, Amazon ECS prevents new tasks from being scheduled for
|
|||
|
|
* placement on the container instance and replacement service tasks are started on
|
|||
|
|
* other container instances in the cluster if the resources are available. Service
|
|||
|
|
* tasks on the container instance that are in the <code>PENDING</code> state are
|
|||
|
|
* stopped immediately.</p> <p>Service tasks on the container instance that are in
|
|||
|
|
* the <code>RUNNING</code> state are stopped and replaced according to the
|
|||
|
|
* service's deployment configuration parameters,
|
|||
|
|
* <code>minimumHealthyPercent</code> and <code>maximumPercent</code>. You can
|
|||
|
|
* change the deployment configuration of your service using
|
|||
|
|
* <a>UpdateService</a>.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code> is
|
|||
|
|
* below 100%, the scheduler can ignore <code>desiredCount</code> temporarily
|
|||
|
|
* during task replacement. For example, <code>desiredCount</code> is four tasks, a
|
|||
|
|
* minimum of 50% allows the scheduler to stop two existing tasks before starting
|
|||
|
|
* two new tasks. If the minimum is 100%, the service scheduler can't remove
|
|||
|
|
* existing tasks until the replacement tasks are considered healthy. Tasks for
|
|||
|
|
* services that do not use a load balancer are considered healthy if they are in
|
|||
|
|
* the <code>RUNNING</code> state. Tasks for services that use a load balancer are
|
|||
|
|
* considered healthy if they are in the <code>RUNNING</code> state and the
|
|||
|
|
* container instance they are hosted on is reported as healthy by the load
|
|||
|
|
* balancer.</p> </li> <li> <p>The <code>maximumPercent</code> parameter represents
|
|||
|
|
* an upper limit on the number of running tasks during task replacement, which
|
|||
|
|
* enables you to define the replacement batch size. For example, if
|
|||
|
|
* <code>desiredCount</code> is four tasks, a maximum of 200% starts four new tasks
|
|||
|
|
* before stopping the four tasks to be drained, provided that the cluster
|
|||
|
|
* resources required to do this are available. If the maximum is 100%, then
|
|||
|
|
* replacement tasks can't start until the draining tasks have stopped.</p> </li>
|
|||
|
|
* </ul> <p>Any <code>PENDING</code> or <code>RUNNING</code> tasks that do not
|
|||
|
|
* belong to a service are not affected. You must wait for them to finish or stop
|
|||
|
|
* them manually.</p> <p>A container instance has completed draining when it has no
|
|||
|
|
* more <code>RUNNING</code> tasks. You can verify this using <a>ListTasks</a>.</p>
|
|||
|
|
* <p>When a container instance has been drained, you can set a container instance
|
|||
|
|
* to <code>ACTIVE</code> status and once it has reached that status the Amazon ECS
|
|||
|
|
* scheduler can begin scheduling tasks on the instance again.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateContainerInstancesStateOutcome UpdateContainerInstancesState(const Model::UpdateContainerInstancesStateRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies the status of an Amazon ECS container instance.</p> <p>Once a
|
|||
|
|
* container instance has reached an <code>ACTIVE</code> state, you can change the
|
|||
|
|
* status of a container instance to <code>DRAINING</code> to manually remove an
|
|||
|
|
* instance from a cluster, for example to perform system updates, update the
|
|||
|
|
* Docker daemon, or scale down the cluster size.</p> <p>A container
|
|||
|
|
* instance cannot be changed to <code>DRAINING</code> until it has reached an
|
|||
|
|
* <code>ACTIVE</code> status. If the instance is in any other status, an error
|
|||
|
|
* will be received.</p> <p>When you set a container instance to
|
|||
|
|
* <code>DRAINING</code>, Amazon ECS prevents new tasks from being scheduled for
|
|||
|
|
* placement on the container instance and replacement service tasks are started on
|
|||
|
|
* other container instances in the cluster if the resources are available. Service
|
|||
|
|
* tasks on the container instance that are in the <code>PENDING</code> state are
|
|||
|
|
* stopped immediately.</p> <p>Service tasks on the container instance that are in
|
|||
|
|
* the <code>RUNNING</code> state are stopped and replaced according to the
|
|||
|
|
* service's deployment configuration parameters,
|
|||
|
|
* <code>minimumHealthyPercent</code> and <code>maximumPercent</code>. You can
|
|||
|
|
* change the deployment configuration of your service using
|
|||
|
|
* <a>UpdateService</a>.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code> is
|
|||
|
|
* below 100%, the scheduler can ignore <code>desiredCount</code> temporarily
|
|||
|
|
* during task replacement. For example, <code>desiredCount</code> is four tasks, a
|
|||
|
|
* minimum of 50% allows the scheduler to stop two existing tasks before starting
|
|||
|
|
* two new tasks. If the minimum is 100%, the service scheduler can't remove
|
|||
|
|
* existing tasks until the replacement tasks are considered healthy. Tasks for
|
|||
|
|
* services that do not use a load balancer are considered healthy if they are in
|
|||
|
|
* the <code>RUNNING</code> state. Tasks for services that use a load balancer are
|
|||
|
|
* considered healthy if they are in the <code>RUNNING</code> state and the
|
|||
|
|
* container instance they are hosted on is reported as healthy by the load
|
|||
|
|
* balancer.</p> </li> <li> <p>The <code>maximumPercent</code> parameter represents
|
|||
|
|
* an upper limit on the number of running tasks during task replacement, which
|
|||
|
|
* enables you to define the replacement batch size. For example, if
|
|||
|
|
* <code>desiredCount</code> is four tasks, a maximum of 200% starts four new tasks
|
|||
|
|
* before stopping the four tasks to be drained, provided that the cluster
|
|||
|
|
* resources required to do this are available. If the maximum is 100%, then
|
|||
|
|
* replacement tasks can't start until the draining tasks have stopped.</p> </li>
|
|||
|
|
* </ul> <p>Any <code>PENDING</code> or <code>RUNNING</code> tasks that do not
|
|||
|
|
* belong to a service are not affected. You must wait for them to finish or stop
|
|||
|
|
* them manually.</p> <p>A container instance has completed draining when it has no
|
|||
|
|
* more <code>RUNNING</code> tasks. You can verify this using <a>ListTasks</a>.</p>
|
|||
|
|
* <p>When a container instance has been drained, you can set a container instance
|
|||
|
|
* to <code>ACTIVE</code> status and once it has reached that status the Amazon ECS
|
|||
|
|
* scheduler can begin scheduling tasks on the instance again.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateContainerInstancesStateOutcomeCallable UpdateContainerInstancesStateCallable(const Model::UpdateContainerInstancesStateRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies the status of an Amazon ECS container instance.</p> <p>Once a
|
|||
|
|
* container instance has reached an <code>ACTIVE</code> state, you can change the
|
|||
|
|
* status of a container instance to <code>DRAINING</code> to manually remove an
|
|||
|
|
* instance from a cluster, for example to perform system updates, update the
|
|||
|
|
* Docker daemon, or scale down the cluster size.</p> <p>A container
|
|||
|
|
* instance cannot be changed to <code>DRAINING</code> until it has reached an
|
|||
|
|
* <code>ACTIVE</code> status. If the instance is in any other status, an error
|
|||
|
|
* will be received.</p> <p>When you set a container instance to
|
|||
|
|
* <code>DRAINING</code>, Amazon ECS prevents new tasks from being scheduled for
|
|||
|
|
* placement on the container instance and replacement service tasks are started on
|
|||
|
|
* other container instances in the cluster if the resources are available. Service
|
|||
|
|
* tasks on the container instance that are in the <code>PENDING</code> state are
|
|||
|
|
* stopped immediately.</p> <p>Service tasks on the container instance that are in
|
|||
|
|
* the <code>RUNNING</code> state are stopped and replaced according to the
|
|||
|
|
* service's deployment configuration parameters,
|
|||
|
|
* <code>minimumHealthyPercent</code> and <code>maximumPercent</code>. You can
|
|||
|
|
* change the deployment configuration of your service using
|
|||
|
|
* <a>UpdateService</a>.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code> is
|
|||
|
|
* below 100%, the scheduler can ignore <code>desiredCount</code> temporarily
|
|||
|
|
* during task replacement. For example, <code>desiredCount</code> is four tasks, a
|
|||
|
|
* minimum of 50% allows the scheduler to stop two existing tasks before starting
|
|||
|
|
* two new tasks. If the minimum is 100%, the service scheduler can't remove
|
|||
|
|
* existing tasks until the replacement tasks are considered healthy. Tasks for
|
|||
|
|
* services that do not use a load balancer are considered healthy if they are in
|
|||
|
|
* the <code>RUNNING</code> state. Tasks for services that use a load balancer are
|
|||
|
|
* considered healthy if they are in the <code>RUNNING</code> state and the
|
|||
|
|
* container instance they are hosted on is reported as healthy by the load
|
|||
|
|
* balancer.</p> </li> <li> <p>The <code>maximumPercent</code> parameter represents
|
|||
|
|
* an upper limit on the number of running tasks during task replacement, which
|
|||
|
|
* enables you to define the replacement batch size. For example, if
|
|||
|
|
* <code>desiredCount</code> is four tasks, a maximum of 200% starts four new tasks
|
|||
|
|
* before stopping the four tasks to be drained, provided that the cluster
|
|||
|
|
* resources required to do this are available. If the maximum is 100%, then
|
|||
|
|
* replacement tasks can't start until the draining tasks have stopped.</p> </li>
|
|||
|
|
* </ul> <p>Any <code>PENDING</code> or <code>RUNNING</code> tasks that do not
|
|||
|
|
* belong to a service are not affected. You must wait for them to finish or stop
|
|||
|
|
* them manually.</p> <p>A container instance has completed draining when it has no
|
|||
|
|
* more <code>RUNNING</code> tasks. You can verify this using <a>ListTasks</a>.</p>
|
|||
|
|
* <p>When a container instance has been drained, you can set a container instance
|
|||
|
|
* to <code>ACTIVE</code> status and once it has reached that status the Amazon ECS
|
|||
|
|
* scheduler can begin scheduling tasks on the instance again.</p><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void UpdateContainerInstancesStateAsync(const Model::UpdateContainerInstancesStateRequest& request, const UpdateContainerInstancesStateResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Updating the task placement strategies and constraints on an
|
|||
|
|
* Amazon ECS service remains in preview and is a Beta Service as defined by and
|
|||
|
|
* subject to the Beta Service Participation Service Terms located at <a
|
|||
|
|
* href="https://aws.amazon.com/service-terms">https://aws.amazon.com/service-terms</a>
|
|||
|
|
* ("Beta Terms"). These Beta Terms apply to your participation in this
|
|||
|
|
* preview.</p> <p>Modifies the parameters of a service.</p> <p>For
|
|||
|
|
* services using the rolling update (<code>ECS</code>) deployment controller, the
|
|||
|
|
* desired count, deployment configuration, network configuration, task placement
|
|||
|
|
* constraints and strategies, or task definition used can be updated.</p> <p>For
|
|||
|
|
* services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller,
|
|||
|
|
* only the desired count, deployment configuration, task placement constraints and
|
|||
|
|
* strategies, and health check grace period can be updated using this API. If the
|
|||
|
|
* network configuration, platform version, or task definition need to be updated,
|
|||
|
|
* a new AWS CodeDeploy deployment should be created. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a>
|
|||
|
|
* in the <i>AWS CodeDeploy API Reference</i>.</p> <p>For services using an
|
|||
|
|
* external deployment controller, you can update only the desired count, task
|
|||
|
|
* placement constraints and strategies, and health check grace period using this
|
|||
|
|
* API. If the launch type, load balancer, network configuration, platform version,
|
|||
|
|
* or task definition need to be updated, you should create a new task set. For
|
|||
|
|
* more information, see <a>CreateTaskSet</a>.</p> <p>You can add to or subtract
|
|||
|
|
* from the number of instantiations of a task definition in a service by
|
|||
|
|
* specifying the cluster that the service is running in and a new
|
|||
|
|
* <code>desiredCount</code> parameter.</p> <p>If you have updated the Docker image
|
|||
|
|
* of your application, you can create a new task definition with that image and
|
|||
|
|
* deploy it to your service. The service scheduler uses the minimum healthy
|
|||
|
|
* percent and maximum percent parameters (in the service's deployment
|
|||
|
|
* configuration) to determine the deployment strategy.</p> <p>If your
|
|||
|
|
* updated Docker image uses the same tag as what is in the existing task
|
|||
|
|
* definition for your service (for example, <code>my_image:latest</code>), you do
|
|||
|
|
* not need to create a new revision of your task definition. You can update the
|
|||
|
|
* service using the <code>forceNewDeployment</code> option. The new tasks launched
|
|||
|
|
* by the deployment pull the current image/tag combination from your repository
|
|||
|
|
* when they start.</p> <p>You can also update the deployment configuration
|
|||
|
|
* of a service. When a deployment is triggered by updating the task definition of
|
|||
|
|
* a service, the service scheduler uses the deployment configuration parameters,
|
|||
|
|
* <code>minimumHealthyPercent</code> and <code>maximumPercent</code>, to determine
|
|||
|
|
* the deployment strategy.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code>
|
|||
|
|
* is below 100%, the scheduler can ignore <code>desiredCount</code> temporarily
|
|||
|
|
* during a deployment. For example, if <code>desiredCount</code> is four tasks, a
|
|||
|
|
* minimum of 50% allows the scheduler to stop two existing tasks before starting
|
|||
|
|
* two new tasks. Tasks for services that do not use a load balancer are considered
|
|||
|
|
* healthy if they are in the <code>RUNNING</code> state. Tasks for services that
|
|||
|
|
* use a load balancer are considered healthy if they are in the
|
|||
|
|
* <code>RUNNING</code> state and the container instance they are hosted on is
|
|||
|
|
* reported as healthy by the load balancer.</p> </li> <li> <p>The
|
|||
|
|
* <code>maximumPercent</code> parameter represents an upper limit on the number of
|
|||
|
|
* running tasks during a deployment, which enables you to define the deployment
|
|||
|
|
* batch size. For example, if <code>desiredCount</code> is four tasks, a maximum
|
|||
|
|
* of 200% starts four new tasks before stopping the four older tasks (provided
|
|||
|
|
* that the cluster resources required to do this are available).</p> </li> </ul>
|
|||
|
|
* <p>When <a>UpdateService</a> stops a task during a deployment, the equivalent of
|
|||
|
|
* <code>docker stop</code> is issued to the containers running in the task. This
|
|||
|
|
* results in a <code>SIGTERM</code> and a 30-second timeout, after which
|
|||
|
|
* <code>SIGKILL</code> is sent and the containers are forcibly stopped. If the
|
|||
|
|
* container handles the <code>SIGTERM</code> gracefully and exits within 30
|
|||
|
|
* seconds from receiving it, no <code>SIGKILL</code> is sent.</p> <p>When the
|
|||
|
|
* service scheduler launches new tasks, it determines task placement in your
|
|||
|
|
* cluster with the following logic:</p> <ul> <li> <p>Determine which of the
|
|||
|
|
* container instances in your cluster can support your service's task definition
|
|||
|
|
* (for example, they have the required CPU, memory, ports, and container instance
|
|||
|
|
* attributes).</p> </li> <li> <p>By default, the service scheduler attempts to
|
|||
|
|
* balance tasks across Availability Zones in this manner (although you can choose
|
|||
|
|
* a different placement strategy):</p> <ul> <li> <p>Sort the valid container
|
|||
|
|
* instances by the fewest number of running tasks for this service in the same
|
|||
|
|
* Availability Zone as the instance. For example, if zone A has one running
|
|||
|
|
* service task and zones B and C each have zero, valid container instances in
|
|||
|
|
* either zone B or C are considered optimal for placement.</p> </li> <li> <p>Place
|
|||
|
|
* the new service task on a valid container instance in an optimal Availability
|
|||
|
|
* Zone (based on the previous steps), favoring container instances with the fewest
|
|||
|
|
* number of running tasks for this service.</p> </li> </ul> </li> </ul> <p>When
|
|||
|
|
* the service scheduler stops running tasks, it attempts to maintain balance
|
|||
|
|
* across the Availability Zones in your cluster using the following logic: </p>
|
|||
|
|
* <ul> <li> <p>Sort the container instances by the largest number of running tasks
|
|||
|
|
* for this service in the same Availability Zone as the instance. For example, if
|
|||
|
|
* zone A has one running service task and zones B and C each have two, container
|
|||
|
|
* instances in either zone B or C are considered optimal for termination.</p>
|
|||
|
|
* </li> <li> <p>Stop the task on a container instance in an optimal Availability
|
|||
|
|
* Zone (based on the previous steps), favoring container instances with the
|
|||
|
|
* largest number of running tasks for this service.</p> </li> </ul><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateServiceOutcome UpdateService(const Model::UpdateServiceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Updating the task placement strategies and constraints on an
|
|||
|
|
* Amazon ECS service remains in preview and is a Beta Service as defined by and
|
|||
|
|
* subject to the Beta Service Participation Service Terms located at <a
|
|||
|
|
* href="https://aws.amazon.com/service-terms">https://aws.amazon.com/service-terms</a>
|
|||
|
|
* ("Beta Terms"). These Beta Terms apply to your participation in this
|
|||
|
|
* preview.</p> <p>Modifies the parameters of a service.</p> <p>For
|
|||
|
|
* services using the rolling update (<code>ECS</code>) deployment controller, the
|
|||
|
|
* desired count, deployment configuration, network configuration, task placement
|
|||
|
|
* constraints and strategies, or task definition used can be updated.</p> <p>For
|
|||
|
|
* services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller,
|
|||
|
|
* only the desired count, deployment configuration, task placement constraints and
|
|||
|
|
* strategies, and health check grace period can be updated using this API. If the
|
|||
|
|
* network configuration, platform version, or task definition need to be updated,
|
|||
|
|
* a new AWS CodeDeploy deployment should be created. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a>
|
|||
|
|
* in the <i>AWS CodeDeploy API Reference</i>.</p> <p>For services using an
|
|||
|
|
* external deployment controller, you can update only the desired count, task
|
|||
|
|
* placement constraints and strategies, and health check grace period using this
|
|||
|
|
* API. If the launch type, load balancer, network configuration, platform version,
|
|||
|
|
* or task definition need to be updated, you should create a new task set. For
|
|||
|
|
* more information, see <a>CreateTaskSet</a>.</p> <p>You can add to or subtract
|
|||
|
|
* from the number of instantiations of a task definition in a service by
|
|||
|
|
* specifying the cluster that the service is running in and a new
|
|||
|
|
* <code>desiredCount</code> parameter.</p> <p>If you have updated the Docker image
|
|||
|
|
* of your application, you can create a new task definition with that image and
|
|||
|
|
* deploy it to your service. The service scheduler uses the minimum healthy
|
|||
|
|
* percent and maximum percent parameters (in the service's deployment
|
|||
|
|
* configuration) to determine the deployment strategy.</p> <p>If your
|
|||
|
|
* updated Docker image uses the same tag as what is in the existing task
|
|||
|
|
* definition for your service (for example, <code>my_image:latest</code>), you do
|
|||
|
|
* not need to create a new revision of your task definition. You can update the
|
|||
|
|
* service using the <code>forceNewDeployment</code> option. The new tasks launched
|
|||
|
|
* by the deployment pull the current image/tag combination from your repository
|
|||
|
|
* when they start.</p> <p>You can also update the deployment configuration
|
|||
|
|
* of a service. When a deployment is triggered by updating the task definition of
|
|||
|
|
* a service, the service scheduler uses the deployment configuration parameters,
|
|||
|
|
* <code>minimumHealthyPercent</code> and <code>maximumPercent</code>, to determine
|
|||
|
|
* the deployment strategy.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code>
|
|||
|
|
* is below 100%, the scheduler can ignore <code>desiredCount</code> temporarily
|
|||
|
|
* during a deployment. For example, if <code>desiredCount</code> is four tasks, a
|
|||
|
|
* minimum of 50% allows the scheduler to stop two existing tasks before starting
|
|||
|
|
* two new tasks. Tasks for services that do not use a load balancer are considered
|
|||
|
|
* healthy if they are in the <code>RUNNING</code> state. Tasks for services that
|
|||
|
|
* use a load balancer are considered healthy if they are in the
|
|||
|
|
* <code>RUNNING</code> state and the container instance they are hosted on is
|
|||
|
|
* reported as healthy by the load balancer.</p> </li> <li> <p>The
|
|||
|
|
* <code>maximumPercent</code> parameter represents an upper limit on the number of
|
|||
|
|
* running tasks during a deployment, which enables you to define the deployment
|
|||
|
|
* batch size. For example, if <code>desiredCount</code> is four tasks, a maximum
|
|||
|
|
* of 200% starts four new tasks before stopping the four older tasks (provided
|
|||
|
|
* that the cluster resources required to do this are available).</p> </li> </ul>
|
|||
|
|
* <p>When <a>UpdateService</a> stops a task during a deployment, the equivalent of
|
|||
|
|
* <code>docker stop</code> is issued to the containers running in the task. This
|
|||
|
|
* results in a <code>SIGTERM</code> and a 30-second timeout, after which
|
|||
|
|
* <code>SIGKILL</code> is sent and the containers are forcibly stopped. If the
|
|||
|
|
* container handles the <code>SIGTERM</code> gracefully and exits within 30
|
|||
|
|
* seconds from receiving it, no <code>SIGKILL</code> is sent.</p> <p>When the
|
|||
|
|
* service scheduler launches new tasks, it determines task placement in your
|
|||
|
|
* cluster with the following logic:</p> <ul> <li> <p>Determine which of the
|
|||
|
|
* container instances in your cluster can support your service's task definition
|
|||
|
|
* (for example, they have the required CPU, memory, ports, and container instance
|
|||
|
|
* attributes).</p> </li> <li> <p>By default, the service scheduler attempts to
|
|||
|
|
* balance tasks across Availability Zones in this manner (although you can choose
|
|||
|
|
* a different placement strategy):</p> <ul> <li> <p>Sort the valid container
|
|||
|
|
* instances by the fewest number of running tasks for this service in the same
|
|||
|
|
* Availability Zone as the instance. For example, if zone A has one running
|
|||
|
|
* service task and zones B and C each have zero, valid container instances in
|
|||
|
|
* either zone B or C are considered optimal for placement.</p> </li> <li> <p>Place
|
|||
|
|
* the new service task on a valid container instance in an optimal Availability
|
|||
|
|
* Zone (based on the previous steps), favoring container instances with the fewest
|
|||
|
|
* number of running tasks for this service.</p> </li> </ul> </li> </ul> <p>When
|
|||
|
|
* the service scheduler stops running tasks, it attempts to maintain balance
|
|||
|
|
* across the Availability Zones in your cluster using the following logic: </p>
|
|||
|
|
* <ul> <li> <p>Sort the container instances by the largest number of running tasks
|
|||
|
|
* for this service in the same Availability Zone as the instance. For example, if
|
|||
|
|
* zone A has one running service task and zones B and C each have two, container
|
|||
|
|
* instances in either zone B or C are considered optimal for termination.</p>
|
|||
|
|
* </li> <li> <p>Stop the task on a container instance in an optimal Availability
|
|||
|
|
* Zone (based on the previous steps), favoring container instances with the
|
|||
|
|
* largest number of running tasks for this service.</p> </li> </ul><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateServiceOutcomeCallable UpdateServiceCallable(const Model::UpdateServiceRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Updating the task placement strategies and constraints on an
|
|||
|
|
* Amazon ECS service remains in preview and is a Beta Service as defined by and
|
|||
|
|
* subject to the Beta Service Participation Service Terms located at <a
|
|||
|
|
* href="https://aws.amazon.com/service-terms">https://aws.amazon.com/service-terms</a>
|
|||
|
|
* ("Beta Terms"). These Beta Terms apply to your participation in this
|
|||
|
|
* preview.</p> <p>Modifies the parameters of a service.</p> <p>For
|
|||
|
|
* services using the rolling update (<code>ECS</code>) deployment controller, the
|
|||
|
|
* desired count, deployment configuration, network configuration, task placement
|
|||
|
|
* constraints and strategies, or task definition used can be updated.</p> <p>For
|
|||
|
|
* services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller,
|
|||
|
|
* only the desired count, deployment configuration, task placement constraints and
|
|||
|
|
* strategies, and health check grace period can be updated using this API. If the
|
|||
|
|
* network configuration, platform version, or task definition need to be updated,
|
|||
|
|
* a new AWS CodeDeploy deployment should be created. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html">CreateDeployment</a>
|
|||
|
|
* in the <i>AWS CodeDeploy API Reference</i>.</p> <p>For services using an
|
|||
|
|
* external deployment controller, you can update only the desired count, task
|
|||
|
|
* placement constraints and strategies, and health check grace period using this
|
|||
|
|
* API. If the launch type, load balancer, network configuration, platform version,
|
|||
|
|
* or task definition need to be updated, you should create a new task set. For
|
|||
|
|
* more information, see <a>CreateTaskSet</a>.</p> <p>You can add to or subtract
|
|||
|
|
* from the number of instantiations of a task definition in a service by
|
|||
|
|
* specifying the cluster that the service is running in and a new
|
|||
|
|
* <code>desiredCount</code> parameter.</p> <p>If you have updated the Docker image
|
|||
|
|
* of your application, you can create a new task definition with that image and
|
|||
|
|
* deploy it to your service. The service scheduler uses the minimum healthy
|
|||
|
|
* percent and maximum percent parameters (in the service's deployment
|
|||
|
|
* configuration) to determine the deployment strategy.</p> <p>If your
|
|||
|
|
* updated Docker image uses the same tag as what is in the existing task
|
|||
|
|
* definition for your service (for example, <code>my_image:latest</code>), you do
|
|||
|
|
* not need to create a new revision of your task definition. You can update the
|
|||
|
|
* service using the <code>forceNewDeployment</code> option. The new tasks launched
|
|||
|
|
* by the deployment pull the current image/tag combination from your repository
|
|||
|
|
* when they start.</p> <p>You can also update the deployment configuration
|
|||
|
|
* of a service. When a deployment is triggered by updating the task definition of
|
|||
|
|
* a service, the service scheduler uses the deployment configuration parameters,
|
|||
|
|
* <code>minimumHealthyPercent</code> and <code>maximumPercent</code>, to determine
|
|||
|
|
* the deployment strategy.</p> <ul> <li> <p>If <code>minimumHealthyPercent</code>
|
|||
|
|
* is below 100%, the scheduler can ignore <code>desiredCount</code> temporarily
|
|||
|
|
* during a deployment. For example, if <code>desiredCount</code> is four tasks, a
|
|||
|
|
* minimum of 50% allows the scheduler to stop two existing tasks before starting
|
|||
|
|
* two new tasks. Tasks for services that do not use a load balancer are considered
|
|||
|
|
* healthy if they are in the <code>RUNNING</code> state. Tasks for services that
|
|||
|
|
* use a load balancer are considered healthy if they are in the
|
|||
|
|
* <code>RUNNING</code> state and the container instance they are hosted on is
|
|||
|
|
* reported as healthy by the load balancer.</p> </li> <li> <p>The
|
|||
|
|
* <code>maximumPercent</code> parameter represents an upper limit on the number of
|
|||
|
|
* running tasks during a deployment, which enables you to define the deployment
|
|||
|
|
* batch size. For example, if <code>desiredCount</code> is four tasks, a maximum
|
|||
|
|
* of 200% starts four new tasks before stopping the four older tasks (provided
|
|||
|
|
* that the cluster resources required to do this are available).</p> </li> </ul>
|
|||
|
|
* <p>When <a>UpdateService</a> stops a task during a deployment, the equivalent of
|
|||
|
|
* <code>docker stop</code> is issued to the containers running in the task. This
|
|||
|
|
* results in a <code>SIGTERM</code> and a 30-second timeout, after which
|
|||
|
|
* <code>SIGKILL</code> is sent and the containers are forcibly stopped. If the
|
|||
|
|
* container handles the <code>SIGTERM</code> gracefully and exits within 30
|
|||
|
|
* seconds from receiving it, no <code>SIGKILL</code> is sent.</p> <p>When the
|
|||
|
|
* service scheduler launches new tasks, it determines task placement in your
|
|||
|
|
* cluster with the following logic:</p> <ul> <li> <p>Determine which of the
|
|||
|
|
* container instances in your cluster can support your service's task definition
|
|||
|
|
* (for example, they have the required CPU, memory, ports, and container instance
|
|||
|
|
* attributes).</p> </li> <li> <p>By default, the service scheduler attempts to
|
|||
|
|
* balance tasks across Availability Zones in this manner (although you can choose
|
|||
|
|
* a different placement strategy):</p> <ul> <li> <p>Sort the valid container
|
|||
|
|
* instances by the fewest number of running tasks for this service in the same
|
|||
|
|
* Availability Zone as the instance. For example, if zone A has one running
|
|||
|
|
* service task and zones B and C each have zero, valid container instances in
|
|||
|
|
* either zone B or C are considered optimal for placement.</p> </li> <li> <p>Place
|
|||
|
|
* the new service task on a valid container instance in an optimal Availability
|
|||
|
|
* Zone (based on the previous steps), favoring container instances with the fewest
|
|||
|
|
* number of running tasks for this service.</p> </li> </ul> </li> </ul> <p>When
|
|||
|
|
* the service scheduler stops running tasks, it attempts to maintain balance
|
|||
|
|
* across the Availability Zones in your cluster using the following logic: </p>
|
|||
|
|
* <ul> <li> <p>Sort the container instances by the largest number of running tasks
|
|||
|
|
* for this service in the same Availability Zone as the instance. For example, if
|
|||
|
|
* zone A has one running service task and zones B and C each have two, container
|
|||
|
|
* instances in either zone B or C are considered optimal for termination.</p>
|
|||
|
|
* </li> <li> <p>Stop the task on a container instance in an optimal Availability
|
|||
|
|
* Zone (based on the previous steps), favoring container instances with the
|
|||
|
|
* largest number of running tasks for this service.</p> </li> </ul><p><h3>See
|
|||
|
|
* Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void UpdateServiceAsync(const Model::UpdateServiceRequest& request, const UpdateServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies which task set in a service is the primary task set. Any parameters
|
|||
|
|
* that are updated on the primary task set in a service will transition to the
|
|||
|
|
* service. This is used when a service uses the <code>EXTERNAL</code> deployment
|
|||
|
|
* controller type. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateServicePrimaryTaskSetOutcome UpdateServicePrimaryTaskSet(const Model::UpdateServicePrimaryTaskSetRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies which task set in a service is the primary task set. Any parameters
|
|||
|
|
* that are updated on the primary task set in a service will transition to the
|
|||
|
|
* service. This is used when a service uses the <code>EXTERNAL</code> deployment
|
|||
|
|
* controller type. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateServicePrimaryTaskSetOutcomeCallable UpdateServicePrimaryTaskSetCallable(const Model::UpdateServicePrimaryTaskSetRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies which task set in a service is the primary task set. Any parameters
|
|||
|
|
* that are updated on the primary task set in a service will transition to the
|
|||
|
|
* service. This is used when a service uses the <code>EXTERNAL</code> deployment
|
|||
|
|
* controller type. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void UpdateServicePrimaryTaskSetAsync(const Model::UpdateServicePrimaryTaskSetRequest& request, const UpdateServicePrimaryTaskSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies a task set. This is used when a service uses the
|
|||
|
|
* <code>EXTERNAL</code> deployment controller type. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateTaskSetOutcome UpdateTaskSet(const Model::UpdateTaskSetRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies a task set. This is used when a service uses the
|
|||
|
|
* <code>EXTERNAL</code> deployment controller type. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* returns a future to the operation so that it can be executed in parallel to other requests.
|
|||
|
|
*/
|
|||
|
|
virtual Model::UpdateTaskSetOutcomeCallable UpdateTaskSetCallable(const Model::UpdateTaskSetRequest& request) const;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Modifies a task set. This is used when a service uses the
|
|||
|
|
* <code>EXTERNAL</code> deployment controller type. For more information, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon
|
|||
|
|
* ECS Deployment Types</a> in the <i>Amazon Elastic Container Service Developer
|
|||
|
|
* Guide</i>.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateTaskSet">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*
|
|||
|
|
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
|||
|
|
*/
|
|||
|
|
virtual void UpdateTaskSetAsync(const Model::UpdateTaskSetRequest& request, const UpdateTaskSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
void OverrideEndpoint(const Aws::String& endpoint);
|
|||
|
|
private:
|
|||
|
|
void init(const Aws::Client::ClientConfiguration& clientConfiguration);
|
|||
|
|
void CreateCapacityProviderAsyncHelper(const Model::CreateCapacityProviderRequest& request, const CreateCapacityProviderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void CreateClusterAsyncHelper(const Model::CreateClusterRequest& request, const CreateClusterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void CreateServiceAsyncHelper(const Model::CreateServiceRequest& request, const CreateServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void CreateTaskSetAsyncHelper(const Model::CreateTaskSetRequest& request, const CreateTaskSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DeleteAccountSettingAsyncHelper(const Model::DeleteAccountSettingRequest& request, const DeleteAccountSettingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DeleteAttributesAsyncHelper(const Model::DeleteAttributesRequest& request, const DeleteAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DeleteCapacityProviderAsyncHelper(const Model::DeleteCapacityProviderRequest& request, const DeleteCapacityProviderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DeleteClusterAsyncHelper(const Model::DeleteClusterRequest& request, const DeleteClusterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DeleteServiceAsyncHelper(const Model::DeleteServiceRequest& request, const DeleteServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DeleteTaskSetAsyncHelper(const Model::DeleteTaskSetRequest& request, const DeleteTaskSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DeregisterContainerInstanceAsyncHelper(const Model::DeregisterContainerInstanceRequest& request, const DeregisterContainerInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DeregisterTaskDefinitionAsyncHelper(const Model::DeregisterTaskDefinitionRequest& request, const DeregisterTaskDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DescribeCapacityProvidersAsyncHelper(const Model::DescribeCapacityProvidersRequest& request, const DescribeCapacityProvidersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DescribeClustersAsyncHelper(const Model::DescribeClustersRequest& request, const DescribeClustersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DescribeContainerInstancesAsyncHelper(const Model::DescribeContainerInstancesRequest& request, const DescribeContainerInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DescribeServicesAsyncHelper(const Model::DescribeServicesRequest& request, const DescribeServicesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DescribeTaskDefinitionAsyncHelper(const Model::DescribeTaskDefinitionRequest& request, const DescribeTaskDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DescribeTaskSetsAsyncHelper(const Model::DescribeTaskSetsRequest& request, const DescribeTaskSetsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DescribeTasksAsyncHelper(const Model::DescribeTasksRequest& request, const DescribeTasksResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void DiscoverPollEndpointAsyncHelper(const Model::DiscoverPollEndpointRequest& request, const DiscoverPollEndpointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void ListAccountSettingsAsyncHelper(const Model::ListAccountSettingsRequest& request, const ListAccountSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void ListAttributesAsyncHelper(const Model::ListAttributesRequest& request, const ListAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void ListClustersAsyncHelper(const Model::ListClustersRequest& request, const ListClustersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void ListContainerInstancesAsyncHelper(const Model::ListContainerInstancesRequest& request, const ListContainerInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void ListServicesAsyncHelper(const Model::ListServicesRequest& request, const ListServicesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void ListTagsForResourceAsyncHelper(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void ListTaskDefinitionFamiliesAsyncHelper(const Model::ListTaskDefinitionFamiliesRequest& request, const ListTaskDefinitionFamiliesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void ListTaskDefinitionsAsyncHelper(const Model::ListTaskDefinitionsRequest& request, const ListTaskDefinitionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void ListTasksAsyncHelper(const Model::ListTasksRequest& request, const ListTasksResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void PutAccountSettingAsyncHelper(const Model::PutAccountSettingRequest& request, const PutAccountSettingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void PutAccountSettingDefaultAsyncHelper(const Model::PutAccountSettingDefaultRequest& request, const PutAccountSettingDefaultResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void PutAttributesAsyncHelper(const Model::PutAttributesRequest& request, const PutAttributesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void PutClusterCapacityProvidersAsyncHelper(const Model::PutClusterCapacityProvidersRequest& request, const PutClusterCapacityProvidersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void RegisterContainerInstanceAsyncHelper(const Model::RegisterContainerInstanceRequest& request, const RegisterContainerInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void RegisterTaskDefinitionAsyncHelper(const Model::RegisterTaskDefinitionRequest& request, const RegisterTaskDefinitionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void RunTaskAsyncHelper(const Model::RunTaskRequest& request, const RunTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void StartTaskAsyncHelper(const Model::StartTaskRequest& request, const StartTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void StopTaskAsyncHelper(const Model::StopTaskRequest& request, const StopTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void SubmitAttachmentStateChangesAsyncHelper(const Model::SubmitAttachmentStateChangesRequest& request, const SubmitAttachmentStateChangesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void SubmitContainerStateChangeAsyncHelper(const Model::SubmitContainerStateChangeRequest& request, const SubmitContainerStateChangeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void SubmitTaskStateChangeAsyncHelper(const Model::SubmitTaskStateChangeRequest& request, const SubmitTaskStateChangeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void TagResourceAsyncHelper(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void UntagResourceAsyncHelper(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void UpdateClusterSettingsAsyncHelper(const Model::UpdateClusterSettingsRequest& request, const UpdateClusterSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void UpdateContainerAgentAsyncHelper(const Model::UpdateContainerAgentRequest& request, const UpdateContainerAgentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void UpdateContainerInstancesStateAsyncHelper(const Model::UpdateContainerInstancesStateRequest& request, const UpdateContainerInstancesStateResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void UpdateServiceAsyncHelper(const Model::UpdateServiceRequest& request, const UpdateServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void UpdateServicePrimaryTaskSetAsyncHelper(const Model::UpdateServicePrimaryTaskSetRequest& request, const UpdateServicePrimaryTaskSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
void UpdateTaskSetAsyncHelper(const Model::UpdateTaskSetRequest& request, const UpdateTaskSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
|||
|
|
|
|||
|
|
Aws::String m_uri;
|
|||
|
|
Aws::String m_configScheme;
|
|||
|
|
std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace ECS
|
|||
|
|
} // namespace Aws
|