/* * 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 codecatalyst-2022-09-28.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.CodeCatalyst.Model; using Amazon.CodeCatalyst.Model.Internal.MarshallTransformations; using Amazon.CodeCatalyst.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.CodeCatalyst { /// /// Implementation for accessing CodeCatalyst /// /// Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions /// of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst /// API to work with the following objects. /// /// /// /// Spaces, by calling the following: /// /// /// /// Projects, by calling the following: /// /// /// /// Users, by calling the following: /// /// /// /// Source repositories, by calling the following: /// /// /// /// Dev Environments and the Amazon Web Services Toolkits, by calling the following: /// /// /// /// Security, activity, and resource management in Amazon CodeCatalyst, by calling the /// following: /// /// /// /// If you are using the Amazon CodeCatalyst APIs with an SDK or the CLI, you must configure /// your computer to work with Amazon CodeCatalyst and single sign-on (SSO). For more /// information, see Setting /// up to use the CLI with Amazon CodeCatalyst and the SSO documentation for your /// SDK. /// /// /// public partial class AmazonCodeCatalystClient : AmazonServiceClient, IAmazonCodeCatalyst { private static IServiceMetadata serviceMetadata = new AmazonCodeCatalystMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private ICodeCatalystPaginatorFactory _paginators; /// /// Paginators for the service /// public ICodeCatalystPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new CodeCatalystPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonCodeCatalystClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonCodeCatalystClient() : base(FallbackCredentialsFactory.GetCredentials(fallbackToAnonymous: true), new AmazonCodeCatalystConfig()) { } /// /// Constructs AmazonCodeCatalystClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonCodeCatalystClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(fallbackToAnonymous: true), new AmazonCodeCatalystConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodeCatalystClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonCodeCatalystClient Configuration Object public AmazonCodeCatalystClient(AmazonCodeCatalystConfig config) : base(FallbackCredentialsFactory.GetCredentials(config, fallbackToAnonymous: true), config){} /// /// Constructs AmazonCodeCatalystClient with AWS Credentials /// /// AWS Credentials public AmazonCodeCatalystClient(AWSCredentials credentials) : this(credentials, new AmazonCodeCatalystConfig()) { } /// /// Constructs AmazonCodeCatalystClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonCodeCatalystClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonCodeCatalystConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodeCatalystClient with AWS Credentials and an /// AmazonCodeCatalystClient Configuration object. /// /// AWS Credentials /// The AmazonCodeCatalystClient Configuration Object public AmazonCodeCatalystClient(AWSCredentials credentials, AmazonCodeCatalystConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonCodeCatalystClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonCodeCatalystClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCodeCatalystConfig()) { } /// /// Constructs AmazonCodeCatalystClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonCodeCatalystClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCodeCatalystConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonCodeCatalystClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCodeCatalystClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonCodeCatalystClient Configuration Object public AmazonCodeCatalystClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCodeCatalystConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonCodeCatalystClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonCodeCatalystClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCodeCatalystConfig()) { } /// /// Constructs AmazonCodeCatalystClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonCodeCatalystClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCodeCatalystConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCodeCatalystClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCodeCatalystClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonCodeCatalystClient Configuration Object public AmazonCodeCatalystClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCodeCatalystConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new BearerTokenSigner(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonCodeCatalystEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateAccessToken /// /// Creates a personal access token (PAT) for the current user. A personal access token /// (PAT) is similar to a password. It is associated with your user identity for use across /// all spaces and projects in Amazon CodeCatalyst. You use PATs to access CodeCatalyst /// from resources that include integrated development environments (IDEs) and Git-based /// source repositories. PATs represent you in Amazon CodeCatalyst and you can manage /// them in your user settings.For more information, see Managing /// personal access tokens in Amazon CodeCatalyst. /// /// Container for the necessary parameters to execute the CreateAccessToken service method. /// /// The response from the CreateAccessToken service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for CreateAccessToken Operation public virtual CreateAccessTokenResponse CreateAccessToken(CreateAccessTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAccessTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAccessTokenResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateAccessToken operation. /// /// /// Container for the necessary parameters to execute the CreateAccessToken operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAccessToken /// operation. /// REST API Reference for CreateAccessToken Operation public virtual IAsyncResult BeginCreateAccessToken(CreateAccessTokenRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAccessTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAccessTokenResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateAccessToken operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAccessToken. /// /// Returns a CreateAccessTokenResult from CodeCatalyst. /// REST API Reference for CreateAccessToken Operation public virtual CreateAccessTokenResponse EndCreateAccessToken(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDevEnvironment /// /// Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment /// that you can use to quickly work on the code stored in the source repositories of /// your project. /// /// /// /// When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured /// to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these /// defaults apply to a Dev Environment created programmatically. /// /// /// /// Container for the necessary parameters to execute the CreateDevEnvironment service method. /// /// The response from the CreateDevEnvironment service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for CreateDevEnvironment Operation public virtual CreateDevEnvironmentResponse CreateDevEnvironment(CreateDevEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDevEnvironmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDevEnvironment operation. /// /// /// Container for the necessary parameters to execute the CreateDevEnvironment operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDevEnvironment /// operation. /// REST API Reference for CreateDevEnvironment Operation public virtual IAsyncResult BeginCreateDevEnvironment(CreateDevEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDevEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDevEnvironment operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDevEnvironment. /// /// Returns a CreateDevEnvironmentResult from CodeCatalyst. /// REST API Reference for CreateDevEnvironment Operation public virtual CreateDevEnvironmentResponse EndCreateDevEnvironment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateProject /// /// Creates a project in a specified space. /// /// Container for the necessary parameters to execute the CreateProject service method. /// /// The response from the CreateProject service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for CreateProject Operation public virtual CreateProjectResponse CreateProject(CreateProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateProject operation. /// /// /// Container for the necessary parameters to execute the CreateProject operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProject /// operation. /// REST API Reference for CreateProject Operation public virtual IAsyncResult BeginCreateProject(CreateProjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateProject operation. /// /// /// The IAsyncResult returned by the call to BeginCreateProject. /// /// Returns a CreateProjectResult from CodeCatalyst. /// REST API Reference for CreateProject Operation public virtual CreateProjectResponse EndCreateProject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSourceRepository /// /// Creates an empty Git-based source repository in a specified project. The repository /// is created with an initial empty commit with a default branch named main. /// /// Container for the necessary parameters to execute the CreateSourceRepository service method. /// /// The response from the CreateSourceRepository service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for CreateSourceRepository Operation public virtual CreateSourceRepositoryResponse CreateSourceRepository(CreateSourceRepositoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSourceRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSourceRepositoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSourceRepository operation. /// /// /// Container for the necessary parameters to execute the CreateSourceRepository operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSourceRepository /// operation. /// REST API Reference for CreateSourceRepository Operation public virtual IAsyncResult BeginCreateSourceRepository(CreateSourceRepositoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSourceRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSourceRepositoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSourceRepository operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSourceRepository. /// /// Returns a CreateSourceRepositoryResult from CodeCatalyst. /// REST API Reference for CreateSourceRepository Operation public virtual CreateSourceRepositoryResponse EndCreateSourceRepository(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSourceRepositoryBranch /// /// Creates a branch in a specified source repository in Amazon CodeCatalyst. /// /// /// /// This API only creates a branch in a source repository hosted in Amazon CodeCatalyst. /// You cannot use this API to create a branch in a linked repository. /// /// /// /// Container for the necessary parameters to execute the CreateSourceRepositoryBranch service method. /// /// The response from the CreateSourceRepositoryBranch service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for CreateSourceRepositoryBranch Operation public virtual CreateSourceRepositoryBranchResponse CreateSourceRepositoryBranch(CreateSourceRepositoryBranchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSourceRepositoryBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSourceRepositoryBranchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSourceRepositoryBranch operation. /// /// /// Container for the necessary parameters to execute the CreateSourceRepositoryBranch operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSourceRepositoryBranch /// operation. /// REST API Reference for CreateSourceRepositoryBranch Operation public virtual IAsyncResult BeginCreateSourceRepositoryBranch(CreateSourceRepositoryBranchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSourceRepositoryBranchRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSourceRepositoryBranchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSourceRepositoryBranch operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSourceRepositoryBranch. /// /// Returns a CreateSourceRepositoryBranchResult from CodeCatalyst. /// REST API Reference for CreateSourceRepositoryBranch Operation public virtual CreateSourceRepositoryBranchResponse EndCreateSourceRepositoryBranch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAccessToken /// /// Deletes a specified personal access token (PAT). A personal access token can only /// be deleted by the user who created it. /// /// Container for the necessary parameters to execute the DeleteAccessToken service method. /// /// The response from the DeleteAccessToken service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for DeleteAccessToken Operation public virtual DeleteAccessTokenResponse DeleteAccessToken(DeleteAccessTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccessTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccessTokenResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAccessToken operation. /// /// /// Container for the necessary parameters to execute the DeleteAccessToken operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAccessToken /// operation. /// REST API Reference for DeleteAccessToken Operation public virtual IAsyncResult BeginDeleteAccessToken(DeleteAccessTokenRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccessTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccessTokenResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAccessToken operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAccessToken. /// /// Returns a DeleteAccessTokenResult from CodeCatalyst. /// REST API Reference for DeleteAccessToken Operation public virtual DeleteAccessTokenResponse EndDeleteAccessToken(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDevEnvironment /// /// Deletes a Dev Environment. /// /// Container for the necessary parameters to execute the DeleteDevEnvironment service method. /// /// The response from the DeleteDevEnvironment service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for DeleteDevEnvironment Operation public virtual DeleteDevEnvironmentResponse DeleteDevEnvironment(DeleteDevEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDevEnvironmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDevEnvironment operation. /// /// /// Container for the necessary parameters to execute the DeleteDevEnvironment operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDevEnvironment /// operation. /// REST API Reference for DeleteDevEnvironment Operation public virtual IAsyncResult BeginDeleteDevEnvironment(DeleteDevEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDevEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDevEnvironment operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDevEnvironment. /// /// Returns a DeleteDevEnvironmentResult from CodeCatalyst. /// REST API Reference for DeleteDevEnvironment Operation public virtual DeleteDevEnvironmentResponse EndDeleteDevEnvironment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteProject /// /// Deletes a project in a space. /// /// Container for the necessary parameters to execute the DeleteProject service method. /// /// The response from the DeleteProject service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for DeleteProject Operation public virtual DeleteProjectResponse DeleteProject(DeleteProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteProject operation. /// /// /// Container for the necessary parameters to execute the DeleteProject operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteProject /// operation. /// REST API Reference for DeleteProject Operation public virtual IAsyncResult BeginDeleteProject(DeleteProjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteProject operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteProject. /// /// Returns a DeleteProjectResult from CodeCatalyst. /// REST API Reference for DeleteProject Operation public virtual DeleteProjectResponse EndDeleteProject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSourceRepository /// /// Deletes a source repository in Amazon CodeCatalyst. You cannot use this API to delete /// a linked repository. It can only be used to delete a Amazon CodeCatalyst source repository. /// /// Container for the necessary parameters to execute the DeleteSourceRepository service method. /// /// The response from the DeleteSourceRepository service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for DeleteSourceRepository Operation public virtual DeleteSourceRepositoryResponse DeleteSourceRepository(DeleteSourceRepositoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSourceRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSourceRepositoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSourceRepository operation. /// /// /// Container for the necessary parameters to execute the DeleteSourceRepository operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSourceRepository /// operation. /// REST API Reference for DeleteSourceRepository Operation public virtual IAsyncResult BeginDeleteSourceRepository(DeleteSourceRepositoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSourceRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSourceRepositoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSourceRepository operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSourceRepository. /// /// Returns a DeleteSourceRepositoryResult from CodeCatalyst. /// REST API Reference for DeleteSourceRepository Operation public virtual DeleteSourceRepositoryResponse EndDeleteSourceRepository(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSpace /// /// Deletes a space. /// /// /// /// Deleting a space cannot be undone. Additionally, since space names must be unique /// across Amazon CodeCatalyst, you cannot reuse names of deleted spaces. /// /// /// /// Container for the necessary parameters to execute the DeleteSpace service method. /// /// The response from the DeleteSpace service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for DeleteSpace Operation public virtual DeleteSpaceResponse DeleteSpace(DeleteSpaceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSpaceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSpaceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSpace operation. /// /// /// Container for the necessary parameters to execute the DeleteSpace operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSpace /// operation. /// REST API Reference for DeleteSpace Operation public virtual IAsyncResult BeginDeleteSpace(DeleteSpaceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSpaceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSpaceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSpace operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSpace. /// /// Returns a DeleteSpaceResult from CodeCatalyst. /// REST API Reference for DeleteSpace Operation public virtual DeleteSpaceResponse EndDeleteSpace(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDevEnvironment /// /// Returns information about a Dev Environment for a source repository in a project. /// Dev Environments are specific to the user who creates them. /// /// Container for the necessary parameters to execute the GetDevEnvironment service method. /// /// The response from the GetDevEnvironment service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for GetDevEnvironment Operation public virtual GetDevEnvironmentResponse GetDevEnvironment(GetDevEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDevEnvironmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDevEnvironment operation. /// /// /// Container for the necessary parameters to execute the GetDevEnvironment operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDevEnvironment /// operation. /// REST API Reference for GetDevEnvironment Operation public virtual IAsyncResult BeginGetDevEnvironment(GetDevEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDevEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDevEnvironment operation. /// /// /// The IAsyncResult returned by the call to BeginGetDevEnvironment. /// /// Returns a GetDevEnvironmentResult from CodeCatalyst. /// REST API Reference for GetDevEnvironment Operation public virtual GetDevEnvironmentResponse EndGetDevEnvironment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetProject /// /// Returns information about a project. /// /// Container for the necessary parameters to execute the GetProject service method. /// /// The response from the GetProject service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for GetProject Operation public virtual GetProjectResponse GetProject(GetProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetProject operation. /// /// /// Container for the necessary parameters to execute the GetProject operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetProject /// operation. /// REST API Reference for GetProject Operation public virtual IAsyncResult BeginGetProject(GetProjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetProject operation. /// /// /// The IAsyncResult returned by the call to BeginGetProject. /// /// Returns a GetProjectResult from CodeCatalyst. /// REST API Reference for GetProject Operation public virtual GetProjectResponse EndGetProject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSourceRepository /// /// Returns information about a source repository. /// /// Container for the necessary parameters to execute the GetSourceRepository service method. /// /// The response from the GetSourceRepository service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for GetSourceRepository Operation public virtual GetSourceRepositoryResponse GetSourceRepository(GetSourceRepositoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSourceRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSourceRepositoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSourceRepository operation. /// /// /// Container for the necessary parameters to execute the GetSourceRepository operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSourceRepository /// operation. /// REST API Reference for GetSourceRepository Operation public virtual IAsyncResult BeginGetSourceRepository(GetSourceRepositoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSourceRepositoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSourceRepositoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSourceRepository operation. /// /// /// The IAsyncResult returned by the call to BeginGetSourceRepository. /// /// Returns a GetSourceRepositoryResult from CodeCatalyst. /// REST API Reference for GetSourceRepository Operation public virtual GetSourceRepositoryResponse EndGetSourceRepository(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSourceRepositoryCloneUrls /// /// Returns information about the URLs that can be used with a Git client to clone a source /// repository. /// /// Container for the necessary parameters to execute the GetSourceRepositoryCloneUrls service method. /// /// The response from the GetSourceRepositoryCloneUrls service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for GetSourceRepositoryCloneUrls Operation public virtual GetSourceRepositoryCloneUrlsResponse GetSourceRepositoryCloneUrls(GetSourceRepositoryCloneUrlsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSourceRepositoryCloneUrlsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSourceRepositoryCloneUrlsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSourceRepositoryCloneUrls operation. /// /// /// Container for the necessary parameters to execute the GetSourceRepositoryCloneUrls operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSourceRepositoryCloneUrls /// operation. /// REST API Reference for GetSourceRepositoryCloneUrls Operation public virtual IAsyncResult BeginGetSourceRepositoryCloneUrls(GetSourceRepositoryCloneUrlsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSourceRepositoryCloneUrlsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSourceRepositoryCloneUrlsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSourceRepositoryCloneUrls operation. /// /// /// The IAsyncResult returned by the call to BeginGetSourceRepositoryCloneUrls. /// /// Returns a GetSourceRepositoryCloneUrlsResult from CodeCatalyst. /// REST API Reference for GetSourceRepositoryCloneUrls Operation public virtual GetSourceRepositoryCloneUrlsResponse EndGetSourceRepositoryCloneUrls(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSpace /// /// Returns information about an space. /// /// Container for the necessary parameters to execute the GetSpace service method. /// /// The response from the GetSpace service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for GetSpace Operation public virtual GetSpaceResponse GetSpace(GetSpaceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSpaceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSpaceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSpace operation. /// /// /// Container for the necessary parameters to execute the GetSpace operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSpace /// operation. /// REST API Reference for GetSpace Operation public virtual IAsyncResult BeginGetSpace(GetSpaceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSpaceRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSpaceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSpace operation. /// /// /// The IAsyncResult returned by the call to BeginGetSpace. /// /// Returns a GetSpaceResult from CodeCatalyst. /// REST API Reference for GetSpace Operation public virtual GetSpaceResponse EndGetSpace(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSubscription /// /// Returns information about the Amazon Web Services account used for billing purposes /// and the billing plan for the space. /// /// Container for the necessary parameters to execute the GetSubscription service method. /// /// The response from the GetSubscription service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for GetSubscription Operation public virtual GetSubscriptionResponse GetSubscription(GetSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSubscription operation. /// /// /// Container for the necessary parameters to execute the GetSubscription operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSubscription /// operation. /// REST API Reference for GetSubscription Operation public virtual IAsyncResult BeginGetSubscription(GetSubscriptionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSubscriptionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSubscription operation. /// /// /// The IAsyncResult returned by the call to BeginGetSubscription. /// /// Returns a GetSubscriptionResult from CodeCatalyst. /// REST API Reference for GetSubscription Operation public virtual GetSubscriptionResponse EndGetSubscription(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetUserDetails /// /// Returns information about a user. /// /// Container for the necessary parameters to execute the GetUserDetails service method. /// /// The response from the GetUserDetails service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for GetUserDetails Operation public virtual GetUserDetailsResponse GetUserDetails(GetUserDetailsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUserDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUserDetailsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetUserDetails operation. /// /// /// Container for the necessary parameters to execute the GetUserDetails operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUserDetails /// operation. /// REST API Reference for GetUserDetails Operation public virtual IAsyncResult BeginGetUserDetails(GetUserDetailsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetUserDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUserDetailsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetUserDetails operation. /// /// /// The IAsyncResult returned by the call to BeginGetUserDetails. /// /// Returns a GetUserDetailsResult from CodeCatalyst. /// REST API Reference for GetUserDetails Operation public virtual GetUserDetailsResponse EndGetUserDetails(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAccessTokens /// /// Lists all personal access tokens (PATs) associated with the user who calls the API. /// You can only list PATs associated with your Amazon Web Services Builder ID. /// /// Container for the necessary parameters to execute the ListAccessTokens service method. /// /// The response from the ListAccessTokens service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for ListAccessTokens Operation public virtual ListAccessTokensResponse ListAccessTokens(ListAccessTokensRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccessTokensRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccessTokensResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAccessTokens operation. /// /// /// Container for the necessary parameters to execute the ListAccessTokens operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAccessTokens /// operation. /// REST API Reference for ListAccessTokens Operation public virtual IAsyncResult BeginListAccessTokens(ListAccessTokensRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAccessTokensRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAccessTokensResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAccessTokens operation. /// /// /// The IAsyncResult returned by the call to BeginListAccessTokens. /// /// Returns a ListAccessTokensResult from CodeCatalyst. /// REST API Reference for ListAccessTokens Operation public virtual ListAccessTokensResponse EndListAccessTokens(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDevEnvironments /// /// Retrieves a list of Dev Environments in a project. /// /// Container for the necessary parameters to execute the ListDevEnvironments service method. /// /// The response from the ListDevEnvironments service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for ListDevEnvironments Operation public virtual ListDevEnvironmentsResponse ListDevEnvironments(ListDevEnvironmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDevEnvironmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDevEnvironmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDevEnvironments operation. /// /// /// Container for the necessary parameters to execute the ListDevEnvironments operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDevEnvironments /// operation. /// REST API Reference for ListDevEnvironments Operation public virtual IAsyncResult BeginListDevEnvironments(ListDevEnvironmentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDevEnvironmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDevEnvironmentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDevEnvironments operation. /// /// /// The IAsyncResult returned by the call to BeginListDevEnvironments. /// /// Returns a ListDevEnvironmentsResult from CodeCatalyst. /// REST API Reference for ListDevEnvironments Operation public virtual ListDevEnvironmentsResponse EndListDevEnvironments(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDevEnvironmentSessions /// /// Retrieves a list of active sessions for a Dev Environment in a project. /// /// Container for the necessary parameters to execute the ListDevEnvironmentSessions service method. /// /// The response from the ListDevEnvironmentSessions service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for ListDevEnvironmentSessions Operation public virtual ListDevEnvironmentSessionsResponse ListDevEnvironmentSessions(ListDevEnvironmentSessionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDevEnvironmentSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDevEnvironmentSessionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDevEnvironmentSessions operation. /// /// /// Container for the necessary parameters to execute the ListDevEnvironmentSessions operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDevEnvironmentSessions /// operation. /// REST API Reference for ListDevEnvironmentSessions Operation public virtual IAsyncResult BeginListDevEnvironmentSessions(ListDevEnvironmentSessionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDevEnvironmentSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDevEnvironmentSessionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDevEnvironmentSessions operation. /// /// /// The IAsyncResult returned by the call to BeginListDevEnvironmentSessions. /// /// Returns a ListDevEnvironmentSessionsResult from CodeCatalyst. /// REST API Reference for ListDevEnvironmentSessions Operation public virtual ListDevEnvironmentSessionsResponse EndListDevEnvironmentSessions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListEventLogs /// /// Retrieves a list of events that occurred during a specified time period in a space. /// You can use these events to audit user and system activity in a space. /// /// Container for the necessary parameters to execute the ListEventLogs service method. /// /// The response from the ListEventLogs service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for ListEventLogs Operation public virtual ListEventLogsResponse ListEventLogs(ListEventLogsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventLogsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListEventLogs operation. /// /// /// Container for the necessary parameters to execute the ListEventLogs operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListEventLogs /// operation. /// REST API Reference for ListEventLogs Operation public virtual IAsyncResult BeginListEventLogs(ListEventLogsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventLogsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListEventLogs operation. /// /// /// The IAsyncResult returned by the call to BeginListEventLogs. /// /// Returns a ListEventLogsResult from CodeCatalyst. /// REST API Reference for ListEventLogs Operation public virtual ListEventLogsResponse EndListEventLogs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListProjects /// /// Retrieves a list of projects. /// /// Container for the necessary parameters to execute the ListProjects service method. /// /// The response from the ListProjects service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for ListProjects Operation public virtual ListProjectsResponse ListProjects(ListProjectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListProjects operation. /// /// /// Container for the necessary parameters to execute the ListProjects operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListProjects /// operation. /// REST API Reference for ListProjects Operation public virtual IAsyncResult BeginListProjects(ListProjectsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListProjectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProjectsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListProjects operation. /// /// /// The IAsyncResult returned by the call to BeginListProjects. /// /// Returns a ListProjectsResult from CodeCatalyst. /// REST API Reference for ListProjects Operation public virtual ListProjectsResponse EndListProjects(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSourceRepositories /// /// Retrieves a list of source repositories in a project. /// /// Container for the necessary parameters to execute the ListSourceRepositories service method. /// /// The response from the ListSourceRepositories service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for ListSourceRepositories Operation public virtual ListSourceRepositoriesResponse ListSourceRepositories(ListSourceRepositoriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSourceRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSourceRepositoriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSourceRepositories operation. /// /// /// Container for the necessary parameters to execute the ListSourceRepositories operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSourceRepositories /// operation. /// REST API Reference for ListSourceRepositories Operation public virtual IAsyncResult BeginListSourceRepositories(ListSourceRepositoriesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSourceRepositoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSourceRepositoriesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSourceRepositories operation. /// /// /// The IAsyncResult returned by the call to BeginListSourceRepositories. /// /// Returns a ListSourceRepositoriesResult from CodeCatalyst. /// REST API Reference for ListSourceRepositories Operation public virtual ListSourceRepositoriesResponse EndListSourceRepositories(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSourceRepositoryBranches /// /// Retrieves a list of branches in a specified source repository. /// /// Container for the necessary parameters to execute the ListSourceRepositoryBranches service method. /// /// The response from the ListSourceRepositoryBranches service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for ListSourceRepositoryBranches Operation public virtual ListSourceRepositoryBranchesResponse ListSourceRepositoryBranches(ListSourceRepositoryBranchesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSourceRepositoryBranchesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSourceRepositoryBranchesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSourceRepositoryBranches operation. /// /// /// Container for the necessary parameters to execute the ListSourceRepositoryBranches operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSourceRepositoryBranches /// operation. /// REST API Reference for ListSourceRepositoryBranches Operation public virtual IAsyncResult BeginListSourceRepositoryBranches(ListSourceRepositoryBranchesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSourceRepositoryBranchesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSourceRepositoryBranchesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSourceRepositoryBranches operation. /// /// /// The IAsyncResult returned by the call to BeginListSourceRepositoryBranches. /// /// Returns a ListSourceRepositoryBranchesResult from CodeCatalyst. /// REST API Reference for ListSourceRepositoryBranches Operation public virtual ListSourceRepositoryBranchesResponse EndListSourceRepositoryBranches(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSpaces /// /// Retrieves a list of spaces. /// /// Container for the necessary parameters to execute the ListSpaces service method. /// /// The response from the ListSpaces service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for ListSpaces Operation public virtual ListSpacesResponse ListSpaces(ListSpacesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSpacesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSpacesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSpaces operation. /// /// /// Container for the necessary parameters to execute the ListSpaces operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSpaces /// operation. /// REST API Reference for ListSpaces Operation public virtual IAsyncResult BeginListSpaces(ListSpacesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSpacesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSpacesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSpaces operation. /// /// /// The IAsyncResult returned by the call to BeginListSpaces. /// /// Returns a ListSpacesResult from CodeCatalyst. /// REST API Reference for ListSpaces Operation public virtual ListSpacesResponse EndListSpaces(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartDevEnvironment /// /// Starts a specified Dev Environment and puts it into an active state. /// /// Container for the necessary parameters to execute the StartDevEnvironment service method. /// /// The response from the StartDevEnvironment service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for StartDevEnvironment Operation public virtual StartDevEnvironmentResponse StartDevEnvironment(StartDevEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDevEnvironmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartDevEnvironment operation. /// /// /// Container for the necessary parameters to execute the StartDevEnvironment operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartDevEnvironment /// operation. /// REST API Reference for StartDevEnvironment Operation public virtual IAsyncResult BeginStartDevEnvironment(StartDevEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDevEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartDevEnvironment operation. /// /// /// The IAsyncResult returned by the call to BeginStartDevEnvironment. /// /// Returns a StartDevEnvironmentResult from CodeCatalyst. /// REST API Reference for StartDevEnvironment Operation public virtual StartDevEnvironmentResponse EndStartDevEnvironment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartDevEnvironmentSession /// /// Starts a session for a specified Dev Environment. /// /// Container for the necessary parameters to execute the StartDevEnvironmentSession service method. /// /// The response from the StartDevEnvironmentSession service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for StartDevEnvironmentSession Operation public virtual StartDevEnvironmentSessionResponse StartDevEnvironmentSession(StartDevEnvironmentSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartDevEnvironmentSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDevEnvironmentSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartDevEnvironmentSession operation. /// /// /// Container for the necessary parameters to execute the StartDevEnvironmentSession operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartDevEnvironmentSession /// operation. /// REST API Reference for StartDevEnvironmentSession Operation public virtual IAsyncResult BeginStartDevEnvironmentSession(StartDevEnvironmentSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartDevEnvironmentSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDevEnvironmentSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartDevEnvironmentSession operation. /// /// /// The IAsyncResult returned by the call to BeginStartDevEnvironmentSession. /// /// Returns a StartDevEnvironmentSessionResult from CodeCatalyst. /// REST API Reference for StartDevEnvironmentSession Operation public virtual StartDevEnvironmentSessionResponse EndStartDevEnvironmentSession(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopDevEnvironment /// /// Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev /// Environments do not consume compute minutes. /// /// Container for the necessary parameters to execute the StopDevEnvironment service method. /// /// The response from the StopDevEnvironment service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for StopDevEnvironment Operation public virtual StopDevEnvironmentResponse StopDevEnvironment(StopDevEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDevEnvironmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopDevEnvironment operation. /// /// /// Container for the necessary parameters to execute the StopDevEnvironment operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopDevEnvironment /// operation. /// REST API Reference for StopDevEnvironment Operation public virtual IAsyncResult BeginStopDevEnvironment(StopDevEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDevEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopDevEnvironment operation. /// /// /// The IAsyncResult returned by the call to BeginStopDevEnvironment. /// /// Returns a StopDevEnvironmentResult from CodeCatalyst. /// REST API Reference for StopDevEnvironment Operation public virtual StopDevEnvironmentResponse EndStopDevEnvironment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopDevEnvironmentSession /// /// Stops a session for a specified Dev Environment. /// /// Container for the necessary parameters to execute the StopDevEnvironmentSession service method. /// /// The response from the StopDevEnvironmentSession service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for StopDevEnvironmentSession Operation public virtual StopDevEnvironmentSessionResponse StopDevEnvironmentSession(StopDevEnvironmentSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopDevEnvironmentSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDevEnvironmentSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopDevEnvironmentSession operation. /// /// /// Container for the necessary parameters to execute the StopDevEnvironmentSession operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopDevEnvironmentSession /// operation. /// REST API Reference for StopDevEnvironmentSession Operation public virtual IAsyncResult BeginStopDevEnvironmentSession(StopDevEnvironmentSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopDevEnvironmentSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StopDevEnvironmentSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopDevEnvironmentSession operation. /// /// /// The IAsyncResult returned by the call to BeginStopDevEnvironmentSession. /// /// Returns a StopDevEnvironmentSessionResult from CodeCatalyst. /// REST API Reference for StopDevEnvironmentSession Operation public virtual StopDevEnvironmentSessionResponse EndStopDevEnvironmentSession(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDevEnvironment /// /// Changes one or more values for a Dev Environment. Updating certain values of the Dev /// Environment will cause a restart. /// /// Container for the necessary parameters to execute the UpdateDevEnvironment service method. /// /// The response from the UpdateDevEnvironment service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for UpdateDevEnvironment Operation public virtual UpdateDevEnvironmentResponse UpdateDevEnvironment(UpdateDevEnvironmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDevEnvironmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDevEnvironment operation. /// /// /// Container for the necessary parameters to execute the UpdateDevEnvironment operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDevEnvironment /// operation. /// REST API Reference for UpdateDevEnvironment Operation public virtual IAsyncResult BeginUpdateDevEnvironment(UpdateDevEnvironmentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDevEnvironmentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDevEnvironmentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDevEnvironment operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDevEnvironment. /// /// Returns a UpdateDevEnvironmentResult from CodeCatalyst. /// REST API Reference for UpdateDevEnvironment Operation public virtual UpdateDevEnvironmentResponse EndUpdateDevEnvironment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateProject /// /// Changes one or more values for a project. /// /// Container for the necessary parameters to execute the UpdateProject service method. /// /// The response from the UpdateProject service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for UpdateProject Operation public virtual UpdateProjectResponse UpdateProject(UpdateProjectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateProject operation. /// /// /// Container for the necessary parameters to execute the UpdateProject operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProject /// operation. /// REST API Reference for UpdateProject Operation public virtual IAsyncResult BeginUpdateProject(UpdateProjectRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProjectRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProjectResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateProject operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateProject. /// /// Returns a UpdateProjectResult from CodeCatalyst. /// REST API Reference for UpdateProject Operation public virtual UpdateProjectResponse EndUpdateProject(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSpace /// /// Changes one or more values for a space. /// /// Container for the necessary parameters to execute the UpdateSpace service method. /// /// The response from the UpdateSpace service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for UpdateSpace Operation public virtual UpdateSpaceResponse UpdateSpace(UpdateSpaceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSpaceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSpaceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSpace operation. /// /// /// Container for the necessary parameters to execute the UpdateSpace operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSpace /// operation. /// REST API Reference for UpdateSpace Operation public virtual IAsyncResult BeginUpdateSpace(UpdateSpaceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSpaceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSpaceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSpace operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSpace. /// /// Returns a UpdateSpaceResult from CodeCatalyst. /// REST API Reference for UpdateSpace Operation public virtual UpdateSpaceResponse EndUpdateSpace(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region VerifySession /// /// Verifies whether the calling user has a valid Amazon CodeCatalyst login and session. /// If successful, this returns the ID of the user in Amazon CodeCatalyst. /// /// Container for the necessary parameters to execute the VerifySession service method. /// /// The response from the VerifySession service method, as returned by CodeCatalyst. /// /// The request was denied because you don't have sufficient access to perform this action. /// Verify that you are a member of a role that allows this action. /// /// /// The request was denied because the requested operation would cause a conflict with /// the current state of a service resource associated with the request. Another user /// might have updated the resource. Reload, make sure you have the latest data, and then /// try again. /// /// /// The request was denied because the specified resource was not found. Verify that the /// spelling is correct and that you have access to the resource. /// /// /// The request was denied because one or more resources has reached its limits for the /// tier the space belongs to. Either reduce the number of resources, or change the tier /// if applicable. /// /// /// The request was denied due to request throttling. /// /// /// The request was denied because an input failed to satisfy the constraints specified /// by the service. Check the spelling and input requirements, and then try again. /// /// REST API Reference for VerifySession Operation public virtual VerifySessionResponse VerifySession(VerifySessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = VerifySessionRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifySessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the VerifySession operation. /// /// /// Container for the necessary parameters to execute the VerifySession operation on AmazonCodeCatalystClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndVerifySession /// operation. /// REST API Reference for VerifySession Operation public virtual IAsyncResult BeginVerifySession(VerifySessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = VerifySessionRequestMarshaller.Instance; options.ResponseUnmarshaller = VerifySessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the VerifySession operation. /// /// /// The IAsyncResult returned by the call to BeginVerifySession. /// /// Returns a VerifySessionResult from CodeCatalyst. /// REST API Reference for VerifySession Operation public virtual VerifySessionResponse EndVerifySession(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }