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.Types

Contents

Description

 

Synopsis

Service Configuration

opsWorksCM :: Service Source #

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

Errors

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

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

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

The requested resource cannot be created because it already exists.

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

This occurs when the provided nextToken is not valid.

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

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

_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 :: AsError a => Getting (First ServiceError) a ServiceError Source #

The limit of servers or backups has been reached.

BackupStatus

data BackupStatus Source #

Instances

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

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

Associated Types

type Rep BackupStatus :: * -> * #

Hashable BackupStatus Source # 
FromJSON BackupStatus Source # 
NFData BackupStatus Source # 

Methods

rnf :: BackupStatus -> () #

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

Methods

toText :: BackupStatus -> Text #

type Rep BackupStatus Source # 
type Rep BackupStatus = D1 (MetaData "BackupStatus" "Network.AWS.OpsWorksCM.Types.Sum" "amazonka-opsworks-cm-1.4.5-1gsJwLY5VN6CtZ9Orfu6eU" 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 Source #

Constructors

Automated 
Manual 

Instances

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

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

Associated Types

type Rep BackupType :: * -> * #

Hashable BackupType Source # 
FromJSON BackupType Source # 
NFData BackupType Source # 

Methods

rnf :: BackupType -> () #

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

Methods

toText :: BackupType -> Text #

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

MaintenanceStatus

data MaintenanceStatus Source #

Constructors

MSFailed 
MSSuccess 

Instances

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

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

Methods

rnf :: MaintenanceStatus -> () #

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

NodeAssociationStatus

data NodeAssociationStatus Source #

Instances

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

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

Methods

rnf :: NodeAssociationStatus -> () #

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

ServerStatus

data ServerStatus Source #

Instances

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

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

Associated Types

type Rep ServerStatus :: * -> * #

Hashable ServerStatus Source # 
FromJSON ServerStatus Source # 
NFData ServerStatus Source # 

Methods

rnf :: ServerStatus -> () #

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

Methods

toText :: ServerStatus -> Text #

type Rep ServerStatus Source # 
type Rep ServerStatus = D1 (MetaData "ServerStatus" "Network.AWS.OpsWorksCM.Types.Sum" "amazonka-opsworks-cm-1.4.5-1gsJwLY5VN6CtZ9Orfu6eU" 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 Source #

Stores account attributes.

See: accountAttribute smart constructor.

Instances

Eq AccountAttribute Source # 
Data AccountAttribute Source # 

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

Methods

rnf :: AccountAttribute -> () #

type Rep AccountAttribute Source # 
type Rep AccountAttribute = D1 (MetaData "AccountAttribute" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.4.5-1gsJwLY5VN6CtZ9Orfu6eU" 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 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 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) Source #

The current usage, such as the current number of servers 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 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 Source #

Describes a single backup.

See: backup smart constructor.

Instances

Eq Backup Source # 

Methods

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

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

Data Backup Source # 

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

Associated Types

type Rep Backup :: * -> * #

Methods

from :: Backup -> Rep Backup x #

to :: Rep Backup x -> Backup #

Hashable Backup Source # 

Methods

hashWithSalt :: Int -> Backup -> Int #

hash :: Backup -> Int #

FromJSON Backup Source # 
NFData Backup Source # 

Methods

rnf :: Backup -> () #

type Rep Backup Source # 
type Rep Backup = D1 (MetaData "Backup" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.4.5-1gsJwLY5VN6CtZ9Orfu6eU" 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 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 - 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) 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 #

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

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

The ARN of the backup.

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

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

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 for Chef Automate-specific tools that is obtained from the server when the backup is created.

EngineAttribute

data EngineAttribute Source #

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

See: engineAttribute smart constructor.

Instances

Eq EngineAttribute Source # 
Data EngineAttribute Source # 

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 Source # 
Show EngineAttribute Source # 
Generic EngineAttribute Source # 
Hashable EngineAttribute Source # 
ToJSON EngineAttribute Source # 
FromJSON EngineAttribute Source # 
NFData EngineAttribute Source # 

Methods

rnf :: EngineAttribute -> () #

type Rep EngineAttribute Source # 
type Rep EngineAttribute = D1 (MetaData "EngineAttribute" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.4.5-1gsJwLY5VN6CtZ9Orfu6eU" 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 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 # 

Methods

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

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

Data Server Source # 

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 Source # 
Show Server Source # 
Generic Server Source # 

Associated Types

type Rep Server :: * -> * #

Methods

from :: Server -> Rep Server x #

to :: Rep Server x -> Server #

Hashable Server Source # 

Methods

hashWithSalt :: Int -> Server -> Int #

hash :: Server -> Int #

FromJSON Server Source # 
NFData Server Source # 

Methods

rnf :: Server -> () #

type Rep Server Source # 
type Rep Server = D1 (MetaData "Server" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.4.5-1gsJwLY5VN6CtZ9Orfu6eU" 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 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. 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) Source #

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

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.

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. The valid value in this release is Chef .

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. The valid value in this release is Single .

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

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 # 
Data ServerEvent Source # 

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

Associated Types

type Rep ServerEvent :: * -> * #

Hashable ServerEvent Source # 
FromJSON ServerEvent Source # 
NFData ServerEvent Source # 

Methods

rnf :: ServerEvent -> () #

type Rep ServerEvent Source # 
type Rep ServerEvent = D1 (MetaData "ServerEvent" "Network.AWS.OpsWorksCM.Types.Product" "amazonka-opsworks-cm-1.4.5-1gsJwLY5VN6CtZ9Orfu6eU" 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 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.