amazonka-opsworks-cm-1.6.1: Amazon OpsWorks for Chef Automate SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorksCM

Contents

Description

AWS OpsWorks CM

AWS OpsWorks for configuration management (CM) is a service that runs and manages configuration management servers.

Glossary of terms

  • Server : A configuration management server that can be highly-available. The configuration management server runs on an Amazon Elastic Compute Cloud (EC2) instance, and may use various other AWS services, such as Amazon Relational Database Service (RDS) and Elastic Load Balancing. A server is a generic abstraction over the configuration manager that you want to use, much like Amazon RDS. In AWS OpsWorks CM, you do not start or stop servers. After you create servers, they continue to run until they are deleted.
  • Engine : The engine is the specific configuration manager that you want to use. Valid values in this release include Chef and Puppet .
  • Backup : This is an application-level backup of the data that the configuration manager stores. AWS OpsWorks CM creates an S3 bucket for backups when you launch the first server. A backup maintains a snapshot of a server's configuration-related attributes at the time the backup starts.
  • Events : Events are always related to a server. Events are written during server creation, when health checks run, when backups are created, when system maintenance is performed, etc. When you delete a server, the server's events are also deleted.
  • Account attributes : Every account has attributes that are assigned in the AWS OpsWorks CM database. These attributes store information about configuration limits (servers, backups, etc.) and your customer account.

Endpoints

AWS OpsWorks CM supports the following endpoints, all HTTPS. You must connect to one of the following endpoints. Your servers can only be accessed or managed within the endpoint in which they are created.

  • opsworks-cm.us-east-1.amazonaws.com
  • opsworks-cm.us-west-2.amazonaws.com
  • opsworks-cm.eu-west-1.amazonaws.com

Throttling limits

All API operations allow for five requests per second with a burst of 10 requests per second.

Synopsis

Service Configuration

opsWorksCM :: Service Source #

API version 2016-11-01 of the Amazon OpsWorks for Chef Automate SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by OpsWorksCM.

ValidationException

_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

One or more of the provided request parameters are not valid.

ResourceAlreadyExistsException

_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested resource cannot be created because it already exists.

InvalidNextTokenException

_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This occurs when the provided nextToken is not valid.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested resource does not exist, or access was denied.

InvalidStateException

_InvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource is in a state that does not allow you to perform a specified action.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The limit of servers or backups has been reached.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

NodeAssociated

nodeAssociated :: Wait DescribeNodeAssociationStatus Source #

Polls DescribeNodeAssociationStatus every 15 seconds until a successful state is reached. An error is returned after 15 failed checks.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

AssociateNode

UpdateServer

DeleteServer

DeleteBackup

DescribeEvents

DisassociateNode

CreateBackup

UpdateServerEngineAttributes

StartMaintenance

DescribeBackups

CreateServer

RestoreServer

DescribeNodeAssociationStatus

DescribeAccountAttributes

DescribeServers

Types

BackupStatus

data BackupStatus Source #

Instances
Bounded BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Enum BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Eq BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Data BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BackupStatus -> c BackupStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BackupStatus #

toConstr :: BackupStatus -> Constr #

dataTypeOf :: BackupStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BackupStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BackupStatus) #

gmapT :: (forall b. Data b => b -> b) -> BackupStatus -> BackupStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BackupStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BackupStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> BackupStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BackupStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BackupStatus -> m BackupStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BackupStatus -> m BackupStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BackupStatus -> m BackupStatus #

Ord BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Read BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Show BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Generic BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Associated Types

type Rep BackupStatus :: Type -> Type #

Hashable BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromJSON BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToHeader BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToQuery BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToByteString BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromText BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToText BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

toText :: BackupStatus -> Text #

NFData BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

rnf :: BackupStatus -> () #

type Rep BackupStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

type Rep BackupStatus = D1 (MetaData "BackupStatus" "Network.AWS.OpsWorksCM.Types.Sum" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) ((C1 (MetaCons "BSDeleting" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BSFailed" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "BSInProgress" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BSOK" PrefixI False) (U1 :: Type -> Type)))

BackupType

data BackupType Source #

Constructors

Automated 
Manual 
Instances
Bounded BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Enum BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Eq BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Data BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BackupType -> c BackupType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BackupType #

toConstr :: BackupType -> Constr #

dataTypeOf :: BackupType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BackupType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BackupType) #

gmapT :: (forall b. Data b => b -> b) -> BackupType -> BackupType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BackupType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BackupType -> r #

gmapQ :: (forall d. Data d => d -> u) -> BackupType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BackupType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BackupType -> m BackupType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BackupType -> m BackupType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BackupType -> m BackupType #

Ord BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Read BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Show BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Generic BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Associated Types

type Rep BackupType :: Type -> Type #

Hashable BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromJSON BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToHeader BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToQuery BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToByteString BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromText BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToText BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

toText :: BackupType -> Text #

NFData BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

rnf :: BackupType -> () #

type Rep BackupType Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

type Rep BackupType = D1 (MetaData "BackupType" "Network.AWS.OpsWorksCM.Types.Sum" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) (C1 (MetaCons "Automated" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Manual" PrefixI False) (U1 :: Type -> Type))

MaintenanceStatus

data MaintenanceStatus Source #

Constructors

MSFailed 
MSSuccess 
Instances
Bounded MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Enum MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Eq MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Data MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MaintenanceStatus -> c MaintenanceStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MaintenanceStatus #

toConstr :: MaintenanceStatus -> Constr #

dataTypeOf :: MaintenanceStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MaintenanceStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MaintenanceStatus) #

gmapT :: (forall b. Data b => b -> b) -> MaintenanceStatus -> MaintenanceStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MaintenanceStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MaintenanceStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> MaintenanceStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MaintenanceStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MaintenanceStatus -> m MaintenanceStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MaintenanceStatus -> m MaintenanceStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MaintenanceStatus -> m MaintenanceStatus #

Ord MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Read MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Show MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Generic MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Associated Types

type Rep MaintenanceStatus :: Type -> Type #

Hashable MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromJSON MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToHeader MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToQuery MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToByteString MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromText MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToText MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

NFData MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

rnf :: MaintenanceStatus -> () #

type Rep MaintenanceStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

type Rep MaintenanceStatus = D1 (MetaData "MaintenanceStatus" "Network.AWS.OpsWorksCM.Types.Sum" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) (C1 (MetaCons "MSFailed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MSSuccess" PrefixI False) (U1 :: Type -> Type))

NodeAssociationStatus

data NodeAssociationStatus Source #

The status of the association or disassociation request.

Possible values:

  • SUCCESS : The association or disassociation succeeded.
  • FAILED : The association or disassociation failed.
  • IN_PROGRESS : The association or disassociation is still in progress.
Instances
Bounded NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Enum NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Eq NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Data NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NodeAssociationStatus -> c NodeAssociationStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NodeAssociationStatus #

toConstr :: NodeAssociationStatus -> Constr #

dataTypeOf :: NodeAssociationStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NodeAssociationStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NodeAssociationStatus) #

gmapT :: (forall b. Data b => b -> b) -> NodeAssociationStatus -> NodeAssociationStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NodeAssociationStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NodeAssociationStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> NodeAssociationStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NodeAssociationStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NodeAssociationStatus -> m NodeAssociationStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NodeAssociationStatus -> m NodeAssociationStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NodeAssociationStatus -> m NodeAssociationStatus #

Ord NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Read NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Show NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Generic NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Associated Types

type Rep NodeAssociationStatus :: Type -> Type #

Hashable NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromJSON NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToHeader NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToQuery NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToByteString NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromText NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToText NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

NFData NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

rnf :: NodeAssociationStatus -> () #

type Rep NodeAssociationStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

type Rep NodeAssociationStatus = D1 (MetaData "NodeAssociationStatus" "Network.AWS.OpsWorksCM.Types.Sum" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) (C1 (MetaCons "NASFailed" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NASInProgress" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NASSuccess" PrefixI False) (U1 :: Type -> Type)))

ServerStatus

data ServerStatus Source #

Instances
Bounded ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Enum ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Eq ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Data ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ServerStatus -> c ServerStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ServerStatus #

toConstr :: ServerStatus -> Constr #

dataTypeOf :: ServerStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ServerStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ServerStatus) #

gmapT :: (forall b. Data b => b -> b) -> ServerStatus -> ServerStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ServerStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ServerStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> ServerStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ServerStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ServerStatus -> m ServerStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ServerStatus -> m ServerStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ServerStatus -> m ServerStatus #

Ord ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Read ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Show ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Generic ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Associated Types

type Rep ServerStatus :: Type -> Type #

Hashable ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromJSON ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToHeader ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToQuery ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToByteString ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

FromText ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

ToText ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

toText :: ServerStatus -> Text #

NFData ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

Methods

rnf :: ServerStatus -> () #

type Rep ServerStatus Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Sum

type Rep ServerStatus = D1 (MetaData "ServerStatus" "Network.AWS.OpsWorksCM.Types.Sum" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) (((C1 (MetaCons "BackingUp" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ConnectionLost" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Creating" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Deleting" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Failed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Healthy" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "Modifying" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Restoring" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Running" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Setup" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Terminated" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "UnderMaintenance" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unhealthy" PrefixI False) (U1 :: Type -> Type)))))

AccountAttribute

data AccountAttribute Source #

Stores account attributes.

See: accountAttribute smart constructor.

Instances
Eq AccountAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Data AccountAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AccountAttribute -> c AccountAttribute #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AccountAttribute #

toConstr :: AccountAttribute -> Constr #

dataTypeOf :: AccountAttribute -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AccountAttribute) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AccountAttribute) #

gmapT :: (forall b. Data b => b -> b) -> AccountAttribute -> AccountAttribute #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AccountAttribute -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AccountAttribute -> r #

gmapQ :: (forall d. Data d => d -> u) -> AccountAttribute -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AccountAttribute -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AccountAttribute -> m AccountAttribute #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AccountAttribute -> m AccountAttribute #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AccountAttribute -> m AccountAttribute #

Read AccountAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Show AccountAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Generic AccountAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Associated Types

type Rep AccountAttribute :: Type -> Type #

Hashable AccountAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

FromJSON AccountAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

NFData AccountAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

rnf :: AccountAttribute -> () #

type Rep AccountAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

type Rep AccountAttribute = D1 (MetaData "AccountAttribute" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) (C1 (MetaCons "AccountAttribute'" PrefixI True) (S1 (MetaSel (Just "_aaUsed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_aaMaximum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_aaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

accountAttribute :: AccountAttribute Source #

Creates a value of AccountAttribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • aaUsed - The current usage, such as the current number of servers that are associated with the account.
  • aaMaximum - The maximum allowed value.
  • aaName - The attribute name. The following are supported attribute names. * ServerLimit: The number of current serversmaximum number of servers allowed. By default, you can have a maximum of 10 servers. * ManualBackupLimit: The number of current manual backupsmaximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.

aaUsed :: Lens' AccountAttribute (Maybe Int) Source #

The current usage, such as the current number of servers that are associated with the account.

aaMaximum :: Lens' AccountAttribute (Maybe Int) Source #

The maximum allowed value.

aaName :: Lens' AccountAttribute (Maybe Text) Source #

The attribute name. The following are supported attribute names. * ServerLimit: The number of current serversmaximum number of servers allowed. By default, you can have a maximum of 10 servers. * ManualBackupLimit: The number of current manual backupsmaximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.

Backup

data Backup Source #

Describes a single backup.

See: backup smart constructor.

Instances
Eq Backup Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

(==) :: Backup -> Backup -> Bool #

(/=) :: Backup -> Backup -> Bool #

Data Backup Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Backup -> c Backup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Backup #

toConstr :: Backup -> Constr #

dataTypeOf :: Backup -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Backup) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Backup) #

gmapT :: (forall b. Data b => b -> b) -> Backup -> Backup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Backup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Backup -> r #

gmapQ :: (forall d. Data d => d -> u) -> Backup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Backup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Backup -> m Backup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Backup -> m Backup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Backup -> m Backup #

Read Backup Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Show Backup Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Generic Backup Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Associated Types

type Rep Backup :: Type -> Type #

Methods

from :: Backup -> Rep Backup x #

to :: Rep Backup x -> Backup #

Hashable Backup Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

hashWithSalt :: Int -> Backup -> Int #

hash :: Backup -> Int #

FromJSON Backup Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

NFData Backup Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

rnf :: Backup -> () #

type Rep Backup Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

type Rep Backup = D1 (MetaData "Backup" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) (C1 (MetaCons "Backup'" PrefixI True) ((((S1 (MetaSel (Just "_bEngineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bServiceRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BackupStatus)))) :*: (S1 (MetaSel (Just "_bInstanceProfileARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_bStatusDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_bServerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_bKeyPair") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_bCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_bBackupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bEngine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 (MetaSel (Just "_bInstanceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bEngineModel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bPreferredMaintenanceWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_bUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bPreferredBackupWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bS3LogURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_bS3DataSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_bBackupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bS3DataURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_bDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bBackupType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BackupType)) :*: S1 (MetaSel (Just "_bToolsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

backup :: Backup Source #

Creates a value of Backup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bEngineVersion - The engine version that is obtained from the server when the backup is created.
  • bServiceRoleARN - The service role ARN that is obtained from the server when the backup is created.
  • bStatus - The status of a backup while in progress.
  • bInstanceProfileARN - The EC2 instance profile ARN that is obtained from the server when the backup is created. Because this value is stored, you are not required to provide the InstanceProfileArn again if you restore a backup.
  • bSecurityGroupIds - The security group IDs that are obtained from the server when the backup is created.
  • bStatusDescription - An informational message about backup status.
  • bServerName - The name of the server from which the backup was made.
  • bSubnetIds - The subnet IDs that are obtained from the server when the backup is created.
  • bKeyPair - The key pair that is obtained from the server when the backup is created.
  • bCreatedAt - The time stamp when the backup was created in the database. Example: 2016-07-29T13:38:47.520Z
  • bBackupId - The generated ID of the backup. Example: myServerName-yyyyMMddHHmmssSSS
  • bEngine - The engine type that is obtained from the server when the backup is created.
  • bInstanceType - The instance type that is obtained from the server when the backup is created.
  • bEngineModel - The engine model that is obtained from the server when the backup is created.
  • bPreferredMaintenanceWindow - The preferred maintenance period that is obtained from the server when the backup is created.
  • bUserARN - The IAM user ARN of the requester for manual backups. This field is empty for automated backups.
  • bPreferredBackupWindow - The preferred backup period that is obtained from the server when the backup is created.
  • bS3LogURL - The Amazon S3 URL of the backup's log file.
  • bS3DataSize - This field is deprecated and is no longer used.
  • bBackupARN - The ARN of the backup.
  • bS3DataURL - This field is deprecated and is no longer used.
  • bDescription - A user-provided description for a manual backup. This field is empty for automated backups.
  • bBackupType - The backup type. Valid values are automated or manual .
  • bToolsVersion - The version of AWS OpsWorks CM-specific tools that is obtained from the server when the backup is created.

bEngineVersion :: Lens' Backup (Maybe Text) Source #

The engine version that is obtained from the server when the backup is created.

bServiceRoleARN :: Lens' Backup (Maybe Text) Source #

The service role ARN that is obtained from the server when the backup is created.

bStatus :: Lens' Backup (Maybe BackupStatus) Source #

The status of a backup while in progress.

bInstanceProfileARN :: Lens' Backup (Maybe Text) Source #

The EC2 instance profile ARN that is obtained from the server when the backup is created. Because this value is stored, you are not required to provide the InstanceProfileArn again if you restore a backup.

bSecurityGroupIds :: Lens' Backup [Text] Source #

The security group IDs that are obtained from the server when the backup is created.

bStatusDescription :: Lens' Backup (Maybe Text) Source #

An informational message about backup status.

bServerName :: Lens' Backup (Maybe Text) Source #

The name of the server from which the backup was made.

bSubnetIds :: Lens' Backup [Text] Source #

The subnet IDs that are obtained from the server when the backup is created.

bKeyPair :: Lens' Backup (Maybe Text) Source #

The key pair that is obtained from the server when the backup is created.

bCreatedAt :: Lens' Backup (Maybe UTCTime) Source #

The time stamp when the backup was created in the database. Example: 2016-07-29T13:38:47.520Z

bBackupId :: Lens' Backup (Maybe Text) Source #

The generated ID of the backup. Example: myServerName-yyyyMMddHHmmssSSS

bEngine :: Lens' Backup (Maybe Text) Source #

The engine type that is obtained from the server when the backup is created.

bInstanceType :: Lens' Backup (Maybe Text) Source #

The instance type that is obtained from the server when the backup is created.

bEngineModel :: Lens' Backup (Maybe Text) Source #

The engine model that is obtained from the server when the backup is created.

bPreferredMaintenanceWindow :: Lens' Backup (Maybe Text) Source #

The preferred maintenance period that is obtained from the server when the backup is created.

bUserARN :: Lens' Backup (Maybe Text) Source #

The IAM user ARN of the requester for manual backups. This field is empty for automated backups.

bPreferredBackupWindow :: Lens' Backup (Maybe Text) Source #

The preferred backup period that is obtained from the server when the backup is created.

bS3LogURL :: Lens' Backup (Maybe Text) Source #

The Amazon S3 URL of the backup's log file.

bS3DataSize :: Lens' Backup (Maybe Int) Source #

This field is deprecated and is no longer used.

bBackupARN :: Lens' Backup (Maybe Text) Source #

The ARN of the backup.

bS3DataURL :: Lens' Backup (Maybe Text) Source #

This field is deprecated and is no longer used.

bDescription :: Lens' Backup (Maybe Text) Source #

A user-provided description for a manual backup. This field is empty for automated backups.

bBackupType :: Lens' Backup (Maybe BackupType) Source #

The backup type. Valid values are automated or manual .

bToolsVersion :: Lens' Backup (Maybe Text) Source #

The version of AWS OpsWorks CM-specific tools that is obtained from the server when the backup is created.

EngineAttribute

data EngineAttribute Source #

A name and value pair that is specific to the engine of the server.

See: engineAttribute smart constructor.

Instances
Eq EngineAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Data EngineAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EngineAttribute -> c EngineAttribute #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EngineAttribute #

toConstr :: EngineAttribute -> Constr #

dataTypeOf :: EngineAttribute -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EngineAttribute) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EngineAttribute) #

gmapT :: (forall b. Data b => b -> b) -> EngineAttribute -> EngineAttribute #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EngineAttribute -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EngineAttribute -> r #

gmapQ :: (forall d. Data d => d -> u) -> EngineAttribute -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EngineAttribute -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EngineAttribute -> m EngineAttribute #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EngineAttribute -> m EngineAttribute #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EngineAttribute -> m EngineAttribute #

Show EngineAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Generic EngineAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Associated Types

type Rep EngineAttribute :: Type -> Type #

Hashable EngineAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

ToJSON EngineAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

FromJSON EngineAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

NFData EngineAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

rnf :: EngineAttribute -> () #

type Rep EngineAttribute Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

type Rep EngineAttribute = D1 (MetaData "EngineAttribute" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) (C1 (MetaCons "EngineAttribute'" PrefixI True) (S1 (MetaSel (Just "_eaValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 (MetaSel (Just "_eaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

engineAttribute :: EngineAttribute Source #

Creates a value of EngineAttribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • eaValue - The value of the engine attribute.
  • eaName - The name of the engine attribute.

eaValue :: Lens' EngineAttribute (Maybe Text) Source #

The value of the engine attribute.

eaName :: Lens' EngineAttribute (Maybe Text) Source #

The name of the engine attribute.

Server

data Server Source #

Describes a configuration management server.

See: server smart constructor.

Instances
Eq Server Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

(==) :: Server -> Server -> Bool #

(/=) :: Server -> Server -> Bool #

Data Server Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Server -> c Server #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Server #

toConstr :: Server -> Constr #

dataTypeOf :: Server -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Server) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Server) #

gmapT :: (forall b. Data b => b -> b) -> Server -> Server #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Server -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Server -> r #

gmapQ :: (forall d. Data d => d -> u) -> Server -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Server -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Server -> m Server #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Server -> m Server #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Server -> m Server #

Show Server Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Generic Server Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Associated Types

type Rep Server :: Type -> Type #

Methods

from :: Server -> Rep Server x #

to :: Rep Server x -> Server #

Hashable Server Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

hashWithSalt :: Int -> Server -> Int #

hash :: Server -> Int #

FromJSON Server Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

NFData Server Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

rnf :: Server -> () #

type Rep Server Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

type Rep Server = D1 (MetaData "Server" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) (C1 (MetaCons "Server'" PrefixI True) ((((S1 (MetaSel (Just "_sEngineVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sServiceRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sDisableAutomatedBackup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_sStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ServerStatus)) :*: S1 (MetaSel (Just "_sInstanceProfileARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_sSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_sAssociatePublicIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_sServerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_sKeyPair") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))))) :*: (((S1 (MetaSel (Just "_sServerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sEngine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sMaintenanceStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MaintenanceStatus)))) :*: (S1 (MetaSel (Just "_sInstanceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sEngineModel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sEngineAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EngineAttribute]))))) :*: ((S1 (MetaSel (Just "_sPreferredMaintenanceWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sPreferredBackupWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sStatusReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sCloudFormationStackARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sBackupRetentionCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))))

server :: Server Source #

Creates a value of Server with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sEngineVersion - The engine version of the server. For a Chef server, the valid value for EngineVersion is currently 12 . For a Puppet server, the valid value is 2017 .
  • sServiceRoleARN - The service role ARN used to create the server.
  • sDisableAutomatedBackup - Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.
  • sStatus - The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.
  • sInstanceProfileARN - The instance profile ARN of the server.
  • sSecurityGroupIds - The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console.
  • sAssociatePublicIPAddress - Associate a public IP address with a server that you are launching.
  • sServerName - The name of the server.
  • sSubnetIds - The subnet IDs specified in a CreateServer request.
  • sKeyPair - The key pair associated with the server.
  • sCreatedAt - Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
  • sServerARN - The ARN of the server.
  • sEngine - The engine type of the server. Valid values in this release include Chef and Puppet .
  • sMaintenanceStatus - The status of the most recent server maintenance run. Shows SUCCESS or FAILED .
  • sInstanceType - The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console.
  • sEngineModel - The engine model of the server. Valid values in this release include Monolithic for Puppet and Single for Chef.
  • sEngineAttributes - The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks CM; they are returned only as part of the result of createServer(). Attributes returned in a createServer response for Chef * CHEF_PIVOTAL_KEY : A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef Automate. This private key is required to access the Chef API. * CHEF_STARTER_KIT : A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands. Attributes returned in a createServer response for Puppet * PUPPET_STARTER_KIT : A base64-encoded ZIP file. The ZIP file contains a Puppet starter kit, including a README and a required private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents. * PUPPET_ADMIN_PASSWORD : An administrator password that you can use to sign in to the Puppet Enterprise console after the server is online.
  • sPreferredMaintenanceWindow - The preferred maintenance period specified for the server.
  • sPreferredBackupWindow - The preferred backup period specified for the server.
  • sStatusReason - Depending on the server status, this field has either a human-readable message (such as a create or backup error), or an escaped block of JSON (used for health check results).
  • sEndpoint - A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io
  • sCloudFormationStackARN - The ARN of the CloudFormation stack that was used to create the server.
  • sBackupRetentionCount - The number of automated backups to keep.

sEngineVersion :: Lens' Server (Maybe Text) Source #

The engine version of the server. For a Chef server, the valid value for EngineVersion is currently 12 . For a Puppet server, the valid value is 2017 .

sServiceRoleARN :: Lens' Server (Maybe Text) Source #

The service role ARN used to create the server.

sDisableAutomatedBackup :: Lens' Server (Maybe Bool) Source #

Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.

sStatus :: Lens' Server (Maybe ServerStatus) Source #

The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server, as well as the server's health state.

sInstanceProfileARN :: Lens' Server (Maybe Text) Source #

The instance profile ARN of the server.

sSecurityGroupIds :: Lens' Server [Text] Source #

The security group IDs for the server, as specified in the CloudFormation stack. These might not be the same security groups that are shown in the EC2 console.

sAssociatePublicIPAddress :: Lens' Server (Maybe Bool) Source #

Associate a public IP address with a server that you are launching.

sServerName :: Lens' Server (Maybe Text) Source #

The name of the server.

sSubnetIds :: Lens' Server [Text] Source #

The subnet IDs specified in a CreateServer request.

sKeyPair :: Lens' Server (Maybe Text) Source #

The key pair associated with the server.

sCreatedAt :: Lens' Server (Maybe UTCTime) Source #

Time stamp of server creation. Example 2016-07-29T13:38:47.520Z

sServerARN :: Lens' Server (Maybe Text) Source #

The ARN of the server.

sEngine :: Lens' Server (Maybe Text) Source #

The engine type of the server. Valid values in this release include Chef and Puppet .

sMaintenanceStatus :: Lens' Server (Maybe MaintenanceStatus) Source #

The status of the most recent server maintenance run. Shows SUCCESS or FAILED .

sInstanceType :: Lens' Server (Maybe Text) Source #

The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console.

sEngineModel :: Lens' Server (Maybe Text) Source #

The engine model of the server. Valid values in this release include Monolithic for Puppet and Single for Chef.

sEngineAttributes :: Lens' Server [EngineAttribute] Source #

The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks CM; they are returned only as part of the result of createServer(). Attributes returned in a createServer response for Chef * CHEF_PIVOTAL_KEY : A base64-encoded RSA private key that is generated by AWS OpsWorks for Chef Automate. This private key is required to access the Chef API. * CHEF_STARTER_KIT : A base64-encoded ZIP file. The ZIP file contains a Chef starter kit, which includes a README, a configuration file, and the required RSA private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents. From this directory, you can run Knife commands. Attributes returned in a createServer response for Puppet * PUPPET_STARTER_KIT : A base64-encoded ZIP file. The ZIP file contains a Puppet starter kit, including a README and a required private key. Save this file, unzip it, and then change to the directory where you've unzipped the file contents. * PUPPET_ADMIN_PASSWORD : An administrator password that you can use to sign in to the Puppet Enterprise console after the server is online.

sPreferredMaintenanceWindow :: Lens' Server (Maybe Text) Source #

The preferred maintenance period specified for the server.

sPreferredBackupWindow :: Lens' Server (Maybe Text) Source #

The preferred backup period specified for the server.

sStatusReason :: Lens' Server (Maybe Text) Source #

Depending on the server status, this field has either a human-readable message (such as a create or backup error), or an escaped block of JSON (used for health check results).

sEndpoint :: Lens' Server (Maybe Text) Source #

A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io

sCloudFormationStackARN :: Lens' Server (Maybe Text) Source #

The ARN of the CloudFormation stack that was used to create the server.

sBackupRetentionCount :: Lens' Server (Maybe Int) Source #

The number of automated backups to keep.

ServerEvent

data ServerEvent Source #

An event that is related to the server, such as the start of maintenance or backup.

See: serverEvent smart constructor.

Instances
Eq ServerEvent Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Data ServerEvent Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ServerEvent -> c ServerEvent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ServerEvent #

toConstr :: ServerEvent -> Constr #

dataTypeOf :: ServerEvent -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ServerEvent) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ServerEvent) #

gmapT :: (forall b. Data b => b -> b) -> ServerEvent -> ServerEvent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ServerEvent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ServerEvent -> r #

gmapQ :: (forall d. Data d => d -> u) -> ServerEvent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ServerEvent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ServerEvent -> m ServerEvent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ServerEvent -> m ServerEvent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ServerEvent -> m ServerEvent #

Read ServerEvent Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Show ServerEvent Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Generic ServerEvent Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Associated Types

type Rep ServerEvent :: Type -> Type #

Hashable ServerEvent Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

FromJSON ServerEvent Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

NFData ServerEvent Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

Methods

rnf :: ServerEvent -> () #

type Rep ServerEvent Source # 
Instance details

Defined in Network.AWS.OpsWorksCM.Types.Product

type Rep ServerEvent = D1 (MetaData "ServerEvent" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.6.1-DBtTlJOATBfGleOMllIGPs" False) (C1 (MetaCons "ServerEvent'" PrefixI True) ((S1 (MetaSel (Just "_seLogURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_seServerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_seCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_seMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

serverEvent :: ServerEvent Source #

Creates a value of ServerEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • seLogURL - The Amazon S3 URL of the event's log file.
  • seServerName - The name of the server on or for which the event occurred.
  • seCreatedAt - The time when the event occurred.
  • seMessage - A human-readable informational or status message.

seLogURL :: Lens' ServerEvent (Maybe Text) Source #

The Amazon S3 URL of the event's log file.

seServerName :: Lens' ServerEvent (Maybe Text) Source #

The name of the server on or for which the event occurred.

seCreatedAt :: Lens' ServerEvent (Maybe UTCTime) Source #

The time when the event occurred.

seMessage :: Lens' ServerEvent (Maybe Text) Source #

A human-readable informational or status message.