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

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

Network.AWS.OpsWorksCM

Contents

Description

AWS OpsWorks for Chef Automate

A service that runs and manages configuration management servers.

Glossary of terms

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

Throttling limits

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

Synopsis

Service Configuration

opsWorksCM :: Service #

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 #

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

ResourceAlreadyExistsException

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

The requested resource cannot be created because it already exists.

InvalidNextTokenException

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

This occurs when the provided nextToken is not valid.

ResourceNotFoundException

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

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

InvalidStateException

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

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 #

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.

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 #

Instances

Bounded BackupStatus # 
Enum BackupStatus # 
Eq BackupStatus # 
Data BackupStatus # 

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 # 
Read BackupStatus # 
Show BackupStatus # 
Generic BackupStatus # 

Associated Types

type Rep BackupStatus :: * -> * #

Hashable BackupStatus # 
FromJSON BackupStatus # 
NFData BackupStatus # 

Methods

rnf :: BackupStatus -> () #

ToQuery BackupStatus # 
ToHeader BackupStatus # 
ToByteString BackupStatus # 
FromText BackupStatus # 
ToText BackupStatus # 

Methods

toText :: BackupStatus -> Text #

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

BackupType

data BackupType #

Constructors

Automated 
Manual 

Instances

Bounded BackupType # 
Enum BackupType # 
Eq BackupType # 
Data BackupType # 

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 # 
Read BackupType # 
Show BackupType # 
Generic BackupType # 

Associated Types

type Rep BackupType :: * -> * #

Hashable BackupType # 
FromJSON BackupType # 
NFData BackupType # 

Methods

rnf :: BackupType -> () #

ToQuery BackupType # 
ToHeader BackupType # 
ToByteString BackupType # 
FromText BackupType # 
ToText BackupType # 

Methods

toText :: BackupType -> Text #

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

MaintenanceStatus

data MaintenanceStatus #

Constructors

MSFailed 
MSSuccess 

Instances

Bounded MaintenanceStatus # 
Enum MaintenanceStatus # 
Eq MaintenanceStatus # 
Data MaintenanceStatus # 

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 # 
Read MaintenanceStatus # 
Show MaintenanceStatus # 
Generic MaintenanceStatus # 
Hashable MaintenanceStatus # 
FromJSON MaintenanceStatus # 
NFData MaintenanceStatus # 

Methods

rnf :: MaintenanceStatus -> () #

ToQuery MaintenanceStatus # 
ToHeader MaintenanceStatus # 
ToByteString MaintenanceStatus # 
FromText MaintenanceStatus # 
ToText MaintenanceStatus # 
type Rep MaintenanceStatus # 
type Rep MaintenanceStatus = D1 (MetaData "MaintenanceStatus" "Network.AWS.OpsWorksCM.Types.Sum" "amazonka-opsworks-cm-1.4.5-AhfVC6jsAX0FFNzDXhBrcp" False) ((:+:) (C1 (MetaCons "MSFailed" PrefixI False) U1) (C1 (MetaCons "MSSuccess" PrefixI False) U1))

NodeAssociationStatus

data NodeAssociationStatus #

Instances

Bounded NodeAssociationStatus # 
Enum NodeAssociationStatus # 
Eq NodeAssociationStatus # 
Data NodeAssociationStatus # 

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 # 
Read NodeAssociationStatus # 
Show NodeAssociationStatus # 
Generic NodeAssociationStatus # 
Hashable NodeAssociationStatus # 
FromJSON NodeAssociationStatus # 
NFData NodeAssociationStatus # 

Methods

rnf :: NodeAssociationStatus -> () #

ToQuery NodeAssociationStatus # 
ToHeader NodeAssociationStatus # 
ToByteString NodeAssociationStatus # 
FromText NodeAssociationStatus # 
ToText NodeAssociationStatus # 
type Rep NodeAssociationStatus # 
type Rep NodeAssociationStatus = D1 (MetaData "NodeAssociationStatus" "Network.AWS.OpsWorksCM.Types.Sum" "amazonka-opsworks-cm-1.4.5-AhfVC6jsAX0FFNzDXhBrcp" False) ((:+:) (C1 (MetaCons "NASFailed" PrefixI False) U1) ((:+:) (C1 (MetaCons "NASInProgress" PrefixI False) U1) (C1 (MetaCons "NASSuccess" PrefixI False) U1)))

ServerStatus

data ServerStatus #

Instances

Bounded ServerStatus # 
Enum ServerStatus # 
Eq ServerStatus # 
Data ServerStatus # 

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 # 
Read ServerStatus # 
Show ServerStatus # 
Generic ServerStatus # 

Associated Types

type Rep ServerStatus :: * -> * #

Hashable ServerStatus # 
FromJSON ServerStatus # 
NFData ServerStatus # 

Methods

rnf :: ServerStatus -> () #

ToQuery ServerStatus # 
ToHeader ServerStatus # 
ToByteString ServerStatus # 
FromText ServerStatus # 
ToText ServerStatus # 

Methods

toText :: ServerStatus -> Text #

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

AccountAttribute

data AccountAttribute #

Stores account attributes.

See: accountAttribute smart constructor.

Instances

Eq AccountAttribute # 
Data AccountAttribute # 

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 # 
Show AccountAttribute # 
Generic AccountAttribute # 
Hashable AccountAttribute # 
FromJSON AccountAttribute # 
NFData AccountAttribute # 

Methods

rnf :: AccountAttribute -> () #

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

accountAttribute :: AccountAttribute #

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 associated with the account.
  • aaMaximum - The maximum allowed value.
  • aaName - The attribute name. The following are supported attribute names. * ServerLimit: The number of servers that currently existing maximal allowed. By default 10 servers can be created. * ManualBackupLimit: The number of manual backups that currently exist are maximal allowed. By default 50 manual backups can be created.

aaUsed :: Lens' AccountAttribute (Maybe Int) #

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

aaMaximum :: Lens' AccountAttribute (Maybe Int) #

The maximum allowed value.

aaName :: Lens' AccountAttribute (Maybe Text) #

The attribute name. The following are supported attribute names. * ServerLimit: The number of servers that currently existing maximal allowed. By default 10 servers can be created. * ManualBackupLimit: The number of manual backups that currently exist are maximal allowed. By default 50 manual backups can be created.

Backup

data Backup #

Describes a single backup.

See: backup smart constructor.

Instances

Eq Backup # 

Methods

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

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

Data Backup # 

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 # 
Show Backup # 
Generic Backup # 

Associated Types

type Rep Backup :: * -> * #

Methods

from :: Backup -> Rep Backup x #

to :: Rep Backup x -> Backup #

Hashable Backup # 

Methods

hashWithSalt :: Int -> Backup -> Int #

hash :: Backup -> Int #

FromJSON Backup # 
NFData Backup # 

Methods

rnf :: Backup -> () #

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

backup :: Backup #

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 - The size of the backup, in bytes. The size is returned by the instance in the command results.
  • bBackupARN - The ARN of the backup.
  • bS3DataURL - The Amazon S3 URL of the backup's tar.gz file.
  • 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 for Chef Automate-specific tools that is obtained from the server when the backup is created.

bEngineVersion :: Lens' Backup (Maybe Text) #

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

bServiceRoleARN :: Lens' Backup (Maybe Text) #

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

bStatus :: Lens' Backup (Maybe BackupStatus) #

The status of a backup while in progress.

bInstanceProfileARN :: Lens' Backup (Maybe Text) #

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] #

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

bStatusDescription :: Lens' Backup (Maybe Text) #

An informational message about backup status.

bServerName :: Lens' Backup (Maybe Text) #

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

bSubnetIds :: Lens' Backup [Text] #

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

bKeyPair :: Lens' Backup (Maybe Text) #

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

bCreatedAt :: Lens' Backup (Maybe UTCTime) #

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

bBackupId :: Lens' Backup (Maybe Text) #

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

bEngine :: Lens' Backup (Maybe Text) #

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

bInstanceType :: Lens' Backup (Maybe Text) #

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

bEngineModel :: Lens' Backup (Maybe Text) #

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

bPreferredMaintenanceWindow :: Lens' Backup (Maybe Text) #

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

bUserARN :: Lens' Backup (Maybe Text) #

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

bPreferredBackupWindow :: Lens' Backup (Maybe Text) #

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

bS3LogURL :: Lens' Backup (Maybe Text) #

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

bS3DataSize :: Lens' Backup (Maybe Int) #

The size of the backup, in bytes. The size is returned by the instance in the command results.

bBackupARN :: Lens' Backup (Maybe Text) #

The ARN of the backup.

bS3DataURL :: Lens' Backup (Maybe Text) #

The Amazon S3 URL of the backup's tar.gz file.

bDescription :: Lens' Backup (Maybe Text) #

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

bBackupType :: Lens' Backup (Maybe BackupType) #

The backup type. Valid values are automated or manual .

bToolsVersion :: Lens' Backup (Maybe Text) #

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

EngineAttribute

data EngineAttribute #

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

See: engineAttribute smart constructor.

Instances

Eq EngineAttribute # 
Data EngineAttribute # 

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 #

Read EngineAttribute # 
Show EngineAttribute # 
Generic EngineAttribute # 
Hashable EngineAttribute # 
ToJSON EngineAttribute # 
FromJSON EngineAttribute # 
NFData EngineAttribute # 

Methods

rnf :: EngineAttribute -> () #

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

engineAttribute :: EngineAttribute #

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) #

The value of the engine attribute.

eaName :: Lens' EngineAttribute (Maybe Text) #

The name of the engine attribute.

Server

data Server #

Describes a configuration management server.

See: server smart constructor.

Instances

Eq Server # 

Methods

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

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

Data Server # 

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 #

Read Server # 
Show Server # 
Generic Server # 

Associated Types

type Rep Server :: * -> * #

Methods

from :: Server -> Rep Server x #

to :: Rep Server x -> Server #

Hashable Server # 

Methods

hashWithSalt :: Int -> Server -> Int #

hash :: Server -> Int #

FromJSON Server # 
NFData Server # 

Methods

rnf :: Server -> () #

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

server :: Server #

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. Because Chef is the engine available in this release, the valid value for EngineVersion is 12 .
  • 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 server health.
  • 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.
  • 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. The valid value in this release is Chef .
  • 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. The valid value in this release is Single .
  • 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 for Chef Automate; they are returned only as part of the result of createServer(). Attributes returned in a createServer response: * 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.
  • 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
  • sBackupRetentionCount - The number of automated backups to keep.

sEngineVersion :: Lens' Server (Maybe Text) #

The engine version of the server. Because Chef is the engine available in this release, the valid value for EngineVersion is 12 .

sServiceRoleARN :: Lens' Server (Maybe Text) #

The service role ARN used to create the server.

sDisableAutomatedBackup :: Lens' Server (Maybe Bool) #

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

sStatus :: Lens' Server (Maybe ServerStatus) #

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 server health.

sInstanceProfileARN :: Lens' Server (Maybe Text) #

The instance profile ARN of the server.

sSecurityGroupIds :: Lens' Server [Text] #

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.

sServerName :: Lens' Server (Maybe Text) #

The name of the server.

sSubnetIds :: Lens' Server [Text] #

The subnet IDs specified in a CreateServer request.

sKeyPair :: Lens' Server (Maybe Text) #

The key pair associated with the server.

sCreatedAt :: Lens' Server (Maybe UTCTime) #

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

sServerARN :: Lens' Server (Maybe Text) #

The ARN of the server.

sEngine :: Lens' Server (Maybe Text) #

The engine type of the server. The valid value in this release is Chef .

sMaintenanceStatus :: Lens' Server (Maybe MaintenanceStatus) #

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

sInstanceType :: Lens' Server (Maybe Text) #

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) #

The engine model of the server. The valid value in this release is Single .

sEngineAttributes :: Lens' Server [EngineAttribute] #

The response of a createServer() request returns the master credential to access the server in EngineAttributes. These credentials are not stored by AWS OpsWorks for Chef Automate; they are returned only as part of the result of createServer(). Attributes returned in a createServer response: * 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.

sPreferredMaintenanceWindow :: Lens' Server (Maybe Text) #

The preferred maintenance period specified for the server.

sPreferredBackupWindow :: Lens' Server (Maybe Text) #

The preferred backup period specified for the server.

sStatusReason :: Lens' Server (Maybe Text) #

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) #

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

sBackupRetentionCount :: Lens' Server (Maybe Int) #

The number of automated backups to keep.

ServerEvent

data ServerEvent #

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

See: serverEvent smart constructor.

Instances

Eq ServerEvent # 
Data ServerEvent # 

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 # 
Show ServerEvent # 
Generic ServerEvent # 

Associated Types

type Rep ServerEvent :: * -> * #

Hashable ServerEvent # 
FromJSON ServerEvent # 
NFData ServerEvent # 

Methods

rnf :: ServerEvent -> () #

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

serverEvent :: ServerEvent #

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) #

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

seServerName :: Lens' ServerEvent (Maybe Text) #

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

seCreatedAt :: Lens' ServerEvent (Maybe UTCTime) #

The time when the event occurred.

seMessage :: Lens' ServerEvent (Maybe Text) #

A human-readable informational or status message.