-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon Cloud9 SDK.
--
-- Derived from API version 2017-09-23 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- 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.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.Cloud9.Lens and are
-- suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.Cloud9 and the AWS documentation to get
-- started.
@package amazonka-cloud9
@version 2.0
module Amazonka.Cloud9.Types.ConnectionType
newtype ConnectionType
ConnectionType' :: Text -> ConnectionType
[fromConnectionType] :: ConnectionType -> Text
pattern ConnectionType_CONNECT_SSH :: ConnectionType
pattern ConnectionType_CONNECT_SSM :: ConnectionType
instance Amazonka.Data.XML.ToXML Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Amazonka.Data.XML.FromXML Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Amazonka.Data.Headers.ToHeader Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Amazonka.Data.Log.ToLog Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Amazonka.Data.Text.ToText Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Amazonka.Data.Text.FromText Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance GHC.Generics.Generic Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance GHC.Classes.Ord Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance GHC.Classes.Eq Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance GHC.Read.Read Amazonka.Cloud9.Types.ConnectionType.ConnectionType
instance GHC.Show.Show Amazonka.Cloud9.Types.ConnectionType.ConnectionType
module Amazonka.Cloud9.Types.EnvironmentLifecycleStatus
newtype EnvironmentLifecycleStatus
EnvironmentLifecycleStatus' :: Text -> EnvironmentLifecycleStatus
[fromEnvironmentLifecycleStatus] :: EnvironmentLifecycleStatus -> Text
pattern EnvironmentLifecycleStatus_CREATED :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_CREATE_FAILED :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_CREATING :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_DELETE_FAILED :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_DELETING :: EnvironmentLifecycleStatus
instance Amazonka.Data.XML.ToXML Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Amazonka.Data.XML.FromXML Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Amazonka.Data.Log.ToLog Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Amazonka.Data.Text.ToText Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Amazonka.Data.Text.FromText Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance GHC.Generics.Generic Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance GHC.Classes.Ord Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance GHC.Classes.Eq Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance GHC.Read.Read Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
instance GHC.Show.Show Amazonka.Cloud9.Types.EnvironmentLifecycleStatus.EnvironmentLifecycleStatus
module Amazonka.Cloud9.Types.EnvironmentLifecycle
-- | Information about the current creation or deletion lifecycle state of
-- an Cloud9 development environment.
--
-- See: newEnvironmentLifecycle smart constructor.
data EnvironmentLifecycle
EnvironmentLifecycle' :: Maybe Text -> Maybe Text -> Maybe EnvironmentLifecycleStatus -> EnvironmentLifecycle
-- | If the environment failed to delete, the Amazon Resource Name (ARN) of
-- the related Amazon Web Services resource.
[$sel:failureResource:EnvironmentLifecycle'] :: EnvironmentLifecycle -> Maybe Text
-- | Any informational message about the lifecycle state of the
-- environment.
[$sel:reason:EnvironmentLifecycle'] :: EnvironmentLifecycle -> Maybe Text
-- | The current creation or deletion lifecycle state of the environment.
--
--
-- - CREATING: The environment is in the process of being
-- created.
-- - CREATED: The environment was successfully created.
-- - CREATE_FAILED: The environment failed to be created.
-- - DELETING: The environment is in the process of being
-- deleted.
-- - DELETE_FAILED: The environment failed to delete.
--
[$sel:status:EnvironmentLifecycle'] :: EnvironmentLifecycle -> Maybe EnvironmentLifecycleStatus
-- | Create a value of EnvironmentLifecycle with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:failureResource:EnvironmentLifecycle',
-- environmentLifecycle_failureResource - If the environment
-- failed to delete, the Amazon Resource Name (ARN) of the related Amazon
-- Web Services resource.
--
-- $sel:reason:EnvironmentLifecycle',
-- environmentLifecycle_reason - Any informational message about
-- the lifecycle state of the environment.
--
-- $sel:status:EnvironmentLifecycle',
-- environmentLifecycle_status - The current creation or deletion
-- lifecycle state of the environment.
--
--
-- - CREATING: The environment is in the process of being
-- created.
-- - CREATED: The environment was successfully created.
-- - CREATE_FAILED: The environment failed to be created.
-- - DELETING: The environment is in the process of being
-- deleted.
-- - DELETE_FAILED: The environment failed to delete.
--
newEnvironmentLifecycle :: EnvironmentLifecycle
-- | If the environment failed to delete, the Amazon Resource Name (ARN) of
-- the related Amazon Web Services resource.
environmentLifecycle_failureResource :: Lens' EnvironmentLifecycle (Maybe Text)
-- | Any informational message about the lifecycle state of the
-- environment.
environmentLifecycle_reason :: Lens' EnvironmentLifecycle (Maybe Text)
-- | The current creation or deletion lifecycle state of the environment.
--
--
-- - CREATING: The environment is in the process of being
-- created.
-- - CREATED: The environment was successfully created.
-- - CREATE_FAILED: The environment failed to be created.
-- - DELETING: The environment is in the process of being
-- deleted.
-- - DELETE_FAILED: The environment failed to delete.
--
environmentLifecycle_status :: Lens' EnvironmentLifecycle (Maybe EnvironmentLifecycleStatus)
instance GHC.Generics.Generic Amazonka.Cloud9.Types.EnvironmentLifecycle.EnvironmentLifecycle
instance GHC.Show.Show Amazonka.Cloud9.Types.EnvironmentLifecycle.EnvironmentLifecycle
instance GHC.Read.Read Amazonka.Cloud9.Types.EnvironmentLifecycle.EnvironmentLifecycle
instance GHC.Classes.Eq Amazonka.Cloud9.Types.EnvironmentLifecycle.EnvironmentLifecycle
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.EnvironmentLifecycle.EnvironmentLifecycle
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.EnvironmentLifecycle.EnvironmentLifecycle
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.EnvironmentLifecycle.EnvironmentLifecycle
module Amazonka.Cloud9.Types.EnvironmentStatus
newtype EnvironmentStatus
EnvironmentStatus' :: Text -> EnvironmentStatus
[fromEnvironmentStatus] :: EnvironmentStatus -> Text
pattern EnvironmentStatus_Connecting :: EnvironmentStatus
pattern EnvironmentStatus_Creating :: EnvironmentStatus
pattern EnvironmentStatus_Deleting :: EnvironmentStatus
pattern EnvironmentStatus_Error :: EnvironmentStatus
pattern EnvironmentStatus_Ready :: EnvironmentStatus
pattern EnvironmentStatus_Stopped :: EnvironmentStatus
pattern EnvironmentStatus_Stopping :: EnvironmentStatus
instance Amazonka.Data.XML.ToXML Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Amazonka.Data.XML.FromXML Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Amazonka.Data.Log.ToLog Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Amazonka.Data.Text.ToText Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Amazonka.Data.Text.FromText Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance GHC.Generics.Generic Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance GHC.Classes.Ord Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance GHC.Classes.Eq Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance GHC.Read.Read Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
instance GHC.Show.Show Amazonka.Cloud9.Types.EnvironmentStatus.EnvironmentStatus
module Amazonka.Cloud9.Types.EnvironmentType
newtype EnvironmentType
EnvironmentType' :: Text -> EnvironmentType
[fromEnvironmentType] :: EnvironmentType -> Text
pattern EnvironmentType_Ec2 :: EnvironmentType
pattern EnvironmentType_Ssh :: EnvironmentType
instance Amazonka.Data.XML.ToXML Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.XML.FromXML Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Headers.ToHeader Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Log.ToLog Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.ByteString.ToByteString Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Text.ToText Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Text.FromText Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance GHC.Generics.Generic Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance GHC.Classes.Ord Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance GHC.Classes.Eq Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance GHC.Read.Read Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
instance GHC.Show.Show Amazonka.Cloud9.Types.EnvironmentType.EnvironmentType
module Amazonka.Cloud9.Types.ManagedCredentialsAction
newtype ManagedCredentialsAction
ManagedCredentialsAction' :: Text -> ManagedCredentialsAction
[fromManagedCredentialsAction] :: ManagedCredentialsAction -> Text
pattern ManagedCredentialsAction_DISABLE :: ManagedCredentialsAction
pattern ManagedCredentialsAction_ENABLE :: ManagedCredentialsAction
instance Amazonka.Data.XML.ToXML Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Amazonka.Data.XML.FromXML Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Amazonka.Data.Headers.ToHeader Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Amazonka.Data.Log.ToLog Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Amazonka.Data.ByteString.ToByteString Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Amazonka.Data.Text.ToText Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Amazonka.Data.Text.FromText Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance GHC.Generics.Generic Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance GHC.Classes.Ord Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance GHC.Classes.Eq Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance GHC.Read.Read Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
instance GHC.Show.Show Amazonka.Cloud9.Types.ManagedCredentialsAction.ManagedCredentialsAction
module Amazonka.Cloud9.Types.ManagedCredentialsStatus
newtype ManagedCredentialsStatus
ManagedCredentialsStatus' :: Text -> ManagedCredentialsStatus
[fromManagedCredentialsStatus] :: ManagedCredentialsStatus -> Text
pattern ManagedCredentialsStatus_DISABLED_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_DISABLED_BY_DEFAULT :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_DISABLED_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_ENABLED_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_ENABLED_ON_CREATE :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_FAILED_REMOVAL_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_FAILED_REMOVAL_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_REMOVAL_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_REMOVAL_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_START_REMOVAL_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_START_REMOVAL_BY_OWNER :: ManagedCredentialsStatus
instance Amazonka.Data.XML.ToXML Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Amazonka.Data.XML.FromXML Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Amazonka.Data.Log.ToLog Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Amazonka.Data.Text.ToText Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Amazonka.Data.Text.FromText Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance GHC.Generics.Generic Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance GHC.Classes.Ord Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance GHC.Classes.Eq Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance GHC.Read.Read Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
instance GHC.Show.Show Amazonka.Cloud9.Types.ManagedCredentialsStatus.ManagedCredentialsStatus
module Amazonka.Cloud9.Types.Environment
-- | Information about an Cloud9 development environment.
--
-- See: newEnvironment smart constructor.
data Environment
Environment' :: Maybe ConnectionType -> Maybe (Sensitive Text) -> Maybe Text -> Maybe EnvironmentLifecycle -> Maybe ManagedCredentialsStatus -> Maybe Text -> EnvironmentType -> Text -> Text -> Environment
-- | The connection type used for connecting to an Amazon EC2 environment.
-- CONNECT_SSH is selected by default.
[$sel:connectionType:Environment'] :: Environment -> Maybe ConnectionType
-- | The description for the environment.
[$sel:description:Environment'] :: Environment -> Maybe (Sensitive Text)
-- | The ID of the environment.
[$sel:id:Environment'] :: Environment -> Maybe Text
-- | The state of the environment in its creation or deletion lifecycle.
[$sel:lifecycle:Environment'] :: Environment -> Maybe EnvironmentLifecycle
-- | Describes the status of Amazon Web Services managed temporary
-- credentials for the Cloud9 environment. Available values are:
--
--
[$sel:managedCredentialsStatus:Environment'] :: Environment -> Maybe ManagedCredentialsStatus
-- | The name of the environment.
[$sel:name:Environment'] :: 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.
--
[$sel:type':Environment'] :: Environment -> EnvironmentType
-- | The Amazon Resource Name (ARN) of the environment.
[$sel:arn:Environment'] :: Environment -> Text
-- | The Amazon Resource Name (ARN) of the environment owner.
[$sel:ownerArn:Environment'] :: Environment -> Text
-- | Create a value of Environment with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:connectionType:Environment',
-- environment_connectionType - The connection type used for
-- connecting to an Amazon EC2 environment. CONNECT_SSH is
-- selected by default.
--
-- $sel:description:Environment', environment_description -
-- The description for the environment.
--
-- $sel:id:Environment', environment_id - The ID of the
-- environment.
--
-- $sel:lifecycle:Environment', environment_lifecycle - The
-- state of the environment in its creation or deletion lifecycle.
--
-- $sel:managedCredentialsStatus:Environment',
-- environment_managedCredentialsStatus - Describes the status of
-- Amazon Web Services managed temporary credentials for the Cloud9
-- environment. Available values are:
--
--
--
-- $sel:name:Environment', environment_name - The name of
-- the environment.
--
-- $sel:type':Environment', environment_type - 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.
--
--
-- $sel:arn:Environment', environment_arn - The Amazon
-- Resource Name (ARN) of the environment.
--
-- $sel:ownerArn:Environment', environment_ownerArn - The
-- Amazon Resource Name (ARN) of the environment owner.
newEnvironment :: EnvironmentType -> Text -> Text -> Environment
-- | The connection type used for connecting to an Amazon EC2 environment.
-- CONNECT_SSH is selected by default.
environment_connectionType :: Lens' Environment (Maybe ConnectionType)
-- | The description for the environment.
environment_description :: Lens' Environment (Maybe Text)
-- | The ID of the environment.
environment_id :: Lens' Environment (Maybe Text)
-- | The state of the environment in its creation or deletion lifecycle.
environment_lifecycle :: Lens' Environment (Maybe EnvironmentLifecycle)
-- | Describes the status of Amazon Web Services managed temporary
-- credentials for the Cloud9 environment. Available values are:
--
--
environment_managedCredentialsStatus :: Lens' Environment (Maybe ManagedCredentialsStatus)
-- | The name of the environment.
environment_name :: 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.
--
environment_type :: Lens' Environment EnvironmentType
-- | The Amazon Resource Name (ARN) of the environment.
environment_arn :: Lens' Environment Text
-- | The Amazon Resource Name (ARN) of the environment owner.
environment_ownerArn :: Lens' Environment Text
instance GHC.Generics.Generic Amazonka.Cloud9.Types.Environment.Environment
instance GHC.Show.Show Amazonka.Cloud9.Types.Environment.Environment
instance GHC.Classes.Eq Amazonka.Cloud9.Types.Environment.Environment
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.Environment.Environment
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.Environment.Environment
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.Environment.Environment
module Amazonka.Cloud9.Types.MemberPermissions
newtype MemberPermissions
MemberPermissions' :: Text -> MemberPermissions
[fromMemberPermissions] :: MemberPermissions -> Text
pattern MemberPermissions_Read_only :: MemberPermissions
pattern MemberPermissions_Read_write :: MemberPermissions
instance Amazonka.Data.XML.ToXML Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Amazonka.Data.XML.FromXML Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Amazonka.Data.Headers.ToHeader Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Amazonka.Data.Log.ToLog Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Amazonka.Data.ByteString.ToByteString Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Amazonka.Data.Text.ToText Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Amazonka.Data.Text.FromText Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance GHC.Generics.Generic Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance GHC.Classes.Ord Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance GHC.Classes.Eq Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance GHC.Read.Read Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
instance GHC.Show.Show Amazonka.Cloud9.Types.MemberPermissions.MemberPermissions
module Amazonka.Cloud9.Types.Permissions
newtype Permissions
Permissions' :: Text -> Permissions
[fromPermissions] :: Permissions -> Text
pattern Permissions_Owner :: Permissions
pattern Permissions_Read_only :: Permissions
pattern Permissions_Read_write :: Permissions
instance Amazonka.Data.XML.ToXML Amazonka.Cloud9.Types.Permissions.Permissions
instance Amazonka.Data.XML.FromXML Amazonka.Cloud9.Types.Permissions.Permissions
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Cloud9.Types.Permissions.Permissions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.Types.Permissions.Permissions
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Cloud9.Types.Permissions.Permissions
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.Permissions.Permissions
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.Types.Permissions.Permissions
instance Amazonka.Data.Headers.ToHeader Amazonka.Cloud9.Types.Permissions.Permissions
instance Amazonka.Data.Log.ToLog Amazonka.Cloud9.Types.Permissions.Permissions
instance Amazonka.Data.ByteString.ToByteString Amazonka.Cloud9.Types.Permissions.Permissions
instance Amazonka.Data.Text.ToText Amazonka.Cloud9.Types.Permissions.Permissions
instance Amazonka.Data.Text.FromText Amazonka.Cloud9.Types.Permissions.Permissions
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.Permissions.Permissions
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.Permissions.Permissions
instance GHC.Generics.Generic Amazonka.Cloud9.Types.Permissions.Permissions
instance GHC.Classes.Ord Amazonka.Cloud9.Types.Permissions.Permissions
instance GHC.Classes.Eq Amazonka.Cloud9.Types.Permissions.Permissions
instance GHC.Read.Read Amazonka.Cloud9.Types.Permissions.Permissions
instance GHC.Show.Show Amazonka.Cloud9.Types.Permissions.Permissions
module Amazonka.Cloud9.Types.EnvironmentMember
-- | Information about an environment member for an Cloud9 development
-- environment.
--
-- See: newEnvironmentMember smart constructor.
data EnvironmentMember
EnvironmentMember' :: Maybe POSIX -> Permissions -> Text -> Text -> Text -> EnvironmentMember
-- | The time, expressed in epoch time format, when the environment member
-- last opened the environment.
[$sel:lastAccess:EnvironmentMember'] :: EnvironmentMember -> Maybe POSIX
-- | 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.
--
[$sel:permissions:EnvironmentMember'] :: EnvironmentMember -> Permissions
-- | The user ID in Identity and Access Management (IAM) of the environment
-- member.
[$sel:userId:EnvironmentMember'] :: EnvironmentMember -> Text
-- | The Amazon Resource Name (ARN) of the environment member.
[$sel:userArn:EnvironmentMember'] :: EnvironmentMember -> Text
-- | The ID of the environment for the environment member.
[$sel:environmentId:EnvironmentMember'] :: EnvironmentMember -> Text
-- | Create a value of EnvironmentMember with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:lastAccess:EnvironmentMember',
-- environmentMember_lastAccess - The time, expressed in epoch
-- time format, when the environment member last opened the environment.
--
-- $sel:permissions:EnvironmentMember',
-- environmentMember_permissions - 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.
--
--
-- $sel:userId:EnvironmentMember', environmentMember_userId
-- - The user ID in Identity and Access Management (IAM) of the
-- environment member.
--
-- $sel:userArn:EnvironmentMember',
-- environmentMember_userArn - The Amazon Resource Name (ARN) of
-- the environment member.
--
-- $sel:environmentId:EnvironmentMember',
-- environmentMember_environmentId - The ID of the environment for
-- the environment member.
newEnvironmentMember :: Permissions -> Text -> Text -> Text -> EnvironmentMember
-- | The time, expressed in epoch time format, when the environment member
-- last opened the environment.
environmentMember_lastAccess :: Lens' EnvironmentMember (Maybe UTCTime)
-- | 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.
--
environmentMember_permissions :: Lens' EnvironmentMember Permissions
-- | The user ID in Identity and Access Management (IAM) of the environment
-- member.
environmentMember_userId :: Lens' EnvironmentMember Text
-- | The Amazon Resource Name (ARN) of the environment member.
environmentMember_userArn :: Lens' EnvironmentMember Text
-- | The ID of the environment for the environment member.
environmentMember_environmentId :: Lens' EnvironmentMember Text
instance GHC.Generics.Generic Amazonka.Cloud9.Types.EnvironmentMember.EnvironmentMember
instance GHC.Show.Show Amazonka.Cloud9.Types.EnvironmentMember.EnvironmentMember
instance GHC.Read.Read Amazonka.Cloud9.Types.EnvironmentMember.EnvironmentMember
instance GHC.Classes.Eq Amazonka.Cloud9.Types.EnvironmentMember.EnvironmentMember
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.EnvironmentMember.EnvironmentMember
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.EnvironmentMember.EnvironmentMember
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.EnvironmentMember.EnvironmentMember
module Amazonka.Cloud9.Types.Tag
-- | Metadata that is associated with Amazon Web Services resources. In
-- particular, a name-value pair that can be associated with an Cloud9
-- development environment. There are two types of tags: user tags
-- and system tags. A user tag is created by the user. A system
-- tag is automatically created by Amazon Web Services services. A system
-- tag is prefixed with "aws:" and cannot be modified by the
-- user.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Sensitive Text -> Sensitive Text -> Tag
-- | The name part of a tag.
[$sel:key:Tag'] :: Tag -> Sensitive Text
-- | The value part of a tag.
[$sel:value:Tag'] :: Tag -> Sensitive Text
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:key:Tag', tag_key - The name part of a tag.
--
-- $sel:value:Tag', tag_value - The value part of a
-- tag.
newTag :: Text -> Text -> Tag
-- | The name part of a tag.
tag_key :: Lens' Tag Text
-- | The value part of a tag.
tag_value :: Lens' Tag Text
instance GHC.Generics.Generic Amazonka.Cloud9.Types.Tag.Tag
instance GHC.Show.Show Amazonka.Cloud9.Types.Tag.Tag
instance GHC.Classes.Eq Amazonka.Cloud9.Types.Tag.Tag
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Cloud9.Types.Tag.Tag
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.Types.Tag.Tag
instance Control.DeepSeq.NFData Amazonka.Cloud9.Types.Tag.Tag
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.Types.Tag.Tag
module Amazonka.Cloud9.Types
-- | API version 2017-09-23 of the Amazon Cloud9 SDK
-- configuration.
defaultService :: Service
-- | The target request is invalid.
_BadRequestException :: AsError a => Fold a ServiceError
-- | A concurrent access issue occurred.
_ConcurrentAccessException :: AsError a => Fold a ServiceError
-- | A conflict occurred.
_ConflictException :: AsError a => Fold a ServiceError
-- | An access permissions issue occurred.
_ForbiddenException :: AsError a => Fold a ServiceError
-- | An internal server error occurred.
_InternalServerErrorException :: AsError a => Fold a ServiceError
-- | A service limit was exceeded.
_LimitExceededException :: AsError a => Fold a ServiceError
-- | The target resource cannot be found.
_NotFoundException :: AsError a => Fold a ServiceError
-- | Too many service requests were made over the given time period.
_TooManyRequestsException :: AsError a => Fold a ServiceError
newtype ConnectionType
ConnectionType' :: Text -> ConnectionType
[fromConnectionType] :: ConnectionType -> Text
pattern ConnectionType_CONNECT_SSH :: ConnectionType
pattern ConnectionType_CONNECT_SSM :: ConnectionType
newtype EnvironmentLifecycleStatus
EnvironmentLifecycleStatus' :: Text -> EnvironmentLifecycleStatus
[fromEnvironmentLifecycleStatus] :: EnvironmentLifecycleStatus -> Text
pattern EnvironmentLifecycleStatus_CREATED :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_CREATE_FAILED :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_CREATING :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_DELETE_FAILED :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_DELETING :: EnvironmentLifecycleStatus
newtype EnvironmentStatus
EnvironmentStatus' :: Text -> EnvironmentStatus
[fromEnvironmentStatus] :: EnvironmentStatus -> Text
pattern EnvironmentStatus_Connecting :: EnvironmentStatus
pattern EnvironmentStatus_Creating :: EnvironmentStatus
pattern EnvironmentStatus_Deleting :: EnvironmentStatus
pattern EnvironmentStatus_Error :: EnvironmentStatus
pattern EnvironmentStatus_Ready :: EnvironmentStatus
pattern EnvironmentStatus_Stopped :: EnvironmentStatus
pattern EnvironmentStatus_Stopping :: EnvironmentStatus
newtype EnvironmentType
EnvironmentType' :: Text -> EnvironmentType
[fromEnvironmentType] :: EnvironmentType -> Text
pattern EnvironmentType_Ec2 :: EnvironmentType
pattern EnvironmentType_Ssh :: EnvironmentType
newtype ManagedCredentialsAction
ManagedCredentialsAction' :: Text -> ManagedCredentialsAction
[fromManagedCredentialsAction] :: ManagedCredentialsAction -> Text
pattern ManagedCredentialsAction_DISABLE :: ManagedCredentialsAction
pattern ManagedCredentialsAction_ENABLE :: ManagedCredentialsAction
newtype ManagedCredentialsStatus
ManagedCredentialsStatus' :: Text -> ManagedCredentialsStatus
[fromManagedCredentialsStatus] :: ManagedCredentialsStatus -> Text
pattern ManagedCredentialsStatus_DISABLED_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_DISABLED_BY_DEFAULT :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_DISABLED_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_ENABLED_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_ENABLED_ON_CREATE :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_FAILED_REMOVAL_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_FAILED_REMOVAL_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_REMOVAL_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_REMOVAL_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_START_REMOVAL_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_START_REMOVAL_BY_OWNER :: ManagedCredentialsStatus
newtype MemberPermissions
MemberPermissions' :: Text -> MemberPermissions
[fromMemberPermissions] :: MemberPermissions -> Text
pattern MemberPermissions_Read_only :: MemberPermissions
pattern MemberPermissions_Read_write :: MemberPermissions
newtype Permissions
Permissions' :: Text -> Permissions
[fromPermissions] :: Permissions -> Text
pattern Permissions_Owner :: Permissions
pattern Permissions_Read_only :: Permissions
pattern Permissions_Read_write :: Permissions
-- | Information about an Cloud9 development environment.
--
-- See: newEnvironment smart constructor.
data Environment
Environment' :: Maybe ConnectionType -> Maybe (Sensitive Text) -> Maybe Text -> Maybe EnvironmentLifecycle -> Maybe ManagedCredentialsStatus -> Maybe Text -> EnvironmentType -> Text -> Text -> Environment
-- | The connection type used for connecting to an Amazon EC2 environment.
-- CONNECT_SSH is selected by default.
[$sel:connectionType:Environment'] :: Environment -> Maybe ConnectionType
-- | The description for the environment.
[$sel:description:Environment'] :: Environment -> Maybe (Sensitive Text)
-- | The ID of the environment.
[$sel:id:Environment'] :: Environment -> Maybe Text
-- | The state of the environment in its creation or deletion lifecycle.
[$sel:lifecycle:Environment'] :: Environment -> Maybe EnvironmentLifecycle
-- | Describes the status of Amazon Web Services managed temporary
-- credentials for the Cloud9 environment. Available values are:
--
--
[$sel:managedCredentialsStatus:Environment'] :: Environment -> Maybe ManagedCredentialsStatus
-- | The name of the environment.
[$sel:name:Environment'] :: 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.
--
[$sel:type':Environment'] :: Environment -> EnvironmentType
-- | The Amazon Resource Name (ARN) of the environment.
[$sel:arn:Environment'] :: Environment -> Text
-- | The Amazon Resource Name (ARN) of the environment owner.
[$sel:ownerArn:Environment'] :: Environment -> Text
-- | Create a value of Environment with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:connectionType:Environment',
-- environment_connectionType - The connection type used for
-- connecting to an Amazon EC2 environment. CONNECT_SSH is
-- selected by default.
--
-- $sel:description:Environment', environment_description -
-- The description for the environment.
--
-- $sel:id:Environment', environment_id - The ID of the
-- environment.
--
-- $sel:lifecycle:Environment', environment_lifecycle - The
-- state of the environment in its creation or deletion lifecycle.
--
-- $sel:managedCredentialsStatus:Environment',
-- environment_managedCredentialsStatus - Describes the status of
-- Amazon Web Services managed temporary credentials for the Cloud9
-- environment. Available values are:
--
--
--
-- $sel:name:Environment', environment_name - The name of
-- the environment.
--
-- $sel:type':Environment', environment_type - 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.
--
--
-- $sel:arn:Environment', environment_arn - The Amazon
-- Resource Name (ARN) of the environment.
--
-- $sel:ownerArn:Environment', environment_ownerArn - The
-- Amazon Resource Name (ARN) of the environment owner.
newEnvironment :: EnvironmentType -> Text -> Text -> Environment
-- | The connection type used for connecting to an Amazon EC2 environment.
-- CONNECT_SSH is selected by default.
environment_connectionType :: Lens' Environment (Maybe ConnectionType)
-- | The description for the environment.
environment_description :: Lens' Environment (Maybe Text)
-- | The ID of the environment.
environment_id :: Lens' Environment (Maybe Text)
-- | The state of the environment in its creation or deletion lifecycle.
environment_lifecycle :: Lens' Environment (Maybe EnvironmentLifecycle)
-- | Describes the status of Amazon Web Services managed temporary
-- credentials for the Cloud9 environment. Available values are:
--
--
environment_managedCredentialsStatus :: Lens' Environment (Maybe ManagedCredentialsStatus)
-- | The name of the environment.
environment_name :: 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.
--
environment_type :: Lens' Environment EnvironmentType
-- | The Amazon Resource Name (ARN) of the environment.
environment_arn :: Lens' Environment Text
-- | The Amazon Resource Name (ARN) of the environment owner.
environment_ownerArn :: Lens' Environment Text
-- | Information about the current creation or deletion lifecycle state of
-- an Cloud9 development environment.
--
-- See: newEnvironmentLifecycle smart constructor.
data EnvironmentLifecycle
EnvironmentLifecycle' :: Maybe Text -> Maybe Text -> Maybe EnvironmentLifecycleStatus -> EnvironmentLifecycle
-- | If the environment failed to delete, the Amazon Resource Name (ARN) of
-- the related Amazon Web Services resource.
[$sel:failureResource:EnvironmentLifecycle'] :: EnvironmentLifecycle -> Maybe Text
-- | Any informational message about the lifecycle state of the
-- environment.
[$sel:reason:EnvironmentLifecycle'] :: EnvironmentLifecycle -> Maybe Text
-- | The current creation or deletion lifecycle state of the environment.
--
--
-- - CREATING: The environment is in the process of being
-- created.
-- - CREATED: The environment was successfully created.
-- - CREATE_FAILED: The environment failed to be created.
-- - DELETING: The environment is in the process of being
-- deleted.
-- - DELETE_FAILED: The environment failed to delete.
--
[$sel:status:EnvironmentLifecycle'] :: EnvironmentLifecycle -> Maybe EnvironmentLifecycleStatus
-- | Create a value of EnvironmentLifecycle with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:failureResource:EnvironmentLifecycle',
-- environmentLifecycle_failureResource - If the environment
-- failed to delete, the Amazon Resource Name (ARN) of the related Amazon
-- Web Services resource.
--
-- $sel:reason:EnvironmentLifecycle',
-- environmentLifecycle_reason - Any informational message about
-- the lifecycle state of the environment.
--
-- $sel:status:EnvironmentLifecycle',
-- environmentLifecycle_status - The current creation or deletion
-- lifecycle state of the environment.
--
--
-- - CREATING: The environment is in the process of being
-- created.
-- - CREATED: The environment was successfully created.
-- - CREATE_FAILED: The environment failed to be created.
-- - DELETING: The environment is in the process of being
-- deleted.
-- - DELETE_FAILED: The environment failed to delete.
--
newEnvironmentLifecycle :: EnvironmentLifecycle
-- | If the environment failed to delete, the Amazon Resource Name (ARN) of
-- the related Amazon Web Services resource.
environmentLifecycle_failureResource :: Lens' EnvironmentLifecycle (Maybe Text)
-- | Any informational message about the lifecycle state of the
-- environment.
environmentLifecycle_reason :: Lens' EnvironmentLifecycle (Maybe Text)
-- | The current creation or deletion lifecycle state of the environment.
--
--
-- - CREATING: The environment is in the process of being
-- created.
-- - CREATED: The environment was successfully created.
-- - CREATE_FAILED: The environment failed to be created.
-- - DELETING: The environment is in the process of being
-- deleted.
-- - DELETE_FAILED: The environment failed to delete.
--
environmentLifecycle_status :: Lens' EnvironmentLifecycle (Maybe EnvironmentLifecycleStatus)
-- | Information about an environment member for an Cloud9 development
-- environment.
--
-- See: newEnvironmentMember smart constructor.
data EnvironmentMember
EnvironmentMember' :: Maybe POSIX -> Permissions -> Text -> Text -> Text -> EnvironmentMember
-- | The time, expressed in epoch time format, when the environment member
-- last opened the environment.
[$sel:lastAccess:EnvironmentMember'] :: EnvironmentMember -> Maybe POSIX
-- | 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.
--
[$sel:permissions:EnvironmentMember'] :: EnvironmentMember -> Permissions
-- | The user ID in Identity and Access Management (IAM) of the environment
-- member.
[$sel:userId:EnvironmentMember'] :: EnvironmentMember -> Text
-- | The Amazon Resource Name (ARN) of the environment member.
[$sel:userArn:EnvironmentMember'] :: EnvironmentMember -> Text
-- | The ID of the environment for the environment member.
[$sel:environmentId:EnvironmentMember'] :: EnvironmentMember -> Text
-- | Create a value of EnvironmentMember with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:lastAccess:EnvironmentMember',
-- environmentMember_lastAccess - The time, expressed in epoch
-- time format, when the environment member last opened the environment.
--
-- $sel:permissions:EnvironmentMember',
-- environmentMember_permissions - 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.
--
--
-- $sel:userId:EnvironmentMember', environmentMember_userId
-- - The user ID in Identity and Access Management (IAM) of the
-- environment member.
--
-- $sel:userArn:EnvironmentMember',
-- environmentMember_userArn - The Amazon Resource Name (ARN) of
-- the environment member.
--
-- $sel:environmentId:EnvironmentMember',
-- environmentMember_environmentId - The ID of the environment for
-- the environment member.
newEnvironmentMember :: Permissions -> Text -> Text -> Text -> EnvironmentMember
-- | The time, expressed in epoch time format, when the environment member
-- last opened the environment.
environmentMember_lastAccess :: Lens' EnvironmentMember (Maybe UTCTime)
-- | 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.
--
environmentMember_permissions :: Lens' EnvironmentMember Permissions
-- | The user ID in Identity and Access Management (IAM) of the environment
-- member.
environmentMember_userId :: Lens' EnvironmentMember Text
-- | The Amazon Resource Name (ARN) of the environment member.
environmentMember_userArn :: Lens' EnvironmentMember Text
-- | The ID of the environment for the environment member.
environmentMember_environmentId :: Lens' EnvironmentMember Text
-- | Metadata that is associated with Amazon Web Services resources. In
-- particular, a name-value pair that can be associated with an Cloud9
-- development environment. There are two types of tags: user tags
-- and system tags. A user tag is created by the user. A system
-- tag is automatically created by Amazon Web Services services. A system
-- tag is prefixed with "aws:" and cannot be modified by the
-- user.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Sensitive Text -> Sensitive Text -> Tag
-- | The name part of a tag.
[$sel:key:Tag'] :: Tag -> Sensitive Text
-- | The value part of a tag.
[$sel:value:Tag'] :: Tag -> Sensitive Text
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:key:Tag', tag_key - The name part of a tag.
--
-- $sel:value:Tag', tag_value - The value part of a
-- tag.
newTag :: Text -> Text -> Tag
-- | The name part of a tag.
tag_key :: Lens' Tag Text
-- | The value part of a tag.
tag_value :: Lens' Tag Text
-- | Adds tags to an Cloud9 development environment.
--
-- Tags that you add to an Cloud9 environment by using this method will
-- NOT be automatically propagated to underlying resources.
module Amazonka.Cloud9.TagResource
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> Sensitive [Sensitive Tag] -> TagResource
-- | The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to add tags to.
[$sel:resourceARN:TagResource'] :: TagResource -> Text
-- | The list of tags to add to the given Cloud9 development environment.
[$sel:tags:TagResource'] :: TagResource -> Sensitive [Sensitive Tag]
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceARN:TagResource', tagResource_resourceARN -
-- The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to add tags to.
--
-- $sel:tags:TagResource', tagResource_tags - The list of
-- tags to add to the given Cloud9 development environment.
newTagResource :: Text -> TagResource
-- | The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to add tags to.
tagResource_resourceARN :: Lens' TagResource Text
-- | The list of tags to add to the given Cloud9 development environment.
tagResource_tags :: Lens' TagResource [Tag]
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.TagResource.TagResource
instance GHC.Show.Show Amazonka.Cloud9.TagResource.TagResource
instance GHC.Classes.Eq Amazonka.Cloud9.TagResource.TagResource
instance GHC.Generics.Generic Amazonka.Cloud9.TagResource.TagResourceResponse
instance GHC.Show.Show Amazonka.Cloud9.TagResource.TagResourceResponse
instance GHC.Read.Read Amazonka.Cloud9.TagResource.TagResourceResponse
instance GHC.Classes.Eq Amazonka.Cloud9.TagResource.TagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.Cloud9.TagResource.TagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.Cloud9.TagResource.TagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.TagResource.TagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.TagResource.TagResource
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.TagResource.TagResource
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.TagResource.TagResource
-- | Gets a list of the tags associated with an Cloud9 development
-- environment.
module Amazonka.Cloud9.ListTagsForResource
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to get the tags for.
[$sel:resourceARN:ListTagsForResource'] :: ListTagsForResource -> Text
-- | Create a value of ListTagsForResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceARN:ListTagsForResource',
-- listTagsForResource_resourceARN - The Amazon Resource Name
-- (ARN) of the Cloud9 development environment to get the tags for.
newListTagsForResource :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to get the tags for.
listTagsForResource_resourceARN :: Lens' ListTagsForResource Text
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe (Sensitive [Sensitive Tag]) -> Int -> ListTagsForResourceResponse
-- | The list of tags associated with the Cloud9 development environment.
[$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe (Sensitive [Sensitive Tag])
-- | The response's http status code.
[$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
-- | Create a value of ListTagsForResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:ListTagsForResourceResponse',
-- listTagsForResourceResponse_tags - The list of tags associated
-- with the Cloud9 development environment.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | The list of tags associated with the Cloud9 development environment.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance GHC.Generics.Generic Amazonka.Cloud9.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Amazonka.Cloud9.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Amazonka.Cloud9.ListTagsForResource.ListTagsForResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.Cloud9.ListTagsForResource.ListTagsForResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.ListTagsForResource.ListTagsForResource
-- | Gets a list of Cloud9 development environment identifiers.
--
-- This operation returns paginated results.
module Amazonka.Cloud9.ListEnvironments
-- | See: newListEnvironments smart constructor.
data ListEnvironments
ListEnvironments' :: Maybe Natural -> Maybe Text -> ListEnvironments
-- | The maximum number of environments to get identifiers for.
[$sel:maxResults:ListEnvironments'] :: ListEnvironments -> Maybe Natural
-- | 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.
[$sel:nextToken:ListEnvironments'] :: ListEnvironments -> Maybe Text
-- | Create a value of ListEnvironments with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListEnvironments',
-- listEnvironments_maxResults - The maximum number of
-- environments to get identifiers for.
--
-- ListEnvironments, listEnvironments_nextToken - 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.
newListEnvironments :: ListEnvironments
-- | The maximum number of environments to get identifiers for.
listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural)
-- | 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.
listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text)
-- | See: newListEnvironmentsResponse smart constructor.
data ListEnvironmentsResponse
ListEnvironmentsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListEnvironmentsResponse
-- | The list of environment identifiers.
[$sel:environmentIds:ListEnvironmentsResponse'] :: ListEnvironmentsResponse -> Maybe [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.
[$sel:nextToken:ListEnvironmentsResponse'] :: ListEnvironmentsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListEnvironmentsResponse'] :: ListEnvironmentsResponse -> Int
-- | Create a value of ListEnvironmentsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:environmentIds:ListEnvironmentsResponse',
-- listEnvironmentsResponse_environmentIds - The list of
-- environment identifiers.
--
-- ListEnvironments, listEnvironmentsResponse_nextToken -
-- 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.
--
-- $sel:httpStatus:ListEnvironmentsResponse',
-- listEnvironmentsResponse_httpStatus - The response's http
-- status code.
newListEnvironmentsResponse :: Int -> ListEnvironmentsResponse
-- | The list of environment identifiers.
listEnvironmentsResponse_environmentIds :: Lens' ListEnvironmentsResponse (Maybe [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.
listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text)
-- | The response's http status code.
listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance GHC.Show.Show Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance GHC.Read.Read Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance GHC.Classes.Eq Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance GHC.Generics.Generic Amazonka.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance GHC.Show.Show Amazonka.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance GHC.Read.Read Amazonka.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance GHC.Classes.Eq Amazonka.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance Control.DeepSeq.NFData Amazonka.Cloud9.ListEnvironments.ListEnvironmentsResponse
instance Amazonka.Pager.AWSPager Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance Control.DeepSeq.NFData Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.ListEnvironments.ListEnvironments
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.ListEnvironments.ListEnvironments
-- | Gets information about Cloud9 development environments.
module Amazonka.Cloud9.DescribeEnvironments
-- | See: newDescribeEnvironments smart constructor.
data DescribeEnvironments
DescribeEnvironments' :: NonEmpty Text -> DescribeEnvironments
-- | The IDs of individual environments to get information about.
[$sel:environmentIds:DescribeEnvironments'] :: DescribeEnvironments -> NonEmpty Text
-- | Create a value of DescribeEnvironments with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:environmentIds:DescribeEnvironments',
-- describeEnvironments_environmentIds - The IDs of individual
-- environments to get information about.
newDescribeEnvironments :: NonEmpty Text -> DescribeEnvironments
-- | The IDs of individual environments to get information about.
describeEnvironments_environmentIds :: Lens' DescribeEnvironments (NonEmpty Text)
-- | See: newDescribeEnvironmentsResponse smart constructor.
data DescribeEnvironmentsResponse
DescribeEnvironmentsResponse' :: Maybe [Environment] -> Int -> DescribeEnvironmentsResponse
-- | Information about the environments that are returned.
[$sel:environments:DescribeEnvironmentsResponse'] :: DescribeEnvironmentsResponse -> Maybe [Environment]
-- | The response's http status code.
[$sel:httpStatus:DescribeEnvironmentsResponse'] :: DescribeEnvironmentsResponse -> Int
-- | Create a value of DescribeEnvironmentsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:environments:DescribeEnvironmentsResponse',
-- describeEnvironmentsResponse_environments - Information about
-- the environments that are returned.
--
-- $sel:httpStatus:DescribeEnvironmentsResponse',
-- describeEnvironmentsResponse_httpStatus - The response's http
-- status code.
newDescribeEnvironmentsResponse :: Int -> DescribeEnvironmentsResponse
-- | Information about the environments that are returned.
describeEnvironmentsResponse_environments :: Lens' DescribeEnvironmentsResponse (Maybe [Environment])
-- | The response's http status code.
describeEnvironmentsResponse_httpStatus :: Lens' DescribeEnvironmentsResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance GHC.Show.Show Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance GHC.Read.Read Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance GHC.Classes.Eq Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance GHC.Generics.Generic Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance GHC.Show.Show Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance GHC.Classes.Eq Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Control.DeepSeq.NFData Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironmentsResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Control.DeepSeq.NFData Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.DescribeEnvironments.DescribeEnvironments
-- | Gets status information for an Cloud9 development environment.
module Amazonka.Cloud9.DescribeEnvironmentStatus
-- | See: newDescribeEnvironmentStatus smart constructor.
data DescribeEnvironmentStatus
DescribeEnvironmentStatus' :: Text -> DescribeEnvironmentStatus
-- | The ID of the environment to get status information about.
[$sel:environmentId:DescribeEnvironmentStatus'] :: DescribeEnvironmentStatus -> Text
-- | Create a value of DescribeEnvironmentStatus with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeEnvironmentStatus,
-- describeEnvironmentStatus_environmentId - The ID of the
-- environment to get status information about.
newDescribeEnvironmentStatus :: Text -> DescribeEnvironmentStatus
-- | The ID of the environment to get status information about.
describeEnvironmentStatus_environmentId :: Lens' DescribeEnvironmentStatus Text
-- | See: newDescribeEnvironmentStatusResponse smart
-- constructor.
data DescribeEnvironmentStatusResponse
DescribeEnvironmentStatusResponse' :: Int -> EnvironmentStatus -> Text -> DescribeEnvironmentStatusResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeEnvironmentStatusResponse'] :: DescribeEnvironmentStatusResponse -> Int
-- | 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.
--
[$sel:status:DescribeEnvironmentStatusResponse'] :: DescribeEnvironmentStatusResponse -> EnvironmentStatus
-- | Any informational message about the status of the environment.
[$sel:message:DescribeEnvironmentStatusResponse'] :: DescribeEnvironmentStatusResponse -> Text
-- | Create a value of DescribeEnvironmentStatusResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeEnvironmentStatusResponse',
-- describeEnvironmentStatusResponse_httpStatus - The response's
-- http status code.
--
-- DescribeEnvironmentStatusResponse,
-- describeEnvironmentStatusResponse_status - 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.
--
--
-- $sel:message:DescribeEnvironmentStatusResponse',
-- describeEnvironmentStatusResponse_message - Any informational
-- message about the status of the environment.
newDescribeEnvironmentStatusResponse :: Int -> EnvironmentStatus -> Text -> DescribeEnvironmentStatusResponse
-- | The response's http status code.
describeEnvironmentStatusResponse_httpStatus :: Lens' DescribeEnvironmentStatusResponse Int
-- | 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.
--
describeEnvironmentStatusResponse_status :: Lens' DescribeEnvironmentStatusResponse EnvironmentStatus
-- | Any informational message about the status of the environment.
describeEnvironmentStatusResponse_message :: Lens' DescribeEnvironmentStatusResponse Text
instance GHC.Generics.Generic Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance GHC.Show.Show Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance GHC.Read.Read Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance GHC.Classes.Eq Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance GHC.Generics.Generic Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance GHC.Show.Show Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance GHC.Read.Read Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance GHC.Classes.Eq Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Control.DeepSeq.NFData Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatusResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Control.DeepSeq.NFData Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.DescribeEnvironmentStatus.DescribeEnvironmentStatus
-- | Gets information about environment members for an Cloud9 development
-- environment.
--
-- This operation returns paginated results.
module Amazonka.Cloud9.DescribeEnvironmentMemberships
-- | See: newDescribeEnvironmentMemberships smart
-- constructor.
data DescribeEnvironmentMemberships
DescribeEnvironmentMemberships' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe [Permissions] -> Maybe Text -> DescribeEnvironmentMemberships
-- | The ID of the environment to get environment member information about.
[$sel:environmentId:DescribeEnvironmentMemberships'] :: DescribeEnvironmentMemberships -> Maybe Text
-- | The maximum number of environment members to get information about.
[$sel:maxResults:DescribeEnvironmentMemberships'] :: DescribeEnvironmentMemberships -> Maybe Natural
-- | 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.
[$sel:nextToken:DescribeEnvironmentMemberships'] :: 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.
[$sel:permissions:DescribeEnvironmentMemberships'] :: DescribeEnvironmentMemberships -> Maybe [Permissions]
-- | 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.
[$sel:userArn:DescribeEnvironmentMemberships'] :: DescribeEnvironmentMemberships -> Maybe Text
-- | Create a value of DescribeEnvironmentMemberships with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMemberships_environmentId - The ID of the
-- environment to get environment member information about.
--
-- $sel:maxResults:DescribeEnvironmentMemberships',
-- describeEnvironmentMemberships_maxResults - The maximum number
-- of environment members to get information about.
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMemberships_nextToken - 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.
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMemberships_permissions - 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.
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMemberships_userArn - 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.
newDescribeEnvironmentMemberships :: DescribeEnvironmentMemberships
-- | The ID of the environment to get environment member information about.
describeEnvironmentMemberships_environmentId :: Lens' DescribeEnvironmentMemberships (Maybe Text)
-- | The maximum number of environment members to get information about.
describeEnvironmentMemberships_maxResults :: Lens' DescribeEnvironmentMemberships (Maybe Natural)
-- | 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.
describeEnvironmentMemberships_nextToken :: 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.
describeEnvironmentMemberships_permissions :: Lens' DescribeEnvironmentMemberships (Maybe [Permissions])
-- | 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.
describeEnvironmentMemberships_userArn :: Lens' DescribeEnvironmentMemberships (Maybe Text)
-- | See: newDescribeEnvironmentMembershipsResponse smart
-- constructor.
data DescribeEnvironmentMembershipsResponse
DescribeEnvironmentMembershipsResponse' :: Maybe [EnvironmentMember] -> Maybe Text -> Int -> DescribeEnvironmentMembershipsResponse
-- | Information about the environment members for the environment.
[$sel:memberships:DescribeEnvironmentMembershipsResponse'] :: DescribeEnvironmentMembershipsResponse -> Maybe [EnvironmentMember]
-- | 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.
[$sel:nextToken:DescribeEnvironmentMembershipsResponse'] :: DescribeEnvironmentMembershipsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeEnvironmentMembershipsResponse'] :: DescribeEnvironmentMembershipsResponse -> Int
-- | Create a value of DescribeEnvironmentMembershipsResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:memberships:DescribeEnvironmentMembershipsResponse',
-- describeEnvironmentMembershipsResponse_memberships -
-- Information about the environment members for the environment.
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMembershipsResponse_nextToken - 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.
--
-- $sel:httpStatus:DescribeEnvironmentMembershipsResponse',
-- describeEnvironmentMembershipsResponse_httpStatus - The
-- response's http status code.
newDescribeEnvironmentMembershipsResponse :: Int -> DescribeEnvironmentMembershipsResponse
-- | Information about the environment members for the environment.
describeEnvironmentMembershipsResponse_memberships :: Lens' DescribeEnvironmentMembershipsResponse (Maybe [EnvironmentMember])
-- | 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.
describeEnvironmentMembershipsResponse_nextToken :: Lens' DescribeEnvironmentMembershipsResponse (Maybe Text)
-- | The response's http status code.
describeEnvironmentMembershipsResponse_httpStatus :: Lens' DescribeEnvironmentMembershipsResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance GHC.Show.Show Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance GHC.Read.Read Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance GHC.Classes.Eq Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance GHC.Generics.Generic Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance GHC.Show.Show Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance GHC.Read.Read Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance GHC.Classes.Eq Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Control.DeepSeq.NFData Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMembershipsResponse
instance Amazonka.Pager.AWSPager Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Control.DeepSeq.NFData Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.DescribeEnvironmentMemberships.DescribeEnvironmentMemberships
-- | Deletes an environment member from a development environment.
module Amazonka.Cloud9.DeleteEnvironmentMembership
-- | See: newDeleteEnvironmentMembership smart constructor.
data DeleteEnvironmentMembership
DeleteEnvironmentMembership' :: Text -> Text -> DeleteEnvironmentMembership
-- | The ID of the environment to delete the environment member from.
[$sel:environmentId:DeleteEnvironmentMembership'] :: DeleteEnvironmentMembership -> Text
-- | The Amazon Resource Name (ARN) of the environment member to delete
-- from the environment.
[$sel:userArn:DeleteEnvironmentMembership'] :: DeleteEnvironmentMembership -> Text
-- | Create a value of DeleteEnvironmentMembership with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteEnvironmentMembership,
-- deleteEnvironmentMembership_environmentId - The ID of the
-- environment to delete the environment member from.
--
-- DeleteEnvironmentMembership,
-- deleteEnvironmentMembership_userArn - The Amazon Resource Name
-- (ARN) of the environment member to delete from the environment.
newDeleteEnvironmentMembership :: Text -> Text -> DeleteEnvironmentMembership
-- | The ID of the environment to delete the environment member from.
deleteEnvironmentMembership_environmentId :: Lens' DeleteEnvironmentMembership Text
-- | The Amazon Resource Name (ARN) of the environment member to delete
-- from the environment.
deleteEnvironmentMembership_userArn :: Lens' DeleteEnvironmentMembership Text
-- | See: newDeleteEnvironmentMembershipResponse smart
-- constructor.
data DeleteEnvironmentMembershipResponse
DeleteEnvironmentMembershipResponse' :: Int -> DeleteEnvironmentMembershipResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteEnvironmentMembershipResponse'] :: DeleteEnvironmentMembershipResponse -> Int
-- | Create a value of DeleteEnvironmentMembershipResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteEnvironmentMembershipResponse',
-- deleteEnvironmentMembershipResponse_httpStatus - The response's
-- http status code.
newDeleteEnvironmentMembershipResponse :: Int -> DeleteEnvironmentMembershipResponse
-- | The response's http status code.
deleteEnvironmentMembershipResponse_httpStatus :: Lens' DeleteEnvironmentMembershipResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance GHC.Show.Show Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance GHC.Read.Read Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance GHC.Classes.Eq Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance GHC.Generics.Generic Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance GHC.Show.Show Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance GHC.Read.Read Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance GHC.Classes.Eq Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Control.DeepSeq.NFData Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembershipResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Control.DeepSeq.NFData Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.DeleteEnvironmentMembership.DeleteEnvironmentMembership
-- | Deletes an Cloud9 development environment. If an Amazon EC2 instance
-- is connected to the environment, also terminates the instance.
module Amazonka.Cloud9.DeleteEnvironment
-- | See: newDeleteEnvironment smart constructor.
data DeleteEnvironment
DeleteEnvironment' :: Text -> DeleteEnvironment
-- | The ID of the environment to delete.
[$sel:environmentId:DeleteEnvironment'] :: DeleteEnvironment -> Text
-- | Create a value of DeleteEnvironment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteEnvironment, deleteEnvironment_environmentId - The
-- ID of the environment to delete.
newDeleteEnvironment :: Text -> DeleteEnvironment
-- | The ID of the environment to delete.
deleteEnvironment_environmentId :: Lens' DeleteEnvironment Text
-- | See: newDeleteEnvironmentResponse smart constructor.
data DeleteEnvironmentResponse
DeleteEnvironmentResponse' :: Int -> DeleteEnvironmentResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteEnvironmentResponse'] :: DeleteEnvironmentResponse -> Int
-- | Create a value of DeleteEnvironmentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteEnvironmentResponse',
-- deleteEnvironmentResponse_httpStatus - The response's http
-- status code.
newDeleteEnvironmentResponse :: Int -> DeleteEnvironmentResponse
-- | The response's http status code.
deleteEnvironmentResponse_httpStatus :: Lens' DeleteEnvironmentResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance GHC.Show.Show Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance GHC.Read.Read Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance GHC.Classes.Eq Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance GHC.Generics.Generic Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance GHC.Show.Show Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance GHC.Read.Read Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance GHC.Classes.Eq Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Control.DeepSeq.NFData Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironmentResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Control.DeepSeq.NFData Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.DeleteEnvironment.DeleteEnvironment
-- | Adds an environment member to an Cloud9 development environment.
module Amazonka.Cloud9.CreateEnvironmentMembership
-- | See: newCreateEnvironmentMembership smart constructor.
data CreateEnvironmentMembership
CreateEnvironmentMembership' :: Text -> Text -> MemberPermissions -> CreateEnvironmentMembership
-- | The ID of the environment that contains the environment member you
-- want to add.
[$sel:environmentId:CreateEnvironmentMembership'] :: CreateEnvironmentMembership -> Text
-- | The Amazon Resource Name (ARN) of the environment member you want to
-- add.
[$sel:userArn:CreateEnvironmentMembership'] :: 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.
--
[$sel:permissions:CreateEnvironmentMembership'] :: CreateEnvironmentMembership -> MemberPermissions
-- | Create a value of CreateEnvironmentMembership with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateEnvironmentMembership,
-- createEnvironmentMembership_environmentId - The ID of the
-- environment that contains the environment member you want to add.
--
-- CreateEnvironmentMembership,
-- createEnvironmentMembership_userArn - The Amazon Resource Name
-- (ARN) of the environment member you want to add.
--
-- CreateEnvironmentMembership,
-- createEnvironmentMembership_permissions - 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.
--
newCreateEnvironmentMembership :: Text -> Text -> MemberPermissions -> CreateEnvironmentMembership
-- | The ID of the environment that contains the environment member you
-- want to add.
createEnvironmentMembership_environmentId :: Lens' CreateEnvironmentMembership Text
-- | The Amazon Resource Name (ARN) of the environment member you want to
-- add.
createEnvironmentMembership_userArn :: 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.
--
createEnvironmentMembership_permissions :: Lens' CreateEnvironmentMembership MemberPermissions
-- | See: newCreateEnvironmentMembershipResponse smart
-- constructor.
data CreateEnvironmentMembershipResponse
CreateEnvironmentMembershipResponse' :: Int -> EnvironmentMember -> CreateEnvironmentMembershipResponse
-- | The response's http status code.
[$sel:httpStatus:CreateEnvironmentMembershipResponse'] :: CreateEnvironmentMembershipResponse -> Int
-- | Information about the environment member that was added.
[$sel:membership:CreateEnvironmentMembershipResponse'] :: CreateEnvironmentMembershipResponse -> EnvironmentMember
-- | Create a value of CreateEnvironmentMembershipResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:CreateEnvironmentMembershipResponse',
-- createEnvironmentMembershipResponse_httpStatus - The response's
-- http status code.
--
-- $sel:membership:CreateEnvironmentMembershipResponse',
-- createEnvironmentMembershipResponse_membership - Information
-- about the environment member that was added.
newCreateEnvironmentMembershipResponse :: Int -> EnvironmentMember -> CreateEnvironmentMembershipResponse
-- | The response's http status code.
createEnvironmentMembershipResponse_httpStatus :: Lens' CreateEnvironmentMembershipResponse Int
-- | Information about the environment member that was added.
createEnvironmentMembershipResponse_membership :: Lens' CreateEnvironmentMembershipResponse EnvironmentMember
instance GHC.Generics.Generic Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance GHC.Show.Show Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance GHC.Read.Read Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance GHC.Classes.Eq Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance GHC.Generics.Generic Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance GHC.Show.Show Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance GHC.Read.Read Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance GHC.Classes.Eq Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Control.DeepSeq.NFData Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembershipResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Control.DeepSeq.NFData Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.CreateEnvironmentMembership.CreateEnvironmentMembership
-- | Creates an Cloud9 development environment, launches an Amazon Elastic
-- Compute Cloud (Amazon EC2) instance, and then connects from the
-- instance to the environment.
module Amazonka.Cloud9.CreateEnvironmentEC2
-- | See: newCreateEnvironmentEC2 smart constructor.
data CreateEnvironmentEC2
CreateEnvironmentEC2' :: Maybe Int -> Maybe Text -> Maybe ConnectionType -> Maybe (Sensitive Text) -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive [Sensitive Tag]) -> Text -> Text -> CreateEnvironmentEC2
-- | The number of minutes until the running instance is shut down after
-- the environment has last been used.
[$sel:automaticStopTimeMinutes:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Maybe Int
-- | A unique, case-sensitive string that helps Cloud9 to ensure this
-- operation completes no more than one time.
--
-- For more information, see Client Tokens in the Amazon EC2
-- API Reference.
[$sel:clientRequestToken:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Maybe Text
-- | The connection type used for connecting to an Amazon EC2 environment.
-- Valid values are CONNECT_SSH (default) and
-- CONNECT_SSM (connected through Amazon EC2 Systems Manager).
--
-- For more information, see Accessing no-ingress EC2 instances with
-- Amazon EC2 Systems Manager in the Cloud9 User Guide.
[$sel:connectionType:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Maybe ConnectionType
-- | The description of the environment to create.
[$sel:description:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Maybe (Sensitive Text)
-- | Checks whether you have the required permissions for the action,
-- without actually making the request, and provides an error response.
-- If you have the required permissions, the error response is
-- DryRunOperation. Otherwise, it is
-- UnauthorizedOperation.
[$sel:dryRun:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Maybe Bool
-- | The identifier for the Amazon Machine Image (AMI) that's used to
-- create the EC2 instance. To choose an AMI for the instance, you must
-- specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)
-- path.
--
-- The default Amazon Linux AMI is currently used if the parameter isn't
-- explicitly assigned a value in the request.
--
-- In the future the parameter for Amazon Linux will no longer be
-- available when you specify an AMI for your instance. Amazon Linux 2
-- will then become the default AMI, which is used to launch your
-- instance if no parameter is explicitly defined.
--
-- AMI aliases
--
--
-- - Amazon Linux (default): amazonlinux-1-x86_64
-- - Amazon Linux 2: amazonlinux-2-x86_64
-- - Ubuntu 18.04: ubuntu-18.04-x86_64
--
--
-- SSM paths
--
--
-- - __Amazon Linux (default):
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64__
-- - Amazon Linux 2:
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
-- - Ubuntu 18.04:
-- resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
--
[$sel:imageId:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Maybe Text
-- | The Amazon Resource Name (ARN) of the environment owner. This ARN can
-- be the ARN of any IAM principal. If this value is not specified, the
-- ARN defaults to this environment's creator.
[$sel:ownerArn:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Maybe Text
-- | The ID of the subnet in Amazon VPC that Cloud9 will use to communicate
-- with the Amazon EC2 instance.
[$sel:subnetId:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Maybe Text
-- | An array of key-value pairs that will be associated with the new
-- Cloud9 development environment.
[$sel:tags:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Maybe (Sensitive [Sensitive Tag])
-- | The name of the environment to create.
--
-- This name is visible to other IAM users in the same Amazon Web
-- Services account.
[$sel:name:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Text
-- | The type of instance to connect to the environment (for example,
-- t2.micro).
[$sel:instanceType:CreateEnvironmentEC2'] :: CreateEnvironmentEC2 -> Text
-- | Create a value of CreateEnvironmentEC2 with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:automaticStopTimeMinutes:CreateEnvironmentEC2',
-- createEnvironmentEC2_automaticStopTimeMinutes - The number of
-- minutes until the running instance is shut down after the environment
-- has last been used.
--
-- $sel:clientRequestToken:CreateEnvironmentEC2',
-- createEnvironmentEC2_clientRequestToken - A unique,
-- case-sensitive string that helps Cloud9 to ensure this operation
-- completes no more than one time.
--
-- For more information, see Client Tokens in the Amazon EC2
-- API Reference.
--
-- CreateEnvironmentEC2,
-- createEnvironmentEC2_connectionType - The connection type used
-- for connecting to an Amazon EC2 environment. Valid values are
-- CONNECT_SSH (default) and CONNECT_SSM (connected
-- through Amazon EC2 Systems Manager).
--
-- For more information, see Accessing no-ingress EC2 instances with
-- Amazon EC2 Systems Manager in the Cloud9 User Guide.
--
-- CreateEnvironmentEC2, createEnvironmentEC2_description -
-- The description of the environment to create.
--
-- $sel:dryRun:CreateEnvironmentEC2',
-- createEnvironmentEC2_dryRun - Checks whether you have the
-- required permissions for the action, without actually making the
-- request, and provides an error response. If you have the required
-- permissions, the error response is DryRunOperation.
-- Otherwise, it is UnauthorizedOperation.
--
-- $sel:imageId:CreateEnvironmentEC2',
-- createEnvironmentEC2_imageId - The identifier for the Amazon
-- Machine Image (AMI) that's used to create the EC2 instance. To choose
-- an AMI for the instance, you must specify a valid AMI alias or a valid
-- Amazon EC2 Systems Manager (SSM) path.
--
-- The default Amazon Linux AMI is currently used if the parameter isn't
-- explicitly assigned a value in the request.
--
-- In the future the parameter for Amazon Linux will no longer be
-- available when you specify an AMI for your instance. Amazon Linux 2
-- will then become the default AMI, which is used to launch your
-- instance if no parameter is explicitly defined.
--
-- AMI aliases
--
--
-- - Amazon Linux (default): amazonlinux-1-x86_64
-- - Amazon Linux 2: amazonlinux-2-x86_64
-- - Ubuntu 18.04: ubuntu-18.04-x86_64
--
--
-- SSM paths
--
--
-- - __Amazon Linux (default):
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64__
-- - Amazon Linux 2:
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
-- - Ubuntu 18.04:
-- resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
--
--
-- CreateEnvironmentEC2, createEnvironmentEC2_ownerArn -
-- The Amazon Resource Name (ARN) of the environment owner. This ARN can
-- be the ARN of any IAM principal. If this value is not specified, the
-- ARN defaults to this environment's creator.
--
-- $sel:subnetId:CreateEnvironmentEC2',
-- createEnvironmentEC2_subnetId - The ID of the subnet in Amazon
-- VPC that Cloud9 will use to communicate with the Amazon EC2 instance.
--
-- $sel:tags:CreateEnvironmentEC2',
-- createEnvironmentEC2_tags - An array of key-value pairs that
-- will be associated with the new Cloud9 development environment.
--
-- CreateEnvironmentEC2, createEnvironmentEC2_name - The
-- name of the environment to create.
--
-- This name is visible to other IAM users in the same Amazon Web
-- Services account.
--
-- $sel:instanceType:CreateEnvironmentEC2',
-- createEnvironmentEC2_instanceType - The type of instance to
-- connect to the environment (for example, t2.micro).
newCreateEnvironmentEC2 :: Text -> Text -> CreateEnvironmentEC2
-- | The number of minutes until the running instance is shut down after
-- the environment has last been used.
createEnvironmentEC2_automaticStopTimeMinutes :: Lens' CreateEnvironmentEC2 (Maybe Int)
-- | A unique, case-sensitive string that helps Cloud9 to ensure this
-- operation completes no more than one time.
--
-- For more information, see Client Tokens in the Amazon EC2
-- API Reference.
createEnvironmentEC2_clientRequestToken :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | The connection type used for connecting to an Amazon EC2 environment.
-- Valid values are CONNECT_SSH (default) and
-- CONNECT_SSM (connected through Amazon EC2 Systems Manager).
--
-- For more information, see Accessing no-ingress EC2 instances with
-- Amazon EC2 Systems Manager in the Cloud9 User Guide.
createEnvironmentEC2_connectionType :: Lens' CreateEnvironmentEC2 (Maybe ConnectionType)
-- | The description of the environment to create.
createEnvironmentEC2_description :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | Checks whether you have the required permissions for the action,
-- without actually making the request, and provides an error response.
-- If you have the required permissions, the error response is
-- DryRunOperation. Otherwise, it is
-- UnauthorizedOperation.
createEnvironmentEC2_dryRun :: Lens' CreateEnvironmentEC2 (Maybe Bool)
-- | The identifier for the Amazon Machine Image (AMI) that's used to
-- create the EC2 instance. To choose an AMI for the instance, you must
-- specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)
-- path.
--
-- The default Amazon Linux AMI is currently used if the parameter isn't
-- explicitly assigned a value in the request.
--
-- In the future the parameter for Amazon Linux will no longer be
-- available when you specify an AMI for your instance. Amazon Linux 2
-- will then become the default AMI, which is used to launch your
-- instance if no parameter is explicitly defined.
--
-- AMI aliases
--
--
-- - Amazon Linux (default): amazonlinux-1-x86_64
-- - Amazon Linux 2: amazonlinux-2-x86_64
-- - Ubuntu 18.04: ubuntu-18.04-x86_64
--
--
-- SSM paths
--
--
-- - __Amazon Linux (default):
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64__
-- - Amazon Linux 2:
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
-- - Ubuntu 18.04:
-- resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
--
createEnvironmentEC2_imageId :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | The Amazon Resource Name (ARN) of the environment owner. This ARN can
-- be the ARN of any IAM principal. If this value is not specified, the
-- ARN defaults to this environment's creator.
createEnvironmentEC2_ownerArn :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | The ID of the subnet in Amazon VPC that Cloud9 will use to communicate
-- with the Amazon EC2 instance.
createEnvironmentEC2_subnetId :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | An array of key-value pairs that will be associated with the new
-- Cloud9 development environment.
createEnvironmentEC2_tags :: Lens' CreateEnvironmentEC2 (Maybe [Tag])
-- | The name of the environment to create.
--
-- This name is visible to other IAM users in the same Amazon Web
-- Services account.
createEnvironmentEC2_name :: Lens' CreateEnvironmentEC2 Text
-- | The type of instance to connect to the environment (for example,
-- t2.micro).
createEnvironmentEC2_instanceType :: Lens' CreateEnvironmentEC2 Text
-- | See: newCreateEnvironmentEC2Response smart constructor.
data CreateEnvironmentEC2Response
CreateEnvironmentEC2Response' :: Maybe Text -> Int -> CreateEnvironmentEC2Response
-- | The ID of the environment that was created.
[$sel:environmentId:CreateEnvironmentEC2Response'] :: CreateEnvironmentEC2Response -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateEnvironmentEC2Response'] :: CreateEnvironmentEC2Response -> Int
-- | Create a value of CreateEnvironmentEC2Response with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateEnvironmentEC2Response,
-- createEnvironmentEC2Response_environmentId - The ID of the
-- environment that was created.
--
-- $sel:httpStatus:CreateEnvironmentEC2Response',
-- createEnvironmentEC2Response_httpStatus - The response's http
-- status code.
newCreateEnvironmentEC2Response :: Int -> CreateEnvironmentEC2Response
-- | The ID of the environment that was created.
createEnvironmentEC2Response_environmentId :: Lens' CreateEnvironmentEC2Response (Maybe Text)
-- | The response's http status code.
createEnvironmentEC2Response_httpStatus :: Lens' CreateEnvironmentEC2Response Int
instance GHC.Generics.Generic Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
instance GHC.Show.Show Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
instance GHC.Classes.Eq Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
instance GHC.Generics.Generic Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2Response
instance GHC.Show.Show Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2Response
instance GHC.Read.Read Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2Response
instance GHC.Classes.Eq Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2Response
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
instance Control.DeepSeq.NFData Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2Response
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
instance Control.DeepSeq.NFData Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.CreateEnvironmentEC2.CreateEnvironmentEC2
-- | Removes tags from an Cloud9 development environment.
module Amazonka.Cloud9.UntagResource
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> Sensitive [Sensitive Text] -> UntagResource
-- | The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to remove tags from.
[$sel:resourceARN:UntagResource'] :: UntagResource -> Text
-- | The tag names of the tags to remove from the given Cloud9 development
-- environment.
[$sel:tagKeys:UntagResource'] :: UntagResource -> Sensitive [Sensitive Text]
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceARN:UntagResource',
-- untagResource_resourceARN - The Amazon Resource Name (ARN) of
-- the Cloud9 development environment to remove tags from.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- tag names of the tags to remove from the given Cloud9 development
-- environment.
newUntagResource :: Text -> UntagResource
-- | The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to remove tags from.
untagResource_resourceARN :: Lens' UntagResource Text
-- | The tag names of the tags to remove from the given Cloud9 development
-- environment.
untagResource_tagKeys :: Lens' UntagResource [Text]
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.UntagResource.UntagResource
instance GHC.Show.Show Amazonka.Cloud9.UntagResource.UntagResource
instance GHC.Classes.Eq Amazonka.Cloud9.UntagResource.UntagResource
instance GHC.Generics.Generic Amazonka.Cloud9.UntagResource.UntagResourceResponse
instance GHC.Show.Show Amazonka.Cloud9.UntagResource.UntagResourceResponse
instance GHC.Read.Read Amazonka.Cloud9.UntagResource.UntagResourceResponse
instance GHC.Classes.Eq Amazonka.Cloud9.UntagResource.UntagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.Cloud9.UntagResource.UntagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.Cloud9.UntagResource.UntagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.UntagResource.UntagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.UntagResource.UntagResource
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.UntagResource.UntagResource
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.UntagResource.UntagResource
-- | Changes the settings of an existing Cloud9 development environment.
module Amazonka.Cloud9.UpdateEnvironment
-- | See: newUpdateEnvironment smart constructor.
data UpdateEnvironment
UpdateEnvironment' :: Maybe (Sensitive Text) -> Maybe ManagedCredentialsAction -> Maybe Text -> Text -> UpdateEnvironment
-- | Any new or replacement description for the environment.
[$sel:description:UpdateEnvironment'] :: UpdateEnvironment -> Maybe (Sensitive Text)
-- | Allows the environment owner to turn on or turn off the Amazon Web
-- Services managed temporary credentials for an Cloud9 environment by
-- using one of the following values:
--
--
--
-- Only the environment owner can change the status of managed temporary
-- credentials. An AccessDeniedException is thrown if an attempt
-- to turn on or turn off managed temporary credentials is made by an
-- account that's not the environment owner.
[$sel:managedCredentialsAction:UpdateEnvironment'] :: UpdateEnvironment -> Maybe ManagedCredentialsAction
-- | A replacement name for the environment.
[$sel:name:UpdateEnvironment'] :: UpdateEnvironment -> Maybe Text
-- | The ID of the environment to change settings.
[$sel:environmentId:UpdateEnvironment'] :: UpdateEnvironment -> Text
-- | Create a value of UpdateEnvironment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateEnvironment, updateEnvironment_description - Any
-- new or replacement description for the environment.
--
-- $sel:managedCredentialsAction:UpdateEnvironment',
-- updateEnvironment_managedCredentialsAction - Allows the
-- environment owner to turn on or turn off the Amazon Web Services
-- managed temporary credentials for an Cloud9 environment by using one
-- of the following values:
--
--
--
-- Only the environment owner can change the status of managed temporary
-- credentials. An AccessDeniedException is thrown if an attempt
-- to turn on or turn off managed temporary credentials is made by an
-- account that's not the environment owner.
--
-- UpdateEnvironment, updateEnvironment_name - A
-- replacement name for the environment.
--
-- UpdateEnvironment, updateEnvironment_environmentId - The
-- ID of the environment to change settings.
newUpdateEnvironment :: Text -> UpdateEnvironment
-- | Any new or replacement description for the environment.
updateEnvironment_description :: Lens' UpdateEnvironment (Maybe Text)
-- | Allows the environment owner to turn on or turn off the Amazon Web
-- Services managed temporary credentials for an Cloud9 environment by
-- using one of the following values:
--
--
--
-- Only the environment owner can change the status of managed temporary
-- credentials. An AccessDeniedException is thrown if an attempt
-- to turn on or turn off managed temporary credentials is made by an
-- account that's not the environment owner.
updateEnvironment_managedCredentialsAction :: Lens' UpdateEnvironment (Maybe ManagedCredentialsAction)
-- | A replacement name for the environment.
updateEnvironment_name :: Lens' UpdateEnvironment (Maybe Text)
-- | The ID of the environment to change settings.
updateEnvironment_environmentId :: Lens' UpdateEnvironment Text
-- | See: newUpdateEnvironmentResponse smart constructor.
data UpdateEnvironmentResponse
UpdateEnvironmentResponse' :: Int -> UpdateEnvironmentResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateEnvironmentResponse'] :: UpdateEnvironmentResponse -> Int
-- | Create a value of UpdateEnvironmentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateEnvironmentResponse',
-- updateEnvironmentResponse_httpStatus - The response's http
-- status code.
newUpdateEnvironmentResponse :: Int -> UpdateEnvironmentResponse
-- | The response's http status code.
updateEnvironmentResponse_httpStatus :: Lens' UpdateEnvironmentResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
instance GHC.Show.Show Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
instance GHC.Classes.Eq Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
instance GHC.Generics.Generic Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance GHC.Show.Show Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance GHC.Read.Read Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance GHC.Classes.Eq Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Control.DeepSeq.NFData Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironmentResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Control.DeepSeq.NFData Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.UpdateEnvironment.UpdateEnvironment
-- | Changes the settings of an existing environment member for an Cloud9
-- development environment.
module Amazonka.Cloud9.UpdateEnvironmentMembership
-- | See: newUpdateEnvironmentMembership smart constructor.
data UpdateEnvironmentMembership
UpdateEnvironmentMembership' :: Text -> Text -> MemberPermissions -> UpdateEnvironmentMembership
-- | The ID of the environment for the environment member whose settings
-- you want to change.
[$sel:environmentId:UpdateEnvironmentMembership'] :: UpdateEnvironmentMembership -> Text
-- | The Amazon Resource Name (ARN) of the environment member whose
-- settings you want to change.
[$sel:userArn:UpdateEnvironmentMembership'] :: 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.
--
[$sel:permissions:UpdateEnvironmentMembership'] :: UpdateEnvironmentMembership -> MemberPermissions
-- | Create a value of UpdateEnvironmentMembership with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateEnvironmentMembership,
-- updateEnvironmentMembership_environmentId - The ID of the
-- environment for the environment member whose settings you want to
-- change.
--
-- UpdateEnvironmentMembership,
-- updateEnvironmentMembership_userArn - The Amazon Resource Name
-- (ARN) of the environment member whose settings you want to change.
--
-- UpdateEnvironmentMembership,
-- updateEnvironmentMembership_permissions - 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.
--
newUpdateEnvironmentMembership :: Text -> Text -> MemberPermissions -> UpdateEnvironmentMembership
-- | The ID of the environment for the environment member whose settings
-- you want to change.
updateEnvironmentMembership_environmentId :: Lens' UpdateEnvironmentMembership Text
-- | The Amazon Resource Name (ARN) of the environment member whose
-- settings you want to change.
updateEnvironmentMembership_userArn :: 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.
--
updateEnvironmentMembership_permissions :: Lens' UpdateEnvironmentMembership MemberPermissions
-- | See: newUpdateEnvironmentMembershipResponse smart
-- constructor.
data UpdateEnvironmentMembershipResponse
UpdateEnvironmentMembershipResponse' :: Maybe EnvironmentMember -> Int -> UpdateEnvironmentMembershipResponse
-- | Information about the environment member whose settings were changed.
[$sel:membership:UpdateEnvironmentMembershipResponse'] :: UpdateEnvironmentMembershipResponse -> Maybe EnvironmentMember
-- | The response's http status code.
[$sel:httpStatus:UpdateEnvironmentMembershipResponse'] :: UpdateEnvironmentMembershipResponse -> Int
-- | Create a value of UpdateEnvironmentMembershipResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:membership:UpdateEnvironmentMembershipResponse',
-- updateEnvironmentMembershipResponse_membership - Information
-- about the environment member whose settings were changed.
--
-- $sel:httpStatus:UpdateEnvironmentMembershipResponse',
-- updateEnvironmentMembershipResponse_httpStatus - The response's
-- http status code.
newUpdateEnvironmentMembershipResponse :: Int -> UpdateEnvironmentMembershipResponse
-- | Information about the environment member whose settings were changed.
updateEnvironmentMembershipResponse_membership :: Lens' UpdateEnvironmentMembershipResponse (Maybe EnvironmentMember)
-- | The response's http status code.
updateEnvironmentMembershipResponse_httpStatus :: Lens' UpdateEnvironmentMembershipResponse Int
instance GHC.Generics.Generic Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance GHC.Show.Show Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance GHC.Read.Read Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance GHC.Classes.Eq Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance GHC.Generics.Generic Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance GHC.Show.Show Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance GHC.Read.Read Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance GHC.Classes.Eq Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance Amazonka.Types.AWSRequest Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Control.DeepSeq.NFData Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembershipResponse
instance Data.Hashable.Class.Hashable Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Control.DeepSeq.NFData Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Amazonka.Data.Headers.ToHeaders Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Amazonka.Data.Path.ToPath Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
instance Amazonka.Data.Query.ToQuery Amazonka.Cloud9.UpdateEnvironmentMembership.UpdateEnvironmentMembership
module Amazonka.Cloud9.Lens
-- | The number of minutes until the running instance is shut down after
-- the environment has last been used.
createEnvironmentEC2_automaticStopTimeMinutes :: Lens' CreateEnvironmentEC2 (Maybe Int)
-- | A unique, case-sensitive string that helps Cloud9 to ensure this
-- operation completes no more than one time.
--
-- For more information, see Client Tokens in the Amazon EC2
-- API Reference.
createEnvironmentEC2_clientRequestToken :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | The connection type used for connecting to an Amazon EC2 environment.
-- Valid values are CONNECT_SSH (default) and
-- CONNECT_SSM (connected through Amazon EC2 Systems Manager).
--
-- For more information, see Accessing no-ingress EC2 instances with
-- Amazon EC2 Systems Manager in the Cloud9 User Guide.
createEnvironmentEC2_connectionType :: Lens' CreateEnvironmentEC2 (Maybe ConnectionType)
-- | The description of the environment to create.
createEnvironmentEC2_description :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | Checks whether you have the required permissions for the action,
-- without actually making the request, and provides an error response.
-- If you have the required permissions, the error response is
-- DryRunOperation. Otherwise, it is
-- UnauthorizedOperation.
createEnvironmentEC2_dryRun :: Lens' CreateEnvironmentEC2 (Maybe Bool)
-- | The identifier for the Amazon Machine Image (AMI) that's used to
-- create the EC2 instance. To choose an AMI for the instance, you must
-- specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)
-- path.
--
-- The default Amazon Linux AMI is currently used if the parameter isn't
-- explicitly assigned a value in the request.
--
-- In the future the parameter for Amazon Linux will no longer be
-- available when you specify an AMI for your instance. Amazon Linux 2
-- will then become the default AMI, which is used to launch your
-- instance if no parameter is explicitly defined.
--
-- AMI aliases
--
--
-- - Amazon Linux (default): amazonlinux-1-x86_64
-- - Amazon Linux 2: amazonlinux-2-x86_64
-- - Ubuntu 18.04: ubuntu-18.04-x86_64
--
--
-- SSM paths
--
--
-- - __Amazon Linux (default):
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64__
-- - Amazon Linux 2:
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
-- - Ubuntu 18.04:
-- resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
--
createEnvironmentEC2_imageId :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | The Amazon Resource Name (ARN) of the environment owner. This ARN can
-- be the ARN of any IAM principal. If this value is not specified, the
-- ARN defaults to this environment's creator.
createEnvironmentEC2_ownerArn :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | The ID of the subnet in Amazon VPC that Cloud9 will use to communicate
-- with the Amazon EC2 instance.
createEnvironmentEC2_subnetId :: Lens' CreateEnvironmentEC2 (Maybe Text)
-- | An array of key-value pairs that will be associated with the new
-- Cloud9 development environment.
createEnvironmentEC2_tags :: Lens' CreateEnvironmentEC2 (Maybe [Tag])
-- | The name of the environment to create.
--
-- This name is visible to other IAM users in the same Amazon Web
-- Services account.
createEnvironmentEC2_name :: Lens' CreateEnvironmentEC2 Text
-- | The type of instance to connect to the environment (for example,
-- t2.micro).
createEnvironmentEC2_instanceType :: Lens' CreateEnvironmentEC2 Text
-- | The ID of the environment that was created.
createEnvironmentEC2Response_environmentId :: Lens' CreateEnvironmentEC2Response (Maybe Text)
-- | The response's http status code.
createEnvironmentEC2Response_httpStatus :: Lens' CreateEnvironmentEC2Response Int
-- | The ID of the environment that contains the environment member you
-- want to add.
createEnvironmentMembership_environmentId :: Lens' CreateEnvironmentMembership Text
-- | The Amazon Resource Name (ARN) of the environment member you want to
-- add.
createEnvironmentMembership_userArn :: 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.
--
createEnvironmentMembership_permissions :: Lens' CreateEnvironmentMembership MemberPermissions
-- | The response's http status code.
createEnvironmentMembershipResponse_httpStatus :: Lens' CreateEnvironmentMembershipResponse Int
-- | Information about the environment member that was added.
createEnvironmentMembershipResponse_membership :: Lens' CreateEnvironmentMembershipResponse EnvironmentMember
-- | The ID of the environment to delete.
deleteEnvironment_environmentId :: Lens' DeleteEnvironment Text
-- | The response's http status code.
deleteEnvironmentResponse_httpStatus :: Lens' DeleteEnvironmentResponse Int
-- | The ID of the environment to delete the environment member from.
deleteEnvironmentMembership_environmentId :: Lens' DeleteEnvironmentMembership Text
-- | The Amazon Resource Name (ARN) of the environment member to delete
-- from the environment.
deleteEnvironmentMembership_userArn :: Lens' DeleteEnvironmentMembership Text
-- | The response's http status code.
deleteEnvironmentMembershipResponse_httpStatus :: Lens' DeleteEnvironmentMembershipResponse Int
-- | The ID of the environment to get environment member information about.
describeEnvironmentMemberships_environmentId :: Lens' DescribeEnvironmentMemberships (Maybe Text)
-- | The maximum number of environment members to get information about.
describeEnvironmentMemberships_maxResults :: Lens' DescribeEnvironmentMemberships (Maybe Natural)
-- | 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.
describeEnvironmentMemberships_nextToken :: 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.
describeEnvironmentMemberships_permissions :: Lens' DescribeEnvironmentMemberships (Maybe [Permissions])
-- | 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.
describeEnvironmentMemberships_userArn :: Lens' DescribeEnvironmentMemberships (Maybe Text)
-- | Information about the environment members for the environment.
describeEnvironmentMembershipsResponse_memberships :: Lens' DescribeEnvironmentMembershipsResponse (Maybe [EnvironmentMember])
-- | 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.
describeEnvironmentMembershipsResponse_nextToken :: Lens' DescribeEnvironmentMembershipsResponse (Maybe Text)
-- | The response's http status code.
describeEnvironmentMembershipsResponse_httpStatus :: Lens' DescribeEnvironmentMembershipsResponse Int
-- | The ID of the environment to get status information about.
describeEnvironmentStatus_environmentId :: Lens' DescribeEnvironmentStatus Text
-- | The response's http status code.
describeEnvironmentStatusResponse_httpStatus :: Lens' DescribeEnvironmentStatusResponse Int
-- | 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.
--
describeEnvironmentStatusResponse_status :: Lens' DescribeEnvironmentStatusResponse EnvironmentStatus
-- | Any informational message about the status of the environment.
describeEnvironmentStatusResponse_message :: Lens' DescribeEnvironmentStatusResponse Text
-- | The IDs of individual environments to get information about.
describeEnvironments_environmentIds :: Lens' DescribeEnvironments (NonEmpty Text)
-- | Information about the environments that are returned.
describeEnvironmentsResponse_environments :: Lens' DescribeEnvironmentsResponse (Maybe [Environment])
-- | The response's http status code.
describeEnvironmentsResponse_httpStatus :: Lens' DescribeEnvironmentsResponse Int
-- | The maximum number of environments to get identifiers for.
listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural)
-- | 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.
listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text)
-- | The list of environment identifiers.
listEnvironmentsResponse_environmentIds :: Lens' ListEnvironmentsResponse (Maybe [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.
listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text)
-- | The response's http status code.
listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int
-- | The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to get the tags for.
listTagsForResource_resourceARN :: Lens' ListTagsForResource Text
-- | The list of tags associated with the Cloud9 development environment.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
-- | The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to add tags to.
tagResource_resourceARN :: Lens' TagResource Text
-- | The list of tags to add to the given Cloud9 development environment.
tagResource_tags :: Lens' TagResource [Tag]
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
-- | The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to remove tags from.
untagResource_resourceARN :: Lens' UntagResource Text
-- | The tag names of the tags to remove from the given Cloud9 development
-- environment.
untagResource_tagKeys :: Lens' UntagResource [Text]
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
-- | Any new or replacement description for the environment.
updateEnvironment_description :: Lens' UpdateEnvironment (Maybe Text)
-- | Allows the environment owner to turn on or turn off the Amazon Web
-- Services managed temporary credentials for an Cloud9 environment by
-- using one of the following values:
--
--
--
-- Only the environment owner can change the status of managed temporary
-- credentials. An AccessDeniedException is thrown if an attempt
-- to turn on or turn off managed temporary credentials is made by an
-- account that's not the environment owner.
updateEnvironment_managedCredentialsAction :: Lens' UpdateEnvironment (Maybe ManagedCredentialsAction)
-- | A replacement name for the environment.
updateEnvironment_name :: Lens' UpdateEnvironment (Maybe Text)
-- | The ID of the environment to change settings.
updateEnvironment_environmentId :: Lens' UpdateEnvironment Text
-- | The response's http status code.
updateEnvironmentResponse_httpStatus :: Lens' UpdateEnvironmentResponse Int
-- | The ID of the environment for the environment member whose settings
-- you want to change.
updateEnvironmentMembership_environmentId :: Lens' UpdateEnvironmentMembership Text
-- | The Amazon Resource Name (ARN) of the environment member whose
-- settings you want to change.
updateEnvironmentMembership_userArn :: 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.
--
updateEnvironmentMembership_permissions :: Lens' UpdateEnvironmentMembership MemberPermissions
-- | Information about the environment member whose settings were changed.
updateEnvironmentMembershipResponse_membership :: Lens' UpdateEnvironmentMembershipResponse (Maybe EnvironmentMember)
-- | The response's http status code.
updateEnvironmentMembershipResponse_httpStatus :: Lens' UpdateEnvironmentMembershipResponse Int
-- | The connection type used for connecting to an Amazon EC2 environment.
-- CONNECT_SSH is selected by default.
environment_connectionType :: Lens' Environment (Maybe ConnectionType)
-- | The description for the environment.
environment_description :: Lens' Environment (Maybe Text)
-- | The ID of the environment.
environment_id :: Lens' Environment (Maybe Text)
-- | The state of the environment in its creation or deletion lifecycle.
environment_lifecycle :: Lens' Environment (Maybe EnvironmentLifecycle)
-- | Describes the status of Amazon Web Services managed temporary
-- credentials for the Cloud9 environment. Available values are:
--
--
environment_managedCredentialsStatus :: Lens' Environment (Maybe ManagedCredentialsStatus)
-- | The name of the environment.
environment_name :: 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.
--
environment_type :: Lens' Environment EnvironmentType
-- | The Amazon Resource Name (ARN) of the environment.
environment_arn :: Lens' Environment Text
-- | The Amazon Resource Name (ARN) of the environment owner.
environment_ownerArn :: Lens' Environment Text
-- | If the environment failed to delete, the Amazon Resource Name (ARN) of
-- the related Amazon Web Services resource.
environmentLifecycle_failureResource :: Lens' EnvironmentLifecycle (Maybe Text)
-- | Any informational message about the lifecycle state of the
-- environment.
environmentLifecycle_reason :: Lens' EnvironmentLifecycle (Maybe Text)
-- | The current creation or deletion lifecycle state of the environment.
--
--
-- - CREATING: The environment is in the process of being
-- created.
-- - CREATED: The environment was successfully created.
-- - CREATE_FAILED: The environment failed to be created.
-- - DELETING: The environment is in the process of being
-- deleted.
-- - DELETE_FAILED: The environment failed to delete.
--
environmentLifecycle_status :: Lens' EnvironmentLifecycle (Maybe EnvironmentLifecycleStatus)
-- | The time, expressed in epoch time format, when the environment member
-- last opened the environment.
environmentMember_lastAccess :: Lens' EnvironmentMember (Maybe UTCTime)
-- | 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.
--
environmentMember_permissions :: Lens' EnvironmentMember Permissions
-- | The user ID in Identity and Access Management (IAM) of the environment
-- member.
environmentMember_userId :: Lens' EnvironmentMember Text
-- | The Amazon Resource Name (ARN) of the environment member.
environmentMember_userArn :: Lens' EnvironmentMember Text
-- | The ID of the environment for the environment member.
environmentMember_environmentId :: Lens' EnvironmentMember Text
-- | The name part of a tag.
tag_key :: Lens' Tag Text
-- | The value part of a tag.
tag_value :: Lens' Tag Text
module Amazonka.Cloud9.Waiters
-- | Derived from API version 2017-09-23 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- Cloud9
--
-- Cloud9 is a collection of tools that you can use to code, build, run,
-- test, debug, and release software in the cloud.
--
-- For more information about Cloud9, see the Cloud9 User Guide.
--
-- Cloud9 supports these operations:
--
--
-- - CreateEnvironmentEC2: Creates an Cloud9 development
-- environment, launches an Amazon EC2 instance, and then connects from
-- the instance to the environment.
-- - CreateEnvironmentMembership: Adds an environment member
-- to an environment.
-- - DeleteEnvironment: Deletes an environment. If an Amazon
-- EC2 instance is connected to the environment, also terminates the
-- instance.
-- - DeleteEnvironmentMembership: Deletes an environment
-- member from an environment.
-- - DescribeEnvironmentMemberships: Gets information about
-- environment members for an environment.
-- - DescribeEnvironments: Gets information about
-- environments.
-- - DescribeEnvironmentStatus: Gets status information for an
-- environment.
-- - ListEnvironments: Gets a list of environment
-- identifiers.
-- - ListTagsForResource: Gets the tags for an
-- environment.
-- - TagResource: Adds tags to an environment.
-- - UntagResource: Removes tags from an environment.
-- - UpdateEnvironment: Changes the settings of an existing
-- environment.
-- - UpdateEnvironmentMembership: Changes the settings of an
-- existing environment member for an environment.
--
module Amazonka.Cloud9
-- | API version 2017-09-23 of the Amazon Cloud9 SDK
-- configuration.
defaultService :: Service
-- | The target request is invalid.
_BadRequestException :: AsError a => Fold a ServiceError
-- | A concurrent access issue occurred.
_ConcurrentAccessException :: AsError a => Fold a ServiceError
-- | A conflict occurred.
_ConflictException :: AsError a => Fold a ServiceError
-- | An access permissions issue occurred.
_ForbiddenException :: AsError a => Fold a ServiceError
-- | An internal server error occurred.
_InternalServerErrorException :: AsError a => Fold a ServiceError
-- | A service limit was exceeded.
_LimitExceededException :: AsError a => Fold a ServiceError
-- | The target resource cannot be found.
_NotFoundException :: AsError a => Fold a ServiceError
-- | Too many service requests were made over the given time period.
_TooManyRequestsException :: AsError a => Fold a ServiceError
-- | See: newCreateEnvironmentEC2 smart constructor.
data CreateEnvironmentEC2
CreateEnvironmentEC2' :: Maybe Int -> Maybe Text -> Maybe ConnectionType -> Maybe (Sensitive Text) -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (Sensitive [Sensitive Tag]) -> Text -> Text -> CreateEnvironmentEC2
-- | Create a value of CreateEnvironmentEC2 with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:automaticStopTimeMinutes:CreateEnvironmentEC2',
-- createEnvironmentEC2_automaticStopTimeMinutes - The number of
-- minutes until the running instance is shut down after the environment
-- has last been used.
--
-- $sel:clientRequestToken:CreateEnvironmentEC2',
-- createEnvironmentEC2_clientRequestToken - A unique,
-- case-sensitive string that helps Cloud9 to ensure this operation
-- completes no more than one time.
--
-- For more information, see Client Tokens in the Amazon EC2
-- API Reference.
--
-- CreateEnvironmentEC2,
-- createEnvironmentEC2_connectionType - The connection type used
-- for connecting to an Amazon EC2 environment. Valid values are
-- CONNECT_SSH (default) and CONNECT_SSM (connected
-- through Amazon EC2 Systems Manager).
--
-- For more information, see Accessing no-ingress EC2 instances with
-- Amazon EC2 Systems Manager in the Cloud9 User Guide.
--
-- CreateEnvironmentEC2, createEnvironmentEC2_description -
-- The description of the environment to create.
--
-- $sel:dryRun:CreateEnvironmentEC2',
-- createEnvironmentEC2_dryRun - Checks whether you have the
-- required permissions for the action, without actually making the
-- request, and provides an error response. If you have the required
-- permissions, the error response is DryRunOperation.
-- Otherwise, it is UnauthorizedOperation.
--
-- $sel:imageId:CreateEnvironmentEC2',
-- createEnvironmentEC2_imageId - The identifier for the Amazon
-- Machine Image (AMI) that's used to create the EC2 instance. To choose
-- an AMI for the instance, you must specify a valid AMI alias or a valid
-- Amazon EC2 Systems Manager (SSM) path.
--
-- The default Amazon Linux AMI is currently used if the parameter isn't
-- explicitly assigned a value in the request.
--
-- In the future the parameter for Amazon Linux will no longer be
-- available when you specify an AMI for your instance. Amazon Linux 2
-- will then become the default AMI, which is used to launch your
-- instance if no parameter is explicitly defined.
--
-- AMI aliases
--
--
-- - Amazon Linux (default): amazonlinux-1-x86_64
-- - Amazon Linux 2: amazonlinux-2-x86_64
-- - Ubuntu 18.04: ubuntu-18.04-x86_64
--
--
-- SSM paths
--
--
-- - __Amazon Linux (default):
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64__
-- - Amazon Linux 2:
-- resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
-- - Ubuntu 18.04:
-- resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
--
--
-- CreateEnvironmentEC2, createEnvironmentEC2_ownerArn -
-- The Amazon Resource Name (ARN) of the environment owner. This ARN can
-- be the ARN of any IAM principal. If this value is not specified, the
-- ARN defaults to this environment's creator.
--
-- $sel:subnetId:CreateEnvironmentEC2',
-- createEnvironmentEC2_subnetId - The ID of the subnet in Amazon
-- VPC that Cloud9 will use to communicate with the Amazon EC2 instance.
--
-- $sel:tags:CreateEnvironmentEC2',
-- createEnvironmentEC2_tags - An array of key-value pairs that
-- will be associated with the new Cloud9 development environment.
--
-- CreateEnvironmentEC2, createEnvironmentEC2_name - The
-- name of the environment to create.
--
-- This name is visible to other IAM users in the same Amazon Web
-- Services account.
--
-- $sel:instanceType:CreateEnvironmentEC2',
-- createEnvironmentEC2_instanceType - The type of instance to
-- connect to the environment (for example, t2.micro).
newCreateEnvironmentEC2 :: Text -> Text -> CreateEnvironmentEC2
-- | See: newCreateEnvironmentEC2Response smart constructor.
data CreateEnvironmentEC2Response
CreateEnvironmentEC2Response' :: Maybe Text -> Int -> CreateEnvironmentEC2Response
-- | Create a value of CreateEnvironmentEC2Response with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateEnvironmentEC2Response,
-- createEnvironmentEC2Response_environmentId - The ID of the
-- environment that was created.
--
-- $sel:httpStatus:CreateEnvironmentEC2Response',
-- createEnvironmentEC2Response_httpStatus - The response's http
-- status code.
newCreateEnvironmentEC2Response :: Int -> CreateEnvironmentEC2Response
-- | See: newCreateEnvironmentMembership smart constructor.
data CreateEnvironmentMembership
CreateEnvironmentMembership' :: Text -> Text -> MemberPermissions -> CreateEnvironmentMembership
-- | Create a value of CreateEnvironmentMembership with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateEnvironmentMembership,
-- createEnvironmentMembership_environmentId - The ID of the
-- environment that contains the environment member you want to add.
--
-- CreateEnvironmentMembership,
-- createEnvironmentMembership_userArn - The Amazon Resource Name
-- (ARN) of the environment member you want to add.
--
-- CreateEnvironmentMembership,
-- createEnvironmentMembership_permissions - 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.
--
newCreateEnvironmentMembership :: Text -> Text -> MemberPermissions -> CreateEnvironmentMembership
-- | See: newCreateEnvironmentMembershipResponse smart
-- constructor.
data CreateEnvironmentMembershipResponse
CreateEnvironmentMembershipResponse' :: Int -> EnvironmentMember -> CreateEnvironmentMembershipResponse
-- | Create a value of CreateEnvironmentMembershipResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:CreateEnvironmentMembershipResponse',
-- createEnvironmentMembershipResponse_httpStatus - The response's
-- http status code.
--
-- $sel:membership:CreateEnvironmentMembershipResponse',
-- createEnvironmentMembershipResponse_membership - Information
-- about the environment member that was added.
newCreateEnvironmentMembershipResponse :: Int -> EnvironmentMember -> CreateEnvironmentMembershipResponse
-- | See: newDeleteEnvironment smart constructor.
data DeleteEnvironment
DeleteEnvironment' :: Text -> DeleteEnvironment
-- | Create a value of DeleteEnvironment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteEnvironment, deleteEnvironment_environmentId - The
-- ID of the environment to delete.
newDeleteEnvironment :: Text -> DeleteEnvironment
-- | See: newDeleteEnvironmentResponse smart constructor.
data DeleteEnvironmentResponse
DeleteEnvironmentResponse' :: Int -> DeleteEnvironmentResponse
-- | Create a value of DeleteEnvironmentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteEnvironmentResponse',
-- deleteEnvironmentResponse_httpStatus - The response's http
-- status code.
newDeleteEnvironmentResponse :: Int -> DeleteEnvironmentResponse
-- | See: newDeleteEnvironmentMembership smart constructor.
data DeleteEnvironmentMembership
DeleteEnvironmentMembership' :: Text -> Text -> DeleteEnvironmentMembership
-- | Create a value of DeleteEnvironmentMembership with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteEnvironmentMembership,
-- deleteEnvironmentMembership_environmentId - The ID of the
-- environment to delete the environment member from.
--
-- DeleteEnvironmentMembership,
-- deleteEnvironmentMembership_userArn - The Amazon Resource Name
-- (ARN) of the environment member to delete from the environment.
newDeleteEnvironmentMembership :: Text -> Text -> DeleteEnvironmentMembership
-- | See: newDeleteEnvironmentMembershipResponse smart
-- constructor.
data DeleteEnvironmentMembershipResponse
DeleteEnvironmentMembershipResponse' :: Int -> DeleteEnvironmentMembershipResponse
-- | Create a value of DeleteEnvironmentMembershipResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteEnvironmentMembershipResponse',
-- deleteEnvironmentMembershipResponse_httpStatus - The response's
-- http status code.
newDeleteEnvironmentMembershipResponse :: Int -> DeleteEnvironmentMembershipResponse
-- | See: newDescribeEnvironmentMemberships smart
-- constructor.
data DescribeEnvironmentMemberships
DescribeEnvironmentMemberships' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe [Permissions] -> Maybe Text -> DescribeEnvironmentMemberships
-- | Create a value of DescribeEnvironmentMemberships with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMemberships_environmentId - The ID of the
-- environment to get environment member information about.
--
-- $sel:maxResults:DescribeEnvironmentMemberships',
-- describeEnvironmentMemberships_maxResults - The maximum number
-- of environment members to get information about.
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMemberships_nextToken - 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.
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMemberships_permissions - 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.
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMemberships_userArn - 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.
newDescribeEnvironmentMemberships :: DescribeEnvironmentMemberships
-- | See: newDescribeEnvironmentMembershipsResponse smart
-- constructor.
data DescribeEnvironmentMembershipsResponse
DescribeEnvironmentMembershipsResponse' :: Maybe [EnvironmentMember] -> Maybe Text -> Int -> DescribeEnvironmentMembershipsResponse
-- | Create a value of DescribeEnvironmentMembershipsResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:memberships:DescribeEnvironmentMembershipsResponse',
-- describeEnvironmentMembershipsResponse_memberships -
-- Information about the environment members for the environment.
--
-- DescribeEnvironmentMemberships,
-- describeEnvironmentMembershipsResponse_nextToken - 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.
--
-- $sel:httpStatus:DescribeEnvironmentMembershipsResponse',
-- describeEnvironmentMembershipsResponse_httpStatus - The
-- response's http status code.
newDescribeEnvironmentMembershipsResponse :: Int -> DescribeEnvironmentMembershipsResponse
-- | See: newDescribeEnvironmentStatus smart constructor.
data DescribeEnvironmentStatus
DescribeEnvironmentStatus' :: Text -> DescribeEnvironmentStatus
-- | Create a value of DescribeEnvironmentStatus with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeEnvironmentStatus,
-- describeEnvironmentStatus_environmentId - The ID of the
-- environment to get status information about.
newDescribeEnvironmentStatus :: Text -> DescribeEnvironmentStatus
-- | See: newDescribeEnvironmentStatusResponse smart
-- constructor.
data DescribeEnvironmentStatusResponse
DescribeEnvironmentStatusResponse' :: Int -> EnvironmentStatus -> Text -> DescribeEnvironmentStatusResponse
-- | Create a value of DescribeEnvironmentStatusResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeEnvironmentStatusResponse',
-- describeEnvironmentStatusResponse_httpStatus - The response's
-- http status code.
--
-- DescribeEnvironmentStatusResponse,
-- describeEnvironmentStatusResponse_status - 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.
--
--
-- $sel:message:DescribeEnvironmentStatusResponse',
-- describeEnvironmentStatusResponse_message - Any informational
-- message about the status of the environment.
newDescribeEnvironmentStatusResponse :: Int -> EnvironmentStatus -> Text -> DescribeEnvironmentStatusResponse
-- | See: newDescribeEnvironments smart constructor.
data DescribeEnvironments
DescribeEnvironments' :: NonEmpty Text -> DescribeEnvironments
-- | Create a value of DescribeEnvironments with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:environmentIds:DescribeEnvironments',
-- describeEnvironments_environmentIds - The IDs of individual
-- environments to get information about.
newDescribeEnvironments :: NonEmpty Text -> DescribeEnvironments
-- | See: newDescribeEnvironmentsResponse smart constructor.
data DescribeEnvironmentsResponse
DescribeEnvironmentsResponse' :: Maybe [Environment] -> Int -> DescribeEnvironmentsResponse
-- | Create a value of DescribeEnvironmentsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:environments:DescribeEnvironmentsResponse',
-- describeEnvironmentsResponse_environments - Information about
-- the environments that are returned.
--
-- $sel:httpStatus:DescribeEnvironmentsResponse',
-- describeEnvironmentsResponse_httpStatus - The response's http
-- status code.
newDescribeEnvironmentsResponse :: Int -> DescribeEnvironmentsResponse
-- | See: newListEnvironments smart constructor.
data ListEnvironments
ListEnvironments' :: Maybe Natural -> Maybe Text -> ListEnvironments
-- | Create a value of ListEnvironments with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListEnvironments',
-- listEnvironments_maxResults - The maximum number of
-- environments to get identifiers for.
--
-- ListEnvironments, listEnvironments_nextToken - 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.
newListEnvironments :: ListEnvironments
-- | See: newListEnvironmentsResponse smart constructor.
data ListEnvironmentsResponse
ListEnvironmentsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListEnvironmentsResponse
-- | Create a value of ListEnvironmentsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:environmentIds:ListEnvironmentsResponse',
-- listEnvironmentsResponse_environmentIds - The list of
-- environment identifiers.
--
-- ListEnvironments, listEnvironmentsResponse_nextToken -
-- 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.
--
-- $sel:httpStatus:ListEnvironmentsResponse',
-- listEnvironmentsResponse_httpStatus - The response's http
-- status code.
newListEnvironmentsResponse :: Int -> ListEnvironmentsResponse
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | Create a value of ListTagsForResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceARN:ListTagsForResource',
-- listTagsForResource_resourceARN - The Amazon Resource Name
-- (ARN) of the Cloud9 development environment to get the tags for.
newListTagsForResource :: Text -> ListTagsForResource
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe (Sensitive [Sensitive Tag]) -> Int -> ListTagsForResourceResponse
-- | Create a value of ListTagsForResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:ListTagsForResourceResponse',
-- listTagsForResourceResponse_tags - The list of tags associated
-- with the Cloud9 development environment.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> Sensitive [Sensitive Tag] -> TagResource
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceARN:TagResource', tagResource_resourceARN -
-- The Amazon Resource Name (ARN) of the Cloud9 development environment
-- to add tags to.
--
-- $sel:tags:TagResource', tagResource_tags - The list of
-- tags to add to the given Cloud9 development environment.
newTagResource :: Text -> TagResource
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> Sensitive [Sensitive Text] -> UntagResource
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceARN:UntagResource',
-- untagResource_resourceARN - The Amazon Resource Name (ARN) of
-- the Cloud9 development environment to remove tags from.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- tag names of the tags to remove from the given Cloud9 development
-- environment.
newUntagResource :: Text -> UntagResource
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | See: newUpdateEnvironment smart constructor.
data UpdateEnvironment
UpdateEnvironment' :: Maybe (Sensitive Text) -> Maybe ManagedCredentialsAction -> Maybe Text -> Text -> UpdateEnvironment
-- | Create a value of UpdateEnvironment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateEnvironment, updateEnvironment_description - Any
-- new or replacement description for the environment.
--
-- $sel:managedCredentialsAction:UpdateEnvironment',
-- updateEnvironment_managedCredentialsAction - Allows the
-- environment owner to turn on or turn off the Amazon Web Services
-- managed temporary credentials for an Cloud9 environment by using one
-- of the following values:
--
--
--
-- Only the environment owner can change the status of managed temporary
-- credentials. An AccessDeniedException is thrown if an attempt
-- to turn on or turn off managed temporary credentials is made by an
-- account that's not the environment owner.
--
-- UpdateEnvironment, updateEnvironment_name - A
-- replacement name for the environment.
--
-- UpdateEnvironment, updateEnvironment_environmentId - The
-- ID of the environment to change settings.
newUpdateEnvironment :: Text -> UpdateEnvironment
-- | See: newUpdateEnvironmentResponse smart constructor.
data UpdateEnvironmentResponse
UpdateEnvironmentResponse' :: Int -> UpdateEnvironmentResponse
-- | Create a value of UpdateEnvironmentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateEnvironmentResponse',
-- updateEnvironmentResponse_httpStatus - The response's http
-- status code.
newUpdateEnvironmentResponse :: Int -> UpdateEnvironmentResponse
-- | See: newUpdateEnvironmentMembership smart constructor.
data UpdateEnvironmentMembership
UpdateEnvironmentMembership' :: Text -> Text -> MemberPermissions -> UpdateEnvironmentMembership
-- | Create a value of UpdateEnvironmentMembership with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateEnvironmentMembership,
-- updateEnvironmentMembership_environmentId - The ID of the
-- environment for the environment member whose settings you want to
-- change.
--
-- UpdateEnvironmentMembership,
-- updateEnvironmentMembership_userArn - The Amazon Resource Name
-- (ARN) of the environment member whose settings you want to change.
--
-- UpdateEnvironmentMembership,
-- updateEnvironmentMembership_permissions - 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.
--
newUpdateEnvironmentMembership :: Text -> Text -> MemberPermissions -> UpdateEnvironmentMembership
-- | See: newUpdateEnvironmentMembershipResponse smart
-- constructor.
data UpdateEnvironmentMembershipResponse
UpdateEnvironmentMembershipResponse' :: Maybe EnvironmentMember -> Int -> UpdateEnvironmentMembershipResponse
-- | Create a value of UpdateEnvironmentMembershipResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:membership:UpdateEnvironmentMembershipResponse',
-- updateEnvironmentMembershipResponse_membership - Information
-- about the environment member whose settings were changed.
--
-- $sel:httpStatus:UpdateEnvironmentMembershipResponse',
-- updateEnvironmentMembershipResponse_httpStatus - The response's
-- http status code.
newUpdateEnvironmentMembershipResponse :: Int -> UpdateEnvironmentMembershipResponse
newtype ConnectionType
ConnectionType' :: Text -> ConnectionType
[fromConnectionType] :: ConnectionType -> Text
pattern ConnectionType_CONNECT_SSH :: ConnectionType
pattern ConnectionType_CONNECT_SSM :: ConnectionType
newtype EnvironmentLifecycleStatus
EnvironmentLifecycleStatus' :: Text -> EnvironmentLifecycleStatus
[fromEnvironmentLifecycleStatus] :: EnvironmentLifecycleStatus -> Text
pattern EnvironmentLifecycleStatus_CREATED :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_CREATE_FAILED :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_CREATING :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_DELETE_FAILED :: EnvironmentLifecycleStatus
pattern EnvironmentLifecycleStatus_DELETING :: EnvironmentLifecycleStatus
newtype EnvironmentStatus
EnvironmentStatus' :: Text -> EnvironmentStatus
[fromEnvironmentStatus] :: EnvironmentStatus -> Text
pattern EnvironmentStatus_Connecting :: EnvironmentStatus
pattern EnvironmentStatus_Creating :: EnvironmentStatus
pattern EnvironmentStatus_Deleting :: EnvironmentStatus
pattern EnvironmentStatus_Error :: EnvironmentStatus
pattern EnvironmentStatus_Ready :: EnvironmentStatus
pattern EnvironmentStatus_Stopped :: EnvironmentStatus
pattern EnvironmentStatus_Stopping :: EnvironmentStatus
newtype EnvironmentType
EnvironmentType' :: Text -> EnvironmentType
[fromEnvironmentType] :: EnvironmentType -> Text
pattern EnvironmentType_Ec2 :: EnvironmentType
pattern EnvironmentType_Ssh :: EnvironmentType
newtype ManagedCredentialsAction
ManagedCredentialsAction' :: Text -> ManagedCredentialsAction
[fromManagedCredentialsAction] :: ManagedCredentialsAction -> Text
pattern ManagedCredentialsAction_DISABLE :: ManagedCredentialsAction
pattern ManagedCredentialsAction_ENABLE :: ManagedCredentialsAction
newtype ManagedCredentialsStatus
ManagedCredentialsStatus' :: Text -> ManagedCredentialsStatus
[fromManagedCredentialsStatus] :: ManagedCredentialsStatus -> Text
pattern ManagedCredentialsStatus_DISABLED_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_DISABLED_BY_DEFAULT :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_DISABLED_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_ENABLED_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_ENABLED_ON_CREATE :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_FAILED_REMOVAL_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_FAILED_REMOVAL_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_REMOVAL_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_REMOVAL_BY_OWNER :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_START_REMOVAL_BY_COLLABORATOR :: ManagedCredentialsStatus
pattern ManagedCredentialsStatus_PENDING_START_REMOVAL_BY_OWNER :: ManagedCredentialsStatus
newtype MemberPermissions
MemberPermissions' :: Text -> MemberPermissions
[fromMemberPermissions] :: MemberPermissions -> Text
pattern MemberPermissions_Read_only :: MemberPermissions
pattern MemberPermissions_Read_write :: MemberPermissions
newtype Permissions
Permissions' :: Text -> Permissions
[fromPermissions] :: Permissions -> Text
pattern Permissions_Owner :: Permissions
pattern Permissions_Read_only :: Permissions
pattern Permissions_Read_write :: Permissions
-- | Information about an Cloud9 development environment.
--
-- See: newEnvironment smart constructor.
data Environment
Environment' :: Maybe ConnectionType -> Maybe (Sensitive Text) -> Maybe Text -> Maybe EnvironmentLifecycle -> Maybe ManagedCredentialsStatus -> Maybe Text -> EnvironmentType -> Text -> Text -> Environment
-- | Create a value of Environment with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:connectionType:Environment',
-- environment_connectionType - The connection type used for
-- connecting to an Amazon EC2 environment. CONNECT_SSH is
-- selected by default.
--
-- $sel:description:Environment', environment_description -
-- The description for the environment.
--
-- $sel:id:Environment', environment_id - The ID of the
-- environment.
--
-- $sel:lifecycle:Environment', environment_lifecycle - The
-- state of the environment in its creation or deletion lifecycle.
--
-- $sel:managedCredentialsStatus:Environment',
-- environment_managedCredentialsStatus - Describes the status of
-- Amazon Web Services managed temporary credentials for the Cloud9
-- environment. Available values are:
--
--
--
-- $sel:name:Environment', environment_name - The name of
-- the environment.
--
-- $sel:type':Environment', environment_type - 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.
--
--
-- $sel:arn:Environment', environment_arn - The Amazon
-- Resource Name (ARN) of the environment.
--
-- $sel:ownerArn:Environment', environment_ownerArn - The
-- Amazon Resource Name (ARN) of the environment owner.
newEnvironment :: EnvironmentType -> Text -> Text -> Environment
-- | Information about the current creation or deletion lifecycle state of
-- an Cloud9 development environment.
--
-- See: newEnvironmentLifecycle smart constructor.
data EnvironmentLifecycle
EnvironmentLifecycle' :: Maybe Text -> Maybe Text -> Maybe EnvironmentLifecycleStatus -> EnvironmentLifecycle
-- | Create a value of EnvironmentLifecycle with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:failureResource:EnvironmentLifecycle',
-- environmentLifecycle_failureResource - If the environment
-- failed to delete, the Amazon Resource Name (ARN) of the related Amazon
-- Web Services resource.
--
-- $sel:reason:EnvironmentLifecycle',
-- environmentLifecycle_reason - Any informational message about
-- the lifecycle state of the environment.
--
-- $sel:status:EnvironmentLifecycle',
-- environmentLifecycle_status - The current creation or deletion
-- lifecycle state of the environment.
--
--
-- - CREATING: The environment is in the process of being
-- created.
-- - CREATED: The environment was successfully created.
-- - CREATE_FAILED: The environment failed to be created.
-- - DELETING: The environment is in the process of being
-- deleted.
-- - DELETE_FAILED: The environment failed to delete.
--
newEnvironmentLifecycle :: EnvironmentLifecycle
-- | Information about an environment member for an Cloud9 development
-- environment.
--
-- See: newEnvironmentMember smart constructor.
data EnvironmentMember
EnvironmentMember' :: Maybe POSIX -> Permissions -> Text -> Text -> Text -> EnvironmentMember
-- | Create a value of EnvironmentMember with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:lastAccess:EnvironmentMember',
-- environmentMember_lastAccess - The time, expressed in epoch
-- time format, when the environment member last opened the environment.
--
-- $sel:permissions:EnvironmentMember',
-- environmentMember_permissions - 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.
--
--
-- $sel:userId:EnvironmentMember', environmentMember_userId
-- - The user ID in Identity and Access Management (IAM) of the
-- environment member.
--
-- $sel:userArn:EnvironmentMember',
-- environmentMember_userArn - The Amazon Resource Name (ARN) of
-- the environment member.
--
-- $sel:environmentId:EnvironmentMember',
-- environmentMember_environmentId - The ID of the environment for
-- the environment member.
newEnvironmentMember :: Permissions -> Text -> Text -> Text -> EnvironmentMember
-- | Metadata that is associated with Amazon Web Services resources. In
-- particular, a name-value pair that can be associated with an Cloud9
-- development environment. There are two types of tags: user tags
-- and system tags. A user tag is created by the user. A system
-- tag is automatically created by Amazon Web Services services. A system
-- tag is prefixed with "aws:" and cannot be modified by the
-- user.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Sensitive Text -> Sensitive Text -> Tag
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:key:Tag', tag_key - The name part of a tag.
--
-- $sel:value:Tag', tag_value - The value part of a
-- tag.
newTag :: Text -> Text -> Tag