internal virtual CreateEnvironmentMembershipResponse CreateEnvironmentMembership(CreateEnvironmentMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEnvironmentMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEnvironmentMembershipResponseUnmarshaller.Instance; return(Invoke <CreateEnvironmentMembershipResponse>(request, options)); }
/// <summary> /// Adds an environment member to an AWS Cloud9 development environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironmentMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateEnvironmentMembership service method, as returned by Cloud9.</returns> /// <exception cref="Amazon.Cloud9.Model.BadRequestException"> /// The target request is invalid. /// </exception> /// <exception cref="Amazon.Cloud9.Model.ConflictException"> /// A conflict occurred. /// </exception> /// <exception cref="Amazon.Cloud9.Model.ForbiddenException"> /// An access permissions issue occurred. /// </exception> /// <exception cref="Amazon.Cloud9.Model.InternalServerErrorException"> /// An internal server error occurred. /// </exception> /// <exception cref="Amazon.Cloud9.Model.LimitExceededException"> /// A service limit was exceeded. /// </exception> /// <exception cref="Amazon.Cloud9.Model.NotFoundException"> /// The target resource cannot be found. /// </exception> /// <exception cref="Amazon.Cloud9.Model.TooManyRequestsException"> /// Too many service requests were made over the given time period. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentMembership">REST API Reference for CreateEnvironmentMembership Operation</seealso> public virtual Task <CreateEnvironmentMembershipResponse> CreateEnvironmentMembershipAsync(CreateEnvironmentMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEnvironmentMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEnvironmentMembershipResponseUnmarshaller.Instance; return(InvokeAsync <CreateEnvironmentMembershipResponse>(request, options, cancellationToken)); }
/// <summary> /// Adds an environment member to an AWS Cloud9 development environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEnvironmentMembership service method.</param> /// /// <returns>The response from the CreateEnvironmentMembership service method, as returned by Cloud9.</returns> /// <exception cref="Amazon.Cloud9.Model.BadRequestException"> /// The target request is invalid. /// </exception> /// <exception cref="Amazon.Cloud9.Model.ConflictException"> /// A conflict occurred. /// </exception> /// <exception cref="Amazon.Cloud9.Model.ForbiddenException"> /// An access permissions issue occurred. /// </exception> /// <exception cref="Amazon.Cloud9.Model.InternalServerErrorException"> /// An internal server error occurred. /// </exception> /// <exception cref="Amazon.Cloud9.Model.LimitExceededException"> /// A service limit was exceeded. /// </exception> /// <exception cref="Amazon.Cloud9.Model.NotFoundException"> /// The target resource cannot be found. /// </exception> /// <exception cref="Amazon.Cloud9.Model.TooManyRequestsException"> /// Too many service requests were made over the given time period. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentMembership">REST API Reference for CreateEnvironmentMembership Operation</seealso> public virtual CreateEnvironmentMembershipResponse CreateEnvironmentMembership(CreateEnvironmentMembershipRequest request) { var marshaller = CreateEnvironmentMembershipRequestMarshaller.Instance; var unmarshaller = CreateEnvironmentMembershipResponseUnmarshaller.Instance; return(Invoke <CreateEnvironmentMembershipRequest, CreateEnvironmentMembershipResponse>(request, marshaller, unmarshaller)); }