/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Cloud9.Model;
namespace Amazon.Cloud9
{
///
/// Interface for accessing Cloud9
///
/// Cloud9
///
/// Cloud9 is a collection of tools that you can use to code, build, run, test, debug,
/// and release software in the cloud.
///
///
///
/// For more information about Cloud9, see the Cloud9
/// User Guide.
///
///
///
/// Cloud9 supports these operations:
///
/// -
///
///
CreateEnvironmentEC2
: Creates an Cloud9 development environment, launches
/// an Amazon EC2 instance, and then connects from the instance to the environment.
///
/// -
///
///
CreateEnvironmentMembership
: Adds an environment member to an environment.
///
/// -
///
///
DeleteEnvironment
: Deletes an environment. If an Amazon EC2 instance
/// is connected to the environment, also terminates the instance.
///
/// -
///
///
DeleteEnvironmentMembership
: Deletes an environment member from an environment.
///
/// -
///
///
DescribeEnvironmentMemberships
: Gets information about environment members
/// for an environment.
///
/// -
///
///
DescribeEnvironments
: Gets information about environments.
///
/// -
///
///
DescribeEnvironmentStatus
: Gets status information for an environment.
///
/// -
///
///
ListEnvironments
: Gets a list of environment identifiers.
///
/// -
///
///
ListTagsForResource
: Gets the tags for an environment.
///
/// -
///
///
TagResource
: Adds tags to an environment.
///
/// -
///
///
UntagResource
: Removes tags from an environment.
///
/// -
///
///
UpdateEnvironment
: Changes the settings of an existing environment.
///
/// -
///
///
UpdateEnvironmentMembership
: Changes the settings of an existing environment
/// member for an environment.
///
///
///
public partial interface IAmazonCloud9 : IAmazonService, IDisposable
{
///
/// Paginators for the service
///
ICloud9PaginatorFactory Paginators { get; }
#region CreateEnvironmentEC2
///
/// Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud
/// (Amazon EC2) instance, and then connects from the instance to the environment.
///
/// Container for the necessary parameters to execute the CreateEnvironmentEC2 service method.
///
/// The response from the CreateEnvironmentEC2 service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for CreateEnvironmentEC2 Operation
CreateEnvironmentEC2Response CreateEnvironmentEC2(CreateEnvironmentEC2Request request);
///
/// Creates an Cloud9 development environment, launches an Amazon Elastic Compute Cloud
/// (Amazon EC2) instance, and then connects from the instance to the environment.
///
/// Container for the necessary parameters to execute the CreateEnvironmentEC2 service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEnvironmentEC2 service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for CreateEnvironmentEC2 Operation
Task CreateEnvironmentEC2Async(CreateEnvironmentEC2Request request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateEnvironmentMembership
///
/// Adds an environment member to an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the CreateEnvironmentMembership service method.
///
/// The response from the CreateEnvironmentMembership service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for CreateEnvironmentMembership Operation
CreateEnvironmentMembershipResponse CreateEnvironmentMembership(CreateEnvironmentMembershipRequest request);
///
/// Adds an environment member to an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the CreateEnvironmentMembership service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEnvironmentMembership service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for CreateEnvironmentMembership Operation
Task CreateEnvironmentMembershipAsync(CreateEnvironmentMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteEnvironment
///
/// Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected
/// to the environment, also terminates the instance.
///
/// Container for the necessary parameters to execute the DeleteEnvironment service method.
///
/// The response from the DeleteEnvironment service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DeleteEnvironment Operation
DeleteEnvironmentResponse DeleteEnvironment(DeleteEnvironmentRequest request);
///
/// Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected
/// to the environment, also terminates the instance.
///
/// Container for the necessary parameters to execute the DeleteEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEnvironment service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DeleteEnvironment Operation
Task DeleteEnvironmentAsync(DeleteEnvironmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteEnvironmentMembership
///
/// Deletes an environment member from a development environment.
///
/// Container for the necessary parameters to execute the DeleteEnvironmentMembership service method.
///
/// The response from the DeleteEnvironmentMembership service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DeleteEnvironmentMembership Operation
DeleteEnvironmentMembershipResponse DeleteEnvironmentMembership(DeleteEnvironmentMembershipRequest request);
///
/// Deletes an environment member from a development environment.
///
/// Container for the necessary parameters to execute the DeleteEnvironmentMembership service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEnvironmentMembership service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DeleteEnvironmentMembership Operation
Task DeleteEnvironmentMembershipAsync(DeleteEnvironmentMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEnvironmentMemberships
///
/// Gets information about environment members for an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the DescribeEnvironmentMemberships service method.
///
/// The response from the DescribeEnvironmentMemberships service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DescribeEnvironmentMemberships Operation
DescribeEnvironmentMembershipsResponse DescribeEnvironmentMemberships(DescribeEnvironmentMembershipsRequest request);
///
/// Gets information about environment members for an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the DescribeEnvironmentMemberships service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEnvironmentMemberships service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DescribeEnvironmentMemberships Operation
Task DescribeEnvironmentMembershipsAsync(DescribeEnvironmentMembershipsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEnvironments
///
/// Gets information about Cloud9 development environments.
///
/// Container for the necessary parameters to execute the DescribeEnvironments service method.
///
/// The response from the DescribeEnvironments service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DescribeEnvironments Operation
DescribeEnvironmentsResponse DescribeEnvironments(DescribeEnvironmentsRequest request);
///
/// Gets information about Cloud9 development environments.
///
/// Container for the necessary parameters to execute the DescribeEnvironments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEnvironments service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DescribeEnvironments Operation
Task DescribeEnvironmentsAsync(DescribeEnvironmentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEnvironmentStatus
///
/// Gets status information for an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the DescribeEnvironmentStatus service method.
///
/// The response from the DescribeEnvironmentStatus service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DescribeEnvironmentStatus Operation
DescribeEnvironmentStatusResponse DescribeEnvironmentStatus(DescribeEnvironmentStatusRequest request);
///
/// Gets status information for an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the DescribeEnvironmentStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEnvironmentStatus service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for DescribeEnvironmentStatus Operation
Task DescribeEnvironmentStatusAsync(DescribeEnvironmentStatusRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListEnvironments
///
/// Gets a list of Cloud9 development environment identifiers.
///
/// Container for the necessary parameters to execute the ListEnvironments service method.
///
/// The response from the ListEnvironments service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for ListEnvironments Operation
ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request);
///
/// Gets a list of Cloud9 development environment identifiers.
///
/// Container for the necessary parameters to execute the ListEnvironments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEnvironments service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for ListEnvironments Operation
Task ListEnvironmentsAsync(ListEnvironmentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Gets a list of the tags associated with an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// An internal server error occurred.
///
///
/// The target resource cannot be found.
///
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
///
/// Gets a list of the tags associated with an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// An internal server error occurred.
///
///
/// The target resource cannot be found.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Adds tags to an Cloud9 development environment.
///
///
///
/// Tags that you add to an Cloud9 environment by using this method will NOT be automatically
/// propagated to underlying resources.
///
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A concurrent access issue occurred.
///
///
/// An internal server error occurred.
///
///
/// The target resource cannot be found.
///
/// REST API Reference for TagResource Operation
TagResourceResponse TagResource(TagResourceRequest request);
///
/// Adds tags to an Cloud9 development environment.
///
///
///
/// Tags that you add to an Cloud9 environment by using this method will NOT be automatically
/// propagated to underlying resources.
///
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A concurrent access issue occurred.
///
///
/// An internal server error occurred.
///
///
/// The target resource cannot be found.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes tags from an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A concurrent access issue occurred.
///
///
/// An internal server error occurred.
///
///
/// The target resource cannot be found.
///
/// REST API Reference for UntagResource Operation
UntagResourceResponse UntagResource(UntagResourceRequest request);
///
/// Removes tags from an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A concurrent access issue occurred.
///
///
/// An internal server error occurred.
///
///
/// The target resource cannot be found.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateEnvironment
///
/// Changes the settings of an existing Cloud9 development environment.
///
/// Container for the necessary parameters to execute the UpdateEnvironment service method.
///
/// The response from the UpdateEnvironment service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for UpdateEnvironment Operation
UpdateEnvironmentResponse UpdateEnvironment(UpdateEnvironmentRequest request);
///
/// Changes the settings of an existing Cloud9 development environment.
///
/// Container for the necessary parameters to execute the UpdateEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateEnvironment service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for UpdateEnvironment Operation
Task UpdateEnvironmentAsync(UpdateEnvironmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateEnvironmentMembership
///
/// Changes the settings of an existing environment member for an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the UpdateEnvironmentMembership service method.
///
/// The response from the UpdateEnvironmentMembership service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for UpdateEnvironmentMembership Operation
UpdateEnvironmentMembershipResponse UpdateEnvironmentMembership(UpdateEnvironmentMembershipRequest request);
///
/// Changes the settings of an existing environment member for an Cloud9 development environment.
///
/// Container for the necessary parameters to execute the UpdateEnvironmentMembership service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateEnvironmentMembership service method, as returned by Cloud9.
///
/// The target request is invalid.
///
///
/// A conflict occurred.
///
///
/// An access permissions issue occurred.
///
///
/// An internal server error occurred.
///
///
/// A service limit was exceeded.
///
///
/// The target resource cannot be found.
///
///
/// Too many service requests were made over the given time period.
///
/// REST API Reference for UpdateEnvironmentMembership Operation
Task UpdateEnvironmentMembershipAsync(UpdateEnvironmentMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}