# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::Cloud9 # @api private module ClientApi include Seahorse::Model AutomaticStopTimeMinutes = Shapes::IntegerShape.new(name: 'AutomaticStopTimeMinutes') BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException') BoundedEnvironmentIdList = Shapes::ListShape.new(name: 'BoundedEnvironmentIdList') ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken') ConcurrentAccessException = Shapes::StructureShape.new(name: 'ConcurrentAccessException') ConflictException = Shapes::StructureShape.new(name: 'ConflictException') ConnectionType = Shapes::StringShape.new(name: 'ConnectionType') CreateEnvironmentEC2Request = Shapes::StructureShape.new(name: 'CreateEnvironmentEC2Request') CreateEnvironmentEC2Result = Shapes::StructureShape.new(name: 'CreateEnvironmentEC2Result') CreateEnvironmentMembershipRequest = Shapes::StructureShape.new(name: 'CreateEnvironmentMembershipRequest') CreateEnvironmentMembershipResult = Shapes::StructureShape.new(name: 'CreateEnvironmentMembershipResult') DeleteEnvironmentMembershipRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentMembershipRequest') DeleteEnvironmentMembershipResult = Shapes::StructureShape.new(name: 'DeleteEnvironmentMembershipResult') DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest') DeleteEnvironmentResult = Shapes::StructureShape.new(name: 'DeleteEnvironmentResult') DescribeEnvironmentMembershipsRequest = Shapes::StructureShape.new(name: 'DescribeEnvironmentMembershipsRequest') DescribeEnvironmentMembershipsResult = Shapes::StructureShape.new(name: 'DescribeEnvironmentMembershipsResult') DescribeEnvironmentStatusRequest = Shapes::StructureShape.new(name: 'DescribeEnvironmentStatusRequest') DescribeEnvironmentStatusResult = Shapes::StructureShape.new(name: 'DescribeEnvironmentStatusResult') DescribeEnvironmentsRequest = Shapes::StructureShape.new(name: 'DescribeEnvironmentsRequest') DescribeEnvironmentsResult = Shapes::StructureShape.new(name: 'DescribeEnvironmentsResult') Environment = Shapes::StructureShape.new(name: 'Environment') EnvironmentArn = Shapes::StringShape.new(name: 'EnvironmentArn') EnvironmentDescription = Shapes::StringShape.new(name: 'EnvironmentDescription') EnvironmentId = Shapes::StringShape.new(name: 'EnvironmentId') EnvironmentIdList = Shapes::ListShape.new(name: 'EnvironmentIdList') EnvironmentLifecycle = Shapes::StructureShape.new(name: 'EnvironmentLifecycle') EnvironmentLifecycleStatus = Shapes::StringShape.new(name: 'EnvironmentLifecycleStatus') EnvironmentList = Shapes::ListShape.new(name: 'EnvironmentList') EnvironmentMember = Shapes::StructureShape.new(name: 'EnvironmentMember') EnvironmentMembersList = Shapes::ListShape.new(name: 'EnvironmentMembersList') EnvironmentName = Shapes::StringShape.new(name: 'EnvironmentName') EnvironmentStatus = Shapes::StringShape.new(name: 'EnvironmentStatus') EnvironmentType = Shapes::StringShape.new(name: 'EnvironmentType') ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException') ImageId = Shapes::StringShape.new(name: 'ImageId') InstanceType = Shapes::StringShape.new(name: 'InstanceType') InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException') LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException') ListEnvironmentsRequest = Shapes::StructureShape.new(name: 'ListEnvironmentsRequest') ListEnvironmentsResult = Shapes::StructureShape.new(name: 'ListEnvironmentsResult') ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest') ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse') ManagedCredentialsStatus = Shapes::StringShape.new(name: 'ManagedCredentialsStatus') MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') MemberPermissions = Shapes::StringShape.new(name: 'MemberPermissions') NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException') Permissions = Shapes::StringShape.new(name: 'Permissions') PermissionsList = Shapes::ListShape.new(name: 'PermissionsList') String = Shapes::StringShape.new(name: 'String') SubnetId = Shapes::StringShape.new(name: 'SubnetId') Tag = Shapes::StructureShape.new(name: 'Tag') TagKey = Shapes::StringShape.new(name: 'TagKey') TagKeyList = Shapes::ListShape.new(name: 'TagKeyList') TagList = Shapes::ListShape.new(name: 'TagList') TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest') TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse') TagValue = Shapes::StringShape.new(name: 'TagValue') Timestamp = Shapes::TimestampShape.new(name: 'Timestamp') TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException') UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest') UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse') UpdateEnvironmentMembershipRequest = Shapes::StructureShape.new(name: 'UpdateEnvironmentMembershipRequest') UpdateEnvironmentMembershipResult = Shapes::StructureShape.new(name: 'UpdateEnvironmentMembershipResult') UpdateEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateEnvironmentRequest') UpdateEnvironmentResult = Shapes::StructureShape.new(name: 'UpdateEnvironmentResult') UserArn = Shapes::StringShape.new(name: 'UserArn') BadRequestException.struct_class = Types::BadRequestException BoundedEnvironmentIdList.member = Shapes::ShapeRef.new(shape: EnvironmentId) ConcurrentAccessException.struct_class = Types::ConcurrentAccessException ConflictException.struct_class = Types::ConflictException CreateEnvironmentEC2Request.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "name")) CreateEnvironmentEC2Request.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description")) CreateEnvironmentEC2Request.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken")) CreateEnvironmentEC2Request.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType")) CreateEnvironmentEC2Request.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId")) CreateEnvironmentEC2Request.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId")) CreateEnvironmentEC2Request.add_member(:automatic_stop_time_minutes, Shapes::ShapeRef.new(shape: AutomaticStopTimeMinutes, location_name: "automaticStopTimeMinutes")) CreateEnvironmentEC2Request.add_member(:owner_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "ownerArn")) CreateEnvironmentEC2Request.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags")) CreateEnvironmentEC2Request.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, location_name: "connectionType")) CreateEnvironmentEC2Request.struct_class = Types::CreateEnvironmentEC2Request CreateEnvironmentEC2Result.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId")) CreateEnvironmentEC2Result.struct_class = Types::CreateEnvironmentEC2Result CreateEnvironmentMembershipRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId")) CreateEnvironmentMembershipRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) CreateEnvironmentMembershipRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: MemberPermissions, required: true, location_name: "permissions")) CreateEnvironmentMembershipRequest.struct_class = Types::CreateEnvironmentMembershipRequest CreateEnvironmentMembershipResult.add_member(:membership, Shapes::ShapeRef.new(shape: EnvironmentMember, required: true, location_name: "membership")) CreateEnvironmentMembershipResult.struct_class = Types::CreateEnvironmentMembershipResult DeleteEnvironmentMembershipRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId")) DeleteEnvironmentMembershipRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) DeleteEnvironmentMembershipRequest.struct_class = Types::DeleteEnvironmentMembershipRequest DeleteEnvironmentMembershipResult.struct_class = Types::DeleteEnvironmentMembershipResult DeleteEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId")) DeleteEnvironmentRequest.struct_class = Types::DeleteEnvironmentRequest DeleteEnvironmentResult.struct_class = Types::DeleteEnvironmentResult DescribeEnvironmentMembershipsRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "userArn")) DescribeEnvironmentMembershipsRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "environmentId")) DescribeEnvironmentMembershipsRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionsList, location_name: "permissions")) DescribeEnvironmentMembershipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken")) DescribeEnvironmentMembershipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults")) DescribeEnvironmentMembershipsRequest.struct_class = Types::DescribeEnvironmentMembershipsRequest DescribeEnvironmentMembershipsResult.add_member(:memberships, Shapes::ShapeRef.new(shape: EnvironmentMembersList, location_name: "memberships")) DescribeEnvironmentMembershipsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken")) DescribeEnvironmentMembershipsResult.struct_class = Types::DescribeEnvironmentMembershipsResult DescribeEnvironmentStatusRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId")) DescribeEnvironmentStatusRequest.struct_class = Types::DescribeEnvironmentStatusRequest DescribeEnvironmentStatusResult.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentStatus, required: true, location_name: "status")) DescribeEnvironmentStatusResult.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) DescribeEnvironmentStatusResult.struct_class = Types::DescribeEnvironmentStatusResult DescribeEnvironmentsRequest.add_member(:environment_ids, Shapes::ShapeRef.new(shape: BoundedEnvironmentIdList, required: true, location_name: "environmentIds")) DescribeEnvironmentsRequest.struct_class = Types::DescribeEnvironmentsRequest DescribeEnvironmentsResult.add_member(:environments, Shapes::ShapeRef.new(shape: EnvironmentList, location_name: "environments")) DescribeEnvironmentsResult.struct_class = Types::DescribeEnvironmentsResult Environment.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "id")) Environment.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name")) Environment.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description")) Environment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "type")) Environment.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, location_name: "connectionType")) Environment.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn")) Environment.add_member(:owner_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ownerArn")) Environment.add_member(:lifecycle, Shapes::ShapeRef.new(shape: EnvironmentLifecycle, location_name: "lifecycle")) Environment.add_member(:managed_credentials_status, Shapes::ShapeRef.new(shape: ManagedCredentialsStatus, location_name: "managedCredentialsStatus")) Environment.struct_class = Types::Environment EnvironmentIdList.member = Shapes::ShapeRef.new(shape: EnvironmentId) EnvironmentLifecycle.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentLifecycleStatus, location_name: "status")) EnvironmentLifecycle.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason")) EnvironmentLifecycle.add_member(:failure_resource, Shapes::ShapeRef.new(shape: String, location_name: "failureResource")) EnvironmentLifecycle.struct_class = Types::EnvironmentLifecycle EnvironmentList.member = Shapes::ShapeRef.new(shape: Environment) EnvironmentMember.add_member(:permissions, Shapes::ShapeRef.new(shape: Permissions, required: true, location_name: "permissions")) EnvironmentMember.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "userId")) EnvironmentMember.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) EnvironmentMember.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId")) EnvironmentMember.add_member(:last_access, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastAccess")) EnvironmentMember.struct_class = Types::EnvironmentMember EnvironmentMembersList.member = Shapes::ShapeRef.new(shape: EnvironmentMember) ForbiddenException.struct_class = Types::ForbiddenException InternalServerErrorException.struct_class = Types::InternalServerErrorException LimitExceededException.struct_class = Types::LimitExceededException ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken")) ListEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults")) ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest ListEnvironmentsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken")) ListEnvironmentsResult.add_member(:environment_ids, Shapes::ShapeRef.new(shape: EnvironmentIdList, location_name: "environmentIds")) ListEnvironmentsResult.struct_class = Types::ListEnvironmentsResult ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location_name: "ResourceARN")) ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags")) ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse NotFoundException.struct_class = Types::NotFoundException PermissionsList.member = Shapes::ShapeRef.new(shape: Permissions) Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key")) Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value")) Tag.struct_class = Types::Tag TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey) TagList.member = Shapes::ShapeRef.new(shape: Tag) TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location_name: "ResourceARN")) TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags")) TagResourceRequest.struct_class = Types::TagResourceRequest TagResourceResponse.struct_class = Types::TagResourceResponse TooManyRequestsException.struct_class = Types::TooManyRequestsException UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location_name: "ResourceARN")) UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys")) UntagResourceRequest.struct_class = Types::UntagResourceRequest UntagResourceResponse.struct_class = Types::UntagResourceResponse UpdateEnvironmentMembershipRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId")) UpdateEnvironmentMembershipRequest.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, required: true, location_name: "userArn")) UpdateEnvironmentMembershipRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: MemberPermissions, required: true, location_name: "permissions")) UpdateEnvironmentMembershipRequest.struct_class = Types::UpdateEnvironmentMembershipRequest UpdateEnvironmentMembershipResult.add_member(:membership, Shapes::ShapeRef.new(shape: EnvironmentMember, location_name: "membership")) UpdateEnvironmentMembershipResult.struct_class = Types::UpdateEnvironmentMembershipResult UpdateEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location_name: "environmentId")) UpdateEnvironmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "name")) UpdateEnvironmentRequest.add_member(:description, Shapes::ShapeRef.new(shape: EnvironmentDescription, location_name: "description")) UpdateEnvironmentRequest.struct_class = Types::UpdateEnvironmentRequest UpdateEnvironmentResult.struct_class = Types::UpdateEnvironmentResult # @api private API = Seahorse::Model::Api.new.tap do |api| api.version = "2017-09-23" api.metadata = { "apiVersion" => "2017-09-23", "endpointPrefix" => "cloud9", "jsonVersion" => "1.1", "protocol" => "json", "serviceFullName" => "AWS Cloud9", "serviceId" => "Cloud9", "signatureVersion" => "v4", "targetPrefix" => "AWSCloud9WorkspaceManagementService", "uid" => "cloud9-2017-09-23", } api.add_operation(:create_environment_ec2, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateEnvironmentEC2" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CreateEnvironmentEC2Request) o.output = Shapes::ShapeRef.new(shape: CreateEnvironmentEC2Result) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) end) api.add_operation(:create_environment_membership, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateEnvironmentMembership" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CreateEnvironmentMembershipRequest) o.output = Shapes::ShapeRef.new(shape: CreateEnvironmentMembershipResult) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) end) api.add_operation(:delete_environment, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteEnvironment" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeleteEnvironmentRequest) o.output = Shapes::ShapeRef.new(shape: DeleteEnvironmentResult) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) end) api.add_operation(:delete_environment_membership, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteEnvironmentMembership" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeleteEnvironmentMembershipRequest) o.output = Shapes::ShapeRef.new(shape: DeleteEnvironmentMembershipResult) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) end) api.add_operation(:describe_environment_memberships, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeEnvironmentMemberships" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeEnvironmentMembershipsRequest) o.output = Shapes::ShapeRef.new(shape: DescribeEnvironmentMembershipsResult) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:describe_environment_status, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeEnvironmentStatus" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeEnvironmentStatusRequest) o.output = Shapes::ShapeRef.new(shape: DescribeEnvironmentStatusResult) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) end) api.add_operation(:describe_environments, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeEnvironments" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeEnvironmentsRequest) o.output = Shapes::ShapeRef.new(shape: DescribeEnvironmentsResult) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) end) api.add_operation(:list_environments, Seahorse::Model::Operation.new.tap do |o| o.name = "ListEnvironments" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListEnvironmentsRequest) o.output = Shapes::ShapeRef.new(shape: ListEnvironmentsResult) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "ListTagsForResource" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest) o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) end) api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "TagResource" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: TagResourceRequest) o.output = Shapes::ShapeRef.new(shape: TagResourceResponse) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentAccessException) end) api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "UntagResource" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest) o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentAccessException) end) api.add_operation(:update_environment, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateEnvironment" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: UpdateEnvironmentRequest) o.output = Shapes::ShapeRef.new(shape: UpdateEnvironmentResult) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) end) api.add_operation(:update_environment_membership, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateEnvironmentMembership" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: UpdateEnvironmentMembershipRequest) o.output = Shapes::ShapeRef.new(shape: UpdateEnvironmentMembershipResult) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) end) end end end