-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon Cloud9 SDK.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- Lenses are used for constructing and manipulating types, due to the
-- depth of nesting of AWS types and transparency regarding
-- de/serialisation into more palatable Haskell values. The provided
-- lenses should be compatible with any of the major lens libraries such
-- as lens or lens-family-core.
--
-- See Network.AWS.Cloud9 or the AWS documentation to get
-- started.
@package amazonka-cloud9
@version 1.6.1
module Network.AWS.Cloud9.Types
-- | API version 2017-09-23 of the Amazon Cloud9 SDK
-- configuration.
cloud9 :: Service
-- | A conflict occurred.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An access permissions issue occurred.
_ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The target resource cannot be found.
_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Too many service requests were made over the given time period.
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An internal server error occurred.
_InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The target request is invalid.
_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A service limit was exceeded.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
data EnvironmentStatus
Connecting :: EnvironmentStatus
Creating :: EnvironmentStatus
Deleting :: EnvironmentStatus
Error' :: EnvironmentStatus
Ready :: EnvironmentStatus
Stopped :: EnvironmentStatus
Stopping :: EnvironmentStatus
data EnvironmentType
EC2 :: EnvironmentType
SSH :: EnvironmentType
data MemberPermissions
MPReadOnly :: MemberPermissions
MPReadWrite :: MemberPermissions
data Permissions
Owner :: Permissions
ReadOnly :: Permissions
ReadWrite :: Permissions
-- | Information about an AWS Cloud9 development environment.
--
-- See: environment smart constructor.
data Environment
-- | Creates a value of Environment with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - eArn - The Amazon Resource Name (ARN) of the
-- environment.
-- - eOwnerARN - The Amazon Resource Name (ARN) of the
-- environment owner.
-- - eName - The name of the environment.
-- - eId - The ID of the environment.
-- - eType - The type of environment. Valid values include the
-- following: * ec2 : An Amazon Elastic Compute Cloud (Amazon
-- EC2) instance connects to the environment. * ssh : Your own
-- server connects to the environment.
-- - eDescription - The description for the environment.
--
environment :: Environment
-- | The Amazon Resource Name (ARN) of the environment.
eArn :: Lens' Environment (Maybe Text)
-- | The Amazon Resource Name (ARN) of the environment owner.
eOwnerARN :: Lens' Environment (Maybe Text)
-- | The name of the environment.
eName :: Lens' Environment (Maybe Text)
-- | The ID of the environment.
eId :: Lens' Environment (Maybe Text)
-- | The type of environment. Valid values include the following: *
-- ec2 : An Amazon Elastic Compute Cloud (Amazon EC2) instance
-- connects to the environment. * ssh : Your own server connects
-- to the environment.
eType :: Lens' Environment (Maybe EnvironmentType)
-- | The description for the environment.
eDescription :: Lens' Environment (Maybe Text)
-- | Information about an environment member for an AWS Cloud9 development
-- environment.
--
-- See: environmentMember smart constructor.
data EnvironmentMember
-- | Creates a value of EnvironmentMember with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - emLastAccess - The time, expressed in epoch time format,
-- when the environment member last opened the environment.
-- - emUserId - The user ID in AWS Identity and Access
-- Management (AWS IAM) of the environment member.
-- - emUserARN - The Amazon Resource Name (ARN) of the
-- environment member.
-- - emPermissions - The type of environment member permissions
-- associated with this environment member. Available values include: *
-- owner : Owns the environment. * read-only : Has
-- read-only access to the environment. * read-write : Has
-- read-write access to the environment.
-- - emEnvironmentId - The ID of the environment for the
-- environment member.
--
environmentMember :: EnvironmentMember
-- | The time, expressed in epoch time format, when the environment member
-- last opened the environment.
emLastAccess :: Lens' EnvironmentMember (Maybe UTCTime)
-- | The user ID in AWS Identity and Access Management (AWS IAM) of the
-- environment member.
emUserId :: Lens' EnvironmentMember (Maybe Text)
-- | The Amazon Resource Name (ARN) of the environment member.
emUserARN :: Lens' EnvironmentMember (Maybe Text)
-- | The type of environment member permissions associated with this
-- environment member. Available values include: * owner : Owns
-- the environment. * read-only : Has read-only access to the
-- environment. * read-write : Has read-write access to the
-- environment.
emPermissions :: Lens' EnvironmentMember (Maybe Permissions)
-- | The ID of the environment for the environment member.
emEnvironmentId :: Lens' EnvironmentMember (Maybe Text)
-- | Gets a list of AWS Cloud9 development environment identifiers.
--
-- This operation returns paginated results.
module Network.AWS.Cloud9.ListEnvironments
-- | Creates a value of ListEnvironments with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - leNextToken - During a previous call, if there are more
-- than 25 items in the list, only the first 25 items are returned, along
-- with a unique string called a next token . To get the next
-- batch of items in the list, call this operation again, adding the next
-- token to the call. To get all of the items in the list, keep calling
-- this operation with each subsequent next token that is returned, until
-- no more next tokens are returned.
-- - leMaxResults - The maximum number of environments to get
-- identifiers for.
--
listEnvironments :: ListEnvironments
-- | See: listEnvironments smart constructor.
data ListEnvironments
-- | During a previous call, if there are more than 25 items in the list,
-- only the first 25 items are returned, along with a unique string
-- called a next token . To get the next batch of items in the
-- list, call this operation again, adding the next token to the call. To
-- get all of the items in the list, keep calling this operation with
-- each subsequent next token that is returned, until no more next tokens
-- are returned.
leNextToken :: Lens' ListEnvironments (Maybe Text)
-- | The maximum number of environments to get identifiers for.
leMaxResults :: Lens' ListEnvironments (Maybe Natural)
-- | Creates a value of ListEnvironmentsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lersEnvironmentIds - The list of environment
-- identifiers.
-- - lersNextToken - If there are more than 25 items in the
-- list, only the first 25 items are returned, along with a unique string
-- called a next token . To get the next batch of items in the
-- list, call this operation again, adding the next token to the
-- call.
-- - lersResponseStatus - -- | The response status code.
--
listEnvironmentsResponse :: Int -> ListEnvironmentsResponse
-- | See: listEnvironmentsResponse smart constructor.
data ListEnvironmentsResponse
-- | The list of environment identifiers.
lersEnvironmentIds :: Lens' ListEnvironmentsResponse [Text]
-- | If there are more than 25 items in the list, only the first 25 items
-- are returned, along with a unique string called a next token .
-- To get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
lersNextToken :: Lens' ListEnvironmentsResponse (Maybe Text)
-- |
-- - - | The response status code.
--
lersResponseStatus :: Lens' ListEnvironmentsResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance Data.Data.Data Network.AWS.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance GHC.Show.Show Network.AWS.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance GHC.Read.Read Network.AWS.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance Data.Data.Data Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance GHC.Show.Show Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance GHC.Read.Read Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance GHC.Classes.Eq Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance Control.DeepSeq.NFData Network.AWS.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance Control.DeepSeq.NFData Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.ListEnvironments.ListEnvironments
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.ListEnvironments.ListEnvironments
-- | Gets information about AWS Cloud9 development environments.
module Network.AWS.Cloud9.DescribeEnvironments
-- | Creates a value of DescribeEnvironments with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - deEnvironmentIds - The IDs of individual environments to
-- get information about.
--
describeEnvironments :: NonEmpty Text -> DescribeEnvironments
-- | See: describeEnvironments smart constructor.
data DescribeEnvironments
-- | The IDs of individual environments to get information about.
deEnvironmentIds :: Lens' DescribeEnvironments (NonEmpty Text)
-- | Creates a value of DescribeEnvironmentsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeEnvironmentsResponse :: Int -> DescribeEnvironmentsResponse
-- | See: describeEnvironmentsResponse smart constructor.
data DescribeEnvironmentsResponse
-- | Information about the environments that are returned.
deersEnvironments :: Lens' DescribeEnvironmentsResponse [Environment]
-- |
-- - - | The response status code.
--
deersResponseStatus :: Lens' DescribeEnvironmentsResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance Data.Data.Data Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance GHC.Show.Show Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance GHC.Read.Read Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Data.Data.Data Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance GHC.Show.Show Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance GHC.Read.Read Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance GHC.Classes.Eq Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.DescribeEnvironments.DescribeEnvironments
-- | Gets status information for an AWS Cloud9 development environment.
module Network.AWS.Cloud9.DescribeEnvironmentStatus
-- | Creates a value of DescribeEnvironmentStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - desEnvironmentId - The ID of the environment to get status
-- information about.
--
describeEnvironmentStatus :: Text -> DescribeEnvironmentStatus
-- | See: describeEnvironmentStatus smart constructor.
data DescribeEnvironmentStatus
-- | The ID of the environment to get status information about.
desEnvironmentId :: Lens' DescribeEnvironmentStatus Text
-- | Creates a value of DescribeEnvironmentStatusResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - desrsStatus - The status of the environment. Available
-- values include: * connecting : The environment is connecting.
-- * creating : The environment is being created. *
-- deleting : The environment is being deleted. * error
-- : The environment is in an error state. * ready : The
-- environment is ready. * stopped : The environment is stopped.
-- * stopping : The environment is stopping.
-- - desrsMessage - Any informational message about the status
-- of the environment.
-- - desrsResponseStatus - -- | The response status code.
--
describeEnvironmentStatusResponse :: Int -> DescribeEnvironmentStatusResponse
-- | See: describeEnvironmentStatusResponse smart
-- constructor.
data DescribeEnvironmentStatusResponse
-- | The status of the environment. Available values include: *
-- connecting : The environment is connecting. *
-- creating : The environment is being created. *
-- deleting : The environment is being deleted. * error
-- : The environment is in an error state. * ready : The
-- environment is ready. * stopped : The environment is stopped.
-- * stopping : The environment is stopping.
desrsStatus :: Lens' DescribeEnvironmentStatusResponse (Maybe EnvironmentStatus)
-- | Any informational message about the status of the environment.
desrsMessage :: Lens' DescribeEnvironmentStatusResponse (Maybe Text)
-- |
-- - - | The response status code.
--
desrsResponseStatus :: Lens' DescribeEnvironmentStatusResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance Data.Data.Data Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance GHC.Show.Show Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance GHC.Read.Read Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Data.Data.Data Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance GHC.Show.Show Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance GHC.Read.Read Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance GHC.Classes.Eq Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
-- | Gets information about environment members for an AWS Cloud9
-- development environment.
--
-- This operation returns paginated results.
module Network.AWS.Cloud9.DescribeEnvironmentMemberships
-- | Creates a value of DescribeEnvironmentMemberships with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dUserARN - The Amazon Resource Name (ARN) of an individual
-- environment member to get information about. If no value is specified,
-- information about all environment members are returned.
-- - dNextToken - During a previous call, if there are more than
-- 25 items in the list, only the first 25 items are returned, along with
-- a unique string called a next token . To get the next batch of
-- items in the list, call this operation again, adding the next token to
-- the call. To get all of the items in the list, keep calling this
-- operation with each subsequent next token that is returned, until no
-- more next tokens are returned.
-- - dPermissions - The type of environment member permissions
-- to get information about. Available values include: * owner :
-- Owns the environment. * read-only : Has read-only access to
-- the environment. * read-write : Has read-write access to the
-- environment. If no value is specified, information about all
-- environment members are returned.
-- - dEnvironmentId - The ID of the environment to get
-- environment member information about.
-- - dMaxResults - The maximum number of environment members to
-- get information about.
--
describeEnvironmentMemberships :: DescribeEnvironmentMemberships
-- | See: describeEnvironmentMemberships smart constructor.
data DescribeEnvironmentMemberships
-- | The Amazon Resource Name (ARN) of an individual environment member to
-- get information about. If no value is specified, information about all
-- environment members are returned.
dUserARN :: Lens' DescribeEnvironmentMemberships (Maybe Text)
-- | During a previous call, if there are more than 25 items in the list,
-- only the first 25 items are returned, along with a unique string
-- called a next token . To get the next batch of items in the
-- list, call this operation again, adding the next token to the call. To
-- get all of the items in the list, keep calling this operation with
-- each subsequent next token that is returned, until no more next tokens
-- are returned.
dNextToken :: Lens' DescribeEnvironmentMemberships (Maybe Text)
-- | The type of environment member permissions to get information about.
-- Available values include: * owner : Owns the environment. *
-- read-only : Has read-only access to the environment. *
-- read-write : Has read-write access to the environment. If no
-- value is specified, information about all environment members are
-- returned.
dPermissions :: Lens' DescribeEnvironmentMemberships [Permissions]
-- | The ID of the environment to get environment member information about.
dEnvironmentId :: Lens' DescribeEnvironmentMemberships (Maybe Text)
-- | The maximum number of environment members to get information about.
dMaxResults :: Lens' DescribeEnvironmentMemberships (Maybe Natural)
-- | Creates a value of DescribeEnvironmentMembershipsResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - drsNextToken - If there are more than 25 items in the list,
-- only the first 25 items are returned, along with a unique string
-- called a next token . To get the next batch of items in the
-- list, call this operation again, adding the next token to the
-- call.
-- - drsMemberships - Information about the environment members
-- for the environment.
-- - drsResponseStatus - -- | The response status code.
--
describeEnvironmentMembershipsResponse :: Int -> DescribeEnvironmentMembershipsResponse
-- | See: describeEnvironmentMembershipsResponse smart
-- constructor.
data DescribeEnvironmentMembershipsResponse
-- | If there are more than 25 items in the list, only the first 25 items
-- are returned, along with a unique string called a next token .
-- To get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
drsNextToken :: Lens' DescribeEnvironmentMembershipsResponse (Maybe Text)
-- | Information about the environment members for the environment.
drsMemberships :: Lens' DescribeEnvironmentMembershipsResponse [EnvironmentMember]
-- |
-- - - | The response status code.
--
drsResponseStatus :: Lens' DescribeEnvironmentMembershipsResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance Data.Data.Data Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance GHC.Show.Show Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance GHC.Read.Read Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Data.Data.Data Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance GHC.Show.Show Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance GHC.Read.Read Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance GHC.Classes.Eq Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
-- | Deletes an environment member from an AWS Cloud9 development
-- environment.
module Network.AWS.Cloud9.DeleteEnvironmentMembership
-- | Creates a value of DeleteEnvironmentMembership with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - demEnvironmentId - The ID of the environment to delete the
-- environment member from.
-- - demUserARN - The Amazon Resource Name (ARN) of the
-- environment member to delete from the environment.
--
deleteEnvironmentMembership :: Text -> Text -> DeleteEnvironmentMembership
-- | See: deleteEnvironmentMembership smart constructor.
data DeleteEnvironmentMembership
-- | The ID of the environment to delete the environment member from.
demEnvironmentId :: Lens' DeleteEnvironmentMembership Text
-- | The Amazon Resource Name (ARN) of the environment member to delete
-- from the environment.
demUserARN :: Lens' DeleteEnvironmentMembership Text
-- | Creates a value of DeleteEnvironmentMembershipResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteEnvironmentMembershipResponse :: Int -> DeleteEnvironmentMembershipResponse
-- | See: deleteEnvironmentMembershipResponse smart
-- constructor.
data DeleteEnvironmentMembershipResponse
-- |
-- - - | The response status code.
--
demrsResponseStatus :: Lens' DeleteEnvironmentMembershipResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance Data.Data.Data Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance GHC.Show.Show Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance GHC.Read.Read Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Data.Data.Data Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance GHC.Show.Show Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance GHC.Read.Read Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance GHC.Classes.Eq Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
-- | Deletes an AWS Cloud9 development environment. If an Amazon EC2
-- instance is connected to the environment, also terminates the
-- instance.
module Network.AWS.Cloud9.DeleteEnvironment
-- | Creates a value of DeleteEnvironment with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteEnvironment :: Text -> DeleteEnvironment
-- | See: deleteEnvironment smart constructor.
data DeleteEnvironment
-- | The ID of the environment to delete.
deEnvironmentId :: Lens' DeleteEnvironment Text
-- | Creates a value of DeleteEnvironmentResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteEnvironmentResponse :: Int -> DeleteEnvironmentResponse
-- | See: deleteEnvironmentResponse smart constructor.
data DeleteEnvironmentResponse
-- |
-- - - | The response status code.
--
dersResponseStatus :: Lens' DeleteEnvironmentResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance Data.Data.Data Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance GHC.Show.Show Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance GHC.Read.Read Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Data.Data.Data Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance GHC.Show.Show Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance GHC.Read.Read Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance GHC.Classes.Eq Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Control.DeepSeq.NFData Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.DeleteEnvironment.DeleteEnvironment
-- | Adds an environment member to an AWS Cloud9 development environment.
module Network.AWS.Cloud9.CreateEnvironmentMembership
-- | Creates a value of CreateEnvironmentMembership with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cemEnvironmentId - The ID of the environment that contains
-- the environment member you want to add.
-- - cemUserARN - The Amazon Resource Name (ARN) of the
-- environment member you want to add.
-- - cemPermissions - The type of environment member permissions
-- you want to associate with this environment member. Available values
-- include: * read-only : Has read-only access to the
-- environment. * read-write : Has read-write access to the
-- environment.
--
createEnvironmentMembership :: Text -> Text -> MemberPermissions -> CreateEnvironmentMembership
-- | See: createEnvironmentMembership smart constructor.
data CreateEnvironmentMembership
-- | The ID of the environment that contains the environment member you
-- want to add.
cemEnvironmentId :: Lens' CreateEnvironmentMembership Text
-- | The Amazon Resource Name (ARN) of the environment member you want to
-- add.
cemUserARN :: Lens' CreateEnvironmentMembership Text
-- | The type of environment member permissions you want to associate with
-- this environment member. Available values include: *
-- read-only : Has read-only access to the environment. *
-- read-write : Has read-write access to the environment.
cemPermissions :: Lens' CreateEnvironmentMembership MemberPermissions
-- | Creates a value of CreateEnvironmentMembershipResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createEnvironmentMembershipResponse :: Int -> CreateEnvironmentMembershipResponse
-- | See: createEnvironmentMembershipResponse smart
-- constructor.
data CreateEnvironmentMembershipResponse
-- | Information about the environment member that was added.
cemrsMembership :: Lens' CreateEnvironmentMembershipResponse (Maybe EnvironmentMember)
-- |
-- - - | The response status code.
--
cemrsResponseStatus :: Lens' CreateEnvironmentMembershipResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance Data.Data.Data Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance GHC.Show.Show Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance GHC.Read.Read Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Data.Data.Data Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance GHC.Show.Show Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance GHC.Read.Read Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance GHC.Classes.Eq Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Control.DeepSeq.NFData Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Control.DeepSeq.NFData Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
-- | Creates an AWS Cloud9 development environment, launches an Amazon
-- Elastic Compute Cloud (Amazon EC2) instance, and then connects from
-- the instance to the environment.
module Network.AWS.Cloud9.CreateEnvironmentEC
-- | Creates a value of CreateEnvironmentEC with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ceecAutomaticStopTimeMinutes - The number of minutes until
-- the running instance is shut down after the environment has last been
-- used.
-- - ceecSubnetId - The ID of the subnet in Amazon VPC that AWS
-- Cloud9 will use to communicate with the Amazon EC2 instance.
-- - ceecOwnerARN - The Amazon Resource Name (ARN) of the
-- environment owner. This ARN can be the ARN of any AWS IAM principal.
-- If this value is not specified, the ARN defaults to this environment's
-- creator.
-- - ceecClientRequestToken - A unique, case-sensitive string
-- that helps AWS Cloud9 to ensure this operation completes no more than
-- one time. For more information, see Client Tokens in the
-- Amazon EC2 API Reference .
-- - ceecDescription - The description of the environment to
-- create.
-- - ceecName - The name of the environment to create. This name
-- is visible to other AWS IAM users in the same AWS account.
-- - ceecInstanceType - The type of instance to connect to the
-- environment (for example, t2.micro ).
--
createEnvironmentEC :: Text -> Text -> CreateEnvironmentEC
-- | See: createEnvironmentEC smart constructor.
data CreateEnvironmentEC
-- | The number of minutes until the running instance is shut down after
-- the environment has last been used.
ceecAutomaticStopTimeMinutes :: Lens' CreateEnvironmentEC (Maybe Int)
-- | The ID of the subnet in Amazon VPC that AWS Cloud9 will use to
-- communicate with the Amazon EC2 instance.
ceecSubnetId :: Lens' CreateEnvironmentEC (Maybe Text)
-- | The Amazon Resource Name (ARN) of the environment owner. This ARN can
-- be the ARN of any AWS IAM principal. If this value is not specified,
-- the ARN defaults to this environment's creator.
ceecOwnerARN :: Lens' CreateEnvironmentEC (Maybe Text)
-- | A unique, case-sensitive string that helps AWS Cloud9 to ensure this
-- operation completes no more than one time. For more information, see
-- Client Tokens in the Amazon EC2 API Reference .
ceecClientRequestToken :: Lens' CreateEnvironmentEC (Maybe Text)
-- | The description of the environment to create.
ceecDescription :: Lens' CreateEnvironmentEC (Maybe Text)
-- | The name of the environment to create. This name is visible to other
-- AWS IAM users in the same AWS account.
ceecName :: Lens' CreateEnvironmentEC Text
-- | The type of instance to connect to the environment (for example,
-- t2.micro ).
ceecInstanceType :: Lens' CreateEnvironmentEC Text
-- | Creates a value of CreateEnvironmentECResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createEnvironmentECResponse :: Int -> CreateEnvironmentECResponse
-- | See: createEnvironmentECResponse smart constructor.
data CreateEnvironmentECResponse
-- | The ID of the environment that was created.
ceecrsEnvironmentId :: Lens' CreateEnvironmentECResponse (Maybe Text)
-- |
-- - - | The response status code.
--
ceecrsResponseStatus :: Lens' CreateEnvironmentECResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentECResponse
instance Data.Data.Data Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentECResponse
instance GHC.Show.Show Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentECResponse
instance GHC.Read.Read Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentECResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentECResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance Data.Data.Data Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance GHC.Show.Show Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance GHC.Read.Read Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance GHC.Classes.Eq Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance Control.DeepSeq.NFData Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentECResponse
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance Control.DeepSeq.NFData Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.CreateEnvironmentEC.CreateEnvironmentEC
-- | Changes the settings of an existing AWS Cloud9 development
-- environment.
module Network.AWS.Cloud9.UpdateEnvironment
-- | Creates a value of UpdateEnvironment with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ueName - A replacement name for the environment.
-- - ueDescription - Any new or replacement description for the
-- environment.
-- - ueEnvironmentId - The ID of the environment to change
-- settings.
--
updateEnvironment :: Text -> UpdateEnvironment
-- | See: updateEnvironment smart constructor.
data UpdateEnvironment
-- | A replacement name for the environment.
ueName :: Lens' UpdateEnvironment (Maybe Text)
-- | Any new or replacement description for the environment.
ueDescription :: Lens' UpdateEnvironment (Maybe Text)
-- | The ID of the environment to change settings.
ueEnvironmentId :: Lens' UpdateEnvironment Text
-- | Creates a value of UpdateEnvironmentResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateEnvironmentResponse :: Int -> UpdateEnvironmentResponse
-- | See: updateEnvironmentResponse smart constructor.
data UpdateEnvironmentResponse
-- |
-- - - | The response status code.
--
uersResponseStatus :: Lens' UpdateEnvironmentResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance Data.Data.Data Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance GHC.Show.Show Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance GHC.Read.Read Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Data.Data.Data Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance GHC.Show.Show Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance GHC.Read.Read Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance GHC.Classes.Eq Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Control.DeepSeq.NFData Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Control.DeepSeq.NFData Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.UpdateEnvironment.UpdateEnvironment
-- | Changes the settings of an existing environment member for an AWS
-- Cloud9 development environment.
module Network.AWS.Cloud9.UpdateEnvironmentMembership
-- | Creates a value of UpdateEnvironmentMembership with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - uemEnvironmentId - The ID of the environment for the
-- environment member whose settings you want to change.
-- - uemUserARN - The Amazon Resource Name (ARN) of the
-- environment member whose settings you want to change.
-- - uemPermissions - The replacement type of environment member
-- permissions you want to associate with this environment member.
-- Available values include: * read-only : Has read-only access
-- to the environment. * read-write : Has read-write access to
-- the environment.
--
updateEnvironmentMembership :: Text -> Text -> MemberPermissions -> UpdateEnvironmentMembership
-- | See: updateEnvironmentMembership smart constructor.
data UpdateEnvironmentMembership
-- | The ID of the environment for the environment member whose settings
-- you want to change.
uemEnvironmentId :: Lens' UpdateEnvironmentMembership Text
-- | The Amazon Resource Name (ARN) of the environment member whose
-- settings you want to change.
uemUserARN :: Lens' UpdateEnvironmentMembership Text
-- | The replacement type of environment member permissions you want to
-- associate with this environment member. Available values include: *
-- read-only : Has read-only access to the environment. *
-- read-write : Has read-write access to the environment.
uemPermissions :: Lens' UpdateEnvironmentMembership MemberPermissions
-- | Creates a value of UpdateEnvironmentMembershipResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateEnvironmentMembershipResponse :: Int -> UpdateEnvironmentMembershipResponse
-- | See: updateEnvironmentMembershipResponse smart
-- constructor.
data UpdateEnvironmentMembershipResponse
-- | Information about the environment member whose settings were changed.
uemrsMembership :: Lens' UpdateEnvironmentMembershipResponse (Maybe EnvironmentMember)
-- |
-- - - | The response status code.
--
uemrsResponseStatus :: Lens' UpdateEnvironmentMembershipResponse Int
instance GHC.Generics.Generic Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance Data.Data.Data Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance GHC.Show.Show Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance GHC.Read.Read Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance GHC.Classes.Eq Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance GHC.Generics.Generic Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Data.Data.Data Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance GHC.Show.Show Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance GHC.Read.Read Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance GHC.Classes.Eq Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Network.AWS.Types.AWSRequest Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Control.DeepSeq.NFData Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance Data.Hashable.Class.Hashable Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Control.DeepSeq.NFData Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Network.AWS.Data.Path.ToPath Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Network.AWS.Data.Query.ToQuery Network.AWS.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
module Network.AWS.Cloud9.Waiters
-- | AWS Cloud9
--
-- AWS Cloud9 is a collection of tools that you can use to code, build,
-- run, test, debug, and release software in the cloud.
--
-- For more information about AWS Cloud9, see the AWS Cloud9 User
-- Guide .
--
-- AWS Cloud9 supports these operations:
--
--
-- - CreateEnvironmentEC2 : Creates an AWS Cloud9 development
-- environment, launches an Amazon EC2 instance, and then connects from
-- the instance to the environment.
-- - CreateEnvironmentMembership : Adds an environment member
-- to an environment.
-- - DeleteEnvironment : Deletes an environment. If an Amazon
-- EC2 instance is connected to the environment, also terminates the
-- instance.
-- - DeleteEnvironmentMembership : Deletes an environment
-- member from an environment.
-- - DescribeEnvironmentMemberships : Gets information about
-- environment members for an environment.
-- - DescribeEnvironments : Gets information about
-- environments.
-- - DescribeEnvironmentStatus : Gets status information for
-- an environment.
-- - ListEnvironments : Gets a list of environment
-- identifiers.
-- - UpdateEnvironment : Changes the settings of an existing
-- environment.
-- - UpdateEnvironmentMembership : Changes the settings of an
-- existing environment member for an environment.
--
module Network.AWS.Cloud9
-- | API version 2017-09-23 of the Amazon Cloud9 SDK
-- configuration.
cloud9 :: Service
-- | A conflict occurred.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An access permissions issue occurred.
_ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The target resource cannot be found.
_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Too many service requests were made over the given time period.
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An internal server error occurred.
_InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The target request is invalid.
_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A service limit was exceeded.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
data EnvironmentStatus
Connecting :: EnvironmentStatus
Creating :: EnvironmentStatus
Deleting :: EnvironmentStatus
Error' :: EnvironmentStatus
Ready :: EnvironmentStatus
Stopped :: EnvironmentStatus
Stopping :: EnvironmentStatus
data EnvironmentType
EC2 :: EnvironmentType
SSH :: EnvironmentType
data MemberPermissions
MPReadOnly :: MemberPermissions
MPReadWrite :: MemberPermissions
data Permissions
Owner :: Permissions
ReadOnly :: Permissions
ReadWrite :: Permissions
-- | Information about an AWS Cloud9 development environment.
--
-- See: environment smart constructor.
data Environment
-- | Creates a value of Environment with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - eArn - The Amazon Resource Name (ARN) of the
-- environment.
-- - eOwnerARN - The Amazon Resource Name (ARN) of the
-- environment owner.
-- - eName - The name of the environment.
-- - eId - The ID of the environment.
-- - eType - The type of environment. Valid values include the
-- following: * ec2 : An Amazon Elastic Compute Cloud (Amazon
-- EC2) instance connects to the environment. * ssh : Your own
-- server connects to the environment.
-- - eDescription - The description for the environment.
--
environment :: Environment
-- | The Amazon Resource Name (ARN) of the environment.
eArn :: Lens' Environment (Maybe Text)
-- | The Amazon Resource Name (ARN) of the environment owner.
eOwnerARN :: Lens' Environment (Maybe Text)
-- | The name of the environment.
eName :: Lens' Environment (Maybe Text)
-- | The ID of the environment.
eId :: Lens' Environment (Maybe Text)
-- | The type of environment. Valid values include the following: *
-- ec2 : An Amazon Elastic Compute Cloud (Amazon EC2) instance
-- connects to the environment. * ssh : Your own server connects
-- to the environment.
eType :: Lens' Environment (Maybe EnvironmentType)
-- | The description for the environment.
eDescription :: Lens' Environment (Maybe Text)
-- | Information about an environment member for an AWS Cloud9 development
-- environment.
--
-- See: environmentMember smart constructor.
data EnvironmentMember
-- | Creates a value of EnvironmentMember with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - emLastAccess - The time, expressed in epoch time format,
-- when the environment member last opened the environment.
-- - emUserId - The user ID in AWS Identity and Access
-- Management (AWS IAM) of the environment member.
-- - emUserARN - The Amazon Resource Name (ARN) of the
-- environment member.
-- - emPermissions - The type of environment member permissions
-- associated with this environment member. Available values include: *
-- owner : Owns the environment. * read-only : Has
-- read-only access to the environment. * read-write : Has
-- read-write access to the environment.
-- - emEnvironmentId - The ID of the environment for the
-- environment member.
--
environmentMember :: EnvironmentMember
-- | The time, expressed in epoch time format, when the environment member
-- last opened the environment.
emLastAccess :: Lens' EnvironmentMember (Maybe UTCTime)
-- | The user ID in AWS Identity and Access Management (AWS IAM) of the
-- environment member.
emUserId :: Lens' EnvironmentMember (Maybe Text)
-- | The Amazon Resource Name (ARN) of the environment member.
emUserARN :: Lens' EnvironmentMember (Maybe Text)
-- | The type of environment member permissions associated with this
-- environment member. Available values include: * owner : Owns
-- the environment. * read-only : Has read-only access to the
-- environment. * read-write : Has read-write access to the
-- environment.
emPermissions :: Lens' EnvironmentMember (Maybe Permissions)
-- | The ID of the environment for the environment member.
emEnvironmentId :: Lens' EnvironmentMember (Maybe Text)