amazonka-opsworks-cm 1.6.1 → 2.0
raw patch · 72 files changed
+8443/−4354 lines, 72 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok
version bump matches the API change (PVP)
Dependencies added: case-insensitive
Dependency ranges changed: amazonka-core, amazonka-test, base
API changes (from Hackage documentation)
- Network.AWS.OpsWorksCM: Automated :: BackupType
- Network.AWS.OpsWorksCM: BSDeleting :: BackupStatus
- Network.AWS.OpsWorksCM: BSFailed :: BackupStatus
- Network.AWS.OpsWorksCM: BSInProgress :: BackupStatus
- Network.AWS.OpsWorksCM: BSOK :: BackupStatus
- Network.AWS.OpsWorksCM: BackingUp :: ServerStatus
- Network.AWS.OpsWorksCM: ConnectionLost :: ServerStatus
- Network.AWS.OpsWorksCM: Creating :: ServerStatus
- Network.AWS.OpsWorksCM: Deleting :: ServerStatus
- Network.AWS.OpsWorksCM: Failed :: ServerStatus
- Network.AWS.OpsWorksCM: Healthy :: ServerStatus
- Network.AWS.OpsWorksCM: MSFailed :: MaintenanceStatus
- Network.AWS.OpsWorksCM: MSSuccess :: MaintenanceStatus
- Network.AWS.OpsWorksCM: Manual :: BackupType
- Network.AWS.OpsWorksCM: Modifying :: ServerStatus
- Network.AWS.OpsWorksCM: NASFailed :: NodeAssociationStatus
- Network.AWS.OpsWorksCM: NASInProgress :: NodeAssociationStatus
- Network.AWS.OpsWorksCM: NASSuccess :: NodeAssociationStatus
- Network.AWS.OpsWorksCM: Restoring :: ServerStatus
- Network.AWS.OpsWorksCM: Running :: ServerStatus
- Network.AWS.OpsWorksCM: Setup :: ServerStatus
- Network.AWS.OpsWorksCM: Terminated :: ServerStatus
- Network.AWS.OpsWorksCM: UnderMaintenance :: ServerStatus
- Network.AWS.OpsWorksCM: Unhealthy :: ServerStatus
- Network.AWS.OpsWorksCM: _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM: _InvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM: _ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM: _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM: aaMaximum :: Lens' AccountAttribute (Maybe Int)
- Network.AWS.OpsWorksCM: aaName :: Lens' AccountAttribute (Maybe Text)
- Network.AWS.OpsWorksCM: aaUsed :: Lens' AccountAttribute (Maybe Int)
- Network.AWS.OpsWorksCM: accountAttribute :: AccountAttribute
- Network.AWS.OpsWorksCM: bBackupARN :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bBackupId :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bBackupType :: Lens' Backup (Maybe BackupType)
- Network.AWS.OpsWorksCM: bCreatedAt :: Lens' Backup (Maybe UTCTime)
- Network.AWS.OpsWorksCM: bDescription :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bEngine :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bEngineModel :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bEngineVersion :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bInstanceProfileARN :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bInstanceType :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bKeyPair :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bPreferredBackupWindow :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bPreferredMaintenanceWindow :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bS3DataSize :: Lens' Backup (Maybe Int)
- Network.AWS.OpsWorksCM: bS3DataURL :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bS3LogURL :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bSecurityGroupIds :: Lens' Backup [Text]
- Network.AWS.OpsWorksCM: bServerName :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bServiceRoleARN :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bStatus :: Lens' Backup (Maybe BackupStatus)
- Network.AWS.OpsWorksCM: bStatusDescription :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bSubnetIds :: Lens' Backup [Text]
- Network.AWS.OpsWorksCM: bToolsVersion :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: bUserARN :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM: backup :: Backup
- Network.AWS.OpsWorksCM: data AccountAttribute
- Network.AWS.OpsWorksCM: data Backup
- Network.AWS.OpsWorksCM: data BackupStatus
- Network.AWS.OpsWorksCM: data BackupType
- Network.AWS.OpsWorksCM: data EngineAttribute
- Network.AWS.OpsWorksCM: data MaintenanceStatus
- Network.AWS.OpsWorksCM: data NodeAssociationStatus
- Network.AWS.OpsWorksCM: data Server
- Network.AWS.OpsWorksCM: data ServerEvent
- Network.AWS.OpsWorksCM: data ServerStatus
- Network.AWS.OpsWorksCM: eaName :: Lens' EngineAttribute (Maybe Text)
- Network.AWS.OpsWorksCM: eaValue :: Lens' EngineAttribute (Maybe Text)
- Network.AWS.OpsWorksCM: engineAttribute :: EngineAttribute
- Network.AWS.OpsWorksCM: nodeAssociated :: Wait DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM: opsWorksCM :: Service
- Network.AWS.OpsWorksCM: sAssociatePublicIPAddress :: Lens' Server (Maybe Bool)
- Network.AWS.OpsWorksCM: sBackupRetentionCount :: Lens' Server (Maybe Int)
- Network.AWS.OpsWorksCM: sCloudFormationStackARN :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sCreatedAt :: Lens' Server (Maybe UTCTime)
- Network.AWS.OpsWorksCM: sDisableAutomatedBackup :: Lens' Server (Maybe Bool)
- Network.AWS.OpsWorksCM: sEndpoint :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sEngine :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sEngineAttributes :: Lens' Server [EngineAttribute]
- Network.AWS.OpsWorksCM: sEngineModel :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sEngineVersion :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sInstanceProfileARN :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sInstanceType :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sKeyPair :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sMaintenanceStatus :: Lens' Server (Maybe MaintenanceStatus)
- Network.AWS.OpsWorksCM: sPreferredBackupWindow :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sPreferredMaintenanceWindow :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sSecurityGroupIds :: Lens' Server [Text]
- Network.AWS.OpsWorksCM: sServerARN :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sServerName :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sServiceRoleARN :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sStatus :: Lens' Server (Maybe ServerStatus)
- Network.AWS.OpsWorksCM: sStatusReason :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM: sSubnetIds :: Lens' Server [Text]
- Network.AWS.OpsWorksCM: seCreatedAt :: Lens' ServerEvent (Maybe UTCTime)
- Network.AWS.OpsWorksCM: seLogURL :: Lens' ServerEvent (Maybe Text)
- Network.AWS.OpsWorksCM: seMessage :: Lens' ServerEvent (Maybe Text)
- Network.AWS.OpsWorksCM: seServerName :: Lens' ServerEvent (Maybe Text)
- Network.AWS.OpsWorksCM: server :: Server
- Network.AWS.OpsWorksCM: serverEvent :: ServerEvent
- Network.AWS.OpsWorksCM.AssociateNode: anEngineAttributes :: Lens' AssociateNode [EngineAttribute]
- Network.AWS.OpsWorksCM.AssociateNode: anNodeName :: Lens' AssociateNode Text
- Network.AWS.OpsWorksCM.AssociateNode: anServerName :: Lens' AssociateNode Text
- Network.AWS.OpsWorksCM.AssociateNode: anrsNodeAssociationStatusToken :: Lens' AssociateNodeResponse (Maybe Text)
- Network.AWS.OpsWorksCM.AssociateNode: anrsResponseStatus :: Lens' AssociateNodeResponse Int
- Network.AWS.OpsWorksCM.AssociateNode: associateNode :: Text -> Text -> AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: associateNodeResponse :: Int -> AssociateNodeResponse
- Network.AWS.OpsWorksCM.AssociateNode: data AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: data AssociateNodeResponse
- Network.AWS.OpsWorksCM.AssociateNode: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.AssociateNode.AssociateNodeResponse
- Network.AWS.OpsWorksCM.AssociateNode: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance Data.Data.Data Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance Data.Data.Data Network.AWS.OpsWorksCM.AssociateNode.AssociateNodeResponse
- Network.AWS.OpsWorksCM.AssociateNode: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.AssociateNode.AssociateNodeResponse
- Network.AWS.OpsWorksCM.AssociateNode: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.AssociateNode.AssociateNodeResponse
- Network.AWS.OpsWorksCM.AssociateNode: instance GHC.Read.Read Network.AWS.OpsWorksCM.AssociateNode.AssociateNodeResponse
- Network.AWS.OpsWorksCM.AssociateNode: instance GHC.Show.Show Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance GHC.Show.Show Network.AWS.OpsWorksCM.AssociateNode.AssociateNodeResponse
- Network.AWS.OpsWorksCM.AssociateNode: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.AssociateNode: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.AssociateNode.AssociateNode
- Network.AWS.OpsWorksCM.CreateBackup: cbDescription :: Lens' CreateBackup (Maybe Text)
- Network.AWS.OpsWorksCM.CreateBackup: cbServerName :: Lens' CreateBackup Text
- Network.AWS.OpsWorksCM.CreateBackup: cbrsBackup :: Lens' CreateBackupResponse (Maybe Backup)
- Network.AWS.OpsWorksCM.CreateBackup: cbrsResponseStatus :: Lens' CreateBackupResponse Int
- Network.AWS.OpsWorksCM.CreateBackup: createBackup :: Text -> CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: createBackupResponse :: Int -> CreateBackupResponse
- Network.AWS.OpsWorksCM.CreateBackup: data CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: data CreateBackupResponse
- Network.AWS.OpsWorksCM.CreateBackup: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.CreateBackup.CreateBackupResponse
- Network.AWS.OpsWorksCM.CreateBackup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance Data.Data.Data Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance Data.Data.Data Network.AWS.OpsWorksCM.CreateBackup.CreateBackupResponse
- Network.AWS.OpsWorksCM.CreateBackup: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.CreateBackup.CreateBackupResponse
- Network.AWS.OpsWorksCM.CreateBackup: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.CreateBackup.CreateBackupResponse
- Network.AWS.OpsWorksCM.CreateBackup: instance GHC.Read.Read Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance GHC.Read.Read Network.AWS.OpsWorksCM.CreateBackup.CreateBackupResponse
- Network.AWS.OpsWorksCM.CreateBackup: instance GHC.Show.Show Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance GHC.Show.Show Network.AWS.OpsWorksCM.CreateBackup.CreateBackupResponse
- Network.AWS.OpsWorksCM.CreateBackup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateBackup: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.CreateBackup.CreateBackup
- Network.AWS.OpsWorksCM.CreateServer: createServer :: Text -> Text -> Text -> Text -> CreateServer
- Network.AWS.OpsWorksCM.CreateServer: createServerResponse :: Int -> CreateServerResponse
- Network.AWS.OpsWorksCM.CreateServer: csAssociatePublicIPAddress :: Lens' CreateServer (Maybe Bool)
- Network.AWS.OpsWorksCM.CreateServer: csBackupId :: Lens' CreateServer (Maybe Text)
- Network.AWS.OpsWorksCM.CreateServer: csBackupRetentionCount :: Lens' CreateServer (Maybe Natural)
- Network.AWS.OpsWorksCM.CreateServer: csDisableAutomatedBackup :: Lens' CreateServer (Maybe Bool)
- Network.AWS.OpsWorksCM.CreateServer: csEngine :: Lens' CreateServer (Maybe Text)
- Network.AWS.OpsWorksCM.CreateServer: csEngineAttributes :: Lens' CreateServer [EngineAttribute]
- Network.AWS.OpsWorksCM.CreateServer: csEngineModel :: Lens' CreateServer (Maybe Text)
- Network.AWS.OpsWorksCM.CreateServer: csEngineVersion :: Lens' CreateServer (Maybe Text)
- Network.AWS.OpsWorksCM.CreateServer: csInstanceProfileARN :: Lens' CreateServer Text
- Network.AWS.OpsWorksCM.CreateServer: csInstanceType :: Lens' CreateServer Text
- Network.AWS.OpsWorksCM.CreateServer: csKeyPair :: Lens' CreateServer (Maybe Text)
- Network.AWS.OpsWorksCM.CreateServer: csPreferredBackupWindow :: Lens' CreateServer (Maybe Text)
- Network.AWS.OpsWorksCM.CreateServer: csPreferredMaintenanceWindow :: Lens' CreateServer (Maybe Text)
- Network.AWS.OpsWorksCM.CreateServer: csSecurityGroupIds :: Lens' CreateServer [Text]
- Network.AWS.OpsWorksCM.CreateServer: csServerName :: Lens' CreateServer Text
- Network.AWS.OpsWorksCM.CreateServer: csServiceRoleARN :: Lens' CreateServer Text
- Network.AWS.OpsWorksCM.CreateServer: csSubnetIds :: Lens' CreateServer [Text]
- Network.AWS.OpsWorksCM.CreateServer: csrsResponseStatus :: Lens' CreateServerResponse Int
- Network.AWS.OpsWorksCM.CreateServer: csrsServer :: Lens' CreateServerResponse (Maybe Server)
- Network.AWS.OpsWorksCM.CreateServer: data CreateServer
- Network.AWS.OpsWorksCM.CreateServer: data CreateServerResponse
- Network.AWS.OpsWorksCM.CreateServer: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.CreateServer.CreateServerResponse
- Network.AWS.OpsWorksCM.CreateServer: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance Data.Data.Data Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance Data.Data.Data Network.AWS.OpsWorksCM.CreateServer.CreateServerResponse
- Network.AWS.OpsWorksCM.CreateServer: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.CreateServer.CreateServerResponse
- Network.AWS.OpsWorksCM.CreateServer: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.CreateServer.CreateServerResponse
- Network.AWS.OpsWorksCM.CreateServer: instance GHC.Show.Show Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance GHC.Show.Show Network.AWS.OpsWorksCM.CreateServer.CreateServerResponse
- Network.AWS.OpsWorksCM.CreateServer: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.CreateServer: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.CreateServer.CreateServer
- Network.AWS.OpsWorksCM.DeleteBackup: data DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: data DeleteBackupResponse
- Network.AWS.OpsWorksCM.DeleteBackup: dbBackupId :: Lens' DeleteBackup Text
- Network.AWS.OpsWorksCM.DeleteBackup: dbrsResponseStatus :: Lens' DeleteBackupResponse Int
- Network.AWS.OpsWorksCM.DeleteBackup: deleteBackup :: Text -> DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: deleteBackupResponse :: Int -> DeleteBackupResponse
- Network.AWS.OpsWorksCM.DeleteBackup: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackupResponse
- Network.AWS.OpsWorksCM.DeleteBackup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance Data.Data.Data Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance Data.Data.Data Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackupResponse
- Network.AWS.OpsWorksCM.DeleteBackup: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackupResponse
- Network.AWS.OpsWorksCM.DeleteBackup: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackupResponse
- Network.AWS.OpsWorksCM.DeleteBackup: instance GHC.Read.Read Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance GHC.Read.Read Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackupResponse
- Network.AWS.OpsWorksCM.DeleteBackup: instance GHC.Show.Show Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance GHC.Show.Show Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackupResponse
- Network.AWS.OpsWorksCM.DeleteBackup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteBackup: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.DeleteBackup.DeleteBackup
- Network.AWS.OpsWorksCM.DeleteServer: data DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: data DeleteServerResponse
- Network.AWS.OpsWorksCM.DeleteServer: deleteServer :: Text -> DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: deleteServerResponse :: Int -> DeleteServerResponse
- Network.AWS.OpsWorksCM.DeleteServer: dsServerName :: Lens' DeleteServer Text
- Network.AWS.OpsWorksCM.DeleteServer: dsrsResponseStatus :: Lens' DeleteServerResponse Int
- Network.AWS.OpsWorksCM.DeleteServer: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DeleteServer.DeleteServerResponse
- Network.AWS.OpsWorksCM.DeleteServer: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance Data.Data.Data Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance Data.Data.Data Network.AWS.OpsWorksCM.DeleteServer.DeleteServerResponse
- Network.AWS.OpsWorksCM.DeleteServer: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DeleteServer.DeleteServerResponse
- Network.AWS.OpsWorksCM.DeleteServer: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DeleteServer.DeleteServerResponse
- Network.AWS.OpsWorksCM.DeleteServer: instance GHC.Read.Read Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance GHC.Read.Read Network.AWS.OpsWorksCM.DeleteServer.DeleteServerResponse
- Network.AWS.OpsWorksCM.DeleteServer: instance GHC.Show.Show Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance GHC.Show.Show Network.AWS.OpsWorksCM.DeleteServer.DeleteServerResponse
- Network.AWS.OpsWorksCM.DeleteServer: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DeleteServer: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.DeleteServer.DeleteServer
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: daarsAttributes :: Lens' DescribeAccountAttributesResponse [AccountAttribute]
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: daarsResponseStatus :: Lens' DescribeAccountAttributesResponse Int
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: data DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: data DescribeAccountAttributesResponse
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: describeAccountAttributes :: DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: describeAccountAttributesResponse :: Int -> DescribeAccountAttributesResponse
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance GHC.Read.Read Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance GHC.Read.Read Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeAccountAttributes: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
- Network.AWS.OpsWorksCM.DescribeBackups: dBackupId :: Lens' DescribeBackups (Maybe Text)
- Network.AWS.OpsWorksCM.DescribeBackups: dMaxResults :: Lens' DescribeBackups (Maybe Natural)
- Network.AWS.OpsWorksCM.DescribeBackups: dNextToken :: Lens' DescribeBackups (Maybe Text)
- Network.AWS.OpsWorksCM.DescribeBackups: dServerName :: Lens' DescribeBackups (Maybe Text)
- Network.AWS.OpsWorksCM.DescribeBackups: data DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: data DescribeBackupsResponse
- Network.AWS.OpsWorksCM.DescribeBackups: describeBackups :: DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: describeBackupsResponse :: Int -> DescribeBackupsResponse
- Network.AWS.OpsWorksCM.DescribeBackups: drsBackups :: Lens' DescribeBackupsResponse [Backup]
- Network.AWS.OpsWorksCM.DescribeBackups: drsNextToken :: Lens' DescribeBackupsResponse (Maybe Text)
- Network.AWS.OpsWorksCM.DescribeBackups: drsResponseStatus :: Lens' DescribeBackupsResponse Int
- Network.AWS.OpsWorksCM.DescribeBackups: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
- Network.AWS.OpsWorksCM.DescribeBackups: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
- Network.AWS.OpsWorksCM.DescribeBackups: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
- Network.AWS.OpsWorksCM.DescribeBackups: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
- Network.AWS.OpsWorksCM.DescribeBackups: instance GHC.Read.Read Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance GHC.Read.Read Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
- Network.AWS.OpsWorksCM.DescribeBackups: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
- Network.AWS.OpsWorksCM.DescribeBackups: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeBackups: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.DescribeBackups.DescribeBackups
- Network.AWS.OpsWorksCM.DescribeEvents: data DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: data DescribeEventsResponse
- Network.AWS.OpsWorksCM.DescribeEvents: deMaxResults :: Lens' DescribeEvents (Maybe Natural)
- Network.AWS.OpsWorksCM.DescribeEvents: deNextToken :: Lens' DescribeEvents (Maybe Text)
- Network.AWS.OpsWorksCM.DescribeEvents: deServerName :: Lens' DescribeEvents Text
- Network.AWS.OpsWorksCM.DescribeEvents: dersNextToken :: Lens' DescribeEventsResponse (Maybe Text)
- Network.AWS.OpsWorksCM.DescribeEvents: dersResponseStatus :: Lens' DescribeEventsResponse Int
- Network.AWS.OpsWorksCM.DescribeEvents: dersServerEvents :: Lens' DescribeEventsResponse [ServerEvent]
- Network.AWS.OpsWorksCM.DescribeEvents: describeEvents :: Text -> DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: describeEventsResponse :: Int -> DescribeEventsResponse
- Network.AWS.OpsWorksCM.DescribeEvents: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeEvents.DescribeEventsResponse
- Network.AWS.OpsWorksCM.DescribeEvents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeEvents.DescribeEventsResponse
- Network.AWS.OpsWorksCM.DescribeEvents: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeEvents.DescribeEventsResponse
- Network.AWS.OpsWorksCM.DescribeEvents: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeEvents.DescribeEventsResponse
- Network.AWS.OpsWorksCM.DescribeEvents: instance GHC.Read.Read Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance GHC.Read.Read Network.AWS.OpsWorksCM.DescribeEvents.DescribeEventsResponse
- Network.AWS.OpsWorksCM.DescribeEvents: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeEvents.DescribeEventsResponse
- Network.AWS.OpsWorksCM.DescribeEvents: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeEvents: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.DescribeEvents.DescribeEvents
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: data DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: data DescribeNodeAssociationStatusResponse
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: describeNodeAssociationStatus :: Text -> Text -> DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: describeNodeAssociationStatusResponse :: Int -> NodeAssociationStatus -> DescribeNodeAssociationStatusResponse
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: dnasNodeAssociationStatusToken :: Lens' DescribeNodeAssociationStatus Text
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: dnasServerName :: Lens' DescribeNodeAssociationStatus Text
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: dnasrsEngineAttributes :: Lens' DescribeNodeAssociationStatusResponse [EngineAttribute]
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: dnasrsNodeAssociationStatus :: Lens' DescribeNodeAssociationStatusResponse NodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: dnasrsResponseStatus :: Lens' DescribeNodeAssociationStatusResponse Int
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatusResponse
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatusResponse
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatusResponse
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatusResponse
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Read.Read Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatusResponse
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
- Network.AWS.OpsWorksCM.DescribeServers: data DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: data DescribeServersResponse
- Network.AWS.OpsWorksCM.DescribeServers: describeServers :: DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: describeServersResponse :: Int -> DescribeServersResponse
- Network.AWS.OpsWorksCM.DescribeServers: dssMaxResults :: Lens' DescribeServers (Maybe Natural)
- Network.AWS.OpsWorksCM.DescribeServers: dssNextToken :: Lens' DescribeServers (Maybe Text)
- Network.AWS.OpsWorksCM.DescribeServers: dssServerName :: Lens' DescribeServers (Maybe Text)
- Network.AWS.OpsWorksCM.DescribeServers: dssrsNextToken :: Lens' DescribeServersResponse (Maybe Text)
- Network.AWS.OpsWorksCM.DescribeServers: dssrsResponseStatus :: Lens' DescribeServersResponse Int
- Network.AWS.OpsWorksCM.DescribeServers: dssrsServers :: Lens' DescribeServersResponse [Server]
- Network.AWS.OpsWorksCM.DescribeServers: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DescribeServers.DescribeServersResponse
- Network.AWS.OpsWorksCM.DescribeServers: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance Data.Data.Data Network.AWS.OpsWorksCM.DescribeServers.DescribeServersResponse
- Network.AWS.OpsWorksCM.DescribeServers: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DescribeServers.DescribeServersResponse
- Network.AWS.OpsWorksCM.DescribeServers: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DescribeServers.DescribeServersResponse
- Network.AWS.OpsWorksCM.DescribeServers: instance GHC.Read.Read Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance GHC.Show.Show Network.AWS.OpsWorksCM.DescribeServers.DescribeServersResponse
- Network.AWS.OpsWorksCM.DescribeServers: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DescribeServers: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.DescribeServers.DescribeServers
- Network.AWS.OpsWorksCM.DisassociateNode: data DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: data DisassociateNodeResponse
- Network.AWS.OpsWorksCM.DisassociateNode: disassociateNode :: Text -> Text -> DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: disassociateNodeResponse :: Int -> DisassociateNodeResponse
- Network.AWS.OpsWorksCM.DisassociateNode: dnEngineAttributes :: Lens' DisassociateNode [EngineAttribute]
- Network.AWS.OpsWorksCM.DisassociateNode: dnNodeName :: Lens' DisassociateNode Text
- Network.AWS.OpsWorksCM.DisassociateNode: dnServerName :: Lens' DisassociateNode Text
- Network.AWS.OpsWorksCM.DisassociateNode: dnrsNodeAssociationStatusToken :: Lens' DisassociateNodeResponse (Maybe Text)
- Network.AWS.OpsWorksCM.DisassociateNode: dnrsResponseStatus :: Lens' DisassociateNodeResponse Int
- Network.AWS.OpsWorksCM.DisassociateNode: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
- Network.AWS.OpsWorksCM.DisassociateNode: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance Data.Data.Data Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance Data.Data.Data Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
- Network.AWS.OpsWorksCM.DisassociateNode: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
- Network.AWS.OpsWorksCM.DisassociateNode: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
- Network.AWS.OpsWorksCM.DisassociateNode: instance GHC.Read.Read Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
- Network.AWS.OpsWorksCM.DisassociateNode: instance GHC.Show.Show Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance GHC.Show.Show Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
- Network.AWS.OpsWorksCM.DisassociateNode: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.DisassociateNode: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.DisassociateNode.DisassociateNode
- Network.AWS.OpsWorksCM.RestoreServer: data RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: data RestoreServerResponse
- Network.AWS.OpsWorksCM.RestoreServer: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.RestoreServer.RestoreServerResponse
- Network.AWS.OpsWorksCM.RestoreServer: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance Data.Data.Data Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance Data.Data.Data Network.AWS.OpsWorksCM.RestoreServer.RestoreServerResponse
- Network.AWS.OpsWorksCM.RestoreServer: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.RestoreServer.RestoreServerResponse
- Network.AWS.OpsWorksCM.RestoreServer: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.RestoreServer.RestoreServerResponse
- Network.AWS.OpsWorksCM.RestoreServer: instance GHC.Read.Read Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance GHC.Read.Read Network.AWS.OpsWorksCM.RestoreServer.RestoreServerResponse
- Network.AWS.OpsWorksCM.RestoreServer: instance GHC.Show.Show Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance GHC.Show.Show Network.AWS.OpsWorksCM.RestoreServer.RestoreServerResponse
- Network.AWS.OpsWorksCM.RestoreServer: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.RestoreServer.RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: restoreServer :: Text -> Text -> RestoreServer
- Network.AWS.OpsWorksCM.RestoreServer: restoreServerResponse :: Int -> RestoreServerResponse
- Network.AWS.OpsWorksCM.RestoreServer: rsBackupId :: Lens' RestoreServer Text
- Network.AWS.OpsWorksCM.RestoreServer: rsInstanceType :: Lens' RestoreServer (Maybe Text)
- Network.AWS.OpsWorksCM.RestoreServer: rsKeyPair :: Lens' RestoreServer (Maybe Text)
- Network.AWS.OpsWorksCM.RestoreServer: rsServerName :: Lens' RestoreServer Text
- Network.AWS.OpsWorksCM.RestoreServer: rsrsResponseStatus :: Lens' RestoreServerResponse Int
- Network.AWS.OpsWorksCM.StartMaintenance: data StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: data StartMaintenanceResponse
- Network.AWS.OpsWorksCM.StartMaintenance: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenanceResponse
- Network.AWS.OpsWorksCM.StartMaintenance: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance Data.Data.Data Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance Data.Data.Data Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenanceResponse
- Network.AWS.OpsWorksCM.StartMaintenance: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenanceResponse
- Network.AWS.OpsWorksCM.StartMaintenance: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenanceResponse
- Network.AWS.OpsWorksCM.StartMaintenance: instance GHC.Show.Show Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance GHC.Show.Show Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenanceResponse
- Network.AWS.OpsWorksCM.StartMaintenance: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.StartMaintenance.StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: smEngineAttributes :: Lens' StartMaintenance [EngineAttribute]
- Network.AWS.OpsWorksCM.StartMaintenance: smServerName :: Lens' StartMaintenance Text
- Network.AWS.OpsWorksCM.StartMaintenance: smrsResponseStatus :: Lens' StartMaintenanceResponse Int
- Network.AWS.OpsWorksCM.StartMaintenance: smrsServer :: Lens' StartMaintenanceResponse (Maybe Server)
- Network.AWS.OpsWorksCM.StartMaintenance: startMaintenance :: Text -> StartMaintenance
- Network.AWS.OpsWorksCM.StartMaintenance: startMaintenanceResponse :: Int -> StartMaintenanceResponse
- Network.AWS.OpsWorksCM.Types: Automated :: BackupType
- Network.AWS.OpsWorksCM.Types: BSDeleting :: BackupStatus
- Network.AWS.OpsWorksCM.Types: BSFailed :: BackupStatus
- Network.AWS.OpsWorksCM.Types: BSInProgress :: BackupStatus
- Network.AWS.OpsWorksCM.Types: BSOK :: BackupStatus
- Network.AWS.OpsWorksCM.Types: BackingUp :: ServerStatus
- Network.AWS.OpsWorksCM.Types: ConnectionLost :: ServerStatus
- Network.AWS.OpsWorksCM.Types: Creating :: ServerStatus
- Network.AWS.OpsWorksCM.Types: Deleting :: ServerStatus
- Network.AWS.OpsWorksCM.Types: Failed :: ServerStatus
- Network.AWS.OpsWorksCM.Types: Healthy :: ServerStatus
- Network.AWS.OpsWorksCM.Types: MSFailed :: MaintenanceStatus
- Network.AWS.OpsWorksCM.Types: MSSuccess :: MaintenanceStatus
- Network.AWS.OpsWorksCM.Types: Manual :: BackupType
- Network.AWS.OpsWorksCM.Types: Modifying :: ServerStatus
- Network.AWS.OpsWorksCM.Types: NASFailed :: NodeAssociationStatus
- Network.AWS.OpsWorksCM.Types: NASInProgress :: NodeAssociationStatus
- Network.AWS.OpsWorksCM.Types: NASSuccess :: NodeAssociationStatus
- Network.AWS.OpsWorksCM.Types: Restoring :: ServerStatus
- Network.AWS.OpsWorksCM.Types: Running :: ServerStatus
- Network.AWS.OpsWorksCM.Types: Setup :: ServerStatus
- Network.AWS.OpsWorksCM.Types: Terminated :: ServerStatus
- Network.AWS.OpsWorksCM.Types: UnderMaintenance :: ServerStatus
- Network.AWS.OpsWorksCM.Types: Unhealthy :: ServerStatus
- Network.AWS.OpsWorksCM.Types: _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM.Types: _InvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM.Types: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM.Types: _ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM.Types: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM.Types: _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.OpsWorksCM.Types: aaMaximum :: Lens' AccountAttribute (Maybe Int)
- Network.AWS.OpsWorksCM.Types: aaName :: Lens' AccountAttribute (Maybe Text)
- Network.AWS.OpsWorksCM.Types: aaUsed :: Lens' AccountAttribute (Maybe Int)
- Network.AWS.OpsWorksCM.Types: accountAttribute :: AccountAttribute
- Network.AWS.OpsWorksCM.Types: bBackupARN :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bBackupId :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bBackupType :: Lens' Backup (Maybe BackupType)
- Network.AWS.OpsWorksCM.Types: bCreatedAt :: Lens' Backup (Maybe UTCTime)
- Network.AWS.OpsWorksCM.Types: bDescription :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bEngine :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bEngineModel :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bEngineVersion :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bInstanceProfileARN :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bInstanceType :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bKeyPair :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bPreferredBackupWindow :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bPreferredMaintenanceWindow :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bS3DataSize :: Lens' Backup (Maybe Int)
- Network.AWS.OpsWorksCM.Types: bS3DataURL :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bS3LogURL :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bSecurityGroupIds :: Lens' Backup [Text]
- Network.AWS.OpsWorksCM.Types: bServerName :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bServiceRoleARN :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bStatus :: Lens' Backup (Maybe BackupStatus)
- Network.AWS.OpsWorksCM.Types: bStatusDescription :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bSubnetIds :: Lens' Backup [Text]
- Network.AWS.OpsWorksCM.Types: bToolsVersion :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: bUserARN :: Lens' Backup (Maybe Text)
- Network.AWS.OpsWorksCM.Types: backup :: Backup
- Network.AWS.OpsWorksCM.Types: data AccountAttribute
- Network.AWS.OpsWorksCM.Types: data Backup
- Network.AWS.OpsWorksCM.Types: data BackupStatus
- Network.AWS.OpsWorksCM.Types: data BackupType
- Network.AWS.OpsWorksCM.Types: data EngineAttribute
- Network.AWS.OpsWorksCM.Types: data MaintenanceStatus
- Network.AWS.OpsWorksCM.Types: data NodeAssociationStatus
- Network.AWS.OpsWorksCM.Types: data Server
- Network.AWS.OpsWorksCM.Types: data ServerEvent
- Network.AWS.OpsWorksCM.Types: data ServerStatus
- Network.AWS.OpsWorksCM.Types: eaName :: Lens' EngineAttribute (Maybe Text)
- Network.AWS.OpsWorksCM.Types: eaValue :: Lens' EngineAttribute (Maybe Text)
- Network.AWS.OpsWorksCM.Types: engineAttribute :: EngineAttribute
- Network.AWS.OpsWorksCM.Types: opsWorksCM :: Service
- Network.AWS.OpsWorksCM.Types: sAssociatePublicIPAddress :: Lens' Server (Maybe Bool)
- Network.AWS.OpsWorksCM.Types: sBackupRetentionCount :: Lens' Server (Maybe Int)
- Network.AWS.OpsWorksCM.Types: sCloudFormationStackARN :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sCreatedAt :: Lens' Server (Maybe UTCTime)
- Network.AWS.OpsWorksCM.Types: sDisableAutomatedBackup :: Lens' Server (Maybe Bool)
- Network.AWS.OpsWorksCM.Types: sEndpoint :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sEngine :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sEngineAttributes :: Lens' Server [EngineAttribute]
- Network.AWS.OpsWorksCM.Types: sEngineModel :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sEngineVersion :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sInstanceProfileARN :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sInstanceType :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sKeyPair :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sMaintenanceStatus :: Lens' Server (Maybe MaintenanceStatus)
- Network.AWS.OpsWorksCM.Types: sPreferredBackupWindow :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sPreferredMaintenanceWindow :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sSecurityGroupIds :: Lens' Server [Text]
- Network.AWS.OpsWorksCM.Types: sServerARN :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sServerName :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sServiceRoleARN :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sStatus :: Lens' Server (Maybe ServerStatus)
- Network.AWS.OpsWorksCM.Types: sStatusReason :: Lens' Server (Maybe Text)
- Network.AWS.OpsWorksCM.Types: sSubnetIds :: Lens' Server [Text]
- Network.AWS.OpsWorksCM.Types: seCreatedAt :: Lens' ServerEvent (Maybe UTCTime)
- Network.AWS.OpsWorksCM.Types: seLogURL :: Lens' ServerEvent (Maybe Text)
- Network.AWS.OpsWorksCM.Types: seMessage :: Lens' ServerEvent (Maybe Text)
- Network.AWS.OpsWorksCM.Types: seServerName :: Lens' ServerEvent (Maybe Text)
- Network.AWS.OpsWorksCM.Types: server :: Server
- Network.AWS.OpsWorksCM.Types: serverEvent :: ServerEvent
- Network.AWS.OpsWorksCM.UpdateServer: data UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: data UpdateServerResponse
- Network.AWS.OpsWorksCM.UpdateServer: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.UpdateServer.UpdateServerResponse
- Network.AWS.OpsWorksCM.UpdateServer: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance Data.Data.Data Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance Data.Data.Data Network.AWS.OpsWorksCM.UpdateServer.UpdateServerResponse
- Network.AWS.OpsWorksCM.UpdateServer: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.UpdateServer.UpdateServerResponse
- Network.AWS.OpsWorksCM.UpdateServer: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.UpdateServer.UpdateServerResponse
- Network.AWS.OpsWorksCM.UpdateServer: instance GHC.Read.Read Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance GHC.Show.Show Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance GHC.Show.Show Network.AWS.OpsWorksCM.UpdateServer.UpdateServerResponse
- Network.AWS.OpsWorksCM.UpdateServer: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.UpdateServer.UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: updateServer :: Text -> UpdateServer
- Network.AWS.OpsWorksCM.UpdateServer: updateServerResponse :: Int -> UpdateServerResponse
- Network.AWS.OpsWorksCM.UpdateServer: usBackupRetentionCount :: Lens' UpdateServer (Maybe Int)
- Network.AWS.OpsWorksCM.UpdateServer: usDisableAutomatedBackup :: Lens' UpdateServer (Maybe Bool)
- Network.AWS.OpsWorksCM.UpdateServer: usPreferredBackupWindow :: Lens' UpdateServer (Maybe Text)
- Network.AWS.OpsWorksCM.UpdateServer: usPreferredMaintenanceWindow :: Lens' UpdateServer (Maybe Text)
- Network.AWS.OpsWorksCM.UpdateServer: usServerName :: Lens' UpdateServer Text
- Network.AWS.OpsWorksCM.UpdateServer: usrsResponseStatus :: Lens' UpdateServerResponse Int
- Network.AWS.OpsWorksCM.UpdateServer: usrsServer :: Lens' UpdateServerResponse (Maybe Server)
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: data UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: data UpdateServerEngineAttributesResponse
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Control.DeepSeq.NFData Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributesResponse
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Data.Data.Data Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Data.Data.Data Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributesResponse
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Data.Hashable.Class.Hashable Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Classes.Eq Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributesResponse
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Generics.Generic Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributesResponse
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Read.Read Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Show.Show Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Show.Show Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributesResponse
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Network.AWS.Data.Path.ToPath Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Network.AWS.Data.Query.ToQuery Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: instance Network.AWS.Types.AWSRequest Network.AWS.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: updateServerEngineAttributes :: Text -> Text -> UpdateServerEngineAttributes
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: updateServerEngineAttributesResponse :: Int -> UpdateServerEngineAttributesResponse
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: useaAttributeName :: Lens' UpdateServerEngineAttributes Text
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: useaAttributeValue :: Lens' UpdateServerEngineAttributes (Maybe Text)
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: useaServerName :: Lens' UpdateServerEngineAttributes Text
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: usearsResponseStatus :: Lens' UpdateServerEngineAttributesResponse Int
- Network.AWS.OpsWorksCM.UpdateServerEngineAttributes: usearsServer :: Lens' UpdateServerEngineAttributesResponse (Maybe Server)
- Network.AWS.OpsWorksCM.Waiters: nodeAssociated :: Wait DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM: AccountAttribute' :: Maybe Int -> Maybe Text -> Maybe Int -> AccountAttribute
+ Amazonka.OpsWorksCM: AssociateNode' :: Text -> Text -> [EngineAttribute] -> AssociateNode
+ Amazonka.OpsWorksCM: AssociateNodeResponse' :: Maybe Text -> Int -> AssociateNodeResponse
+ Amazonka.OpsWorksCM: Backup' :: Maybe Text -> Maybe Text -> Maybe BackupType -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe BackupStatus -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Backup
+ Amazonka.OpsWorksCM: BackupStatus' :: Text -> BackupStatus
+ Amazonka.OpsWorksCM: BackupType' :: Text -> BackupType
+ Amazonka.OpsWorksCM: CreateBackup' :: Maybe Text -> Maybe [Tag] -> Text -> CreateBackup
+ Amazonka.OpsWorksCM: CreateBackupResponse' :: Maybe Backup -> Int -> CreateBackupResponse
+ Amazonka.OpsWorksCM: CreateServer' :: Maybe Bool -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Maybe Bool -> Maybe [EngineAttribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe [Tag] -> Text -> Text -> Text -> Text -> Text -> CreateServer
+ Amazonka.OpsWorksCM: CreateServerResponse' :: Maybe Server -> Int -> CreateServerResponse
+ Amazonka.OpsWorksCM: DeleteBackup' :: Text -> DeleteBackup
+ Amazonka.OpsWorksCM: DeleteBackupResponse' :: Int -> DeleteBackupResponse
+ Amazonka.OpsWorksCM: DeleteServer' :: Text -> DeleteServer
+ Amazonka.OpsWorksCM: DeleteServerResponse' :: Int -> DeleteServerResponse
+ Amazonka.OpsWorksCM: DescribeAccountAttributes' :: DescribeAccountAttributes
+ Amazonka.OpsWorksCM: DescribeAccountAttributesResponse' :: Maybe [AccountAttribute] -> Int -> DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM: DescribeBackups' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> DescribeBackups
+ Amazonka.OpsWorksCM: DescribeBackupsResponse' :: Maybe [Backup] -> Maybe Text -> Int -> DescribeBackupsResponse
+ Amazonka.OpsWorksCM: DescribeEvents' :: Maybe Natural -> Maybe Text -> Text -> DescribeEvents
+ Amazonka.OpsWorksCM: DescribeEventsResponse' :: Maybe Text -> Maybe [ServerEvent] -> Int -> DescribeEventsResponse
+ Amazonka.OpsWorksCM: DescribeNodeAssociationStatus' :: Text -> Text -> DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM: DescribeNodeAssociationStatusResponse' :: Maybe [EngineAttribute] -> Int -> NodeAssociationStatus -> DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM: DescribeServers' :: Maybe Natural -> Maybe Text -> Maybe Text -> DescribeServers
+ Amazonka.OpsWorksCM: DescribeServersResponse' :: Maybe Text -> Maybe [Server] -> Int -> DescribeServersResponse
+ Amazonka.OpsWorksCM: DisassociateNode' :: Maybe [EngineAttribute] -> Text -> Text -> DisassociateNode
+ Amazonka.OpsWorksCM: DisassociateNodeResponse' :: Maybe Text -> Int -> DisassociateNodeResponse
+ Amazonka.OpsWorksCM: EngineAttribute' :: Maybe Text -> Maybe (Sensitive Text) -> EngineAttribute
+ Amazonka.OpsWorksCM: ExportServerEngineAttribute' :: Maybe [EngineAttribute] -> Text -> Text -> ExportServerEngineAttribute
+ Amazonka.OpsWorksCM: ExportServerEngineAttributeResponse' :: Maybe EngineAttribute -> Maybe Text -> Int -> ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM: ListTagsForResource' :: Maybe Natural -> Maybe Text -> Text -> ListTagsForResource
+ Amazonka.OpsWorksCM: ListTagsForResourceResponse' :: Maybe Text -> Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.OpsWorksCM: MaintenanceStatus' :: Text -> MaintenanceStatus
+ Amazonka.OpsWorksCM: NodeAssociationStatus' :: Text -> NodeAssociationStatus
+ Amazonka.OpsWorksCM: RestoreServer' :: Maybe Text -> Maybe Text -> Text -> Text -> RestoreServer
+ Amazonka.OpsWorksCM: RestoreServerResponse' :: Maybe Server -> Int -> RestoreServerResponse
+ Amazonka.OpsWorksCM: Server' :: Maybe Bool -> Maybe Int -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [EngineAttribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe MaintenanceStatus -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ServerStatus -> Maybe Text -> Maybe [Text] -> Server
+ Amazonka.OpsWorksCM: ServerEvent' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> ServerEvent
+ Amazonka.OpsWorksCM: ServerStatus' :: Text -> ServerStatus
+ Amazonka.OpsWorksCM: StartMaintenance' :: Maybe [EngineAttribute] -> Text -> StartMaintenance
+ Amazonka.OpsWorksCM: StartMaintenanceResponse' :: Maybe Server -> Int -> StartMaintenanceResponse
+ Amazonka.OpsWorksCM: Tag' :: Text -> Text -> Tag
+ Amazonka.OpsWorksCM: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.OpsWorksCM: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.OpsWorksCM: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.OpsWorksCM: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.OpsWorksCM: UpdateServer' :: Maybe Int -> Maybe Bool -> Maybe Text -> Maybe Text -> Text -> UpdateServer
+ Amazonka.OpsWorksCM: UpdateServerEngineAttributes' :: Maybe Text -> Text -> Text -> UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM: UpdateServerEngineAttributesResponse' :: Maybe Server -> Int -> UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM: UpdateServerResponse' :: Maybe Server -> Int -> UpdateServerResponse
+ Amazonka.OpsWorksCM: [fromBackupStatus] :: BackupStatus -> Text
+ Amazonka.OpsWorksCM: [fromBackupType] :: BackupType -> Text
+ Amazonka.OpsWorksCM: [fromMaintenanceStatus] :: MaintenanceStatus -> Text
+ Amazonka.OpsWorksCM: [fromNodeAssociationStatus] :: NodeAssociationStatus -> Text
+ Amazonka.OpsWorksCM: [fromServerStatus] :: ServerStatus -> Text
+ Amazonka.OpsWorksCM: _InvalidNextTokenException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM: _InvalidStateException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM: _ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM: _ValidationException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM: data AccountAttribute
+ Amazonka.OpsWorksCM: data AssociateNode
+ Amazonka.OpsWorksCM: data AssociateNodeResponse
+ Amazonka.OpsWorksCM: data Backup
+ Amazonka.OpsWorksCM: data CreateBackup
+ Amazonka.OpsWorksCM: data CreateBackupResponse
+ Amazonka.OpsWorksCM: data CreateServer
+ Amazonka.OpsWorksCM: data CreateServerResponse
+ Amazonka.OpsWorksCM: data DeleteBackup
+ Amazonka.OpsWorksCM: data DeleteBackupResponse
+ Amazonka.OpsWorksCM: data DeleteServer
+ Amazonka.OpsWorksCM: data DeleteServerResponse
+ Amazonka.OpsWorksCM: data DescribeAccountAttributes
+ Amazonka.OpsWorksCM: data DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM: data DescribeBackups
+ Amazonka.OpsWorksCM: data DescribeBackupsResponse
+ Amazonka.OpsWorksCM: data DescribeEvents
+ Amazonka.OpsWorksCM: data DescribeEventsResponse
+ Amazonka.OpsWorksCM: data DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM: data DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM: data DescribeServers
+ Amazonka.OpsWorksCM: data DescribeServersResponse
+ Amazonka.OpsWorksCM: data DisassociateNode
+ Amazonka.OpsWorksCM: data DisassociateNodeResponse
+ Amazonka.OpsWorksCM: data EngineAttribute
+ Amazonka.OpsWorksCM: data ExportServerEngineAttribute
+ Amazonka.OpsWorksCM: data ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM: data ListTagsForResource
+ Amazonka.OpsWorksCM: data ListTagsForResourceResponse
+ Amazonka.OpsWorksCM: data RestoreServer
+ Amazonka.OpsWorksCM: data RestoreServerResponse
+ Amazonka.OpsWorksCM: data Server
+ Amazonka.OpsWorksCM: data ServerEvent
+ Amazonka.OpsWorksCM: data StartMaintenance
+ Amazonka.OpsWorksCM: data StartMaintenanceResponse
+ Amazonka.OpsWorksCM: data Tag
+ Amazonka.OpsWorksCM: data TagResource
+ Amazonka.OpsWorksCM: data TagResourceResponse
+ Amazonka.OpsWorksCM: data UntagResource
+ Amazonka.OpsWorksCM: data UntagResourceResponse
+ Amazonka.OpsWorksCM: data UpdateServer
+ Amazonka.OpsWorksCM: data UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM: data UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM: data UpdateServerResponse
+ Amazonka.OpsWorksCM: defaultService :: Service
+ Amazonka.OpsWorksCM: newAccountAttribute :: AccountAttribute
+ Amazonka.OpsWorksCM: newAssociateNode :: Text -> Text -> AssociateNode
+ Amazonka.OpsWorksCM: newAssociateNodeResponse :: Int -> AssociateNodeResponse
+ Amazonka.OpsWorksCM: newBackup :: Backup
+ Amazonka.OpsWorksCM: newCreateBackup :: Text -> CreateBackup
+ Amazonka.OpsWorksCM: newCreateBackupResponse :: Int -> CreateBackupResponse
+ Amazonka.OpsWorksCM: newCreateServer :: Text -> Text -> Text -> Text -> Text -> CreateServer
+ Amazonka.OpsWorksCM: newCreateServerResponse :: Int -> CreateServerResponse
+ Amazonka.OpsWorksCM: newDeleteBackup :: Text -> DeleteBackup
+ Amazonka.OpsWorksCM: newDeleteBackupResponse :: Int -> DeleteBackupResponse
+ Amazonka.OpsWorksCM: newDeleteServer :: Text -> DeleteServer
+ Amazonka.OpsWorksCM: newDeleteServerResponse :: Int -> DeleteServerResponse
+ Amazonka.OpsWorksCM: newDescribeAccountAttributes :: DescribeAccountAttributes
+ Amazonka.OpsWorksCM: newDescribeAccountAttributesResponse :: Int -> DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM: newDescribeBackups :: DescribeBackups
+ Amazonka.OpsWorksCM: newDescribeBackupsResponse :: Int -> DescribeBackupsResponse
+ Amazonka.OpsWorksCM: newDescribeEvents :: Text -> DescribeEvents
+ Amazonka.OpsWorksCM: newDescribeEventsResponse :: Int -> DescribeEventsResponse
+ Amazonka.OpsWorksCM: newDescribeNodeAssociationStatus :: Text -> Text -> DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM: newDescribeNodeAssociationStatusResponse :: Int -> NodeAssociationStatus -> DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM: newDescribeServers :: DescribeServers
+ Amazonka.OpsWorksCM: newDescribeServersResponse :: Int -> DescribeServersResponse
+ Amazonka.OpsWorksCM: newDisassociateNode :: Text -> Text -> DisassociateNode
+ Amazonka.OpsWorksCM: newDisassociateNodeResponse :: Int -> DisassociateNodeResponse
+ Amazonka.OpsWorksCM: newEngineAttribute :: EngineAttribute
+ Amazonka.OpsWorksCM: newExportServerEngineAttribute :: Text -> Text -> ExportServerEngineAttribute
+ Amazonka.OpsWorksCM: newExportServerEngineAttributeResponse :: Int -> ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.OpsWorksCM: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.OpsWorksCM: newNodeAssociated :: Wait DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM: newRestoreServer :: Text -> Text -> RestoreServer
+ Amazonka.OpsWorksCM: newRestoreServerResponse :: Int -> RestoreServerResponse
+ Amazonka.OpsWorksCM: newServer :: Server
+ Amazonka.OpsWorksCM: newServerEvent :: ServerEvent
+ Amazonka.OpsWorksCM: newStartMaintenance :: Text -> StartMaintenance
+ Amazonka.OpsWorksCM: newStartMaintenanceResponse :: Int -> StartMaintenanceResponse
+ Amazonka.OpsWorksCM: newTag :: Text -> Text -> Tag
+ Amazonka.OpsWorksCM: newTagResource :: Text -> TagResource
+ Amazonka.OpsWorksCM: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.OpsWorksCM: newUntagResource :: Text -> UntagResource
+ Amazonka.OpsWorksCM: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.OpsWorksCM: newUpdateServer :: Text -> UpdateServer
+ Amazonka.OpsWorksCM: newUpdateServerEngineAttributes :: Text -> Text -> UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM: newUpdateServerEngineAttributesResponse :: Int -> UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM: newUpdateServerResponse :: Int -> UpdateServerResponse
+ Amazonka.OpsWorksCM: newtype BackupStatus
+ Amazonka.OpsWorksCM: newtype BackupType
+ Amazonka.OpsWorksCM: newtype MaintenanceStatus
+ Amazonka.OpsWorksCM: newtype NodeAssociationStatus
+ Amazonka.OpsWorksCM: newtype ServerStatus
+ Amazonka.OpsWorksCM: pattern BackupStatus_DELETING :: BackupStatus
+ Amazonka.OpsWorksCM: pattern BackupStatus_FAILED :: BackupStatus
+ Amazonka.OpsWorksCM: pattern BackupStatus_IN_PROGRESS :: BackupStatus
+ Amazonka.OpsWorksCM: pattern BackupStatus_OK :: BackupStatus
+ Amazonka.OpsWorksCM: pattern BackupType_AUTOMATED :: BackupType
+ Amazonka.OpsWorksCM: pattern BackupType_MANUAL :: BackupType
+ Amazonka.OpsWorksCM: pattern MaintenanceStatus_FAILED :: MaintenanceStatus
+ Amazonka.OpsWorksCM: pattern MaintenanceStatus_SUCCESS :: MaintenanceStatus
+ Amazonka.OpsWorksCM: pattern NodeAssociationStatus_FAILED :: NodeAssociationStatus
+ Amazonka.OpsWorksCM: pattern NodeAssociationStatus_IN_PROGRESS :: NodeAssociationStatus
+ Amazonka.OpsWorksCM: pattern NodeAssociationStatus_SUCCESS :: NodeAssociationStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_BACKING_UP :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_CONNECTION_LOST :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_CREATING :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_DELETING :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_FAILED :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_HEALTHY :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_MODIFYING :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_RESTORING :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_RUNNING :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_SETUP :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_TERMINATED :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_UNDER_MAINTENANCE :: ServerStatus
+ Amazonka.OpsWorksCM: pattern ServerStatus_UNHEALTHY :: ServerStatus
+ Amazonka.OpsWorksCM.AssociateNode: AssociateNode' :: Text -> Text -> [EngineAttribute] -> AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: AssociateNodeResponse' :: Maybe Text -> Int -> AssociateNodeResponse
+ Amazonka.OpsWorksCM.AssociateNode: [$sel:engineAttributes:AssociateNode'] :: AssociateNode -> [EngineAttribute]
+ Amazonka.OpsWorksCM.AssociateNode: [$sel:httpStatus:AssociateNodeResponse'] :: AssociateNodeResponse -> Int
+ Amazonka.OpsWorksCM.AssociateNode: [$sel:nodeAssociationStatusToken:AssociateNodeResponse'] :: AssociateNodeResponse -> Maybe Text
+ Amazonka.OpsWorksCM.AssociateNode: [$sel:nodeName:AssociateNode'] :: AssociateNode -> Text
+ Amazonka.OpsWorksCM.AssociateNode: [$sel:serverName:AssociateNode'] :: AssociateNode -> Text
+ Amazonka.OpsWorksCM.AssociateNode: associateNodeResponse_httpStatus :: Lens' AssociateNodeResponse Int
+ Amazonka.OpsWorksCM.AssociateNode: associateNodeResponse_nodeAssociationStatusToken :: Lens' AssociateNodeResponse (Maybe Text)
+ Amazonka.OpsWorksCM.AssociateNode: associateNode_engineAttributes :: Lens' AssociateNode [EngineAttribute]
+ Amazonka.OpsWorksCM.AssociateNode: associateNode_nodeName :: Lens' AssociateNode Text
+ Amazonka.OpsWorksCM.AssociateNode: associateNode_serverName :: Lens' AssociateNode Text
+ Amazonka.OpsWorksCM.AssociateNode: data AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: data AssociateNodeResponse
+ Amazonka.OpsWorksCM.AssociateNode: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.AssociateNode.AssociateNodeResponse
+ Amazonka.OpsWorksCM.AssociateNode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance GHC.Classes.Eq Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance GHC.Classes.Eq Amazonka.OpsWorksCM.AssociateNode.AssociateNodeResponse
+ Amazonka.OpsWorksCM.AssociateNode: instance GHC.Generics.Generic Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance GHC.Generics.Generic Amazonka.OpsWorksCM.AssociateNode.AssociateNodeResponse
+ Amazonka.OpsWorksCM.AssociateNode: instance GHC.Read.Read Amazonka.OpsWorksCM.AssociateNode.AssociateNodeResponse
+ Amazonka.OpsWorksCM.AssociateNode: instance GHC.Show.Show Amazonka.OpsWorksCM.AssociateNode.AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: instance GHC.Show.Show Amazonka.OpsWorksCM.AssociateNode.AssociateNodeResponse
+ Amazonka.OpsWorksCM.AssociateNode: newAssociateNode :: Text -> Text -> AssociateNode
+ Amazonka.OpsWorksCM.AssociateNode: newAssociateNodeResponse :: Int -> AssociateNodeResponse
+ Amazonka.OpsWorksCM.CreateBackup: CreateBackup' :: Maybe Text -> Maybe [Tag] -> Text -> CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: CreateBackupResponse' :: Maybe Backup -> Int -> CreateBackupResponse
+ Amazonka.OpsWorksCM.CreateBackup: [$sel:backup:CreateBackupResponse'] :: CreateBackupResponse -> Maybe Backup
+ Amazonka.OpsWorksCM.CreateBackup: [$sel:description:CreateBackup'] :: CreateBackup -> Maybe Text
+ Amazonka.OpsWorksCM.CreateBackup: [$sel:httpStatus:CreateBackupResponse'] :: CreateBackupResponse -> Int
+ Amazonka.OpsWorksCM.CreateBackup: [$sel:serverName:CreateBackup'] :: CreateBackup -> Text
+ Amazonka.OpsWorksCM.CreateBackup: [$sel:tags:CreateBackup'] :: CreateBackup -> Maybe [Tag]
+ Amazonka.OpsWorksCM.CreateBackup: createBackupResponse_backup :: Lens' CreateBackupResponse (Maybe Backup)
+ Amazonka.OpsWorksCM.CreateBackup: createBackupResponse_httpStatus :: Lens' CreateBackupResponse Int
+ Amazonka.OpsWorksCM.CreateBackup: createBackup_description :: Lens' CreateBackup (Maybe Text)
+ Amazonka.OpsWorksCM.CreateBackup: createBackup_serverName :: Lens' CreateBackup Text
+ Amazonka.OpsWorksCM.CreateBackup: createBackup_tags :: Lens' CreateBackup (Maybe [Tag])
+ Amazonka.OpsWorksCM.CreateBackup: data CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: data CreateBackupResponse
+ Amazonka.OpsWorksCM.CreateBackup: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.CreateBackup.CreateBackupResponse
+ Amazonka.OpsWorksCM.CreateBackup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance GHC.Classes.Eq Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance GHC.Classes.Eq Amazonka.OpsWorksCM.CreateBackup.CreateBackupResponse
+ Amazonka.OpsWorksCM.CreateBackup: instance GHC.Generics.Generic Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance GHC.Generics.Generic Amazonka.OpsWorksCM.CreateBackup.CreateBackupResponse
+ Amazonka.OpsWorksCM.CreateBackup: instance GHC.Read.Read Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance GHC.Read.Read Amazonka.OpsWorksCM.CreateBackup.CreateBackupResponse
+ Amazonka.OpsWorksCM.CreateBackup: instance GHC.Show.Show Amazonka.OpsWorksCM.CreateBackup.CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: instance GHC.Show.Show Amazonka.OpsWorksCM.CreateBackup.CreateBackupResponse
+ Amazonka.OpsWorksCM.CreateBackup: newCreateBackup :: Text -> CreateBackup
+ Amazonka.OpsWorksCM.CreateBackup: newCreateBackupResponse :: Int -> CreateBackupResponse
+ Amazonka.OpsWorksCM.CreateServer: CreateServer' :: Maybe Bool -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Maybe Bool -> Maybe [EngineAttribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe [Text] -> Maybe [Tag] -> Text -> Text -> Text -> Text -> Text -> CreateServer
+ Amazonka.OpsWorksCM.CreateServer: CreateServerResponse' :: Maybe Server -> Int -> CreateServerResponse
+ Amazonka.OpsWorksCM.CreateServer: [$sel:associatePublicIpAddress:CreateServer'] :: CreateServer -> Maybe Bool
+ Amazonka.OpsWorksCM.CreateServer: [$sel:backupId:CreateServer'] :: CreateServer -> Maybe Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:backupRetentionCount:CreateServer'] :: CreateServer -> Maybe Natural
+ Amazonka.OpsWorksCM.CreateServer: [$sel:customCertificate:CreateServer'] :: CreateServer -> Maybe Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:customDomain:CreateServer'] :: CreateServer -> Maybe Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:customPrivateKey:CreateServer'] :: CreateServer -> Maybe (Sensitive Text)
+ Amazonka.OpsWorksCM.CreateServer: [$sel:disableAutomatedBackup:CreateServer'] :: CreateServer -> Maybe Bool
+ Amazonka.OpsWorksCM.CreateServer: [$sel:engine:CreateServer'] :: CreateServer -> Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:engineAttributes:CreateServer'] :: CreateServer -> Maybe [EngineAttribute]
+ Amazonka.OpsWorksCM.CreateServer: [$sel:engineModel:CreateServer'] :: CreateServer -> Maybe Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:engineVersion:CreateServer'] :: CreateServer -> Maybe Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:httpStatus:CreateServerResponse'] :: CreateServerResponse -> Int
+ Amazonka.OpsWorksCM.CreateServer: [$sel:instanceProfileArn:CreateServer'] :: CreateServer -> Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:instanceType:CreateServer'] :: CreateServer -> Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:keyPair:CreateServer'] :: CreateServer -> Maybe Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:preferredBackupWindow:CreateServer'] :: CreateServer -> Maybe Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:preferredMaintenanceWindow:CreateServer'] :: CreateServer -> Maybe Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:securityGroupIds:CreateServer'] :: CreateServer -> Maybe [Text]
+ Amazonka.OpsWorksCM.CreateServer: [$sel:server:CreateServerResponse'] :: CreateServerResponse -> Maybe Server
+ Amazonka.OpsWorksCM.CreateServer: [$sel:serverName:CreateServer'] :: CreateServer -> Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:serviceRoleArn:CreateServer'] :: CreateServer -> Text
+ Amazonka.OpsWorksCM.CreateServer: [$sel:subnetIds:CreateServer'] :: CreateServer -> Maybe [Text]
+ Amazonka.OpsWorksCM.CreateServer: [$sel:tags:CreateServer'] :: CreateServer -> Maybe [Tag]
+ Amazonka.OpsWorksCM.CreateServer: createServerResponse_httpStatus :: Lens' CreateServerResponse Int
+ Amazonka.OpsWorksCM.CreateServer: createServerResponse_server :: Lens' CreateServerResponse (Maybe Server)
+ Amazonka.OpsWorksCM.CreateServer: createServer_associatePublicIpAddress :: Lens' CreateServer (Maybe Bool)
+ Amazonka.OpsWorksCM.CreateServer: createServer_backupId :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.CreateServer: createServer_backupRetentionCount :: Lens' CreateServer (Maybe Natural)
+ Amazonka.OpsWorksCM.CreateServer: createServer_customCertificate :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.CreateServer: createServer_customDomain :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.CreateServer: createServer_customPrivateKey :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.CreateServer: createServer_disableAutomatedBackup :: Lens' CreateServer (Maybe Bool)
+ Amazonka.OpsWorksCM.CreateServer: createServer_engine :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.CreateServer: createServer_engineAttributes :: Lens' CreateServer (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.CreateServer: createServer_engineModel :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.CreateServer: createServer_engineVersion :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.CreateServer: createServer_instanceProfileArn :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.CreateServer: createServer_instanceType :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.CreateServer: createServer_keyPair :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.CreateServer: createServer_preferredBackupWindow :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.CreateServer: createServer_preferredMaintenanceWindow :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.CreateServer: createServer_securityGroupIds :: Lens' CreateServer (Maybe [Text])
+ Amazonka.OpsWorksCM.CreateServer: createServer_serverName :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.CreateServer: createServer_serviceRoleArn :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.CreateServer: createServer_subnetIds :: Lens' CreateServer (Maybe [Text])
+ Amazonka.OpsWorksCM.CreateServer: createServer_tags :: Lens' CreateServer (Maybe [Tag])
+ Amazonka.OpsWorksCM.CreateServer: data CreateServer
+ Amazonka.OpsWorksCM.CreateServer: data CreateServerResponse
+ Amazonka.OpsWorksCM.CreateServer: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.CreateServer.CreateServerResponse
+ Amazonka.OpsWorksCM.CreateServer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance GHC.Classes.Eq Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance GHC.Classes.Eq Amazonka.OpsWorksCM.CreateServer.CreateServerResponse
+ Amazonka.OpsWorksCM.CreateServer: instance GHC.Generics.Generic Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance GHC.Generics.Generic Amazonka.OpsWorksCM.CreateServer.CreateServerResponse
+ Amazonka.OpsWorksCM.CreateServer: instance GHC.Show.Show Amazonka.OpsWorksCM.CreateServer.CreateServer
+ Amazonka.OpsWorksCM.CreateServer: instance GHC.Show.Show Amazonka.OpsWorksCM.CreateServer.CreateServerResponse
+ Amazonka.OpsWorksCM.CreateServer: newCreateServer :: Text -> Text -> Text -> Text -> Text -> CreateServer
+ Amazonka.OpsWorksCM.CreateServer: newCreateServerResponse :: Int -> CreateServerResponse
+ Amazonka.OpsWorksCM.DeleteBackup: DeleteBackup' :: Text -> DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: DeleteBackupResponse' :: Int -> DeleteBackupResponse
+ Amazonka.OpsWorksCM.DeleteBackup: [$sel:backupId:DeleteBackup'] :: DeleteBackup -> Text
+ Amazonka.OpsWorksCM.DeleteBackup: [$sel:httpStatus:DeleteBackupResponse'] :: DeleteBackupResponse -> Int
+ Amazonka.OpsWorksCM.DeleteBackup: data DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: data DeleteBackupResponse
+ Amazonka.OpsWorksCM.DeleteBackup: deleteBackupResponse_httpStatus :: Lens' DeleteBackupResponse Int
+ Amazonka.OpsWorksCM.DeleteBackup: deleteBackup_backupId :: Lens' DeleteBackup Text
+ Amazonka.OpsWorksCM.DeleteBackup: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DeleteBackup.DeleteBackupResponse
+ Amazonka.OpsWorksCM.DeleteBackup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DeleteBackup.DeleteBackupResponse
+ Amazonka.OpsWorksCM.DeleteBackup: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DeleteBackup.DeleteBackupResponse
+ Amazonka.OpsWorksCM.DeleteBackup: instance GHC.Read.Read Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance GHC.Read.Read Amazonka.OpsWorksCM.DeleteBackup.DeleteBackupResponse
+ Amazonka.OpsWorksCM.DeleteBackup: instance GHC.Show.Show Amazonka.OpsWorksCM.DeleteBackup.DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: instance GHC.Show.Show Amazonka.OpsWorksCM.DeleteBackup.DeleteBackupResponse
+ Amazonka.OpsWorksCM.DeleteBackup: newDeleteBackup :: Text -> DeleteBackup
+ Amazonka.OpsWorksCM.DeleteBackup: newDeleteBackupResponse :: Int -> DeleteBackupResponse
+ Amazonka.OpsWorksCM.DeleteServer: DeleteServer' :: Text -> DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: DeleteServerResponse' :: Int -> DeleteServerResponse
+ Amazonka.OpsWorksCM.DeleteServer: [$sel:httpStatus:DeleteServerResponse'] :: DeleteServerResponse -> Int
+ Amazonka.OpsWorksCM.DeleteServer: [$sel:serverName:DeleteServer'] :: DeleteServer -> Text
+ Amazonka.OpsWorksCM.DeleteServer: data DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: data DeleteServerResponse
+ Amazonka.OpsWorksCM.DeleteServer: deleteServerResponse_httpStatus :: Lens' DeleteServerResponse Int
+ Amazonka.OpsWorksCM.DeleteServer: deleteServer_serverName :: Lens' DeleteServer Text
+ Amazonka.OpsWorksCM.DeleteServer: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DeleteServer.DeleteServerResponse
+ Amazonka.OpsWorksCM.DeleteServer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DeleteServer.DeleteServerResponse
+ Amazonka.OpsWorksCM.DeleteServer: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DeleteServer.DeleteServerResponse
+ Amazonka.OpsWorksCM.DeleteServer: instance GHC.Read.Read Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance GHC.Read.Read Amazonka.OpsWorksCM.DeleteServer.DeleteServerResponse
+ Amazonka.OpsWorksCM.DeleteServer: instance GHC.Show.Show Amazonka.OpsWorksCM.DeleteServer.DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: instance GHC.Show.Show Amazonka.OpsWorksCM.DeleteServer.DeleteServerResponse
+ Amazonka.OpsWorksCM.DeleteServer: newDeleteServer :: Text -> DeleteServer
+ Amazonka.OpsWorksCM.DeleteServer: newDeleteServerResponse :: Int -> DeleteServerResponse
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: DescribeAccountAttributes' :: DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: DescribeAccountAttributesResponse' :: Maybe [AccountAttribute] -> Int -> DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: [$sel:attributes:DescribeAccountAttributesResponse'] :: DescribeAccountAttributesResponse -> Maybe [AccountAttribute]
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: [$sel:httpStatus:DescribeAccountAttributesResponse'] :: DescribeAccountAttributesResponse -> Int
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: data DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: data DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: describeAccountAttributesResponse_attributes :: Lens' DescribeAccountAttributesResponse (Maybe [AccountAttribute])
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: describeAccountAttributesResponse_httpStatus :: Lens' DescribeAccountAttributesResponse Int
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance GHC.Read.Read Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance GHC.Read.Read Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeAccountAttributes.DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: newDescribeAccountAttributes :: DescribeAccountAttributes
+ Amazonka.OpsWorksCM.DescribeAccountAttributes: newDescribeAccountAttributesResponse :: Int -> DescribeAccountAttributesResponse
+ Amazonka.OpsWorksCM.DescribeBackups: DescribeBackups' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: DescribeBackupsResponse' :: Maybe [Backup] -> Maybe Text -> Int -> DescribeBackupsResponse
+ Amazonka.OpsWorksCM.DescribeBackups: [$sel:backupId:DescribeBackups'] :: DescribeBackups -> Maybe Text
+ Amazonka.OpsWorksCM.DescribeBackups: [$sel:backups:DescribeBackupsResponse'] :: DescribeBackupsResponse -> Maybe [Backup]
+ Amazonka.OpsWorksCM.DescribeBackups: [$sel:httpStatus:DescribeBackupsResponse'] :: DescribeBackupsResponse -> Int
+ Amazonka.OpsWorksCM.DescribeBackups: [$sel:maxResults:DescribeBackups'] :: DescribeBackups -> Maybe Natural
+ Amazonka.OpsWorksCM.DescribeBackups: [$sel:nextToken:DescribeBackups'] :: DescribeBackups -> Maybe Text
+ Amazonka.OpsWorksCM.DescribeBackups: [$sel:nextToken:DescribeBackupsResponse'] :: DescribeBackupsResponse -> Maybe Text
+ Amazonka.OpsWorksCM.DescribeBackups: [$sel:serverName:DescribeBackups'] :: DescribeBackups -> Maybe Text
+ Amazonka.OpsWorksCM.DescribeBackups: data DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: data DescribeBackupsResponse
+ Amazonka.OpsWorksCM.DescribeBackups: describeBackupsResponse_backups :: Lens' DescribeBackupsResponse (Maybe [Backup])
+ Amazonka.OpsWorksCM.DescribeBackups: describeBackupsResponse_httpStatus :: Lens' DescribeBackupsResponse Int
+ Amazonka.OpsWorksCM.DescribeBackups: describeBackupsResponse_nextToken :: Lens' DescribeBackupsResponse (Maybe Text)
+ Amazonka.OpsWorksCM.DescribeBackups: describeBackups_backupId :: Lens' DescribeBackups (Maybe Text)
+ Amazonka.OpsWorksCM.DescribeBackups: describeBackups_maxResults :: Lens' DescribeBackups (Maybe Natural)
+ Amazonka.OpsWorksCM.DescribeBackups: describeBackups_nextToken :: Lens' DescribeBackups (Maybe Text)
+ Amazonka.OpsWorksCM.DescribeBackups: describeBackups_serverName :: Lens' DescribeBackups (Maybe Text)
+ Amazonka.OpsWorksCM.DescribeBackups: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance Amazonka.Pager.AWSPager Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
+ Amazonka.OpsWorksCM.DescribeBackups: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
+ Amazonka.OpsWorksCM.DescribeBackups: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
+ Amazonka.OpsWorksCM.DescribeBackups: instance GHC.Read.Read Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance GHC.Read.Read Amazonka.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
+ Amazonka.OpsWorksCM.DescribeBackups: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeBackups.DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeBackups.DescribeBackupsResponse
+ Amazonka.OpsWorksCM.DescribeBackups: newDescribeBackups :: DescribeBackups
+ Amazonka.OpsWorksCM.DescribeBackups: newDescribeBackupsResponse :: Int -> DescribeBackupsResponse
+ Amazonka.OpsWorksCM.DescribeEvents: DescribeEvents' :: Maybe Natural -> Maybe Text -> Text -> DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: DescribeEventsResponse' :: Maybe Text -> Maybe [ServerEvent] -> Int -> DescribeEventsResponse
+ Amazonka.OpsWorksCM.DescribeEvents: [$sel:httpStatus:DescribeEventsResponse'] :: DescribeEventsResponse -> Int
+ Amazonka.OpsWorksCM.DescribeEvents: [$sel:maxResults:DescribeEvents'] :: DescribeEvents -> Maybe Natural
+ Amazonka.OpsWorksCM.DescribeEvents: [$sel:nextToken:DescribeEvents'] :: DescribeEvents -> Maybe Text
+ Amazonka.OpsWorksCM.DescribeEvents: [$sel:nextToken:DescribeEventsResponse'] :: DescribeEventsResponse -> Maybe Text
+ Amazonka.OpsWorksCM.DescribeEvents: [$sel:serverEvents:DescribeEventsResponse'] :: DescribeEventsResponse -> Maybe [ServerEvent]
+ Amazonka.OpsWorksCM.DescribeEvents: [$sel:serverName:DescribeEvents'] :: DescribeEvents -> Text
+ Amazonka.OpsWorksCM.DescribeEvents: data DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: data DescribeEventsResponse
+ Amazonka.OpsWorksCM.DescribeEvents: describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int
+ Amazonka.OpsWorksCM.DescribeEvents: describeEventsResponse_nextToken :: Lens' DescribeEventsResponse (Maybe Text)
+ Amazonka.OpsWorksCM.DescribeEvents: describeEventsResponse_serverEvents :: Lens' DescribeEventsResponse (Maybe [ServerEvent])
+ Amazonka.OpsWorksCM.DescribeEvents: describeEvents_maxResults :: Lens' DescribeEvents (Maybe Natural)
+ Amazonka.OpsWorksCM.DescribeEvents: describeEvents_nextToken :: Lens' DescribeEvents (Maybe Text)
+ Amazonka.OpsWorksCM.DescribeEvents: describeEvents_serverName :: Lens' DescribeEvents Text
+ Amazonka.OpsWorksCM.DescribeEvents: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance Amazonka.Pager.AWSPager Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeEvents.DescribeEventsResponse
+ Amazonka.OpsWorksCM.DescribeEvents: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeEvents.DescribeEventsResponse
+ Amazonka.OpsWorksCM.DescribeEvents: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeEvents.DescribeEventsResponse
+ Amazonka.OpsWorksCM.DescribeEvents: instance GHC.Read.Read Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance GHC.Read.Read Amazonka.OpsWorksCM.DescribeEvents.DescribeEventsResponse
+ Amazonka.OpsWorksCM.DescribeEvents: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeEvents.DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeEvents.DescribeEventsResponse
+ Amazonka.OpsWorksCM.DescribeEvents: newDescribeEvents :: Text -> DescribeEvents
+ Amazonka.OpsWorksCM.DescribeEvents: newDescribeEventsResponse :: Int -> DescribeEventsResponse
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: DescribeNodeAssociationStatus' :: Text -> Text -> DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: DescribeNodeAssociationStatusResponse' :: Maybe [EngineAttribute] -> Int -> NodeAssociationStatus -> DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: [$sel:engineAttributes:DescribeNodeAssociationStatusResponse'] :: DescribeNodeAssociationStatusResponse -> Maybe [EngineAttribute]
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: [$sel:httpStatus:DescribeNodeAssociationStatusResponse'] :: DescribeNodeAssociationStatusResponse -> Int
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: [$sel:nodeAssociationStatus:DescribeNodeAssociationStatusResponse'] :: DescribeNodeAssociationStatusResponse -> NodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: [$sel:nodeAssociationStatusToken:DescribeNodeAssociationStatus'] :: DescribeNodeAssociationStatus -> Text
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: [$sel:serverName:DescribeNodeAssociationStatus'] :: DescribeNodeAssociationStatus -> Text
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: data DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: data DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: describeNodeAssociationStatusResponse_engineAttributes :: Lens' DescribeNodeAssociationStatusResponse (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: describeNodeAssociationStatusResponse_httpStatus :: Lens' DescribeNodeAssociationStatusResponse Int
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: describeNodeAssociationStatusResponse_nodeAssociationStatus :: Lens' DescribeNodeAssociationStatusResponse NodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: describeNodeAssociationStatus_nodeAssociationStatusToken :: Lens' DescribeNodeAssociationStatus Text
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: describeNodeAssociationStatus_serverName :: Lens' DescribeNodeAssociationStatus Text
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Read.Read Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeNodeAssociationStatus.DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: newDescribeNodeAssociationStatus :: Text -> Text -> DescribeNodeAssociationStatus
+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus: newDescribeNodeAssociationStatusResponse :: Int -> NodeAssociationStatus -> DescribeNodeAssociationStatusResponse
+ Amazonka.OpsWorksCM.DescribeServers: DescribeServers' :: Maybe Natural -> Maybe Text -> Maybe Text -> DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: DescribeServersResponse' :: Maybe Text -> Maybe [Server] -> Int -> DescribeServersResponse
+ Amazonka.OpsWorksCM.DescribeServers: [$sel:httpStatus:DescribeServersResponse'] :: DescribeServersResponse -> Int
+ Amazonka.OpsWorksCM.DescribeServers: [$sel:maxResults:DescribeServers'] :: DescribeServers -> Maybe Natural
+ Amazonka.OpsWorksCM.DescribeServers: [$sel:nextToken:DescribeServers'] :: DescribeServers -> Maybe Text
+ Amazonka.OpsWorksCM.DescribeServers: [$sel:nextToken:DescribeServersResponse'] :: DescribeServersResponse -> Maybe Text
+ Amazonka.OpsWorksCM.DescribeServers: [$sel:serverName:DescribeServers'] :: DescribeServers -> Maybe Text
+ Amazonka.OpsWorksCM.DescribeServers: [$sel:servers:DescribeServersResponse'] :: DescribeServersResponse -> Maybe [Server]
+ Amazonka.OpsWorksCM.DescribeServers: data DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: data DescribeServersResponse
+ Amazonka.OpsWorksCM.DescribeServers: describeServersResponse_httpStatus :: Lens' DescribeServersResponse Int
+ Amazonka.OpsWorksCM.DescribeServers: describeServersResponse_nextToken :: Lens' DescribeServersResponse (Maybe Text)
+ Amazonka.OpsWorksCM.DescribeServers: describeServersResponse_servers :: Lens' DescribeServersResponse (Maybe [Server])
+ Amazonka.OpsWorksCM.DescribeServers: describeServers_maxResults :: Lens' DescribeServers (Maybe Natural)
+ Amazonka.OpsWorksCM.DescribeServers: describeServers_nextToken :: Lens' DescribeServers (Maybe Text)
+ Amazonka.OpsWorksCM.DescribeServers: describeServers_serverName :: Lens' DescribeServers (Maybe Text)
+ Amazonka.OpsWorksCM.DescribeServers: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance Amazonka.Pager.AWSPager Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DescribeServers.DescribeServersResponse
+ Amazonka.OpsWorksCM.DescribeServers: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DescribeServers.DescribeServersResponse
+ Amazonka.OpsWorksCM.DescribeServers: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DescribeServers.DescribeServersResponse
+ Amazonka.OpsWorksCM.DescribeServers: instance GHC.Read.Read Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeServers.DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: instance GHC.Show.Show Amazonka.OpsWorksCM.DescribeServers.DescribeServersResponse
+ Amazonka.OpsWorksCM.DescribeServers: newDescribeServers :: DescribeServers
+ Amazonka.OpsWorksCM.DescribeServers: newDescribeServersResponse :: Int -> DescribeServersResponse
+ Amazonka.OpsWorksCM.DisassociateNode: DisassociateNode' :: Maybe [EngineAttribute] -> Text -> Text -> DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: DisassociateNodeResponse' :: Maybe Text -> Int -> DisassociateNodeResponse
+ Amazonka.OpsWorksCM.DisassociateNode: [$sel:engineAttributes:DisassociateNode'] :: DisassociateNode -> Maybe [EngineAttribute]
+ Amazonka.OpsWorksCM.DisassociateNode: [$sel:httpStatus:DisassociateNodeResponse'] :: DisassociateNodeResponse -> Int
+ Amazonka.OpsWorksCM.DisassociateNode: [$sel:nodeAssociationStatusToken:DisassociateNodeResponse'] :: DisassociateNodeResponse -> Maybe Text
+ Amazonka.OpsWorksCM.DisassociateNode: [$sel:nodeName:DisassociateNode'] :: DisassociateNode -> Text
+ Amazonka.OpsWorksCM.DisassociateNode: [$sel:serverName:DisassociateNode'] :: DisassociateNode -> Text
+ Amazonka.OpsWorksCM.DisassociateNode: data DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: data DisassociateNodeResponse
+ Amazonka.OpsWorksCM.DisassociateNode: disassociateNodeResponse_httpStatus :: Lens' DisassociateNodeResponse Int
+ Amazonka.OpsWorksCM.DisassociateNode: disassociateNodeResponse_nodeAssociationStatusToken :: Lens' DisassociateNodeResponse (Maybe Text)
+ Amazonka.OpsWorksCM.DisassociateNode: disassociateNode_engineAttributes :: Lens' DisassociateNode (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.DisassociateNode: disassociateNode_nodeName :: Lens' DisassociateNode Text
+ Amazonka.OpsWorksCM.DisassociateNode: disassociateNode_serverName :: Lens' DisassociateNode Text
+ Amazonka.OpsWorksCM.DisassociateNode: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
+ Amazonka.OpsWorksCM.DisassociateNode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance GHC.Classes.Eq Amazonka.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
+ Amazonka.OpsWorksCM.DisassociateNode: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance GHC.Generics.Generic Amazonka.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
+ Amazonka.OpsWorksCM.DisassociateNode: instance GHC.Read.Read Amazonka.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
+ Amazonka.OpsWorksCM.DisassociateNode: instance GHC.Show.Show Amazonka.OpsWorksCM.DisassociateNode.DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: instance GHC.Show.Show Amazonka.OpsWorksCM.DisassociateNode.DisassociateNodeResponse
+ Amazonka.OpsWorksCM.DisassociateNode: newDisassociateNode :: Text -> Text -> DisassociateNode
+ Amazonka.OpsWorksCM.DisassociateNode: newDisassociateNodeResponse :: Int -> DisassociateNodeResponse
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: ExportServerEngineAttribute' :: Maybe [EngineAttribute] -> Text -> Text -> ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: ExportServerEngineAttributeResponse' :: Maybe EngineAttribute -> Maybe Text -> Int -> ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: [$sel:engineAttribute:ExportServerEngineAttributeResponse'] :: ExportServerEngineAttributeResponse -> Maybe EngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: [$sel:exportAttributeName:ExportServerEngineAttribute'] :: ExportServerEngineAttribute -> Text
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: [$sel:httpStatus:ExportServerEngineAttributeResponse'] :: ExportServerEngineAttributeResponse -> Int
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: [$sel:inputAttributes:ExportServerEngineAttribute'] :: ExportServerEngineAttribute -> Maybe [EngineAttribute]
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: [$sel:serverName:ExportServerEngineAttribute'] :: ExportServerEngineAttribute -> Text
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: [$sel:serverName:ExportServerEngineAttributeResponse'] :: ExportServerEngineAttributeResponse -> Maybe Text
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: data ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: data ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: exportServerEngineAttributeResponse_engineAttribute :: Lens' ExportServerEngineAttributeResponse (Maybe EngineAttribute)
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: exportServerEngineAttributeResponse_httpStatus :: Lens' ExportServerEngineAttributeResponse Int
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: exportServerEngineAttributeResponse_serverName :: Lens' ExportServerEngineAttributeResponse (Maybe Text)
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: exportServerEngineAttribute_exportAttributeName :: Lens' ExportServerEngineAttribute Text
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: exportServerEngineAttribute_inputAttributes :: Lens' ExportServerEngineAttribute (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: exportServerEngineAttribute_serverName :: Lens' ExportServerEngineAttribute Text
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance GHC.Classes.Eq Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance GHC.Classes.Eq Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance GHC.Generics.Generic Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance GHC.Generics.Generic Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance GHC.Show.Show Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: instance GHC.Show.Show Amazonka.OpsWorksCM.ExportServerEngineAttribute.ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: newExportServerEngineAttribute :: Text -> Text -> ExportServerEngineAttribute
+ Amazonka.OpsWorksCM.ExportServerEngineAttribute: newExportServerEngineAttributeResponse :: Int -> ExportServerEngineAttributeResponse
+ Amazonka.OpsWorksCM.Lens: accountAttribute_maximum :: Lens' AccountAttribute (Maybe Int)
+ Amazonka.OpsWorksCM.Lens: accountAttribute_name :: Lens' AccountAttribute (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: accountAttribute_used :: Lens' AccountAttribute (Maybe Int)
+ Amazonka.OpsWorksCM.Lens: associateNodeResponse_httpStatus :: Lens' AssociateNodeResponse Int
+ Amazonka.OpsWorksCM.Lens: associateNodeResponse_nodeAssociationStatusToken :: Lens' AssociateNodeResponse (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: associateNode_engineAttributes :: Lens' AssociateNode [EngineAttribute]
+ Amazonka.OpsWorksCM.Lens: associateNode_nodeName :: Lens' AssociateNode Text
+ Amazonka.OpsWorksCM.Lens: associateNode_serverName :: Lens' AssociateNode Text
+ Amazonka.OpsWorksCM.Lens: backup_backupArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_backupId :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_backupType :: Lens' Backup (Maybe BackupType)
+ Amazonka.OpsWorksCM.Lens: backup_createdAt :: Lens' Backup (Maybe UTCTime)
+ Amazonka.OpsWorksCM.Lens: backup_description :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_engine :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_engineModel :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_engineVersion :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_instanceProfileArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_instanceType :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_keyPair :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_preferredBackupWindow :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_preferredMaintenanceWindow :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_s3DataSize :: Lens' Backup (Maybe Int)
+ Amazonka.OpsWorksCM.Lens: backup_s3DataUrl :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_s3LogUrl :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_securityGroupIds :: Lens' Backup (Maybe [Text])
+ Amazonka.OpsWorksCM.Lens: backup_serverName :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_serviceRoleArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_status :: Lens' Backup (Maybe BackupStatus)
+ Amazonka.OpsWorksCM.Lens: backup_statusDescription :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_subnetIds :: Lens' Backup (Maybe [Text])
+ Amazonka.OpsWorksCM.Lens: backup_toolsVersion :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: backup_userArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createBackupResponse_backup :: Lens' CreateBackupResponse (Maybe Backup)
+ Amazonka.OpsWorksCM.Lens: createBackupResponse_httpStatus :: Lens' CreateBackupResponse Int
+ Amazonka.OpsWorksCM.Lens: createBackup_description :: Lens' CreateBackup (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createBackup_serverName :: Lens' CreateBackup Text
+ Amazonka.OpsWorksCM.Lens: createBackup_tags :: Lens' CreateBackup (Maybe [Tag])
+ Amazonka.OpsWorksCM.Lens: createServerResponse_httpStatus :: Lens' CreateServerResponse Int
+ Amazonka.OpsWorksCM.Lens: createServerResponse_server :: Lens' CreateServerResponse (Maybe Server)
+ Amazonka.OpsWorksCM.Lens: createServer_associatePublicIpAddress :: Lens' CreateServer (Maybe Bool)
+ Amazonka.OpsWorksCM.Lens: createServer_backupId :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createServer_backupRetentionCount :: Lens' CreateServer (Maybe Natural)
+ Amazonka.OpsWorksCM.Lens: createServer_customCertificate :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createServer_customDomain :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createServer_customPrivateKey :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createServer_disableAutomatedBackup :: Lens' CreateServer (Maybe Bool)
+ Amazonka.OpsWorksCM.Lens: createServer_engine :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.Lens: createServer_engineAttributes :: Lens' CreateServer (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.Lens: createServer_engineModel :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createServer_engineVersion :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createServer_instanceProfileArn :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.Lens: createServer_instanceType :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.Lens: createServer_keyPair :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createServer_preferredBackupWindow :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createServer_preferredMaintenanceWindow :: Lens' CreateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: createServer_securityGroupIds :: Lens' CreateServer (Maybe [Text])
+ Amazonka.OpsWorksCM.Lens: createServer_serverName :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.Lens: createServer_serviceRoleArn :: Lens' CreateServer Text
+ Amazonka.OpsWorksCM.Lens: createServer_subnetIds :: Lens' CreateServer (Maybe [Text])
+ Amazonka.OpsWorksCM.Lens: createServer_tags :: Lens' CreateServer (Maybe [Tag])
+ Amazonka.OpsWorksCM.Lens: deleteBackupResponse_httpStatus :: Lens' DeleteBackupResponse Int
+ Amazonka.OpsWorksCM.Lens: deleteBackup_backupId :: Lens' DeleteBackup Text
+ Amazonka.OpsWorksCM.Lens: deleteServerResponse_httpStatus :: Lens' DeleteServerResponse Int
+ Amazonka.OpsWorksCM.Lens: deleteServer_serverName :: Lens' DeleteServer Text
+ Amazonka.OpsWorksCM.Lens: describeAccountAttributesResponse_attributes :: Lens' DescribeAccountAttributesResponse (Maybe [AccountAttribute])
+ Amazonka.OpsWorksCM.Lens: describeAccountAttributesResponse_httpStatus :: Lens' DescribeAccountAttributesResponse Int
+ Amazonka.OpsWorksCM.Lens: describeBackupsResponse_backups :: Lens' DescribeBackupsResponse (Maybe [Backup])
+ Amazonka.OpsWorksCM.Lens: describeBackupsResponse_httpStatus :: Lens' DescribeBackupsResponse Int
+ Amazonka.OpsWorksCM.Lens: describeBackupsResponse_nextToken :: Lens' DescribeBackupsResponse (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: describeBackups_backupId :: Lens' DescribeBackups (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: describeBackups_maxResults :: Lens' DescribeBackups (Maybe Natural)
+ Amazonka.OpsWorksCM.Lens: describeBackups_nextToken :: Lens' DescribeBackups (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: describeBackups_serverName :: Lens' DescribeBackups (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: describeEventsResponse_httpStatus :: Lens' DescribeEventsResponse Int
+ Amazonka.OpsWorksCM.Lens: describeEventsResponse_nextToken :: Lens' DescribeEventsResponse (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: describeEventsResponse_serverEvents :: Lens' DescribeEventsResponse (Maybe [ServerEvent])
+ Amazonka.OpsWorksCM.Lens: describeEvents_maxResults :: Lens' DescribeEvents (Maybe Natural)
+ Amazonka.OpsWorksCM.Lens: describeEvents_nextToken :: Lens' DescribeEvents (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: describeEvents_serverName :: Lens' DescribeEvents Text
+ Amazonka.OpsWorksCM.Lens: describeNodeAssociationStatusResponse_engineAttributes :: Lens' DescribeNodeAssociationStatusResponse (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.Lens: describeNodeAssociationStatusResponse_httpStatus :: Lens' DescribeNodeAssociationStatusResponse Int
+ Amazonka.OpsWorksCM.Lens: describeNodeAssociationStatusResponse_nodeAssociationStatus :: Lens' DescribeNodeAssociationStatusResponse NodeAssociationStatus
+ Amazonka.OpsWorksCM.Lens: describeNodeAssociationStatus_nodeAssociationStatusToken :: Lens' DescribeNodeAssociationStatus Text
+ Amazonka.OpsWorksCM.Lens: describeNodeAssociationStatus_serverName :: Lens' DescribeNodeAssociationStatus Text
+ Amazonka.OpsWorksCM.Lens: describeServersResponse_httpStatus :: Lens' DescribeServersResponse Int
+ Amazonka.OpsWorksCM.Lens: describeServersResponse_nextToken :: Lens' DescribeServersResponse (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: describeServersResponse_servers :: Lens' DescribeServersResponse (Maybe [Server])
+ Amazonka.OpsWorksCM.Lens: describeServers_maxResults :: Lens' DescribeServers (Maybe Natural)
+ Amazonka.OpsWorksCM.Lens: describeServers_nextToken :: Lens' DescribeServers (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: describeServers_serverName :: Lens' DescribeServers (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: disassociateNodeResponse_httpStatus :: Lens' DisassociateNodeResponse Int
+ Amazonka.OpsWorksCM.Lens: disassociateNodeResponse_nodeAssociationStatusToken :: Lens' DisassociateNodeResponse (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: disassociateNode_engineAttributes :: Lens' DisassociateNode (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.Lens: disassociateNode_nodeName :: Lens' DisassociateNode Text
+ Amazonka.OpsWorksCM.Lens: disassociateNode_serverName :: Lens' DisassociateNode Text
+ Amazonka.OpsWorksCM.Lens: engineAttribute_name :: Lens' EngineAttribute (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: engineAttribute_value :: Lens' EngineAttribute (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: exportServerEngineAttributeResponse_engineAttribute :: Lens' ExportServerEngineAttributeResponse (Maybe EngineAttribute)
+ Amazonka.OpsWorksCM.Lens: exportServerEngineAttributeResponse_httpStatus :: Lens' ExportServerEngineAttributeResponse Int
+ Amazonka.OpsWorksCM.Lens: exportServerEngineAttributeResponse_serverName :: Lens' ExportServerEngineAttributeResponse (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: exportServerEngineAttribute_exportAttributeName :: Lens' ExportServerEngineAttribute Text
+ Amazonka.OpsWorksCM.Lens: exportServerEngineAttribute_inputAttributes :: Lens' ExportServerEngineAttribute (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.Lens: exportServerEngineAttribute_serverName :: Lens' ExportServerEngineAttribute Text
+ Amazonka.OpsWorksCM.Lens: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.OpsWorksCM.Lens: listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.OpsWorksCM.Lens: listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural)
+ Amazonka.OpsWorksCM.Lens: listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.OpsWorksCM.Lens: restoreServerResponse_httpStatus :: Lens' RestoreServerResponse Int
+ Amazonka.OpsWorksCM.Lens: restoreServerResponse_server :: Lens' RestoreServerResponse (Maybe Server)
+ Amazonka.OpsWorksCM.Lens: restoreServer_backupId :: Lens' RestoreServer Text
+ Amazonka.OpsWorksCM.Lens: restoreServer_instanceType :: Lens' RestoreServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: restoreServer_keyPair :: Lens' RestoreServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: restoreServer_serverName :: Lens' RestoreServer Text
+ Amazonka.OpsWorksCM.Lens: serverEvent_createdAt :: Lens' ServerEvent (Maybe UTCTime)
+ Amazonka.OpsWorksCM.Lens: serverEvent_logUrl :: Lens' ServerEvent (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: serverEvent_message :: Lens' ServerEvent (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: serverEvent_serverName :: Lens' ServerEvent (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_associatePublicIpAddress :: Lens' Server (Maybe Bool)
+ Amazonka.OpsWorksCM.Lens: server_backupRetentionCount :: Lens' Server (Maybe Int)
+ Amazonka.OpsWorksCM.Lens: server_cloudFormationStackArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_createdAt :: Lens' Server (Maybe UTCTime)
+ Amazonka.OpsWorksCM.Lens: server_customDomain :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_disableAutomatedBackup :: Lens' Server (Maybe Bool)
+ Amazonka.OpsWorksCM.Lens: server_endpoint :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_engine :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_engineAttributes :: Lens' Server (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.Lens: server_engineModel :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_engineVersion :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_instanceProfileArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_instanceType :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_keyPair :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_maintenanceStatus :: Lens' Server (Maybe MaintenanceStatus)
+ Amazonka.OpsWorksCM.Lens: server_preferredBackupWindow :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_preferredMaintenanceWindow :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_securityGroupIds :: Lens' Server (Maybe [Text])
+ Amazonka.OpsWorksCM.Lens: server_serverArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_serverName :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_serviceRoleArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_status :: Lens' Server (Maybe ServerStatus)
+ Amazonka.OpsWorksCM.Lens: server_statusReason :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: server_subnetIds :: Lens' Server (Maybe [Text])
+ Amazonka.OpsWorksCM.Lens: startMaintenanceResponse_httpStatus :: Lens' StartMaintenanceResponse Int
+ Amazonka.OpsWorksCM.Lens: startMaintenanceResponse_server :: Lens' StartMaintenanceResponse (Maybe Server)
+ Amazonka.OpsWorksCM.Lens: startMaintenance_engineAttributes :: Lens' StartMaintenance (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.Lens: startMaintenance_serverName :: Lens' StartMaintenance Text
+ Amazonka.OpsWorksCM.Lens: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.OpsWorksCM.Lens: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.OpsWorksCM.Lens: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.OpsWorksCM.Lens: tag_key :: Lens' Tag Text
+ Amazonka.OpsWorksCM.Lens: tag_value :: Lens' Tag Text
+ Amazonka.OpsWorksCM.Lens: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.OpsWorksCM.Lens: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.OpsWorksCM.Lens: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.OpsWorksCM.Lens: updateServerEngineAttributesResponse_httpStatus :: Lens' UpdateServerEngineAttributesResponse Int
+ Amazonka.OpsWorksCM.Lens: updateServerEngineAttributesResponse_server :: Lens' UpdateServerEngineAttributesResponse (Maybe Server)
+ Amazonka.OpsWorksCM.Lens: updateServerEngineAttributes_attributeName :: Lens' UpdateServerEngineAttributes Text
+ Amazonka.OpsWorksCM.Lens: updateServerEngineAttributes_attributeValue :: Lens' UpdateServerEngineAttributes (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: updateServerEngineAttributes_serverName :: Lens' UpdateServerEngineAttributes Text
+ Amazonka.OpsWorksCM.Lens: updateServerResponse_httpStatus :: Lens' UpdateServerResponse Int
+ Amazonka.OpsWorksCM.Lens: updateServerResponse_server :: Lens' UpdateServerResponse (Maybe Server)
+ Amazonka.OpsWorksCM.Lens: updateServer_backupRetentionCount :: Lens' UpdateServer (Maybe Int)
+ Amazonka.OpsWorksCM.Lens: updateServer_disableAutomatedBackup :: Lens' UpdateServer (Maybe Bool)
+ Amazonka.OpsWorksCM.Lens: updateServer_preferredBackupWindow :: Lens' UpdateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: updateServer_preferredMaintenanceWindow :: Lens' UpdateServer (Maybe Text)
+ Amazonka.OpsWorksCM.Lens: updateServer_serverName :: Lens' UpdateServer Text
+ Amazonka.OpsWorksCM.ListTagsForResource: ListTagsForResource' :: Maybe Natural -> Maybe Text -> Text -> ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: ListTagsForResourceResponse' :: Maybe Text -> Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.OpsWorksCM.ListTagsForResource: [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
+ Amazonka.OpsWorksCM.ListTagsForResource: [$sel:maxResults:ListTagsForResource'] :: ListTagsForResource -> Maybe Natural
+ Amazonka.OpsWorksCM.ListTagsForResource: [$sel:nextToken:ListTagsForResource'] :: ListTagsForResource -> Maybe Text
+ Amazonka.OpsWorksCM.ListTagsForResource: [$sel:nextToken:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe Text
+ Amazonka.OpsWorksCM.ListTagsForResource: [$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
+ Amazonka.OpsWorksCM.ListTagsForResource: [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
+ Amazonka.OpsWorksCM.ListTagsForResource: data ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: data ListTagsForResourceResponse
+ Amazonka.OpsWorksCM.ListTagsForResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance Amazonka.Pager.AWSPager Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.OpsWorksCM.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance GHC.Classes.Eq Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance GHC.Classes.Eq Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.OpsWorksCM.ListTagsForResource: instance GHC.Generics.Generic Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance GHC.Generics.Generic Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.OpsWorksCM.ListTagsForResource: instance GHC.Read.Read Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance GHC.Read.Read Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.OpsWorksCM.ListTagsForResource: instance GHC.Show.Show Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: instance GHC.Show.Show Amazonka.OpsWorksCM.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.OpsWorksCM.ListTagsForResource: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.OpsWorksCM.ListTagsForResource: listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
+ Amazonka.OpsWorksCM.ListTagsForResource: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.OpsWorksCM.ListTagsForResource: listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural)
+ Amazonka.OpsWorksCM.ListTagsForResource: listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
+ Amazonka.OpsWorksCM.ListTagsForResource: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.OpsWorksCM.ListTagsForResource: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.OpsWorksCM.ListTagsForResource: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.OpsWorksCM.RestoreServer: RestoreServer' :: Maybe Text -> Maybe Text -> Text -> Text -> RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: RestoreServerResponse' :: Maybe Server -> Int -> RestoreServerResponse
+ Amazonka.OpsWorksCM.RestoreServer: [$sel:backupId:RestoreServer'] :: RestoreServer -> Text
+ Amazonka.OpsWorksCM.RestoreServer: [$sel:httpStatus:RestoreServerResponse'] :: RestoreServerResponse -> Int
+ Amazonka.OpsWorksCM.RestoreServer: [$sel:instanceType:RestoreServer'] :: RestoreServer -> Maybe Text
+ Amazonka.OpsWorksCM.RestoreServer: [$sel:keyPair:RestoreServer'] :: RestoreServer -> Maybe Text
+ Amazonka.OpsWorksCM.RestoreServer: [$sel:server:RestoreServerResponse'] :: RestoreServerResponse -> Maybe Server
+ Amazonka.OpsWorksCM.RestoreServer: [$sel:serverName:RestoreServer'] :: RestoreServer -> Text
+ Amazonka.OpsWorksCM.RestoreServer: data RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: data RestoreServerResponse
+ Amazonka.OpsWorksCM.RestoreServer: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.RestoreServer.RestoreServerResponse
+ Amazonka.OpsWorksCM.RestoreServer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance GHC.Classes.Eq Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance GHC.Classes.Eq Amazonka.OpsWorksCM.RestoreServer.RestoreServerResponse
+ Amazonka.OpsWorksCM.RestoreServer: instance GHC.Generics.Generic Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance GHC.Generics.Generic Amazonka.OpsWorksCM.RestoreServer.RestoreServerResponse
+ Amazonka.OpsWorksCM.RestoreServer: instance GHC.Read.Read Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance GHC.Show.Show Amazonka.OpsWorksCM.RestoreServer.RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: instance GHC.Show.Show Amazonka.OpsWorksCM.RestoreServer.RestoreServerResponse
+ Amazonka.OpsWorksCM.RestoreServer: newRestoreServer :: Text -> Text -> RestoreServer
+ Amazonka.OpsWorksCM.RestoreServer: newRestoreServerResponse :: Int -> RestoreServerResponse
+ Amazonka.OpsWorksCM.RestoreServer: restoreServerResponse_httpStatus :: Lens' RestoreServerResponse Int
+ Amazonka.OpsWorksCM.RestoreServer: restoreServerResponse_server :: Lens' RestoreServerResponse (Maybe Server)
+ Amazonka.OpsWorksCM.RestoreServer: restoreServer_backupId :: Lens' RestoreServer Text
+ Amazonka.OpsWorksCM.RestoreServer: restoreServer_instanceType :: Lens' RestoreServer (Maybe Text)
+ Amazonka.OpsWorksCM.RestoreServer: restoreServer_keyPair :: Lens' RestoreServer (Maybe Text)
+ Amazonka.OpsWorksCM.RestoreServer: restoreServer_serverName :: Lens' RestoreServer Text
+ Amazonka.OpsWorksCM.StartMaintenance: StartMaintenance' :: Maybe [EngineAttribute] -> Text -> StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: StartMaintenanceResponse' :: Maybe Server -> Int -> StartMaintenanceResponse
+ Amazonka.OpsWorksCM.StartMaintenance: [$sel:engineAttributes:StartMaintenance'] :: StartMaintenance -> Maybe [EngineAttribute]
+ Amazonka.OpsWorksCM.StartMaintenance: [$sel:httpStatus:StartMaintenanceResponse'] :: StartMaintenanceResponse -> Int
+ Amazonka.OpsWorksCM.StartMaintenance: [$sel:server:StartMaintenanceResponse'] :: StartMaintenanceResponse -> Maybe Server
+ Amazonka.OpsWorksCM.StartMaintenance: [$sel:serverName:StartMaintenance'] :: StartMaintenance -> Text
+ Amazonka.OpsWorksCM.StartMaintenance: data StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: data StartMaintenanceResponse
+ Amazonka.OpsWorksCM.StartMaintenance: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.StartMaintenance.StartMaintenanceResponse
+ Amazonka.OpsWorksCM.StartMaintenance: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance GHC.Classes.Eq Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance GHC.Classes.Eq Amazonka.OpsWorksCM.StartMaintenance.StartMaintenanceResponse
+ Amazonka.OpsWorksCM.StartMaintenance: instance GHC.Generics.Generic Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance GHC.Generics.Generic Amazonka.OpsWorksCM.StartMaintenance.StartMaintenanceResponse
+ Amazonka.OpsWorksCM.StartMaintenance: instance GHC.Show.Show Amazonka.OpsWorksCM.StartMaintenance.StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: instance GHC.Show.Show Amazonka.OpsWorksCM.StartMaintenance.StartMaintenanceResponse
+ Amazonka.OpsWorksCM.StartMaintenance: newStartMaintenance :: Text -> StartMaintenance
+ Amazonka.OpsWorksCM.StartMaintenance: newStartMaintenanceResponse :: Int -> StartMaintenanceResponse
+ Amazonka.OpsWorksCM.StartMaintenance: startMaintenanceResponse_httpStatus :: Lens' StartMaintenanceResponse Int
+ Amazonka.OpsWorksCM.StartMaintenance: startMaintenanceResponse_server :: Lens' StartMaintenanceResponse (Maybe Server)
+ Amazonka.OpsWorksCM.StartMaintenance: startMaintenance_engineAttributes :: Lens' StartMaintenance (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.StartMaintenance: startMaintenance_serverName :: Lens' StartMaintenance Text
+ Amazonka.OpsWorksCM.TagResource: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.OpsWorksCM.TagResource: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.OpsWorksCM.TagResource: [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
+ Amazonka.OpsWorksCM.TagResource: [$sel:resourceArn:TagResource'] :: TagResource -> Text
+ Amazonka.OpsWorksCM.TagResource: [$sel:tags:TagResource'] :: TagResource -> [Tag]
+ Amazonka.OpsWorksCM.TagResource: data TagResource
+ Amazonka.OpsWorksCM.TagResource: data TagResourceResponse
+ Amazonka.OpsWorksCM.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.TagResource.TagResourceResponse
+ Amazonka.OpsWorksCM.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance GHC.Classes.Eq Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance GHC.Classes.Eq Amazonka.OpsWorksCM.TagResource.TagResourceResponse
+ Amazonka.OpsWorksCM.TagResource: instance GHC.Generics.Generic Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance GHC.Generics.Generic Amazonka.OpsWorksCM.TagResource.TagResourceResponse
+ Amazonka.OpsWorksCM.TagResource: instance GHC.Read.Read Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance GHC.Read.Read Amazonka.OpsWorksCM.TagResource.TagResourceResponse
+ Amazonka.OpsWorksCM.TagResource: instance GHC.Show.Show Amazonka.OpsWorksCM.TagResource.TagResource
+ Amazonka.OpsWorksCM.TagResource: instance GHC.Show.Show Amazonka.OpsWorksCM.TagResource.TagResourceResponse
+ Amazonka.OpsWorksCM.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.OpsWorksCM.TagResource: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.OpsWorksCM.TagResource: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.OpsWorksCM.TagResource: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.OpsWorksCM.TagResource: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.OpsWorksCM.Types: AccountAttribute' :: Maybe Int -> Maybe Text -> Maybe Int -> AccountAttribute
+ Amazonka.OpsWorksCM.Types: Backup' :: Maybe Text -> Maybe Text -> Maybe BackupType -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe BackupStatus -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Backup
+ Amazonka.OpsWorksCM.Types: BackupStatus' :: Text -> BackupStatus
+ Amazonka.OpsWorksCM.Types: BackupType' :: Text -> BackupType
+ Amazonka.OpsWorksCM.Types: EngineAttribute' :: Maybe Text -> Maybe (Sensitive Text) -> EngineAttribute
+ Amazonka.OpsWorksCM.Types: MaintenanceStatus' :: Text -> MaintenanceStatus
+ Amazonka.OpsWorksCM.Types: NodeAssociationStatus' :: Text -> NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types: Server' :: Maybe Bool -> Maybe Int -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [EngineAttribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe MaintenanceStatus -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ServerStatus -> Maybe Text -> Maybe [Text] -> Server
+ Amazonka.OpsWorksCM.Types: ServerEvent' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> ServerEvent
+ Amazonka.OpsWorksCM.Types: ServerStatus' :: Text -> ServerStatus
+ Amazonka.OpsWorksCM.Types: Tag' :: Text -> Text -> Tag
+ Amazonka.OpsWorksCM.Types: [$sel:associatePublicIpAddress:Server'] :: Server -> Maybe Bool
+ Amazonka.OpsWorksCM.Types: [$sel:backupArn:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:backupId:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:backupRetentionCount:Server'] :: Server -> Maybe Int
+ Amazonka.OpsWorksCM.Types: [$sel:backupType:Backup'] :: Backup -> Maybe BackupType
+ Amazonka.OpsWorksCM.Types: [$sel:cloudFormationStackArn:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:createdAt:Backup'] :: Backup -> Maybe POSIX
+ Amazonka.OpsWorksCM.Types: [$sel:createdAt:Server'] :: Server -> Maybe POSIX
+ Amazonka.OpsWorksCM.Types: [$sel:createdAt:ServerEvent'] :: ServerEvent -> Maybe POSIX
+ Amazonka.OpsWorksCM.Types: [$sel:customDomain:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:description:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:disableAutomatedBackup:Server'] :: Server -> Maybe Bool
+ Amazonka.OpsWorksCM.Types: [$sel:endpoint:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:engine:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:engine:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:engineAttributes:Server'] :: Server -> Maybe [EngineAttribute]
+ Amazonka.OpsWorksCM.Types: [$sel:engineModel:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:engineModel:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:engineVersion:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:engineVersion:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:instanceProfileArn:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:instanceProfileArn:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:instanceType:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:instanceType:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.OpsWorksCM.Types: [$sel:keyPair:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:keyPair:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:logUrl:ServerEvent'] :: ServerEvent -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:maintenanceStatus:Server'] :: Server -> Maybe MaintenanceStatus
+ Amazonka.OpsWorksCM.Types: [$sel:maximum:AccountAttribute'] :: AccountAttribute -> Maybe Int
+ Amazonka.OpsWorksCM.Types: [$sel:message:ServerEvent'] :: ServerEvent -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:name:AccountAttribute'] :: AccountAttribute -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:name:EngineAttribute'] :: EngineAttribute -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:preferredBackupWindow:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:preferredBackupWindow:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:preferredMaintenanceWindow:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:preferredMaintenanceWindow:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:s3DataSize:Backup'] :: Backup -> Maybe Int
+ Amazonka.OpsWorksCM.Types: [$sel:s3DataUrl:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:s3LogUrl:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:securityGroupIds:Backup'] :: Backup -> Maybe [Text]
+ Amazonka.OpsWorksCM.Types: [$sel:securityGroupIds:Server'] :: Server -> Maybe [Text]
+ Amazonka.OpsWorksCM.Types: [$sel:serverArn:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:serverName:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:serverName:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:serverName:ServerEvent'] :: ServerEvent -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:serviceRoleArn:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:serviceRoleArn:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:status:Backup'] :: Backup -> Maybe BackupStatus
+ Amazonka.OpsWorksCM.Types: [$sel:status:Server'] :: Server -> Maybe ServerStatus
+ Amazonka.OpsWorksCM.Types: [$sel:statusDescription:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:statusReason:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:subnetIds:Backup'] :: Backup -> Maybe [Text]
+ Amazonka.OpsWorksCM.Types: [$sel:subnetIds:Server'] :: Server -> Maybe [Text]
+ Amazonka.OpsWorksCM.Types: [$sel:toolsVersion:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:used:AccountAttribute'] :: AccountAttribute -> Maybe Int
+ Amazonka.OpsWorksCM.Types: [$sel:userArn:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types: [$sel:value:EngineAttribute'] :: EngineAttribute -> Maybe (Sensitive Text)
+ Amazonka.OpsWorksCM.Types: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.OpsWorksCM.Types: [fromBackupStatus] :: BackupStatus -> Text
+ Amazonka.OpsWorksCM.Types: [fromBackupType] :: BackupType -> Text
+ Amazonka.OpsWorksCM.Types: [fromMaintenanceStatus] :: MaintenanceStatus -> Text
+ Amazonka.OpsWorksCM.Types: [fromNodeAssociationStatus] :: NodeAssociationStatus -> Text
+ Amazonka.OpsWorksCM.Types: [fromServerStatus] :: ServerStatus -> Text
+ Amazonka.OpsWorksCM.Types: _InvalidNextTokenException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM.Types: _InvalidStateException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM.Types: _ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM.Types: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM.Types: _ValidationException :: AsError a => Fold a ServiceError
+ Amazonka.OpsWorksCM.Types: accountAttribute_maximum :: Lens' AccountAttribute (Maybe Int)
+ Amazonka.OpsWorksCM.Types: accountAttribute_name :: Lens' AccountAttribute (Maybe Text)
+ Amazonka.OpsWorksCM.Types: accountAttribute_used :: Lens' AccountAttribute (Maybe Int)
+ Amazonka.OpsWorksCM.Types: backup_backupArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_backupId :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_backupType :: Lens' Backup (Maybe BackupType)
+ Amazonka.OpsWorksCM.Types: backup_createdAt :: Lens' Backup (Maybe UTCTime)
+ Amazonka.OpsWorksCM.Types: backup_description :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_engine :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_engineModel :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_engineVersion :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_instanceProfileArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_instanceType :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_keyPair :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_preferredBackupWindow :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_preferredMaintenanceWindow :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_s3DataSize :: Lens' Backup (Maybe Int)
+ Amazonka.OpsWorksCM.Types: backup_s3DataUrl :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_s3LogUrl :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_securityGroupIds :: Lens' Backup (Maybe [Text])
+ Amazonka.OpsWorksCM.Types: backup_serverName :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_serviceRoleArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_status :: Lens' Backup (Maybe BackupStatus)
+ Amazonka.OpsWorksCM.Types: backup_statusDescription :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_subnetIds :: Lens' Backup (Maybe [Text])
+ Amazonka.OpsWorksCM.Types: backup_toolsVersion :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: backup_userArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types: data AccountAttribute
+ Amazonka.OpsWorksCM.Types: data Backup
+ Amazonka.OpsWorksCM.Types: data EngineAttribute
+ Amazonka.OpsWorksCM.Types: data Server
+ Amazonka.OpsWorksCM.Types: data ServerEvent
+ Amazonka.OpsWorksCM.Types: data Tag
+ Amazonka.OpsWorksCM.Types: defaultService :: Service
+ Amazonka.OpsWorksCM.Types: engineAttribute_name :: Lens' EngineAttribute (Maybe Text)
+ Amazonka.OpsWorksCM.Types: engineAttribute_value :: Lens' EngineAttribute (Maybe Text)
+ Amazonka.OpsWorksCM.Types: newAccountAttribute :: AccountAttribute
+ Amazonka.OpsWorksCM.Types: newBackup :: Backup
+ Amazonka.OpsWorksCM.Types: newEngineAttribute :: EngineAttribute
+ Amazonka.OpsWorksCM.Types: newServer :: Server
+ Amazonka.OpsWorksCM.Types: newServerEvent :: ServerEvent
+ Amazonka.OpsWorksCM.Types: newTag :: Text -> Text -> Tag
+ Amazonka.OpsWorksCM.Types: newtype BackupStatus
+ Amazonka.OpsWorksCM.Types: newtype BackupType
+ Amazonka.OpsWorksCM.Types: newtype MaintenanceStatus
+ Amazonka.OpsWorksCM.Types: newtype NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types: newtype ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern BackupStatus_DELETING :: BackupStatus
+ Amazonka.OpsWorksCM.Types: pattern BackupStatus_FAILED :: BackupStatus
+ Amazonka.OpsWorksCM.Types: pattern BackupStatus_IN_PROGRESS :: BackupStatus
+ Amazonka.OpsWorksCM.Types: pattern BackupStatus_OK :: BackupStatus
+ Amazonka.OpsWorksCM.Types: pattern BackupType_AUTOMATED :: BackupType
+ Amazonka.OpsWorksCM.Types: pattern BackupType_MANUAL :: BackupType
+ Amazonka.OpsWorksCM.Types: pattern MaintenanceStatus_FAILED :: MaintenanceStatus
+ Amazonka.OpsWorksCM.Types: pattern MaintenanceStatus_SUCCESS :: MaintenanceStatus
+ Amazonka.OpsWorksCM.Types: pattern NodeAssociationStatus_FAILED :: NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types: pattern NodeAssociationStatus_IN_PROGRESS :: NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types: pattern NodeAssociationStatus_SUCCESS :: NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_BACKING_UP :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_CONNECTION_LOST :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_CREATING :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_DELETING :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_FAILED :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_HEALTHY :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_MODIFYING :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_RESTORING :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_RUNNING :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_SETUP :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_TERMINATED :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_UNDER_MAINTENANCE :: ServerStatus
+ Amazonka.OpsWorksCM.Types: pattern ServerStatus_UNHEALTHY :: ServerStatus
+ Amazonka.OpsWorksCM.Types: serverEvent_createdAt :: Lens' ServerEvent (Maybe UTCTime)
+ Amazonka.OpsWorksCM.Types: serverEvent_logUrl :: Lens' ServerEvent (Maybe Text)
+ Amazonka.OpsWorksCM.Types: serverEvent_message :: Lens' ServerEvent (Maybe Text)
+ Amazonka.OpsWorksCM.Types: serverEvent_serverName :: Lens' ServerEvent (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_associatePublicIpAddress :: Lens' Server (Maybe Bool)
+ Amazonka.OpsWorksCM.Types: server_backupRetentionCount :: Lens' Server (Maybe Int)
+ Amazonka.OpsWorksCM.Types: server_cloudFormationStackArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_createdAt :: Lens' Server (Maybe UTCTime)
+ Amazonka.OpsWorksCM.Types: server_customDomain :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_disableAutomatedBackup :: Lens' Server (Maybe Bool)
+ Amazonka.OpsWorksCM.Types: server_endpoint :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_engine :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_engineAttributes :: Lens' Server (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.Types: server_engineModel :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_engineVersion :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_instanceProfileArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_instanceType :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_keyPair :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_maintenanceStatus :: Lens' Server (Maybe MaintenanceStatus)
+ Amazonka.OpsWorksCM.Types: server_preferredBackupWindow :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_preferredMaintenanceWindow :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_securityGroupIds :: Lens' Server (Maybe [Text])
+ Amazonka.OpsWorksCM.Types: server_serverArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_serverName :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_serviceRoleArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_status :: Lens' Server (Maybe ServerStatus)
+ Amazonka.OpsWorksCM.Types: server_statusReason :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types: server_subnetIds :: Lens' Server (Maybe [Text])
+ Amazonka.OpsWorksCM.Types: tag_key :: Lens' Tag Text
+ Amazonka.OpsWorksCM.Types: tag_value :: Lens' Tag Text
+ Amazonka.OpsWorksCM.Types.AccountAttribute: AccountAttribute' :: Maybe Int -> Maybe Text -> Maybe Int -> AccountAttribute
+ Amazonka.OpsWorksCM.Types.AccountAttribute: [$sel:maximum:AccountAttribute'] :: AccountAttribute -> Maybe Int
+ Amazonka.OpsWorksCM.Types.AccountAttribute: [$sel:name:AccountAttribute'] :: AccountAttribute -> Maybe Text
+ Amazonka.OpsWorksCM.Types.AccountAttribute: [$sel:used:AccountAttribute'] :: AccountAttribute -> Maybe Int
+ Amazonka.OpsWorksCM.Types.AccountAttribute: accountAttribute_maximum :: Lens' AccountAttribute (Maybe Int)
+ Amazonka.OpsWorksCM.Types.AccountAttribute: accountAttribute_name :: Lens' AccountAttribute (Maybe Text)
+ Amazonka.OpsWorksCM.Types.AccountAttribute: accountAttribute_used :: Lens' AccountAttribute (Maybe Int)
+ Amazonka.OpsWorksCM.Types.AccountAttribute: data AccountAttribute
+ Amazonka.OpsWorksCM.Types.AccountAttribute: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.AccountAttribute.AccountAttribute
+ Amazonka.OpsWorksCM.Types.AccountAttribute: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.AccountAttribute.AccountAttribute
+ Amazonka.OpsWorksCM.Types.AccountAttribute: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.AccountAttribute.AccountAttribute
+ Amazonka.OpsWorksCM.Types.AccountAttribute: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.AccountAttribute.AccountAttribute
+ Amazonka.OpsWorksCM.Types.AccountAttribute: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.AccountAttribute.AccountAttribute
+ Amazonka.OpsWorksCM.Types.AccountAttribute: instance GHC.Read.Read Amazonka.OpsWorksCM.Types.AccountAttribute.AccountAttribute
+ Amazonka.OpsWorksCM.Types.AccountAttribute: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.AccountAttribute.AccountAttribute
+ Amazonka.OpsWorksCM.Types.AccountAttribute: newAccountAttribute :: AccountAttribute
+ Amazonka.OpsWorksCM.Types.Backup: Backup' :: Maybe Text -> Maybe Text -> Maybe BackupType -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe BackupStatus -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Backup
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:backupArn:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:backupId:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:backupType:Backup'] :: Backup -> Maybe BackupType
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:createdAt:Backup'] :: Backup -> Maybe POSIX
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:description:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:engine:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:engineModel:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:engineVersion:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:instanceProfileArn:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:instanceType:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:keyPair:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:preferredBackupWindow:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:preferredMaintenanceWindow:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:s3DataSize:Backup'] :: Backup -> Maybe Int
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:s3DataUrl:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:s3LogUrl:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:securityGroupIds:Backup'] :: Backup -> Maybe [Text]
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:serverName:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:serviceRoleArn:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:status:Backup'] :: Backup -> Maybe BackupStatus
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:statusDescription:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:subnetIds:Backup'] :: Backup -> Maybe [Text]
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:toolsVersion:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: [$sel:userArn:Backup'] :: Backup -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Backup: backup_backupArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_backupId :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_backupType :: Lens' Backup (Maybe BackupType)
+ Amazonka.OpsWorksCM.Types.Backup: backup_createdAt :: Lens' Backup (Maybe UTCTime)
+ Amazonka.OpsWorksCM.Types.Backup: backup_description :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_engine :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_engineModel :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_engineVersion :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_instanceProfileArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_instanceType :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_keyPair :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_preferredBackupWindow :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_preferredMaintenanceWindow :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_s3DataSize :: Lens' Backup (Maybe Int)
+ Amazonka.OpsWorksCM.Types.Backup: backup_s3DataUrl :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_s3LogUrl :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_securityGroupIds :: Lens' Backup (Maybe [Text])
+ Amazonka.OpsWorksCM.Types.Backup: backup_serverName :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_serviceRoleArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_status :: Lens' Backup (Maybe BackupStatus)
+ Amazonka.OpsWorksCM.Types.Backup: backup_statusDescription :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_subnetIds :: Lens' Backup (Maybe [Text])
+ Amazonka.OpsWorksCM.Types.Backup: backup_toolsVersion :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: backup_userArn :: Lens' Backup (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Backup: data Backup
+ Amazonka.OpsWorksCM.Types.Backup: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.Backup.Backup
+ Amazonka.OpsWorksCM.Types.Backup: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.Backup.Backup
+ Amazonka.OpsWorksCM.Types.Backup: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.Backup.Backup
+ Amazonka.OpsWorksCM.Types.Backup: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.Backup.Backup
+ Amazonka.OpsWorksCM.Types.Backup: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.Backup.Backup
+ Amazonka.OpsWorksCM.Types.Backup: instance GHC.Read.Read Amazonka.OpsWorksCM.Types.Backup.Backup
+ Amazonka.OpsWorksCM.Types.Backup: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.Backup.Backup
+ Amazonka.OpsWorksCM.Types.Backup: newBackup :: Backup
+ Amazonka.OpsWorksCM.Types.BackupStatus: BackupStatus' :: Text -> BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: [fromBackupStatus] :: BackupStatus -> Text
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Amazonka.Data.Log.ToLog Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Amazonka.Data.Text.FromText Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Amazonka.Data.Text.ToText Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Amazonka.Data.XML.FromXML Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Amazonka.Data.XML.ToXML Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance GHC.Classes.Ord Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance GHC.Read.Read Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.BackupStatus.BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: newtype BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: pattern BackupStatus_DELETING :: BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: pattern BackupStatus_FAILED :: BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: pattern BackupStatus_IN_PROGRESS :: BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupStatus: pattern BackupStatus_OK :: BackupStatus
+ Amazonka.OpsWorksCM.Types.BackupType: BackupType' :: Text -> BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: [fromBackupType] :: BackupType -> Text
+ Amazonka.OpsWorksCM.Types.BackupType: instance Amazonka.Data.ByteString.ToByteString Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Amazonka.Data.Headers.ToHeader Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Amazonka.Data.Log.ToLog Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Amazonka.Data.Text.FromText Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Amazonka.Data.Text.ToText Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Amazonka.Data.XML.FromXML Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Amazonka.Data.XML.ToXML Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance GHC.Classes.Ord Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance GHC.Read.Read Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.BackupType.BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: newtype BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: pattern BackupType_AUTOMATED :: BackupType
+ Amazonka.OpsWorksCM.Types.BackupType: pattern BackupType_MANUAL :: BackupType
+ Amazonka.OpsWorksCM.Types.EngineAttribute: EngineAttribute' :: Maybe Text -> Maybe (Sensitive Text) -> EngineAttribute
+ Amazonka.OpsWorksCM.Types.EngineAttribute: [$sel:name:EngineAttribute'] :: EngineAttribute -> Maybe Text
+ Amazonka.OpsWorksCM.Types.EngineAttribute: [$sel:value:EngineAttribute'] :: EngineAttribute -> Maybe (Sensitive Text)
+ Amazonka.OpsWorksCM.Types.EngineAttribute: data EngineAttribute
+ Amazonka.OpsWorksCM.Types.EngineAttribute: engineAttribute_name :: Lens' EngineAttribute (Maybe Text)
+ Amazonka.OpsWorksCM.Types.EngineAttribute: engineAttribute_value :: Lens' EngineAttribute (Maybe Text)
+ Amazonka.OpsWorksCM.Types.EngineAttribute: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.EngineAttribute.EngineAttribute
+ Amazonka.OpsWorksCM.Types.EngineAttribute: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.EngineAttribute.EngineAttribute
+ Amazonka.OpsWorksCM.Types.EngineAttribute: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.Types.EngineAttribute.EngineAttribute
+ Amazonka.OpsWorksCM.Types.EngineAttribute: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.EngineAttribute.EngineAttribute
+ Amazonka.OpsWorksCM.Types.EngineAttribute: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.EngineAttribute.EngineAttribute
+ Amazonka.OpsWorksCM.Types.EngineAttribute: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.EngineAttribute.EngineAttribute
+ Amazonka.OpsWorksCM.Types.EngineAttribute: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.EngineAttribute.EngineAttribute
+ Amazonka.OpsWorksCM.Types.EngineAttribute: newEngineAttribute :: EngineAttribute
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: MaintenanceStatus' :: Text -> MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: [fromMaintenanceStatus] :: MaintenanceStatus -> Text
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Amazonka.Data.Log.ToLog Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Amazonka.Data.Text.FromText Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Amazonka.Data.Text.ToText Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Amazonka.Data.XML.FromXML Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Amazonka.Data.XML.ToXML Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance GHC.Classes.Ord Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance GHC.Read.Read Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.MaintenanceStatus.MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: newtype MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: pattern MaintenanceStatus_FAILED :: MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.MaintenanceStatus: pattern MaintenanceStatus_SUCCESS :: MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: NodeAssociationStatus' :: Text -> NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: [fromNodeAssociationStatus] :: NodeAssociationStatus -> Text
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Amazonka.Data.Log.ToLog Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Amazonka.Data.Text.FromText Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Amazonka.Data.Text.ToText Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Amazonka.Data.XML.FromXML Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Amazonka.Data.XML.ToXML Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance GHC.Classes.Ord Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance GHC.Read.Read Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.NodeAssociationStatus.NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: newtype NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: pattern NodeAssociationStatus_FAILED :: NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: pattern NodeAssociationStatus_IN_PROGRESS :: NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus: pattern NodeAssociationStatus_SUCCESS :: NodeAssociationStatus
+ Amazonka.OpsWorksCM.Types.Server: Server' :: Maybe Bool -> Maybe Int -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe [EngineAttribute] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe MaintenanceStatus -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ServerStatus -> Maybe Text -> Maybe [Text] -> Server
+ Amazonka.OpsWorksCM.Types.Server: [$sel:associatePublicIpAddress:Server'] :: Server -> Maybe Bool
+ Amazonka.OpsWorksCM.Types.Server: [$sel:backupRetentionCount:Server'] :: Server -> Maybe Int
+ Amazonka.OpsWorksCM.Types.Server: [$sel:cloudFormationStackArn:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:createdAt:Server'] :: Server -> Maybe POSIX
+ Amazonka.OpsWorksCM.Types.Server: [$sel:customDomain:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:disableAutomatedBackup:Server'] :: Server -> Maybe Bool
+ Amazonka.OpsWorksCM.Types.Server: [$sel:endpoint:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:engine:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:engineAttributes:Server'] :: Server -> Maybe [EngineAttribute]
+ Amazonka.OpsWorksCM.Types.Server: [$sel:engineModel:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:engineVersion:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:instanceProfileArn:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:instanceType:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:keyPair:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:maintenanceStatus:Server'] :: Server -> Maybe MaintenanceStatus
+ Amazonka.OpsWorksCM.Types.Server: [$sel:preferredBackupWindow:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:preferredMaintenanceWindow:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:securityGroupIds:Server'] :: Server -> Maybe [Text]
+ Amazonka.OpsWorksCM.Types.Server: [$sel:serverArn:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:serverName:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:serviceRoleArn:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:status:Server'] :: Server -> Maybe ServerStatus
+ Amazonka.OpsWorksCM.Types.Server: [$sel:statusReason:Server'] :: Server -> Maybe Text
+ Amazonka.OpsWorksCM.Types.Server: [$sel:subnetIds:Server'] :: Server -> Maybe [Text]
+ Amazonka.OpsWorksCM.Types.Server: data Server
+ Amazonka.OpsWorksCM.Types.Server: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.Server.Server
+ Amazonka.OpsWorksCM.Types.Server: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.Server.Server
+ Amazonka.OpsWorksCM.Types.Server: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.Server.Server
+ Amazonka.OpsWorksCM.Types.Server: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.Server.Server
+ Amazonka.OpsWorksCM.Types.Server: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.Server.Server
+ Amazonka.OpsWorksCM.Types.Server: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.Server.Server
+ Amazonka.OpsWorksCM.Types.Server: newServer :: Server
+ Amazonka.OpsWorksCM.Types.Server: server_associatePublicIpAddress :: Lens' Server (Maybe Bool)
+ Amazonka.OpsWorksCM.Types.Server: server_backupRetentionCount :: Lens' Server (Maybe Int)
+ Amazonka.OpsWorksCM.Types.Server: server_cloudFormationStackArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_createdAt :: Lens' Server (Maybe UTCTime)
+ Amazonka.OpsWorksCM.Types.Server: server_customDomain :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_disableAutomatedBackup :: Lens' Server (Maybe Bool)
+ Amazonka.OpsWorksCM.Types.Server: server_endpoint :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_engine :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_engineAttributes :: Lens' Server (Maybe [EngineAttribute])
+ Amazonka.OpsWorksCM.Types.Server: server_engineModel :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_engineVersion :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_instanceProfileArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_instanceType :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_keyPair :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_maintenanceStatus :: Lens' Server (Maybe MaintenanceStatus)
+ Amazonka.OpsWorksCM.Types.Server: server_preferredBackupWindow :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_preferredMaintenanceWindow :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_securityGroupIds :: Lens' Server (Maybe [Text])
+ Amazonka.OpsWorksCM.Types.Server: server_serverArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_serverName :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_serviceRoleArn :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_status :: Lens' Server (Maybe ServerStatus)
+ Amazonka.OpsWorksCM.Types.Server: server_statusReason :: Lens' Server (Maybe Text)
+ Amazonka.OpsWorksCM.Types.Server: server_subnetIds :: Lens' Server (Maybe [Text])
+ Amazonka.OpsWorksCM.Types.ServerEvent: ServerEvent' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: [$sel:createdAt:ServerEvent'] :: ServerEvent -> Maybe POSIX
+ Amazonka.OpsWorksCM.Types.ServerEvent: [$sel:logUrl:ServerEvent'] :: ServerEvent -> Maybe Text
+ Amazonka.OpsWorksCM.Types.ServerEvent: [$sel:message:ServerEvent'] :: ServerEvent -> Maybe Text
+ Amazonka.OpsWorksCM.Types.ServerEvent: [$sel:serverName:ServerEvent'] :: ServerEvent -> Maybe Text
+ Amazonka.OpsWorksCM.Types.ServerEvent: data ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.ServerEvent.ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.ServerEvent.ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.ServerEvent.ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.ServerEvent.ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.ServerEvent.ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: instance GHC.Read.Read Amazonka.OpsWorksCM.Types.ServerEvent.ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.ServerEvent.ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: newServerEvent :: ServerEvent
+ Amazonka.OpsWorksCM.Types.ServerEvent: serverEvent_createdAt :: Lens' ServerEvent (Maybe UTCTime)
+ Amazonka.OpsWorksCM.Types.ServerEvent: serverEvent_logUrl :: Lens' ServerEvent (Maybe Text)
+ Amazonka.OpsWorksCM.Types.ServerEvent: serverEvent_message :: Lens' ServerEvent (Maybe Text)
+ Amazonka.OpsWorksCM.Types.ServerEvent: serverEvent_serverName :: Lens' ServerEvent (Maybe Text)
+ Amazonka.OpsWorksCM.Types.ServerStatus: ServerStatus' :: Text -> ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: [fromServerStatus] :: ServerStatus -> Text
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Amazonka.Data.Log.ToLog Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Amazonka.Data.Text.FromText Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Amazonka.Data.Text.ToText Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Amazonka.Data.XML.FromXML Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Amazonka.Data.XML.ToXML Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance GHC.Classes.Ord Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance GHC.Read.Read Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.ServerStatus.ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: newtype ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_BACKING_UP :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_CONNECTION_LOST :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_CREATING :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_DELETING :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_FAILED :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_HEALTHY :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_MODIFYING :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_RESTORING :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_RUNNING :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_SETUP :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_TERMINATED :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_UNDER_MAINTENANCE :: ServerStatus
+ Amazonka.OpsWorksCM.Types.ServerStatus: pattern ServerStatus_UNHEALTHY :: ServerStatus
+ Amazonka.OpsWorksCM.Types.Tag: Tag' :: Text -> Text -> Tag
+ Amazonka.OpsWorksCM.Types.Tag: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.OpsWorksCM.Types.Tag: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.OpsWorksCM.Types.Tag: data Tag
+ Amazonka.OpsWorksCM.Types.Tag: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.Types.Tag.Tag
+ Amazonka.OpsWorksCM.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.OpsWorksCM.Types.Tag.Tag
+ Amazonka.OpsWorksCM.Types.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.Types.Tag.Tag
+ Amazonka.OpsWorksCM.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.Types.Tag.Tag
+ Amazonka.OpsWorksCM.Types.Tag: instance GHC.Classes.Eq Amazonka.OpsWorksCM.Types.Tag.Tag
+ Amazonka.OpsWorksCM.Types.Tag: instance GHC.Generics.Generic Amazonka.OpsWorksCM.Types.Tag.Tag
+ Amazonka.OpsWorksCM.Types.Tag: instance GHC.Read.Read Amazonka.OpsWorksCM.Types.Tag.Tag
+ Amazonka.OpsWorksCM.Types.Tag: instance GHC.Show.Show Amazonka.OpsWorksCM.Types.Tag.Tag
+ Amazonka.OpsWorksCM.Types.Tag: newTag :: Text -> Text -> Tag
+ Amazonka.OpsWorksCM.Types.Tag: tag_key :: Lens' Tag Text
+ Amazonka.OpsWorksCM.Types.Tag: tag_value :: Lens' Tag Text
+ Amazonka.OpsWorksCM.UntagResource: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.OpsWorksCM.UntagResource: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.OpsWorksCM.UntagResource: [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
+ Amazonka.OpsWorksCM.UntagResource: [$sel:resourceArn:UntagResource'] :: UntagResource -> Text
+ Amazonka.OpsWorksCM.UntagResource: [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
+ Amazonka.OpsWorksCM.UntagResource: data UntagResource
+ Amazonka.OpsWorksCM.UntagResource: data UntagResourceResponse
+ Amazonka.OpsWorksCM.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.UntagResource.UntagResourceResponse
+ Amazonka.OpsWorksCM.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance GHC.Classes.Eq Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance GHC.Classes.Eq Amazonka.OpsWorksCM.UntagResource.UntagResourceResponse
+ Amazonka.OpsWorksCM.UntagResource: instance GHC.Generics.Generic Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance GHC.Generics.Generic Amazonka.OpsWorksCM.UntagResource.UntagResourceResponse
+ Amazonka.OpsWorksCM.UntagResource: instance GHC.Read.Read Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance GHC.Read.Read Amazonka.OpsWorksCM.UntagResource.UntagResourceResponse
+ Amazonka.OpsWorksCM.UntagResource: instance GHC.Show.Show Amazonka.OpsWorksCM.UntagResource.UntagResource
+ Amazonka.OpsWorksCM.UntagResource: instance GHC.Show.Show Amazonka.OpsWorksCM.UntagResource.UntagResourceResponse
+ Amazonka.OpsWorksCM.UntagResource: newUntagResource :: Text -> UntagResource
+ Amazonka.OpsWorksCM.UntagResource: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.OpsWorksCM.UntagResource: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.OpsWorksCM.UntagResource: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.OpsWorksCM.UntagResource: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.OpsWorksCM.UpdateServer: UpdateServer' :: Maybe Int -> Maybe Bool -> Maybe Text -> Maybe Text -> Text -> UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: UpdateServerResponse' :: Maybe Server -> Int -> UpdateServerResponse
+ Amazonka.OpsWorksCM.UpdateServer: [$sel:backupRetentionCount:UpdateServer'] :: UpdateServer -> Maybe Int
+ Amazonka.OpsWorksCM.UpdateServer: [$sel:disableAutomatedBackup:UpdateServer'] :: UpdateServer -> Maybe Bool
+ Amazonka.OpsWorksCM.UpdateServer: [$sel:httpStatus:UpdateServerResponse'] :: UpdateServerResponse -> Int
+ Amazonka.OpsWorksCM.UpdateServer: [$sel:preferredBackupWindow:UpdateServer'] :: UpdateServer -> Maybe Text
+ Amazonka.OpsWorksCM.UpdateServer: [$sel:preferredMaintenanceWindow:UpdateServer'] :: UpdateServer -> Maybe Text
+ Amazonka.OpsWorksCM.UpdateServer: [$sel:server:UpdateServerResponse'] :: UpdateServerResponse -> Maybe Server
+ Amazonka.OpsWorksCM.UpdateServer: [$sel:serverName:UpdateServer'] :: UpdateServer -> Text
+ Amazonka.OpsWorksCM.UpdateServer: data UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: data UpdateServerResponse
+ Amazonka.OpsWorksCM.UpdateServer: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.UpdateServer.UpdateServerResponse
+ Amazonka.OpsWorksCM.UpdateServer: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance GHC.Classes.Eq Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance GHC.Classes.Eq Amazonka.OpsWorksCM.UpdateServer.UpdateServerResponse
+ Amazonka.OpsWorksCM.UpdateServer: instance GHC.Generics.Generic Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance GHC.Generics.Generic Amazonka.OpsWorksCM.UpdateServer.UpdateServerResponse
+ Amazonka.OpsWorksCM.UpdateServer: instance GHC.Read.Read Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance GHC.Show.Show Amazonka.OpsWorksCM.UpdateServer.UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: instance GHC.Show.Show Amazonka.OpsWorksCM.UpdateServer.UpdateServerResponse
+ Amazonka.OpsWorksCM.UpdateServer: newUpdateServer :: Text -> UpdateServer
+ Amazonka.OpsWorksCM.UpdateServer: newUpdateServerResponse :: Int -> UpdateServerResponse
+ Amazonka.OpsWorksCM.UpdateServer: updateServerResponse_httpStatus :: Lens' UpdateServerResponse Int
+ Amazonka.OpsWorksCM.UpdateServer: updateServerResponse_server :: Lens' UpdateServerResponse (Maybe Server)
+ Amazonka.OpsWorksCM.UpdateServer: updateServer_backupRetentionCount :: Lens' UpdateServer (Maybe Int)
+ Amazonka.OpsWorksCM.UpdateServer: updateServer_disableAutomatedBackup :: Lens' UpdateServer (Maybe Bool)
+ Amazonka.OpsWorksCM.UpdateServer: updateServer_preferredBackupWindow :: Lens' UpdateServer (Maybe Text)
+ Amazonka.OpsWorksCM.UpdateServer: updateServer_preferredMaintenanceWindow :: Lens' UpdateServer (Maybe Text)
+ Amazonka.OpsWorksCM.UpdateServer: updateServer_serverName :: Lens' UpdateServer Text
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: UpdateServerEngineAttributes' :: Maybe Text -> Text -> Text -> UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: UpdateServerEngineAttributesResponse' :: Maybe Server -> Int -> UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: [$sel:attributeName:UpdateServerEngineAttributes'] :: UpdateServerEngineAttributes -> Text
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: [$sel:attributeValue:UpdateServerEngineAttributes'] :: UpdateServerEngineAttributes -> Maybe Text
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: [$sel:httpStatus:UpdateServerEngineAttributesResponse'] :: UpdateServerEngineAttributesResponse -> Int
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: [$sel:server:UpdateServerEngineAttributesResponse'] :: UpdateServerEngineAttributesResponse -> Maybe Server
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: [$sel:serverName:UpdateServerEngineAttributes'] :: UpdateServerEngineAttributes -> Text
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: data UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: data UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance Amazonka.Data.Headers.ToHeaders Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance Amazonka.Data.Path.ToPath Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance Amazonka.Data.Query.ToQuery Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance Amazonka.Types.AWSRequest Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance Control.DeepSeq.NFData Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance Data.Hashable.Class.Hashable Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Classes.Eq Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Classes.Eq Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Generics.Generic Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Generics.Generic Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Read.Read Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Show.Show Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: instance GHC.Show.Show Amazonka.OpsWorksCM.UpdateServerEngineAttributes.UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: newUpdateServerEngineAttributes :: Text -> Text -> UpdateServerEngineAttributes
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: newUpdateServerEngineAttributesResponse :: Int -> UpdateServerEngineAttributesResponse
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: updateServerEngineAttributesResponse_httpStatus :: Lens' UpdateServerEngineAttributesResponse Int
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: updateServerEngineAttributesResponse_server :: Lens' UpdateServerEngineAttributesResponse (Maybe Server)
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: updateServerEngineAttributes_attributeName :: Lens' UpdateServerEngineAttributes Text
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: updateServerEngineAttributes_attributeValue :: Lens' UpdateServerEngineAttributes (Maybe Text)
+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes: updateServerEngineAttributes_serverName :: Lens' UpdateServerEngineAttributes Text
+ Amazonka.OpsWorksCM.Waiters: newNodeAssociated :: Wait DescribeNodeAssociationStatus
Files
- README.md +4/−5
- Setup.hs +0/−2
- amazonka-opsworks-cm.cabal +102/−89
- fixture/ExportServerEngineAttribute.yaml +10/−0
- fixture/ExportServerEngineAttributeResponse.proto +0/−0
- fixture/ListTagsForResource.yaml +10/−0
- fixture/ListTagsForResourceResponse.proto +0/−0
- fixture/TagResource.yaml +10/−0
- fixture/TagResourceResponse.proto +0/−0
- fixture/UntagResource.yaml +10/−0
- fixture/UntagResourceResponse.proto +0/−0
- gen/Amazonka/OpsWorksCM.hs +324/−0
- gen/Amazonka/OpsWorksCM/AssociateNode.hs +270/−0
- gen/Amazonka/OpsWorksCM/CreateBackup.hs +262/−0
- gen/Amazonka/OpsWorksCM/CreateServer.hs +916/−0
- gen/Amazonka/OpsWorksCM/DeleteBackup.hs +163/−0
- gen/Amazonka/OpsWorksCM/DeleteServer.hs +162/−0
- gen/Amazonka/OpsWorksCM/DescribeAccountAttributes.hs +154/−0
- gen/Amazonka/OpsWorksCM/DescribeBackups.hs +253/−0
- gen/Amazonka/OpsWorksCM/DescribeEvents.hs +296/−0
- gen/Amazonka/OpsWorksCM/DescribeNodeAssociationStatus.hs +265/−0
- gen/Amazonka/OpsWorksCM/DescribeServers.hs +301/−0
- gen/Amazonka/OpsWorksCM/DisassociateNode.hs +240/−0
- gen/Amazonka/OpsWorksCM/ExportServerEngineAttribute.hs +293/−0
- gen/Amazonka/OpsWorksCM/Lens.hs +262/−0
- gen/Amazonka/OpsWorksCM/ListTagsForResource.hs +282/−0
- gen/Amazonka/OpsWorksCM/RestoreServer.hs +245/−0
- gen/Amazonka/OpsWorksCM/StartMaintenance.hs +223/−0
- gen/Amazonka/OpsWorksCM/TagResource.hs +226/−0
- gen/Amazonka/OpsWorksCM/Types.hs +255/−0
- gen/Amazonka/OpsWorksCM/Types/AccountAttribute.hs +120/−0
- gen/Amazonka/OpsWorksCM/Types/Backup.hs +405/−0
- gen/Amazonka/OpsWorksCM/Types/BackupStatus.hs +81/−0
- gen/Amazonka/OpsWorksCM/Types/BackupType.hs +71/−0
- gen/Amazonka/OpsWorksCM/Types/EngineAttribute.hs +92/−0
- gen/Amazonka/OpsWorksCM/Types/MaintenanceStatus.hs +71/−0
- gen/Amazonka/OpsWorksCM/Types/NodeAssociationStatus.hs +86/−0
- gen/Amazonka/OpsWorksCM/Types/Server.hs +493/−0
- gen/Amazonka/OpsWorksCM/Types/ServerEvent.hs +109/−0
- gen/Amazonka/OpsWorksCM/Types/ServerStatus.hs +126/−0
- gen/Amazonka/OpsWorksCM/Types/Tag.hs +115/−0
- gen/Amazonka/OpsWorksCM/UntagResource.hs +177/−0
- gen/Amazonka/OpsWorksCM/UpdateServer.hs +230/−0
- gen/Amazonka/OpsWorksCM/UpdateServerEngineAttributes.hs +224/−0
- gen/Amazonka/OpsWorksCM/Waiters.hs +48/−0
- gen/Network/AWS/OpsWorksCM.hs +0/−268
- gen/Network/AWS/OpsWorksCM/AssociateNode.hs +0/−170
- gen/Network/AWS/OpsWorksCM/CreateBackup.hs +0/−149
- gen/Network/AWS/OpsWorksCM/CreateServer.hs +0/−316
- gen/Network/AWS/OpsWorksCM/DeleteBackup.hs +0/−124
- gen/Network/AWS/OpsWorksCM/DeleteServer.hs +0/−128
- gen/Network/AWS/OpsWorksCM/DescribeAccountAttributes.hs +0/−125
- gen/Network/AWS/OpsWorksCM/DescribeBackups.hs +0/−181
- gen/Network/AWS/OpsWorksCM/DescribeEvents.hs +0/−173
- gen/Network/AWS/OpsWorksCM/DescribeNodeAssociationStatus.hs +0/−169
- gen/Network/AWS/OpsWorksCM/DescribeServers.hs +0/−171
- gen/Network/AWS/OpsWorksCM/DisassociateNode.hs +0/−162
- gen/Network/AWS/OpsWorksCM/RestoreServer.hs +0/−161
- gen/Network/AWS/OpsWorksCM/StartMaintenance.hs +0/−146
- gen/Network/AWS/OpsWorksCM/Types.hs +0/−206
- gen/Network/AWS/OpsWorksCM/Types/Product.hs +0/−664
- gen/Network/AWS/OpsWorksCM/Types/Sum.hs +0/−210
- gen/Network/AWS/OpsWorksCM/UpdateServer.hs +0/−182
- gen/Network/AWS/OpsWorksCM/UpdateServerEngineAttributes.hs +0/−164
- gen/Network/AWS/OpsWorksCM/Waiters.hs +0/−42
- test/Main.hs +11/−9
- test/Test/AWS/Gen/OpsWorksCM.hs +0/−309
- test/Test/AWS/OpsWorksCM.hs +0/−20
- test/Test/AWS/OpsWorksCM/Internal.hs +0/−9
- test/Test/Amazonka/Gen/OpsWorksCM.hs +418/−0
- test/Test/Amazonka/OpsWorksCM.hs +20/−0
- test/Test/Amazonka/OpsWorksCM/Internal.hs +8/−0
README.md view
@@ -1,4 +1,4 @@-# Amazon OpsWorks for Chef Automate SDK+# Amazon OpsWorks CM SDK * [Version](#version) * [Description](#description)@@ -7,9 +7,8 @@ ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2016-11-01@ of the AWS service descriptions, licensed under Apache 2.0. ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.OpsWorksCM](http://hackage.haskell.org/package/amazonka-opsworks-cm/docs/Network-AWS-OpsWorksCM.html)+See [Amazonka.OpsWorksCM](http://hackage.haskell.org/package/amazonka-opsworks-cm/docs/Amazonka-OpsWorksCM.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
amazonka-opsworks-cm.cabal view
@@ -1,100 +1,113 @@-name: amazonka-opsworks-cm-version: 1.6.1-synopsis: Amazon OpsWorks for Chef Automate SDK.-homepage: https://github.com/brendanhay/amazonka-bug-reports: https://github.com/brendanhay/amazonka/issues-license: MPL-2.0-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright: Copyright (c) 2013-2018 Brendan Hay-category: Network, AWS, Cloud, Distributed Computing-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version: 2.2+name: amazonka-opsworks-cm+version: 2.0+synopsis: Amazon OpsWorks CM SDK.+homepage: https://github.com/brendanhay/amazonka+bug-reports: https://github.com/brendanhay/amazonka/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright: Copyright (c) 2013-2023 Brendan Hay+category: AWS+build-type: Simple+extra-source-files:+ fixture/*.proto+ fixture/*.yaml+ README.md+ src/.gitkeep+ description:- The types from this library are intended to be used with- <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information, sending requests,- and receiving responses.- .- Lenses are used for constructing and manipulating types,- due to the depth of nesting of AWS types and transparency regarding- de/serialisation into more palatable Haskell values.- The provided lenses should be compatible with any of the major lens libraries- such as <http://hackage.haskell.org/package/lens lens> or- <http://hackage.haskell.org/package/lens-family-core lens-family-core>.- .- See "Network.AWS.OpsWorksCM" or <https://aws.amazon.com/documentation/ the AWS documentation>- to get started.+ Derived from API version @2016-11-01@ of the AWS service descriptions, licensed under Apache 2.0.+ .+ The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+ which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+ .+ It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+ .+ Generated lenses can be found in "Amazonka.OpsWorksCM.Lens" and are+ suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+ .+ See "Amazonka.OpsWorksCM" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git- subdir: amazonka-opsworks-cm+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-opsworks-cm library- default-language: Haskell2010- hs-source-dirs: src gen-- ghc-options:- -Wall- -fwarn-incomplete-uni-patterns- -fwarn-incomplete-record-updates- -funbox-strict-fields-- exposed-modules:- Network.AWS.OpsWorksCM- , Network.AWS.OpsWorksCM.AssociateNode- , Network.AWS.OpsWorksCM.CreateBackup- , Network.AWS.OpsWorksCM.CreateServer- , Network.AWS.OpsWorksCM.DeleteBackup- , Network.AWS.OpsWorksCM.DeleteServer- , Network.AWS.OpsWorksCM.DescribeAccountAttributes- , Network.AWS.OpsWorksCM.DescribeBackups- , Network.AWS.OpsWorksCM.DescribeEvents- , Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus- , Network.AWS.OpsWorksCM.DescribeServers- , Network.AWS.OpsWorksCM.DisassociateNode- , Network.AWS.OpsWorksCM.RestoreServer- , Network.AWS.OpsWorksCM.StartMaintenance- , Network.AWS.OpsWorksCM.Types- , Network.AWS.OpsWorksCM.UpdateServer- , Network.AWS.OpsWorksCM.UpdateServerEngineAttributes- , Network.AWS.OpsWorksCM.Waiters+ default-language: Haskell2010+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields - other-modules:- Network.AWS.OpsWorksCM.Types.Product- , Network.AWS.OpsWorksCM.Types.Sum+ exposed-modules:+ Amazonka.OpsWorksCM+ Amazonka.OpsWorksCM.AssociateNode+ Amazonka.OpsWorksCM.CreateBackup+ Amazonka.OpsWorksCM.CreateServer+ Amazonka.OpsWorksCM.DeleteBackup+ Amazonka.OpsWorksCM.DeleteServer+ Amazonka.OpsWorksCM.DescribeAccountAttributes+ Amazonka.OpsWorksCM.DescribeBackups+ Amazonka.OpsWorksCM.DescribeEvents+ Amazonka.OpsWorksCM.DescribeNodeAssociationStatus+ Amazonka.OpsWorksCM.DescribeServers+ Amazonka.OpsWorksCM.DisassociateNode+ Amazonka.OpsWorksCM.ExportServerEngineAttribute+ Amazonka.OpsWorksCM.Lens+ Amazonka.OpsWorksCM.ListTagsForResource+ Amazonka.OpsWorksCM.RestoreServer+ Amazonka.OpsWorksCM.StartMaintenance+ Amazonka.OpsWorksCM.TagResource+ Amazonka.OpsWorksCM.Types+ Amazonka.OpsWorksCM.Types.AccountAttribute+ Amazonka.OpsWorksCM.Types.Backup+ Amazonka.OpsWorksCM.Types.BackupStatus+ Amazonka.OpsWorksCM.Types.BackupType+ Amazonka.OpsWorksCM.Types.EngineAttribute+ Amazonka.OpsWorksCM.Types.MaintenanceStatus+ Amazonka.OpsWorksCM.Types.NodeAssociationStatus+ Amazonka.OpsWorksCM.Types.Server+ Amazonka.OpsWorksCM.Types.ServerEvent+ Amazonka.OpsWorksCM.Types.ServerStatus+ Amazonka.OpsWorksCM.Types.Tag+ Amazonka.OpsWorksCM.UntagResource+ Amazonka.OpsWorksCM.UpdateServer+ Amazonka.OpsWorksCM.UpdateServerEngineAttributes+ Amazonka.OpsWorksCM.Waiters - build-depends:- amazonka-core == 1.6.1.*- , base >= 4.7 && < 5+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , base >=4.12 && <5 test-suite amazonka-opsworks-cm-test- type: exitcode-stdio-1.0- default-language: Haskell2010- hs-source-dirs: test- main-is: Main.hs-- ghc-options: -Wall -threaded+ type: exitcode-stdio-1.0+ default-language: Haskell2010+ hs-source-dirs: test+ main-is: Main.hs+ ghc-options: -Wall -threaded - -- This section is encoded by the template and any modules added by- -- hand outside these namespaces will not correctly be added to the- -- distribution package.- other-modules:- Test.AWS.OpsWorksCM- , Test.AWS.Gen.OpsWorksCM- , Test.AWS.OpsWorksCM.Internal+ -- This section is encoded by the template and any modules added by+ -- hand outside these namespaces will not correctly be added to the+ -- distribution package.+ other-modules:+ Test.Amazonka.Gen.OpsWorksCM+ Test.Amazonka.OpsWorksCM+ Test.Amazonka.OpsWorksCM.Internal - build-depends:- amazonka-core == 1.6.1.*- , amazonka-test == 1.6.1.*- , amazonka-opsworks-cm- , base- , bytestring- , tasty- , tasty-hunit- , text- , time- , unordered-containers+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , amazonka-opsworks-cm+ , amazonka-test >=2.0 && <2.1+ , base+ , bytestring+ , case-insensitive+ , tasty+ , tasty-hunit+ , text+ , time+ , unordered-containers
+ fixture/ExportServerEngineAttribute.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/opsworks-cm/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: opsworks-cm.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ExportServerEngineAttributeResponse.proto view
+ fixture/ListTagsForResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/opsworks-cm/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: opsworks-cm.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTagsForResourceResponse.proto view
+ fixture/TagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/opsworks-cm/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: opsworks-cm.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/TagResourceResponse.proto view
+ fixture/UntagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/opsworks-cm/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: opsworks-cm.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UntagResourceResponse.proto view
+ gen/Amazonka/OpsWorksCM.hs view
@@ -0,0 +1,324 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module : Amazonka.OpsWorksCM+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2016-11-01@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- AWS OpsWorks CM+--+-- AWS OpsWorks for configuration management (CM) is a service that runs+-- and manages configuration management servers. You can use AWS OpsWorks+-- CM to create and manage AWS OpsWorks for Chef Automate and AWS OpsWorks+-- for Puppet Enterprise servers, and add or remove nodes for the servers+-- to manage.+--+-- __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 @ChefAutomate@+-- 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-east-2.amazonaws.com+--+-- - opsworks-cm.us-west-1.amazonaws.com+--+-- - opsworks-cm.us-west-2.amazonaws.com+--+-- - opsworks-cm.ap-northeast-1.amazonaws.com+--+-- - opsworks-cm.ap-southeast-1.amazonaws.com+--+-- - opsworks-cm.ap-southeast-2.amazonaws.com+--+-- - opsworks-cm.eu-central-1.amazonaws.com+--+-- - opsworks-cm.eu-west-1.amazonaws.com+--+-- For more information, see+-- <https://docs.aws.amazon.com/general/latest/gr/opsworks-service.html AWS OpsWorks endpoints and quotas>+-- in the AWS General Reference.+--+-- __Throttling limits__+--+-- All API operations allow for five requests per second with a burst of 10+-- requests per second.+module Amazonka.OpsWorksCM+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ -- $errors++ -- ** InvalidNextTokenException+ _InvalidNextTokenException,++ -- ** InvalidStateException+ _InvalidStateException,++ -- ** LimitExceededException+ _LimitExceededException,++ -- ** ResourceAlreadyExistsException+ _ResourceAlreadyExistsException,++ -- ** ResourceNotFoundException+ _ResourceNotFoundException,++ -- ** ValidationException+ _ValidationException,++ -- * Waiters+ -- $waiters++ -- ** NodeAssociated+ newNodeAssociated,++ -- * Operations+ -- $operations++ -- ** AssociateNode+ AssociateNode (AssociateNode'),+ newAssociateNode,+ AssociateNodeResponse (AssociateNodeResponse'),+ newAssociateNodeResponse,++ -- ** CreateBackup+ CreateBackup (CreateBackup'),+ newCreateBackup,+ CreateBackupResponse (CreateBackupResponse'),+ newCreateBackupResponse,++ -- ** CreateServer+ CreateServer (CreateServer'),+ newCreateServer,+ CreateServerResponse (CreateServerResponse'),+ newCreateServerResponse,++ -- ** DeleteBackup+ DeleteBackup (DeleteBackup'),+ newDeleteBackup,+ DeleteBackupResponse (DeleteBackupResponse'),+ newDeleteBackupResponse,++ -- ** DeleteServer+ DeleteServer (DeleteServer'),+ newDeleteServer,+ DeleteServerResponse (DeleteServerResponse'),+ newDeleteServerResponse,++ -- ** DescribeAccountAttributes+ DescribeAccountAttributes (DescribeAccountAttributes'),+ newDescribeAccountAttributes,+ DescribeAccountAttributesResponse (DescribeAccountAttributesResponse'),+ newDescribeAccountAttributesResponse,++ -- ** DescribeBackups (Paginated)+ DescribeBackups (DescribeBackups'),+ newDescribeBackups,+ DescribeBackupsResponse (DescribeBackupsResponse'),+ newDescribeBackupsResponse,++ -- ** DescribeEvents (Paginated)+ DescribeEvents (DescribeEvents'),+ newDescribeEvents,+ DescribeEventsResponse (DescribeEventsResponse'),+ newDescribeEventsResponse,++ -- ** DescribeNodeAssociationStatus+ DescribeNodeAssociationStatus (DescribeNodeAssociationStatus'),+ newDescribeNodeAssociationStatus,+ DescribeNodeAssociationStatusResponse (DescribeNodeAssociationStatusResponse'),+ newDescribeNodeAssociationStatusResponse,++ -- ** DescribeServers (Paginated)+ DescribeServers (DescribeServers'),+ newDescribeServers,+ DescribeServersResponse (DescribeServersResponse'),+ newDescribeServersResponse,++ -- ** DisassociateNode+ DisassociateNode (DisassociateNode'),+ newDisassociateNode,+ DisassociateNodeResponse (DisassociateNodeResponse'),+ newDisassociateNodeResponse,++ -- ** ExportServerEngineAttribute+ ExportServerEngineAttribute (ExportServerEngineAttribute'),+ newExportServerEngineAttribute,+ ExportServerEngineAttributeResponse (ExportServerEngineAttributeResponse'),+ newExportServerEngineAttributeResponse,++ -- ** ListTagsForResource (Paginated)+ ListTagsForResource (ListTagsForResource'),+ newListTagsForResource,+ ListTagsForResourceResponse (ListTagsForResourceResponse'),+ newListTagsForResourceResponse,++ -- ** RestoreServer+ RestoreServer (RestoreServer'),+ newRestoreServer,+ RestoreServerResponse (RestoreServerResponse'),+ newRestoreServerResponse,++ -- ** StartMaintenance+ StartMaintenance (StartMaintenance'),+ newStartMaintenance,+ StartMaintenanceResponse (StartMaintenanceResponse'),+ newStartMaintenanceResponse,++ -- ** TagResource+ TagResource (TagResource'),+ newTagResource,+ TagResourceResponse (TagResourceResponse'),+ newTagResourceResponse,++ -- ** UntagResource+ UntagResource (UntagResource'),+ newUntagResource,+ UntagResourceResponse (UntagResourceResponse'),+ newUntagResourceResponse,++ -- ** UpdateServer+ UpdateServer (UpdateServer'),+ newUpdateServer,+ UpdateServerResponse (UpdateServerResponse'),+ newUpdateServerResponse,++ -- ** UpdateServerEngineAttributes+ UpdateServerEngineAttributes (UpdateServerEngineAttributes'),+ newUpdateServerEngineAttributes,+ UpdateServerEngineAttributesResponse (UpdateServerEngineAttributesResponse'),+ newUpdateServerEngineAttributesResponse,++ -- * Types++ -- ** BackupStatus+ BackupStatus (..),++ -- ** BackupType+ BackupType (..),++ -- ** MaintenanceStatus+ MaintenanceStatus (..),++ -- ** NodeAssociationStatus+ NodeAssociationStatus (..),++ -- ** ServerStatus+ ServerStatus (..),++ -- ** AccountAttribute+ AccountAttribute (AccountAttribute'),+ newAccountAttribute,++ -- ** Backup+ Backup (Backup'),+ newBackup,++ -- ** EngineAttribute+ EngineAttribute (EngineAttribute'),+ newEngineAttribute,++ -- ** Server+ Server (Server'),+ newServer,++ -- ** ServerEvent+ ServerEvent (ServerEvent'),+ newServerEvent,++ -- ** Tag+ Tag (Tag'),+ newTag,+ )+where++import Amazonka.OpsWorksCM.AssociateNode+import Amazonka.OpsWorksCM.CreateBackup+import Amazonka.OpsWorksCM.CreateServer+import Amazonka.OpsWorksCM.DeleteBackup+import Amazonka.OpsWorksCM.DeleteServer+import Amazonka.OpsWorksCM.DescribeAccountAttributes+import Amazonka.OpsWorksCM.DescribeBackups+import Amazonka.OpsWorksCM.DescribeEvents+import Amazonka.OpsWorksCM.DescribeNodeAssociationStatus+import Amazonka.OpsWorksCM.DescribeServers+import Amazonka.OpsWorksCM.DisassociateNode+import Amazonka.OpsWorksCM.ExportServerEngineAttribute+import Amazonka.OpsWorksCM.Lens+import Amazonka.OpsWorksCM.ListTagsForResource+import Amazonka.OpsWorksCM.RestoreServer+import Amazonka.OpsWorksCM.StartMaintenance+import Amazonka.OpsWorksCM.TagResource+import Amazonka.OpsWorksCM.Types+import Amazonka.OpsWorksCM.UntagResource+import Amazonka.OpsWorksCM.UpdateServer+import Amazonka.OpsWorksCM.UpdateServerEngineAttributes+import Amazonka.OpsWorksCM.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'OpsWorksCM'.++-- $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.++-- $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.
+ gen/Amazonka/OpsWorksCM/AssociateNode.hs view
@@ -0,0 +1,270 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.AssociateNode+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Associates a new node with the server. For more information about how to+-- disassociate a node, see DisassociateNode.+--+-- On a Chef server: This command is an alternative to @knife bootstrap@.+--+-- Example (Chef):+-- @aws opsworks-cm associate-node --server-name @/@MyServer@/@ --node-name @/@MyManagedNode@/@ --engine-attributes \"Name=@/@CHEF_ORGANIZATION@/@,Value=default\" \"Name=@/@CHEF_NODE_PUBLIC_KEY@/@,Value=@/@public-key-pem@/@\"@+--+-- On a Puppet server, this command is an alternative to the+-- @puppet cert sign@ command that signs a Puppet node CSR.+--+-- Example (Puppet):+-- @aws opsworks-cm associate-node --server-name @/@MyServer@/@ --node-name @/@MyManagedNode@/@ --engine-attributes \"Name=@/@PUPPET_NODE_CSR@/@,Value=@/@csr-pem@/@\"@+--+-- A node can can only be associated with servers that are in a @HEALTHY@+-- state. Otherwise, an @InvalidStateException@ is thrown. A+-- @ResourceNotFoundException@ is thrown when the server does not exist. A+-- @ValidationException@ is raised when parameters of the request are not+-- valid. The AssociateNode API call can be integrated into Auto Scaling+-- configurations, AWS Cloudformation templates, or the user data of a+-- server\'s instance.+module Amazonka.OpsWorksCM.AssociateNode+ ( -- * Creating a Request+ AssociateNode (..),+ newAssociateNode,++ -- * Request Lenses+ associateNode_serverName,+ associateNode_nodeName,+ associateNode_engineAttributes,++ -- * Destructuring the Response+ AssociateNodeResponse (..),+ newAssociateNodeResponse,++ -- * Response Lenses+ associateNodeResponse_nodeAssociationStatusToken,+ associateNodeResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newAssociateNode' smart constructor.+data AssociateNode = AssociateNode'+ { -- | The name of the server with which to associate the node.+ serverName :: Prelude.Text,+ -- | The name of the node.+ nodeName :: Prelude.Text,+ -- | Engine attributes used for associating the node.+ --+ -- __Attributes accepted in a AssociateNode request for Chef__+ --+ -- - @CHEF_ORGANIZATION@: The Chef organization with which the node is+ -- associated. By default only one organization named @default@ can+ -- exist.+ --+ -- - @CHEF_NODE_PUBLIC_KEY@: A PEM-formatted public key. This key is+ -- required for the @chef-client@ agent to access the Chef API.+ --+ -- __Attributes accepted in a AssociateNode request for Puppet__+ --+ -- - @PUPPET_NODE_CSR@: A PEM-formatted certificate-signing request (CSR)+ -- that is created by the node.+ engineAttributes :: [EngineAttribute]+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AssociateNode' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'serverName', 'associateNode_serverName' - The name of the server with which to associate the node.+--+-- 'nodeName', 'associateNode_nodeName' - The name of the node.+--+-- 'engineAttributes', 'associateNode_engineAttributes' - Engine attributes used for associating the node.+--+-- __Attributes accepted in a AssociateNode request for Chef__+--+-- - @CHEF_ORGANIZATION@: The Chef organization with which the node is+-- associated. By default only one organization named @default@ can+-- exist.+--+-- - @CHEF_NODE_PUBLIC_KEY@: A PEM-formatted public key. This key is+-- required for the @chef-client@ agent to access the Chef API.+--+-- __Attributes accepted in a AssociateNode request for Puppet__+--+-- - @PUPPET_NODE_CSR@: A PEM-formatted certificate-signing request (CSR)+-- that is created by the node.+newAssociateNode ::+ -- | 'serverName'+ Prelude.Text ->+ -- | 'nodeName'+ Prelude.Text ->+ AssociateNode+newAssociateNode pServerName_ pNodeName_ =+ AssociateNode'+ { serverName = pServerName_,+ nodeName = pNodeName_,+ engineAttributes = Prelude.mempty+ }++-- | The name of the server with which to associate the node.+associateNode_serverName :: Lens.Lens' AssociateNode Prelude.Text+associateNode_serverName = Lens.lens (\AssociateNode' {serverName} -> serverName) (\s@AssociateNode' {} a -> s {serverName = a} :: AssociateNode)++-- | The name of the node.+associateNode_nodeName :: Lens.Lens' AssociateNode Prelude.Text+associateNode_nodeName = Lens.lens (\AssociateNode' {nodeName} -> nodeName) (\s@AssociateNode' {} a -> s {nodeName = a} :: AssociateNode)++-- | Engine attributes used for associating the node.+--+-- __Attributes accepted in a AssociateNode request for Chef__+--+-- - @CHEF_ORGANIZATION@: The Chef organization with which the node is+-- associated. By default only one organization named @default@ can+-- exist.+--+-- - @CHEF_NODE_PUBLIC_KEY@: A PEM-formatted public key. This key is+-- required for the @chef-client@ agent to access the Chef API.+--+-- __Attributes accepted in a AssociateNode request for Puppet__+--+-- - @PUPPET_NODE_CSR@: A PEM-formatted certificate-signing request (CSR)+-- that is created by the node.+associateNode_engineAttributes :: Lens.Lens' AssociateNode [EngineAttribute]+associateNode_engineAttributes = Lens.lens (\AssociateNode' {engineAttributes} -> engineAttributes) (\s@AssociateNode' {} a -> s {engineAttributes = a} :: AssociateNode) Prelude.. Lens.coerced++instance Core.AWSRequest AssociateNode where+ type+ AWSResponse AssociateNode =+ AssociateNodeResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ AssociateNodeResponse'+ Prelude.<$> (x Data..?> "NodeAssociationStatusToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable AssociateNode where+ hashWithSalt _salt AssociateNode' {..} =+ _salt+ `Prelude.hashWithSalt` serverName+ `Prelude.hashWithSalt` nodeName+ `Prelude.hashWithSalt` engineAttributes++instance Prelude.NFData AssociateNode where+ rnf AssociateNode' {..} =+ Prelude.rnf serverName+ `Prelude.seq` Prelude.rnf nodeName+ `Prelude.seq` Prelude.rnf engineAttributes++instance Data.ToHeaders AssociateNode where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.AssociateNode" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON AssociateNode where+ toJSON AssociateNode' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ServerName" Data..= serverName),+ Prelude.Just ("NodeName" Data..= nodeName),+ Prelude.Just+ ("EngineAttributes" Data..= engineAttributes)+ ]+ )++instance Data.ToPath AssociateNode where+ toPath = Prelude.const "/"++instance Data.ToQuery AssociateNode where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newAssociateNodeResponse' smart constructor.+data AssociateNodeResponse = AssociateNodeResponse'+ { -- | Contains a token which can be passed to the+ -- @DescribeNodeAssociationStatus@ API call to get the status of the+ -- association request.+ nodeAssociationStatusToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AssociateNodeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nodeAssociationStatusToken', 'associateNodeResponse_nodeAssociationStatusToken' - Contains a token which can be passed to the+-- @DescribeNodeAssociationStatus@ API call to get the status of the+-- association request.+--+-- 'httpStatus', 'associateNodeResponse_httpStatus' - The response's http status code.+newAssociateNodeResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ AssociateNodeResponse+newAssociateNodeResponse pHttpStatus_ =+ AssociateNodeResponse'+ { nodeAssociationStatusToken =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Contains a token which can be passed to the+-- @DescribeNodeAssociationStatus@ API call to get the status of the+-- association request.+associateNodeResponse_nodeAssociationStatusToken :: Lens.Lens' AssociateNodeResponse (Prelude.Maybe Prelude.Text)+associateNodeResponse_nodeAssociationStatusToken = Lens.lens (\AssociateNodeResponse' {nodeAssociationStatusToken} -> nodeAssociationStatusToken) (\s@AssociateNodeResponse' {} a -> s {nodeAssociationStatusToken = a} :: AssociateNodeResponse)++-- | The response's http status code.+associateNodeResponse_httpStatus :: Lens.Lens' AssociateNodeResponse Prelude.Int+associateNodeResponse_httpStatus = Lens.lens (\AssociateNodeResponse' {httpStatus} -> httpStatus) (\s@AssociateNodeResponse' {} a -> s {httpStatus = a} :: AssociateNodeResponse)++instance Prelude.NFData AssociateNodeResponse where+ rnf AssociateNodeResponse' {..} =+ Prelude.rnf nodeAssociationStatusToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/CreateBackup.hs view
@@ -0,0 +1,262 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.CreateBackup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an application-level backup of a server. While the server is in+-- the @BACKING_UP@ state, the server cannot be changed, and no additional+-- backup can be created.+--+-- Backups can be created for servers in @RUNNING@, @HEALTHY@, and+-- @UNHEALTHY@ states. By default, you can create a maximum of 50 manual+-- backups.+--+-- This operation is asynchronous.+--+-- A @LimitExceededException@ is thrown when the maximum number of manual+-- backups is reached. An @InvalidStateException@ is thrown when the server+-- is not in any of the following states: RUNNING, HEALTHY, or UNHEALTHY. A+-- @ResourceNotFoundException@ is thrown when the server is not found. A+-- @ValidationException@ is thrown when parameters of the request are not+-- valid.+module Amazonka.OpsWorksCM.CreateBackup+ ( -- * Creating a Request+ CreateBackup (..),+ newCreateBackup,++ -- * Request Lenses+ createBackup_description,+ createBackup_tags,+ createBackup_serverName,++ -- * Destructuring the Response+ CreateBackupResponse (..),+ newCreateBackupResponse,++ -- * Response Lenses+ createBackupResponse_backup,+ createBackupResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateBackup' smart constructor.+data CreateBackup = CreateBackup'+ { -- | A user-defined description of the backup.+ description :: Prelude.Maybe Prelude.Text,+ -- | A map that contains tag keys and tag values to attach to an AWS+ -- OpsWorks-CM server backup.+ --+ -- - The key cannot be empty.+ --+ -- - The key can be a maximum of 127 characters, and can contain only+ -- Unicode letters, numbers, or separators, or the following special+ -- characters: @+ - = . _ : \/@+ --+ -- - The value can be a maximum 255 characters, and contain only Unicode+ -- letters, numbers, or separators, or the following special+ -- characters: @+ - = . _ : \/@+ --+ -- - Leading and trailing white spaces are trimmed from both the key and+ -- value.+ --+ -- - A maximum of 50 user-applied tags is allowed for tag-supported AWS+ -- OpsWorks-CM resources.+ tags :: Prelude.Maybe [Tag],+ -- | The name of the server that you want to back up.+ serverName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateBackup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'createBackup_description' - A user-defined description of the backup.+--+-- 'tags', 'createBackup_tags' - A map that contains tag keys and tag values to attach to an AWS+-- OpsWorks-CM server backup.+--+-- - The key cannot be empty.+--+-- - The key can be a maximum of 127 characters, and can contain only+-- Unicode letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/@+--+-- - The value can be a maximum 255 characters, and contain only Unicode+-- letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/@+--+-- - Leading and trailing white spaces are trimmed from both the key and+-- value.+--+-- - A maximum of 50 user-applied tags is allowed for tag-supported AWS+-- OpsWorks-CM resources.+--+-- 'serverName', 'createBackup_serverName' - The name of the server that you want to back up.+newCreateBackup ::+ -- | 'serverName'+ Prelude.Text ->+ CreateBackup+newCreateBackup pServerName_ =+ CreateBackup'+ { description = Prelude.Nothing,+ tags = Prelude.Nothing,+ serverName = pServerName_+ }++-- | A user-defined description of the backup.+createBackup_description :: Lens.Lens' CreateBackup (Prelude.Maybe Prelude.Text)+createBackup_description = Lens.lens (\CreateBackup' {description} -> description) (\s@CreateBackup' {} a -> s {description = a} :: CreateBackup)++-- | A map that contains tag keys and tag values to attach to an AWS+-- OpsWorks-CM server backup.+--+-- - The key cannot be empty.+--+-- - The key can be a maximum of 127 characters, and can contain only+-- Unicode letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/@+--+-- - The value can be a maximum 255 characters, and contain only Unicode+-- letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/@+--+-- - Leading and trailing white spaces are trimmed from both the key and+-- value.+--+-- - A maximum of 50 user-applied tags is allowed for tag-supported AWS+-- OpsWorks-CM resources.+createBackup_tags :: Lens.Lens' CreateBackup (Prelude.Maybe [Tag])+createBackup_tags = Lens.lens (\CreateBackup' {tags} -> tags) (\s@CreateBackup' {} a -> s {tags = a} :: CreateBackup) Prelude.. Lens.mapping Lens.coerced++-- | The name of the server that you want to back up.+createBackup_serverName :: Lens.Lens' CreateBackup Prelude.Text+createBackup_serverName = Lens.lens (\CreateBackup' {serverName} -> serverName) (\s@CreateBackup' {} a -> s {serverName = a} :: CreateBackup)++instance Core.AWSRequest CreateBackup where+ type AWSResponse CreateBackup = CreateBackupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateBackupResponse'+ Prelude.<$> (x Data..?> "Backup")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateBackup where+ hashWithSalt _salt CreateBackup' {..} =+ _salt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData CreateBackup where+ rnf CreateBackup' {..} =+ Prelude.rnf description+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf serverName++instance Data.ToHeaders CreateBackup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.CreateBackup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateBackup where+ toJSON CreateBackup' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Description" Data..=) Prelude.<$> description,+ ("Tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("ServerName" Data..= serverName)+ ]+ )++instance Data.ToPath CreateBackup where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateBackup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateBackupResponse' smart constructor.+data CreateBackupResponse = CreateBackupResponse'+ { -- | Backup created by request.+ backup :: Prelude.Maybe Backup,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateBackupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backup', 'createBackupResponse_backup' - Backup created by request.+--+-- 'httpStatus', 'createBackupResponse_httpStatus' - The response's http status code.+newCreateBackupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateBackupResponse+newCreateBackupResponse pHttpStatus_ =+ CreateBackupResponse'+ { backup = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Backup created by request.+createBackupResponse_backup :: Lens.Lens' CreateBackupResponse (Prelude.Maybe Backup)+createBackupResponse_backup = Lens.lens (\CreateBackupResponse' {backup} -> backup) (\s@CreateBackupResponse' {} a -> s {backup = a} :: CreateBackupResponse)++-- | The response's http status code.+createBackupResponse_httpStatus :: Lens.Lens' CreateBackupResponse Prelude.Int+createBackupResponse_httpStatus = Lens.lens (\CreateBackupResponse' {httpStatus} -> httpStatus) (\s@CreateBackupResponse' {} a -> s {httpStatus = a} :: CreateBackupResponse)++instance Prelude.NFData CreateBackupResponse where+ rnf CreateBackupResponse' {..} =+ Prelude.rnf backup+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/CreateServer.hs view
@@ -0,0 +1,916 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.CreateServer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates and immedately starts a new server. The server is ready to use+-- when it is in the @HEALTHY@ state. By default, you can create a maximum+-- of 10 servers.+--+-- This operation is asynchronous.+--+-- A @LimitExceededException@ is thrown when you have created the maximum+-- number of servers (10). A @ResourceAlreadyExistsException@ is thrown+-- when a server with the same name already exists in the account. A+-- @ResourceNotFoundException@ is thrown when you specify a backup ID that+-- is not valid or is for a backup that does not exist. A+-- @ValidationException@ is thrown when parameters of the request are not+-- valid.+--+-- If you do not specify a security group by adding the @SecurityGroupIds@+-- parameter, AWS OpsWorks creates a new security group.+--+-- /Chef Automate:/ The default security group opens the Chef server to the+-- world on TCP port 443. If a KeyName is present, AWS OpsWorks enables SSH+-- access. SSH is also open to the world on TCP port 22.+--+-- /Puppet Enterprise:/ The default security group opens TCP ports 22, 443,+-- 4433, 8140, 8142, 8143, and 8170. If a KeyName is present, AWS OpsWorks+-- enables SSH access. SSH is also open to the world on TCP port 22.+--+-- By default, your server is accessible from any IP address. We recommend+-- that you update your security group rules to allow access from known IP+-- addresses and address ranges only. To edit security group rules, open+-- Security Groups in the navigation pane of the EC2 management console.+--+-- To specify your own domain for a server, and provide your own+-- self-signed or CA-signed certificate and private key, specify values for+-- @CustomDomain@, @CustomCertificate@, and @CustomPrivateKey@.+module Amazonka.OpsWorksCM.CreateServer+ ( -- * Creating a Request+ CreateServer (..),+ newCreateServer,++ -- * Request Lenses+ createServer_associatePublicIpAddress,+ createServer_backupId,+ createServer_backupRetentionCount,+ createServer_customCertificate,+ createServer_customDomain,+ createServer_customPrivateKey,+ createServer_disableAutomatedBackup,+ createServer_engineAttributes,+ createServer_engineModel,+ createServer_engineVersion,+ createServer_keyPair,+ createServer_preferredBackupWindow,+ createServer_preferredMaintenanceWindow,+ createServer_securityGroupIds,+ createServer_subnetIds,+ createServer_tags,+ createServer_engine,+ createServer_serverName,+ createServer_instanceProfileArn,+ createServer_instanceType,+ createServer_serviceRoleArn,++ -- * Destructuring the Response+ CreateServerResponse (..),+ newCreateServerResponse,++ -- * Response Lenses+ createServerResponse_server,+ createServerResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateServer' smart constructor.+data CreateServer = CreateServer'+ { -- | Associate a public IP address with a server that you are launching.+ -- Valid values are @true@ or @false@. The default value is @true@.+ associatePublicIpAddress :: Prelude.Maybe Prelude.Bool,+ -- | If you specify this field, AWS OpsWorks CM creates the server by using+ -- the backup represented by BackupId.+ backupId :: Prelude.Maybe Prelude.Text,+ -- | The number of automated backups that you want to keep. Whenever a new+ -- backup is created, AWS OpsWorks CM deletes the oldest backups if this+ -- number is exceeded. The default value is @1@.+ backupRetentionCount :: Prelude.Maybe Prelude.Natural,+ -- | A PEM-formatted HTTPS certificate. The value can be be a single,+ -- self-signed certificate, or a certificate chain. If you specify a custom+ -- certificate, you must also specify values for @CustomDomain@ and+ -- @CustomPrivateKey@. The following are requirements for the+ -- @CustomCertificate@ value:+ --+ -- - You can provide either a self-signed, custom certificate, or the+ -- full certificate chain.+ --+ -- - The certificate must be a valid X509 certificate, or a certificate+ -- chain in PEM format.+ --+ -- - The certificate must be valid at the time of upload. A certificate+ -- can\'t be used before its validity period begins (the certificate\'s+ -- @NotBefore@ date), or after it expires (the certificate\'s+ -- @NotAfter@ date).+ --+ -- - The certificate’s common name or subject alternative names (SANs),+ -- if present, must match the value of @CustomDomain@.+ --+ -- - The certificate must match the value of @CustomPrivateKey@.+ customCertificate :: Prelude.Maybe Prelude.Text,+ -- | An optional public endpoint of a server, such as+ -- @https:\/\/aws.my-company.com@. To access the server, create a CNAME DNS+ -- record in your preferred DNS service that points the custom domain to+ -- the endpoint that is generated when the server is created (the value of+ -- the CreateServer Endpoint attribute). You cannot access the server by+ -- using the generated @Endpoint@ value if the server is using a custom+ -- domain. If you specify a custom domain, you must also specify values for+ -- @CustomCertificate@ and @CustomPrivateKey@.+ customDomain :: Prelude.Maybe Prelude.Text,+ -- | A private key in PEM format for connecting to the server by using HTTPS.+ -- The private key must not be encrypted; it cannot be protected by a+ -- password or passphrase. If you specify a custom private key, you must+ -- also specify values for @CustomDomain@ and @CustomCertificate@.+ customPrivateKey :: Prelude.Maybe (Data.Sensitive Prelude.Text),+ -- | Enable or disable scheduled backups. Valid values are @true@ or @false@.+ -- The default value is @true@.+ disableAutomatedBackup :: Prelude.Maybe Prelude.Bool,+ -- | Optional engine attributes on a specified server.+ --+ -- __Attributes accepted in a Chef createServer request:__+ --+ -- - @CHEF_AUTOMATE_PIVOTAL_KEY@: A base64-encoded RSA public key. The+ -- corresponding private key is required to access the Chef API. When+ -- no CHEF_AUTOMATE_PIVOTAL_KEY is set, a private key is generated and+ -- returned in the response.+ --+ -- - @CHEF_AUTOMATE_ADMIN_PASSWORD@: The password for the administrative+ -- user in the Chef Automate web-based dashboard. The password length+ -- is a minimum of eight characters, and a maximum of 32. The password+ -- can contain letters, numbers, and special characters+ -- (!\/\@#$%^&+=_). The password must contain at least one lower case+ -- letter, one upper case letter, one number, and one special+ -- character. When no CHEF_AUTOMATE_ADMIN_PASSWORD is set, one is+ -- generated and returned in the response.+ --+ -- __Attributes accepted in a Puppet createServer request:__+ --+ -- - @PUPPET_ADMIN_PASSWORD@: To work with the Puppet Enterprise console,+ -- a password must use ASCII characters.+ --+ -- - @PUPPET_R10K_REMOTE@: The r10k remote is the URL of your control+ -- repository (for example,+ -- ssh:\/\/git\@your.git-repo.com:user\/control-repo.git). Specifying+ -- an r10k remote opens TCP port 8170.+ --+ -- - @PUPPET_R10K_PRIVATE_KEY@: If you are using a private Git+ -- repository, add PUPPET_R10K_PRIVATE_KEY to specify a PEM-encoded+ -- private SSH key.+ engineAttributes :: Prelude.Maybe [EngineAttribute],+ -- | The engine model of the server. Valid values in this release include+ -- @Monolithic@ for Puppet and @Single@ for Chef.+ engineModel :: Prelude.Maybe Prelude.Text,+ -- | The major release version of the engine that you want to use. For a Chef+ -- server, the valid value for EngineVersion is currently @2@. For a Puppet+ -- server, valid values are @2019@ or @2017@.+ engineVersion :: Prelude.Maybe Prelude.Text,+ -- | The Amazon EC2 key pair to set for the instance. This parameter is+ -- optional; if desired, you may specify this parameter to connect to your+ -- instances by using SSH.+ keyPair :: Prelude.Maybe Prelude.Text,+ -- | The start time for a one-hour period during which AWS OpsWorks CM backs+ -- up application-level data on your server if automated backups are+ -- enabled. Valid values must be specified in one of the following formats:+ --+ -- - @HH:MM@ for daily backups+ --+ -- - @DDD:HH:MM@ for weekly backups+ --+ -- @MM@ must be specified as @00@. The specified time is in coordinated+ -- universal time (UTC). The default value is a random, daily start time.+ --+ -- __Example:__ @08:00@, which represents a daily start time of 08:00 UTC.+ --+ -- __Example:__ @Mon:08:00@, which represents a start time of every Monday+ -- at 08:00 UTC. (8:00 a.m.)+ preferredBackupWindow :: Prelude.Maybe Prelude.Text,+ -- | The start time for a one-hour period each week during which AWS OpsWorks+ -- CM performs maintenance on the instance. Valid values must be specified+ -- in the following format: @DDD:HH:MM@. @MM@ must be specified as @00@.+ -- The specified time is in coordinated universal time (UTC). The default+ -- value is a random one-hour period on Tuesday, Wednesday, or Friday. See+ -- @TimeWindowDefinition@ for more information.+ --+ -- __Example:__ @Mon:08:00@, which represents a start time of every Monday+ -- at 08:00 UTC. (8:00 a.m.)+ preferredMaintenanceWindow :: Prelude.Maybe Prelude.Text,+ -- | A list of security group IDs to attach to the Amazon EC2 instance. If+ -- you add this parameter, the specified security groups must be within the+ -- VPC that is specified by @SubnetIds@.+ --+ -- If you do not specify this parameter, AWS OpsWorks CM creates one new+ -- security group that uses TCP ports 22 and 443, open to 0.0.0.0\/0+ -- (everyone).+ securityGroupIds :: Prelude.Maybe [Prelude.Text],+ -- | The IDs of subnets in which to launch the server EC2 instance.+ --+ -- Amazon EC2-Classic customers: This field is required. All servers must+ -- run within a VPC. The VPC must have \"Auto Assign Public IP\" enabled.+ --+ -- EC2-VPC customers: This field is optional. If you do not specify subnet+ -- IDs, your EC2 instances are created in a default subnet that is selected+ -- by Amazon EC2. If you specify subnet IDs, the VPC must have \"Auto+ -- Assign Public IP\" enabled.+ --+ -- For more information about supported Amazon EC2 platforms, see+ -- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms>.+ subnetIds :: Prelude.Maybe [Prelude.Text],+ -- | A map that contains tag keys and tag values to attach to an AWS OpsWorks+ -- for Chef Automate or AWS OpsWorks for Puppet Enterprise server.+ --+ -- - The key cannot be empty.+ --+ -- - The key can be a maximum of 127 characters, and can contain only+ -- Unicode letters, numbers, or separators, or the following special+ -- characters: @+ - = . _ : \/ \@@+ --+ -- - The value can be a maximum 255 characters, and contain only Unicode+ -- letters, numbers, or separators, or the following special+ -- characters: @+ - = . _ : \/ \@@+ --+ -- - Leading and trailing white spaces are trimmed from both the key and+ -- value.+ --+ -- - A maximum of 50 user-applied tags is allowed for any AWS OpsWorks-CM+ -- server.+ tags :: Prelude.Maybe [Tag],+ -- | The configuration management engine to use. Valid values include+ -- @ChefAutomate@ and @Puppet@.+ engine :: Prelude.Text,+ -- | The name of the server. The server name must be unique within your AWS+ -- account, within each region. Server names must start with a letter; then+ -- letters, numbers, or hyphens (-) are allowed, up to a maximum of 40+ -- characters.+ serverName :: Prelude.Text,+ -- | The ARN of the instance profile that your Amazon EC2 instances use.+ -- Although the AWS OpsWorks console typically creates the instance profile+ -- for you, if you are using API commands instead, run the+ -- service-role-creation.yaml AWS CloudFormation template, located at+ -- https:\/\/s3.amazonaws.com\/opsworks-cm-us-east-1-prod-default-assets\/misc\/opsworks-cm-roles.yaml.+ -- This template creates a CloudFormation stack that includes the instance+ -- profile you need.+ instanceProfileArn :: Prelude.Text,+ -- | The Amazon EC2 instance type to use. For example, @m5.large@.+ instanceType :: Prelude.Text,+ -- | The service role that the AWS OpsWorks CM service backend uses to work+ -- with your account. Although the AWS OpsWorks management console+ -- typically creates the service role for you, if you are using the AWS CLI+ -- or API commands, run the service-role-creation.yaml AWS CloudFormation+ -- template, located at+ -- https:\/\/s3.amazonaws.com\/opsworks-cm-us-east-1-prod-default-assets\/misc\/opsworks-cm-roles.yaml.+ -- This template creates a CloudFormation stack that includes the service+ -- role and instance profile that you need.+ serviceRoleArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateServer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'associatePublicIpAddress', 'createServer_associatePublicIpAddress' - Associate a public IP address with a server that you are launching.+-- Valid values are @true@ or @false@. The default value is @true@.+--+-- 'backupId', 'createServer_backupId' - If you specify this field, AWS OpsWorks CM creates the server by using+-- the backup represented by BackupId.+--+-- 'backupRetentionCount', 'createServer_backupRetentionCount' - The number of automated backups that you want to keep. Whenever a new+-- backup is created, AWS OpsWorks CM deletes the oldest backups if this+-- number is exceeded. The default value is @1@.+--+-- 'customCertificate', 'createServer_customCertificate' - A PEM-formatted HTTPS certificate. The value can be be a single,+-- self-signed certificate, or a certificate chain. If you specify a custom+-- certificate, you must also specify values for @CustomDomain@ and+-- @CustomPrivateKey@. The following are requirements for the+-- @CustomCertificate@ value:+--+-- - You can provide either a self-signed, custom certificate, or the+-- full certificate chain.+--+-- - The certificate must be a valid X509 certificate, or a certificate+-- chain in PEM format.+--+-- - The certificate must be valid at the time of upload. A certificate+-- can\'t be used before its validity period begins (the certificate\'s+-- @NotBefore@ date), or after it expires (the certificate\'s+-- @NotAfter@ date).+--+-- - The certificate’s common name or subject alternative names (SANs),+-- if present, must match the value of @CustomDomain@.+--+-- - The certificate must match the value of @CustomPrivateKey@.+--+-- 'customDomain', 'createServer_customDomain' - An optional public endpoint of a server, such as+-- @https:\/\/aws.my-company.com@. To access the server, create a CNAME DNS+-- record in your preferred DNS service that points the custom domain to+-- the endpoint that is generated when the server is created (the value of+-- the CreateServer Endpoint attribute). You cannot access the server by+-- using the generated @Endpoint@ value if the server is using a custom+-- domain. If you specify a custom domain, you must also specify values for+-- @CustomCertificate@ and @CustomPrivateKey@.+--+-- 'customPrivateKey', 'createServer_customPrivateKey' - A private key in PEM format for connecting to the server by using HTTPS.+-- The private key must not be encrypted; it cannot be protected by a+-- password or passphrase. If you specify a custom private key, you must+-- also specify values for @CustomDomain@ and @CustomCertificate@.+--+-- 'disableAutomatedBackup', 'createServer_disableAutomatedBackup' - Enable or disable scheduled backups. Valid values are @true@ or @false@.+-- The default value is @true@.+--+-- 'engineAttributes', 'createServer_engineAttributes' - Optional engine attributes on a specified server.+--+-- __Attributes accepted in a Chef createServer request:__+--+-- - @CHEF_AUTOMATE_PIVOTAL_KEY@: A base64-encoded RSA public key. The+-- corresponding private key is required to access the Chef API. When+-- no CHEF_AUTOMATE_PIVOTAL_KEY is set, a private key is generated and+-- returned in the response.+--+-- - @CHEF_AUTOMATE_ADMIN_PASSWORD@: The password for the administrative+-- user in the Chef Automate web-based dashboard. The password length+-- is a minimum of eight characters, and a maximum of 32. The password+-- can contain letters, numbers, and special characters+-- (!\/\@#$%^&+=_). The password must contain at least one lower case+-- letter, one upper case letter, one number, and one special+-- character. When no CHEF_AUTOMATE_ADMIN_PASSWORD is set, one is+-- generated and returned in the response.+--+-- __Attributes accepted in a Puppet createServer request:__+--+-- - @PUPPET_ADMIN_PASSWORD@: To work with the Puppet Enterprise console,+-- a password must use ASCII characters.+--+-- - @PUPPET_R10K_REMOTE@: The r10k remote is the URL of your control+-- repository (for example,+-- ssh:\/\/git\@your.git-repo.com:user\/control-repo.git). Specifying+-- an r10k remote opens TCP port 8170.+--+-- - @PUPPET_R10K_PRIVATE_KEY@: If you are using a private Git+-- repository, add PUPPET_R10K_PRIVATE_KEY to specify a PEM-encoded+-- private SSH key.+--+-- 'engineModel', 'createServer_engineModel' - The engine model of the server. Valid values in this release include+-- @Monolithic@ for Puppet and @Single@ for Chef.+--+-- 'engineVersion', 'createServer_engineVersion' - The major release version of the engine that you want to use. For a Chef+-- server, the valid value for EngineVersion is currently @2@. For a Puppet+-- server, valid values are @2019@ or @2017@.+--+-- 'keyPair', 'createServer_keyPair' - The Amazon EC2 key pair to set for the instance. This parameter is+-- optional; if desired, you may specify this parameter to connect to your+-- instances by using SSH.+--+-- 'preferredBackupWindow', 'createServer_preferredBackupWindow' - The start time for a one-hour period during which AWS OpsWorks CM backs+-- up application-level data on your server if automated backups are+-- enabled. Valid values must be specified in one of the following formats:+--+-- - @HH:MM@ for daily backups+--+-- - @DDD:HH:MM@ for weekly backups+--+-- @MM@ must be specified as @00@. The specified time is in coordinated+-- universal time (UTC). The default value is a random, daily start time.+--+-- __Example:__ @08:00@, which represents a daily start time of 08:00 UTC.+--+-- __Example:__ @Mon:08:00@, which represents a start time of every Monday+-- at 08:00 UTC. (8:00 a.m.)+--+-- 'preferredMaintenanceWindow', 'createServer_preferredMaintenanceWindow' - The start time for a one-hour period each week during which AWS OpsWorks+-- CM performs maintenance on the instance. Valid values must be specified+-- in the following format: @DDD:HH:MM@. @MM@ must be specified as @00@.+-- The specified time is in coordinated universal time (UTC). The default+-- value is a random one-hour period on Tuesday, Wednesday, or Friday. See+-- @TimeWindowDefinition@ for more information.+--+-- __Example:__ @Mon:08:00@, which represents a start time of every Monday+-- at 08:00 UTC. (8:00 a.m.)+--+-- 'securityGroupIds', 'createServer_securityGroupIds' - A list of security group IDs to attach to the Amazon EC2 instance. If+-- you add this parameter, the specified security groups must be within the+-- VPC that is specified by @SubnetIds@.+--+-- If you do not specify this parameter, AWS OpsWorks CM creates one new+-- security group that uses TCP ports 22 and 443, open to 0.0.0.0\/0+-- (everyone).+--+-- 'subnetIds', 'createServer_subnetIds' - The IDs of subnets in which to launch the server EC2 instance.+--+-- Amazon EC2-Classic customers: This field is required. All servers must+-- run within a VPC. The VPC must have \"Auto Assign Public IP\" enabled.+--+-- EC2-VPC customers: This field is optional. If you do not specify subnet+-- IDs, your EC2 instances are created in a default subnet that is selected+-- by Amazon EC2. If you specify subnet IDs, the VPC must have \"Auto+-- Assign Public IP\" enabled.+--+-- For more information about supported Amazon EC2 platforms, see+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms>.+--+-- 'tags', 'createServer_tags' - A map that contains tag keys and tag values to attach to an AWS OpsWorks+-- for Chef Automate or AWS OpsWorks for Puppet Enterprise server.+--+-- - The key cannot be empty.+--+-- - The key can be a maximum of 127 characters, and can contain only+-- Unicode letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/ \@@+--+-- - The value can be a maximum 255 characters, and contain only Unicode+-- letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/ \@@+--+-- - Leading and trailing white spaces are trimmed from both the key and+-- value.+--+-- - A maximum of 50 user-applied tags is allowed for any AWS OpsWorks-CM+-- server.+--+-- 'engine', 'createServer_engine' - The configuration management engine to use. Valid values include+-- @ChefAutomate@ and @Puppet@.+--+-- 'serverName', 'createServer_serverName' - The name of the server. The server name must be unique within your AWS+-- account, within each region. Server names must start with a letter; then+-- letters, numbers, or hyphens (-) are allowed, up to a maximum of 40+-- characters.+--+-- 'instanceProfileArn', 'createServer_instanceProfileArn' - The ARN of the instance profile that your Amazon EC2 instances use.+-- Although the AWS OpsWorks console typically creates the instance profile+-- for you, if you are using API commands instead, run the+-- service-role-creation.yaml AWS CloudFormation template, located at+-- https:\/\/s3.amazonaws.com\/opsworks-cm-us-east-1-prod-default-assets\/misc\/opsworks-cm-roles.yaml.+-- This template creates a CloudFormation stack that includes the instance+-- profile you need.+--+-- 'instanceType', 'createServer_instanceType' - The Amazon EC2 instance type to use. For example, @m5.large@.+--+-- 'serviceRoleArn', 'createServer_serviceRoleArn' - The service role that the AWS OpsWorks CM service backend uses to work+-- with your account. Although the AWS OpsWorks management console+-- typically creates the service role for you, if you are using the AWS CLI+-- or API commands, run the service-role-creation.yaml AWS CloudFormation+-- template, located at+-- https:\/\/s3.amazonaws.com\/opsworks-cm-us-east-1-prod-default-assets\/misc\/opsworks-cm-roles.yaml.+-- This template creates a CloudFormation stack that includes the service+-- role and instance profile that you need.+newCreateServer ::+ -- | 'engine'+ Prelude.Text ->+ -- | 'serverName'+ Prelude.Text ->+ -- | 'instanceProfileArn'+ Prelude.Text ->+ -- | 'instanceType'+ Prelude.Text ->+ -- | 'serviceRoleArn'+ Prelude.Text ->+ CreateServer+newCreateServer+ pEngine_+ pServerName_+ pInstanceProfileArn_+ pInstanceType_+ pServiceRoleArn_ =+ CreateServer'+ { associatePublicIpAddress =+ Prelude.Nothing,+ backupId = Prelude.Nothing,+ backupRetentionCount = Prelude.Nothing,+ customCertificate = Prelude.Nothing,+ customDomain = Prelude.Nothing,+ customPrivateKey = Prelude.Nothing,+ disableAutomatedBackup = Prelude.Nothing,+ engineAttributes = Prelude.Nothing,+ engineModel = Prelude.Nothing,+ engineVersion = Prelude.Nothing,+ keyPair = Prelude.Nothing,+ preferredBackupWindow = Prelude.Nothing,+ preferredMaintenanceWindow = Prelude.Nothing,+ securityGroupIds = Prelude.Nothing,+ subnetIds = Prelude.Nothing,+ tags = Prelude.Nothing,+ engine = pEngine_,+ serverName = pServerName_,+ instanceProfileArn = pInstanceProfileArn_,+ instanceType = pInstanceType_,+ serviceRoleArn = pServiceRoleArn_+ }++-- | Associate a public IP address with a server that you are launching.+-- Valid values are @true@ or @false@. The default value is @true@.+createServer_associatePublicIpAddress :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Bool)+createServer_associatePublicIpAddress = Lens.lens (\CreateServer' {associatePublicIpAddress} -> associatePublicIpAddress) (\s@CreateServer' {} a -> s {associatePublicIpAddress = a} :: CreateServer)++-- | If you specify this field, AWS OpsWorks CM creates the server by using+-- the backup represented by BackupId.+createServer_backupId :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Text)+createServer_backupId = Lens.lens (\CreateServer' {backupId} -> backupId) (\s@CreateServer' {} a -> s {backupId = a} :: CreateServer)++-- | The number of automated backups that you want to keep. Whenever a new+-- backup is created, AWS OpsWorks CM deletes the oldest backups if this+-- number is exceeded. The default value is @1@.+createServer_backupRetentionCount :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Natural)+createServer_backupRetentionCount = Lens.lens (\CreateServer' {backupRetentionCount} -> backupRetentionCount) (\s@CreateServer' {} a -> s {backupRetentionCount = a} :: CreateServer)++-- | A PEM-formatted HTTPS certificate. The value can be be a single,+-- self-signed certificate, or a certificate chain. If you specify a custom+-- certificate, you must also specify values for @CustomDomain@ and+-- @CustomPrivateKey@. The following are requirements for the+-- @CustomCertificate@ value:+--+-- - You can provide either a self-signed, custom certificate, or the+-- full certificate chain.+--+-- - The certificate must be a valid X509 certificate, or a certificate+-- chain in PEM format.+--+-- - The certificate must be valid at the time of upload. A certificate+-- can\'t be used before its validity period begins (the certificate\'s+-- @NotBefore@ date), or after it expires (the certificate\'s+-- @NotAfter@ date).+--+-- - The certificate’s common name or subject alternative names (SANs),+-- if present, must match the value of @CustomDomain@.+--+-- - The certificate must match the value of @CustomPrivateKey@.+createServer_customCertificate :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Text)+createServer_customCertificate = Lens.lens (\CreateServer' {customCertificate} -> customCertificate) (\s@CreateServer' {} a -> s {customCertificate = a} :: CreateServer)++-- | An optional public endpoint of a server, such as+-- @https:\/\/aws.my-company.com@. To access the server, create a CNAME DNS+-- record in your preferred DNS service that points the custom domain to+-- the endpoint that is generated when the server is created (the value of+-- the CreateServer Endpoint attribute). You cannot access the server by+-- using the generated @Endpoint@ value if the server is using a custom+-- domain. If you specify a custom domain, you must also specify values for+-- @CustomCertificate@ and @CustomPrivateKey@.+createServer_customDomain :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Text)+createServer_customDomain = Lens.lens (\CreateServer' {customDomain} -> customDomain) (\s@CreateServer' {} a -> s {customDomain = a} :: CreateServer)++-- | A private key in PEM format for connecting to the server by using HTTPS.+-- The private key must not be encrypted; it cannot be protected by a+-- password or passphrase. If you specify a custom private key, you must+-- also specify values for @CustomDomain@ and @CustomCertificate@.+createServer_customPrivateKey :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Text)+createServer_customPrivateKey = Lens.lens (\CreateServer' {customPrivateKey} -> customPrivateKey) (\s@CreateServer' {} a -> s {customPrivateKey = a} :: CreateServer) Prelude.. Lens.mapping Data._Sensitive++-- | Enable or disable scheduled backups. Valid values are @true@ or @false@.+-- The default value is @true@.+createServer_disableAutomatedBackup :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Bool)+createServer_disableAutomatedBackup = Lens.lens (\CreateServer' {disableAutomatedBackup} -> disableAutomatedBackup) (\s@CreateServer' {} a -> s {disableAutomatedBackup = a} :: CreateServer)++-- | Optional engine attributes on a specified server.+--+-- __Attributes accepted in a Chef createServer request:__+--+-- - @CHEF_AUTOMATE_PIVOTAL_KEY@: A base64-encoded RSA public key. The+-- corresponding private key is required to access the Chef API. When+-- no CHEF_AUTOMATE_PIVOTAL_KEY is set, a private key is generated and+-- returned in the response.+--+-- - @CHEF_AUTOMATE_ADMIN_PASSWORD@: The password for the administrative+-- user in the Chef Automate web-based dashboard. The password length+-- is a minimum of eight characters, and a maximum of 32. The password+-- can contain letters, numbers, and special characters+-- (!\/\@#$%^&+=_). The password must contain at least one lower case+-- letter, one upper case letter, one number, and one special+-- character. When no CHEF_AUTOMATE_ADMIN_PASSWORD is set, one is+-- generated and returned in the response.+--+-- __Attributes accepted in a Puppet createServer request:__+--+-- - @PUPPET_ADMIN_PASSWORD@: To work with the Puppet Enterprise console,+-- a password must use ASCII characters.+--+-- - @PUPPET_R10K_REMOTE@: The r10k remote is the URL of your control+-- repository (for example,+-- ssh:\/\/git\@your.git-repo.com:user\/control-repo.git). Specifying+-- an r10k remote opens TCP port 8170.+--+-- - @PUPPET_R10K_PRIVATE_KEY@: If you are using a private Git+-- repository, add PUPPET_R10K_PRIVATE_KEY to specify a PEM-encoded+-- private SSH key.+createServer_engineAttributes :: Lens.Lens' CreateServer (Prelude.Maybe [EngineAttribute])+createServer_engineAttributes = Lens.lens (\CreateServer' {engineAttributes} -> engineAttributes) (\s@CreateServer' {} a -> s {engineAttributes = a} :: CreateServer) Prelude.. Lens.mapping Lens.coerced++-- | The engine model of the server. Valid values in this release include+-- @Monolithic@ for Puppet and @Single@ for Chef.+createServer_engineModel :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Text)+createServer_engineModel = Lens.lens (\CreateServer' {engineModel} -> engineModel) (\s@CreateServer' {} a -> s {engineModel = a} :: CreateServer)++-- | The major release version of the engine that you want to use. For a Chef+-- server, the valid value for EngineVersion is currently @2@. For a Puppet+-- server, valid values are @2019@ or @2017@.+createServer_engineVersion :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Text)+createServer_engineVersion = Lens.lens (\CreateServer' {engineVersion} -> engineVersion) (\s@CreateServer' {} a -> s {engineVersion = a} :: CreateServer)++-- | The Amazon EC2 key pair to set for the instance. This parameter is+-- optional; if desired, you may specify this parameter to connect to your+-- instances by using SSH.+createServer_keyPair :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Text)+createServer_keyPair = Lens.lens (\CreateServer' {keyPair} -> keyPair) (\s@CreateServer' {} a -> s {keyPair = a} :: CreateServer)++-- | The start time for a one-hour period during which AWS OpsWorks CM backs+-- up application-level data on your server if automated backups are+-- enabled. Valid values must be specified in one of the following formats:+--+-- - @HH:MM@ for daily backups+--+-- - @DDD:HH:MM@ for weekly backups+--+-- @MM@ must be specified as @00@. The specified time is in coordinated+-- universal time (UTC). The default value is a random, daily start time.+--+-- __Example:__ @08:00@, which represents a daily start time of 08:00 UTC.+--+-- __Example:__ @Mon:08:00@, which represents a start time of every Monday+-- at 08:00 UTC. (8:00 a.m.)+createServer_preferredBackupWindow :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Text)+createServer_preferredBackupWindow = Lens.lens (\CreateServer' {preferredBackupWindow} -> preferredBackupWindow) (\s@CreateServer' {} a -> s {preferredBackupWindow = a} :: CreateServer)++-- | The start time for a one-hour period each week during which AWS OpsWorks+-- CM performs maintenance on the instance. Valid values must be specified+-- in the following format: @DDD:HH:MM@. @MM@ must be specified as @00@.+-- The specified time is in coordinated universal time (UTC). The default+-- value is a random one-hour period on Tuesday, Wednesday, or Friday. See+-- @TimeWindowDefinition@ for more information.+--+-- __Example:__ @Mon:08:00@, which represents a start time of every Monday+-- at 08:00 UTC. (8:00 a.m.)+createServer_preferredMaintenanceWindow :: Lens.Lens' CreateServer (Prelude.Maybe Prelude.Text)+createServer_preferredMaintenanceWindow = Lens.lens (\CreateServer' {preferredMaintenanceWindow} -> preferredMaintenanceWindow) (\s@CreateServer' {} a -> s {preferredMaintenanceWindow = a} :: CreateServer)++-- | A list of security group IDs to attach to the Amazon EC2 instance. If+-- you add this parameter, the specified security groups must be within the+-- VPC that is specified by @SubnetIds@.+--+-- If you do not specify this parameter, AWS OpsWorks CM creates one new+-- security group that uses TCP ports 22 and 443, open to 0.0.0.0\/0+-- (everyone).+createServer_securityGroupIds :: Lens.Lens' CreateServer (Prelude.Maybe [Prelude.Text])+createServer_securityGroupIds = Lens.lens (\CreateServer' {securityGroupIds} -> securityGroupIds) (\s@CreateServer' {} a -> s {securityGroupIds = a} :: CreateServer) Prelude.. Lens.mapping Lens.coerced++-- | The IDs of subnets in which to launch the server EC2 instance.+--+-- Amazon EC2-Classic customers: This field is required. All servers must+-- run within a VPC. The VPC must have \"Auto Assign Public IP\" enabled.+--+-- EC2-VPC customers: This field is optional. If you do not specify subnet+-- IDs, your EC2 instances are created in a default subnet that is selected+-- by Amazon EC2. If you specify subnet IDs, the VPC must have \"Auto+-- Assign Public IP\" enabled.+--+-- For more information about supported Amazon EC2 platforms, see+-- <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms>.+createServer_subnetIds :: Lens.Lens' CreateServer (Prelude.Maybe [Prelude.Text])+createServer_subnetIds = Lens.lens (\CreateServer' {subnetIds} -> subnetIds) (\s@CreateServer' {} a -> s {subnetIds = a} :: CreateServer) Prelude.. Lens.mapping Lens.coerced++-- | A map that contains tag keys and tag values to attach to an AWS OpsWorks+-- for Chef Automate or AWS OpsWorks for Puppet Enterprise server.+--+-- - The key cannot be empty.+--+-- - The key can be a maximum of 127 characters, and can contain only+-- Unicode letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/ \@@+--+-- - The value can be a maximum 255 characters, and contain only Unicode+-- letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/ \@@+--+-- - Leading and trailing white spaces are trimmed from both the key and+-- value.+--+-- - A maximum of 50 user-applied tags is allowed for any AWS OpsWorks-CM+-- server.+createServer_tags :: Lens.Lens' CreateServer (Prelude.Maybe [Tag])+createServer_tags = Lens.lens (\CreateServer' {tags} -> tags) (\s@CreateServer' {} a -> s {tags = a} :: CreateServer) Prelude.. Lens.mapping Lens.coerced++-- | The configuration management engine to use. Valid values include+-- @ChefAutomate@ and @Puppet@.+createServer_engine :: Lens.Lens' CreateServer Prelude.Text+createServer_engine = Lens.lens (\CreateServer' {engine} -> engine) (\s@CreateServer' {} a -> s {engine = a} :: CreateServer)++-- | The name of the server. The server name must be unique within your AWS+-- account, within each region. Server names must start with a letter; then+-- letters, numbers, or hyphens (-) are allowed, up to a maximum of 40+-- characters.+createServer_serverName :: Lens.Lens' CreateServer Prelude.Text+createServer_serverName = Lens.lens (\CreateServer' {serverName} -> serverName) (\s@CreateServer' {} a -> s {serverName = a} :: CreateServer)++-- | The ARN of the instance profile that your Amazon EC2 instances use.+-- Although the AWS OpsWorks console typically creates the instance profile+-- for you, if you are using API commands instead, run the+-- service-role-creation.yaml AWS CloudFormation template, located at+-- https:\/\/s3.amazonaws.com\/opsworks-cm-us-east-1-prod-default-assets\/misc\/opsworks-cm-roles.yaml.+-- This template creates a CloudFormation stack that includes the instance+-- profile you need.+createServer_instanceProfileArn :: Lens.Lens' CreateServer Prelude.Text+createServer_instanceProfileArn = Lens.lens (\CreateServer' {instanceProfileArn} -> instanceProfileArn) (\s@CreateServer' {} a -> s {instanceProfileArn = a} :: CreateServer)++-- | The Amazon EC2 instance type to use. For example, @m5.large@.+createServer_instanceType :: Lens.Lens' CreateServer Prelude.Text+createServer_instanceType = Lens.lens (\CreateServer' {instanceType} -> instanceType) (\s@CreateServer' {} a -> s {instanceType = a} :: CreateServer)++-- | The service role that the AWS OpsWorks CM service backend uses to work+-- with your account. Although the AWS OpsWorks management console+-- typically creates the service role for you, if you are using the AWS CLI+-- or API commands, run the service-role-creation.yaml AWS CloudFormation+-- template, located at+-- https:\/\/s3.amazonaws.com\/opsworks-cm-us-east-1-prod-default-assets\/misc\/opsworks-cm-roles.yaml.+-- This template creates a CloudFormation stack that includes the service+-- role and instance profile that you need.+createServer_serviceRoleArn :: Lens.Lens' CreateServer Prelude.Text+createServer_serviceRoleArn = Lens.lens (\CreateServer' {serviceRoleArn} -> serviceRoleArn) (\s@CreateServer' {} a -> s {serviceRoleArn = a} :: CreateServer)++instance Core.AWSRequest CreateServer where+ type AWSResponse CreateServer = CreateServerResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateServerResponse'+ Prelude.<$> (x Data..?> "Server")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateServer where+ hashWithSalt _salt CreateServer' {..} =+ _salt+ `Prelude.hashWithSalt` associatePublicIpAddress+ `Prelude.hashWithSalt` backupId+ `Prelude.hashWithSalt` backupRetentionCount+ `Prelude.hashWithSalt` customCertificate+ `Prelude.hashWithSalt` customDomain+ `Prelude.hashWithSalt` customPrivateKey+ `Prelude.hashWithSalt` disableAutomatedBackup+ `Prelude.hashWithSalt` engineAttributes+ `Prelude.hashWithSalt` engineModel+ `Prelude.hashWithSalt` engineVersion+ `Prelude.hashWithSalt` keyPair+ `Prelude.hashWithSalt` preferredBackupWindow+ `Prelude.hashWithSalt` preferredMaintenanceWindow+ `Prelude.hashWithSalt` securityGroupIds+ `Prelude.hashWithSalt` subnetIds+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` engine+ `Prelude.hashWithSalt` serverName+ `Prelude.hashWithSalt` instanceProfileArn+ `Prelude.hashWithSalt` instanceType+ `Prelude.hashWithSalt` serviceRoleArn++instance Prelude.NFData CreateServer where+ rnf CreateServer' {..} =+ Prelude.rnf associatePublicIpAddress+ `Prelude.seq` Prelude.rnf backupId+ `Prelude.seq` Prelude.rnf backupRetentionCount+ `Prelude.seq` Prelude.rnf customCertificate+ `Prelude.seq` Prelude.rnf customDomain+ `Prelude.seq` Prelude.rnf customPrivateKey+ `Prelude.seq` Prelude.rnf disableAutomatedBackup+ `Prelude.seq` Prelude.rnf engineAttributes+ `Prelude.seq` Prelude.rnf engineModel+ `Prelude.seq` Prelude.rnf engineVersion+ `Prelude.seq` Prelude.rnf keyPair+ `Prelude.seq` Prelude.rnf preferredBackupWindow+ `Prelude.seq` Prelude.rnf preferredMaintenanceWindow+ `Prelude.seq` Prelude.rnf securityGroupIds+ `Prelude.seq` Prelude.rnf subnetIds+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf engine+ `Prelude.seq` Prelude.rnf serverName+ `Prelude.seq` Prelude.rnf instanceProfileArn+ `Prelude.seq` Prelude.rnf instanceType+ `Prelude.seq` Prelude.rnf serviceRoleArn++instance Data.ToHeaders CreateServer where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.CreateServer" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateServer where+ toJSON CreateServer' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AssociatePublicIpAddress" Data..=)+ Prelude.<$> associatePublicIpAddress,+ ("BackupId" Data..=) Prelude.<$> backupId,+ ("BackupRetentionCount" Data..=)+ Prelude.<$> backupRetentionCount,+ ("CustomCertificate" Data..=)+ Prelude.<$> customCertificate,+ ("CustomDomain" Data..=) Prelude.<$> customDomain,+ ("CustomPrivateKey" Data..=)+ Prelude.<$> customPrivateKey,+ ("DisableAutomatedBackup" Data..=)+ Prelude.<$> disableAutomatedBackup,+ ("EngineAttributes" Data..=)+ Prelude.<$> engineAttributes,+ ("EngineModel" Data..=) Prelude.<$> engineModel,+ ("EngineVersion" Data..=) Prelude.<$> engineVersion,+ ("KeyPair" Data..=) Prelude.<$> keyPair,+ ("PreferredBackupWindow" Data..=)+ Prelude.<$> preferredBackupWindow,+ ("PreferredMaintenanceWindow" Data..=)+ Prelude.<$> preferredMaintenanceWindow,+ ("SecurityGroupIds" Data..=)+ Prelude.<$> securityGroupIds,+ ("SubnetIds" Data..=) Prelude.<$> subnetIds,+ ("Tags" Data..=) Prelude.<$> tags,+ Prelude.Just ("Engine" Data..= engine),+ Prelude.Just ("ServerName" Data..= serverName),+ Prelude.Just+ ("InstanceProfileArn" Data..= instanceProfileArn),+ Prelude.Just ("InstanceType" Data..= instanceType),+ Prelude.Just+ ("ServiceRoleArn" Data..= serviceRoleArn)+ ]+ )++instance Data.ToPath CreateServer where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateServer where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateServerResponse' smart constructor.+data CreateServerResponse = CreateServerResponse'+ { -- | The server that is created by the request.+ server :: Prelude.Maybe Server,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateServerResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'server', 'createServerResponse_server' - The server that is created by the request.+--+-- 'httpStatus', 'createServerResponse_httpStatus' - The response's http status code.+newCreateServerResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateServerResponse+newCreateServerResponse pHttpStatus_ =+ CreateServerResponse'+ { server = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The server that is created by the request.+createServerResponse_server :: Lens.Lens' CreateServerResponse (Prelude.Maybe Server)+createServerResponse_server = Lens.lens (\CreateServerResponse' {server} -> server) (\s@CreateServerResponse' {} a -> s {server = a} :: CreateServerResponse)++-- | The response's http status code.+createServerResponse_httpStatus :: Lens.Lens' CreateServerResponse Prelude.Int+createServerResponse_httpStatus = Lens.lens (\CreateServerResponse' {httpStatus} -> httpStatus) (\s@CreateServerResponse' {} a -> s {httpStatus = a} :: CreateServerResponse)++instance Prelude.NFData CreateServerResponse where+ rnf CreateServerResponse' {..} =+ Prelude.rnf server+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/DeleteBackup.hs view
@@ -0,0 +1,163 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.DeleteBackup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a backup. You can delete both manual and automated backups. This+-- operation is asynchronous.+--+-- An @InvalidStateException@ is thrown when a backup deletion is already+-- in progress. A @ResourceNotFoundException@ is thrown when the backup+-- does not exist. A @ValidationException@ is thrown when parameters of the+-- request are not valid.+module Amazonka.OpsWorksCM.DeleteBackup+ ( -- * Creating a Request+ DeleteBackup (..),+ newDeleteBackup,++ -- * Request Lenses+ deleteBackup_backupId,++ -- * Destructuring the Response+ DeleteBackupResponse (..),+ newDeleteBackupResponse,++ -- * Response Lenses+ deleteBackupResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteBackup' smart constructor.+data DeleteBackup = DeleteBackup'+ { -- | The ID of the backup to delete. Run the DescribeBackups command to get a+ -- list of backup IDs. Backup IDs are in the format+ -- @ServerName-yyyyMMddHHmmssSSS@.+ backupId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteBackup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupId', 'deleteBackup_backupId' - The ID of the backup to delete. Run the DescribeBackups command to get a+-- list of backup IDs. Backup IDs are in the format+-- @ServerName-yyyyMMddHHmmssSSS@.+newDeleteBackup ::+ -- | 'backupId'+ Prelude.Text ->+ DeleteBackup+newDeleteBackup pBackupId_ =+ DeleteBackup' {backupId = pBackupId_}++-- | The ID of the backup to delete. Run the DescribeBackups command to get a+-- list of backup IDs. Backup IDs are in the format+-- @ServerName-yyyyMMddHHmmssSSS@.+deleteBackup_backupId :: Lens.Lens' DeleteBackup Prelude.Text+deleteBackup_backupId = Lens.lens (\DeleteBackup' {backupId} -> backupId) (\s@DeleteBackup' {} a -> s {backupId = a} :: DeleteBackup)++instance Core.AWSRequest DeleteBackup where+ type AWSResponse DeleteBackup = DeleteBackupResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteBackupResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteBackup where+ hashWithSalt _salt DeleteBackup' {..} =+ _salt `Prelude.hashWithSalt` backupId++instance Prelude.NFData DeleteBackup where+ rnf DeleteBackup' {..} = Prelude.rnf backupId++instance Data.ToHeaders DeleteBackup where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.DeleteBackup" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteBackup where+ toJSON DeleteBackup' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("BackupId" Data..= backupId)]+ )++instance Data.ToPath DeleteBackup where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteBackup where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteBackupResponse' smart constructor.+data DeleteBackupResponse = DeleteBackupResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteBackupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteBackupResponse_httpStatus' - The response's http status code.+newDeleteBackupResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteBackupResponse+newDeleteBackupResponse pHttpStatus_ =+ DeleteBackupResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteBackupResponse_httpStatus :: Lens.Lens' DeleteBackupResponse Prelude.Int+deleteBackupResponse_httpStatus = Lens.lens (\DeleteBackupResponse' {httpStatus} -> httpStatus) (\s@DeleteBackupResponse' {} a -> s {httpStatus = a} :: DeleteBackupResponse)++instance Prelude.NFData DeleteBackupResponse where+ rnf DeleteBackupResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/DeleteServer.hs view
@@ -0,0 +1,162 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.DeleteServer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the server and the underlying AWS CloudFormation stacks+-- (including the server\'s EC2 instance). When you run this command, the+-- server state is updated to @DELETING@. After the server is deleted, it+-- is no longer returned by @DescribeServer@ requests. If the AWS+-- CloudFormation stack cannot be deleted, the server cannot be deleted.+--+-- This operation is asynchronous.+--+-- An @InvalidStateException@ is thrown when a server deletion is already+-- in progress. A @ResourceNotFoundException@ is thrown when the server+-- does not exist. A @ValidationException@ is raised when parameters of the+-- request are not valid.+module Amazonka.OpsWorksCM.DeleteServer+ ( -- * Creating a Request+ DeleteServer (..),+ newDeleteServer,++ -- * Request Lenses+ deleteServer_serverName,++ -- * Destructuring the Response+ DeleteServerResponse (..),+ newDeleteServerResponse,++ -- * Response Lenses+ deleteServerResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteServer' smart constructor.+data DeleteServer = DeleteServer'+ { -- | The ID of the server to delete.+ serverName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteServer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'serverName', 'deleteServer_serverName' - The ID of the server to delete.+newDeleteServer ::+ -- | 'serverName'+ Prelude.Text ->+ DeleteServer+newDeleteServer pServerName_ =+ DeleteServer' {serverName = pServerName_}++-- | The ID of the server to delete.+deleteServer_serverName :: Lens.Lens' DeleteServer Prelude.Text+deleteServer_serverName = Lens.lens (\DeleteServer' {serverName} -> serverName) (\s@DeleteServer' {} a -> s {serverName = a} :: DeleteServer)++instance Core.AWSRequest DeleteServer where+ type AWSResponse DeleteServer = DeleteServerResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ DeleteServerResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteServer where+ hashWithSalt _salt DeleteServer' {..} =+ _salt `Prelude.hashWithSalt` serverName++instance Prelude.NFData DeleteServer where+ rnf DeleteServer' {..} = Prelude.rnf serverName++instance Data.ToHeaders DeleteServer where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.DeleteServer" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteServer where+ toJSON DeleteServer' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("ServerName" Data..= serverName)]+ )++instance Data.ToPath DeleteServer where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteServer where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteServerResponse' smart constructor.+data DeleteServerResponse = DeleteServerResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteServerResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'deleteServerResponse_httpStatus' - The response's http status code.+newDeleteServerResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteServerResponse+newDeleteServerResponse pHttpStatus_ =+ DeleteServerResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+deleteServerResponse_httpStatus :: Lens.Lens' DeleteServerResponse Prelude.Int+deleteServerResponse_httpStatus = Lens.lens (\DeleteServerResponse' {httpStatus} -> httpStatus) (\s@DeleteServerResponse' {} a -> s {httpStatus = a} :: DeleteServerResponse)++instance Prelude.NFData DeleteServerResponse where+ rnf DeleteServerResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/DescribeAccountAttributes.hs view
@@ -0,0 +1,154 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.DescribeAccountAttributes+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes your OpsWorks-CM account attributes.+--+-- This operation is synchronous.+module Amazonka.OpsWorksCM.DescribeAccountAttributes+ ( -- * Creating a Request+ DescribeAccountAttributes (..),+ newDescribeAccountAttributes,++ -- * Destructuring the Response+ DescribeAccountAttributesResponse (..),+ newDescribeAccountAttributesResponse,++ -- * Response Lenses+ describeAccountAttributesResponse_attributes,+ describeAccountAttributesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeAccountAttributes' smart constructor.+data DescribeAccountAttributes = DescribeAccountAttributes'+ {+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAccountAttributes' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDescribeAccountAttributes ::+ DescribeAccountAttributes+newDescribeAccountAttributes =+ DescribeAccountAttributes'++instance Core.AWSRequest DescribeAccountAttributes where+ type+ AWSResponse DescribeAccountAttributes =+ DescribeAccountAttributesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeAccountAttributesResponse'+ Prelude.<$> (x Data..?> "Attributes" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeAccountAttributes where+ hashWithSalt _salt _ =+ _salt `Prelude.hashWithSalt` ()++instance Prelude.NFData DescribeAccountAttributes where+ rnf _ = ()++instance Data.ToHeaders DescribeAccountAttributes where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.DescribeAccountAttributes" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeAccountAttributes where+ toJSON = Prelude.const (Data.Object Prelude.mempty)++instance Data.ToPath DescribeAccountAttributes where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeAccountAttributes where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeAccountAttributesResponse' smart constructor.+data DescribeAccountAttributesResponse = DescribeAccountAttributesResponse'+ { -- | The attributes that are currently set for the account.+ attributes :: Prelude.Maybe [AccountAttribute],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeAccountAttributesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attributes', 'describeAccountAttributesResponse_attributes' - The attributes that are currently set for the account.+--+-- 'httpStatus', 'describeAccountAttributesResponse_httpStatus' - The response's http status code.+newDescribeAccountAttributesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeAccountAttributesResponse+newDescribeAccountAttributesResponse pHttpStatus_ =+ DescribeAccountAttributesResponse'+ { attributes =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The attributes that are currently set for the account.+describeAccountAttributesResponse_attributes :: Lens.Lens' DescribeAccountAttributesResponse (Prelude.Maybe [AccountAttribute])+describeAccountAttributesResponse_attributes = Lens.lens (\DescribeAccountAttributesResponse' {attributes} -> attributes) (\s@DescribeAccountAttributesResponse' {} a -> s {attributes = a} :: DescribeAccountAttributesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeAccountAttributesResponse_httpStatus :: Lens.Lens' DescribeAccountAttributesResponse Prelude.Int+describeAccountAttributesResponse_httpStatus = Lens.lens (\DescribeAccountAttributesResponse' {httpStatus} -> httpStatus) (\s@DescribeAccountAttributesResponse' {} a -> s {httpStatus = a} :: DescribeAccountAttributesResponse)++instance+ Prelude.NFData+ DescribeAccountAttributesResponse+ where+ rnf DescribeAccountAttributesResponse' {..} =+ Prelude.rnf attributes+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/DescribeBackups.hs view
@@ -0,0 +1,253 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.DescribeBackups+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes backups. The results are ordered by time, with newest backups+-- first. If you do not specify a BackupId or ServerName, the command+-- returns all backups.+--+-- This operation is synchronous.+--+-- A @ResourceNotFoundException@ is thrown when the backup does not exist.+-- A @ValidationException@ is raised when parameters of the request are not+-- valid.+--+-- This operation returns paginated results.+module Amazonka.OpsWorksCM.DescribeBackups+ ( -- * Creating a Request+ DescribeBackups (..),+ newDescribeBackups,++ -- * Request Lenses+ describeBackups_backupId,+ describeBackups_maxResults,+ describeBackups_nextToken,+ describeBackups_serverName,++ -- * Destructuring the Response+ DescribeBackupsResponse (..),+ newDescribeBackupsResponse,++ -- * Response Lenses+ describeBackupsResponse_backups,+ describeBackupsResponse_nextToken,+ describeBackupsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeBackups' smart constructor.+data DescribeBackups = DescribeBackups'+ { -- | Describes a single backup.+ backupId :: Prelude.Maybe Prelude.Text,+ -- | This is not currently implemented for @DescribeBackups@ requests.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | This is not currently implemented for @DescribeBackups@ requests.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | Returns backups for the server with the specified ServerName.+ serverName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeBackups' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupId', 'describeBackups_backupId' - Describes a single backup.+--+-- 'maxResults', 'describeBackups_maxResults' - This is not currently implemented for @DescribeBackups@ requests.+--+-- 'nextToken', 'describeBackups_nextToken' - This is not currently implemented for @DescribeBackups@ requests.+--+-- 'serverName', 'describeBackups_serverName' - Returns backups for the server with the specified ServerName.+newDescribeBackups ::+ DescribeBackups+newDescribeBackups =+ DescribeBackups'+ { backupId = Prelude.Nothing,+ maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ serverName = Prelude.Nothing+ }++-- | Describes a single backup.+describeBackups_backupId :: Lens.Lens' DescribeBackups (Prelude.Maybe Prelude.Text)+describeBackups_backupId = Lens.lens (\DescribeBackups' {backupId} -> backupId) (\s@DescribeBackups' {} a -> s {backupId = a} :: DescribeBackups)++-- | This is not currently implemented for @DescribeBackups@ requests.+describeBackups_maxResults :: Lens.Lens' DescribeBackups (Prelude.Maybe Prelude.Natural)+describeBackups_maxResults = Lens.lens (\DescribeBackups' {maxResults} -> maxResults) (\s@DescribeBackups' {} a -> s {maxResults = a} :: DescribeBackups)++-- | This is not currently implemented for @DescribeBackups@ requests.+describeBackups_nextToken :: Lens.Lens' DescribeBackups (Prelude.Maybe Prelude.Text)+describeBackups_nextToken = Lens.lens (\DescribeBackups' {nextToken} -> nextToken) (\s@DescribeBackups' {} a -> s {nextToken = a} :: DescribeBackups)++-- | Returns backups for the server with the specified ServerName.+describeBackups_serverName :: Lens.Lens' DescribeBackups (Prelude.Maybe Prelude.Text)+describeBackups_serverName = Lens.lens (\DescribeBackups' {serverName} -> serverName) (\s@DescribeBackups' {} a -> s {serverName = a} :: DescribeBackups)++instance Core.AWSPager DescribeBackups where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeBackupsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeBackupsResponse_backups+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeBackups_nextToken+ Lens..~ rs+ Lens.^? describeBackupsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeBackups where+ type+ AWSResponse DescribeBackups =+ DescribeBackupsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeBackupsResponse'+ Prelude.<$> (x Data..?> "Backups" Core..!@ Prelude.mempty)+ Prelude.<*> (x Data..?> "NextToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeBackups where+ hashWithSalt _salt DescribeBackups' {..} =+ _salt+ `Prelude.hashWithSalt` backupId+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData DescribeBackups where+ rnf DescribeBackups' {..} =+ Prelude.rnf backupId+ `Prelude.seq` Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf serverName++instance Data.ToHeaders DescribeBackups where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.DescribeBackups" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeBackups where+ toJSON DescribeBackups' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("BackupId" Data..=) Prelude.<$> backupId,+ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("ServerName" Data..=) Prelude.<$> serverName+ ]+ )++instance Data.ToPath DescribeBackups where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeBackups where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeBackupsResponse' smart constructor.+data DescribeBackupsResponse = DescribeBackupsResponse'+ { -- | Contains the response to a @DescribeBackups@ request.+ backups :: Prelude.Maybe [Backup],+ -- | This is not currently implemented for @DescribeBackups@ requests.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeBackupsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backups', 'describeBackupsResponse_backups' - Contains the response to a @DescribeBackups@ request.+--+-- 'nextToken', 'describeBackupsResponse_nextToken' - This is not currently implemented for @DescribeBackups@ requests.+--+-- 'httpStatus', 'describeBackupsResponse_httpStatus' - The response's http status code.+newDescribeBackupsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeBackupsResponse+newDescribeBackupsResponse pHttpStatus_ =+ DescribeBackupsResponse'+ { backups = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Contains the response to a @DescribeBackups@ request.+describeBackupsResponse_backups :: Lens.Lens' DescribeBackupsResponse (Prelude.Maybe [Backup])+describeBackupsResponse_backups = Lens.lens (\DescribeBackupsResponse' {backups} -> backups) (\s@DescribeBackupsResponse' {} a -> s {backups = a} :: DescribeBackupsResponse) Prelude.. Lens.mapping Lens.coerced++-- | This is not currently implemented for @DescribeBackups@ requests.+describeBackupsResponse_nextToken :: Lens.Lens' DescribeBackupsResponse (Prelude.Maybe Prelude.Text)+describeBackupsResponse_nextToken = Lens.lens (\DescribeBackupsResponse' {nextToken} -> nextToken) (\s@DescribeBackupsResponse' {} a -> s {nextToken = a} :: DescribeBackupsResponse)++-- | The response's http status code.+describeBackupsResponse_httpStatus :: Lens.Lens' DescribeBackupsResponse Prelude.Int+describeBackupsResponse_httpStatus = Lens.lens (\DescribeBackupsResponse' {httpStatus} -> httpStatus) (\s@DescribeBackupsResponse' {} a -> s {httpStatus = a} :: DescribeBackupsResponse)++instance Prelude.NFData DescribeBackupsResponse where+ rnf DescribeBackupsResponse' {..} =+ Prelude.rnf backups+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/DescribeEvents.hs view
@@ -0,0 +1,296 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.DescribeEvents+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes events for a specified server. Results are ordered by time,+-- with newest events first.+--+-- This operation is synchronous.+--+-- A @ResourceNotFoundException@ is thrown when the server does not exist.+-- A @ValidationException@ is raised when parameters of the request are not+-- valid.+--+-- This operation returns paginated results.+module Amazonka.OpsWorksCM.DescribeEvents+ ( -- * Creating a Request+ DescribeEvents (..),+ newDescribeEvents,++ -- * Request Lenses+ describeEvents_maxResults,+ describeEvents_nextToken,+ describeEvents_serverName,++ -- * Destructuring the Response+ DescribeEventsResponse (..),+ newDescribeEventsResponse,++ -- * Response Lenses+ describeEventsResponse_nextToken,+ describeEventsResponse_serverEvents,+ describeEventsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEvents' smart constructor.+data DescribeEvents = DescribeEvents'+ { -- | To receive a paginated response, use this parameter to specify the+ -- maximum number of results to be returned with a single call. If the+ -- number of available results exceeds this maximum, the response includes+ -- a @NextToken@ value that you can assign to the @NextToken@ request+ -- parameter to get the next set of results.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | NextToken is a string that is returned in some command responses. It+ -- indicates that not all entries have been returned, and that you must run+ -- at least one more request to get remaining items. To get remaining+ -- results, call @DescribeEvents@ again, and assign the token from the+ -- previous results as the value of the @nextToken@ parameter. If there are+ -- no more results, the response object\'s @nextToken@ parameter value is+ -- @null@. Setting a @nextToken@ value that was not returned in your+ -- previous results causes an @InvalidNextTokenException@ to occur.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The name of the server for which you want to view events.+ serverName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEvents' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'describeEvents_maxResults' - To receive a paginated response, use this parameter to specify the+-- maximum number of results to be returned with a single call. If the+-- number of available results exceeds this maximum, the response includes+-- a @NextToken@ value that you can assign to the @NextToken@ request+-- parameter to get the next set of results.+--+-- 'nextToken', 'describeEvents_nextToken' - NextToken is a string that is returned in some command responses. It+-- indicates that not all entries have been returned, and that you must run+-- at least one more request to get remaining items. To get remaining+-- results, call @DescribeEvents@ again, and assign the token from the+-- previous results as the value of the @nextToken@ parameter. If there are+-- no more results, the response object\'s @nextToken@ parameter value is+-- @null@. Setting a @nextToken@ value that was not returned in your+-- previous results causes an @InvalidNextTokenException@ to occur.+--+-- 'serverName', 'describeEvents_serverName' - The name of the server for which you want to view events.+newDescribeEvents ::+ -- | 'serverName'+ Prelude.Text ->+ DescribeEvents+newDescribeEvents pServerName_ =+ DescribeEvents'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ serverName = pServerName_+ }++-- | To receive a paginated response, use this parameter to specify the+-- maximum number of results to be returned with a single call. If the+-- number of available results exceeds this maximum, the response includes+-- a @NextToken@ value that you can assign to the @NextToken@ request+-- parameter to get the next set of results.+describeEvents_maxResults :: Lens.Lens' DescribeEvents (Prelude.Maybe Prelude.Natural)+describeEvents_maxResults = Lens.lens (\DescribeEvents' {maxResults} -> maxResults) (\s@DescribeEvents' {} a -> s {maxResults = a} :: DescribeEvents)++-- | NextToken is a string that is returned in some command responses. It+-- indicates that not all entries have been returned, and that you must run+-- at least one more request to get remaining items. To get remaining+-- results, call @DescribeEvents@ again, and assign the token from the+-- previous results as the value of the @nextToken@ parameter. If there are+-- no more results, the response object\'s @nextToken@ parameter value is+-- @null@. Setting a @nextToken@ value that was not returned in your+-- previous results causes an @InvalidNextTokenException@ to occur.+describeEvents_nextToken :: Lens.Lens' DescribeEvents (Prelude.Maybe Prelude.Text)+describeEvents_nextToken = Lens.lens (\DescribeEvents' {nextToken} -> nextToken) (\s@DescribeEvents' {} a -> s {nextToken = a} :: DescribeEvents)++-- | The name of the server for which you want to view events.+describeEvents_serverName :: Lens.Lens' DescribeEvents Prelude.Text+describeEvents_serverName = Lens.lens (\DescribeEvents' {serverName} -> serverName) (\s@DescribeEvents' {} a -> s {serverName = a} :: DescribeEvents)++instance Core.AWSPager DescribeEvents where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeEventsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeEventsResponse_serverEvents+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeEvents_nextToken+ Lens..~ rs+ Lens.^? describeEventsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeEvents where+ type+ AWSResponse DescribeEvents =+ DescribeEventsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeEventsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "ServerEvents" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeEvents where+ hashWithSalt _salt DescribeEvents' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData DescribeEvents where+ rnf DescribeEvents' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf serverName++instance Data.ToHeaders DescribeEvents where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.DescribeEvents" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeEvents where+ toJSON DescribeEvents' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("ServerName" Data..= serverName)+ ]+ )++instance Data.ToPath DescribeEvents where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeEvents where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeEventsResponse' smart constructor.+data DescribeEventsResponse = DescribeEventsResponse'+ { -- | NextToken is a string that is returned in some command responses. It+ -- indicates that not all entries have been returned, and that you must run+ -- at least one more request to get remaining items. To get remaining+ -- results, call @DescribeEvents@ again, and assign the token from the+ -- previous results as the value of the @nextToken@ parameter. If there are+ -- no more results, the response object\'s @nextToken@ parameter value is+ -- @null@. Setting a @nextToken@ value that was not returned in your+ -- previous results causes an @InvalidNextTokenException@ to occur.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | Contains the response to a @DescribeEvents@ request.+ serverEvents :: Prelude.Maybe [ServerEvent],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEventsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeEventsResponse_nextToken' - NextToken is a string that is returned in some command responses. It+-- indicates that not all entries have been returned, and that you must run+-- at least one more request to get remaining items. To get remaining+-- results, call @DescribeEvents@ again, and assign the token from the+-- previous results as the value of the @nextToken@ parameter. If there are+-- no more results, the response object\'s @nextToken@ parameter value is+-- @null@. Setting a @nextToken@ value that was not returned in your+-- previous results causes an @InvalidNextTokenException@ to occur.+--+-- 'serverEvents', 'describeEventsResponse_serverEvents' - Contains the response to a @DescribeEvents@ request.+--+-- 'httpStatus', 'describeEventsResponse_httpStatus' - The response's http status code.+newDescribeEventsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeEventsResponse+newDescribeEventsResponse pHttpStatus_ =+ DescribeEventsResponse'+ { nextToken =+ Prelude.Nothing,+ serverEvents = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | NextToken is a string that is returned in some command responses. It+-- indicates that not all entries have been returned, and that you must run+-- at least one more request to get remaining items. To get remaining+-- results, call @DescribeEvents@ again, and assign the token from the+-- previous results as the value of the @nextToken@ parameter. If there are+-- no more results, the response object\'s @nextToken@ parameter value is+-- @null@. Setting a @nextToken@ value that was not returned in your+-- previous results causes an @InvalidNextTokenException@ to occur.+describeEventsResponse_nextToken :: Lens.Lens' DescribeEventsResponse (Prelude.Maybe Prelude.Text)+describeEventsResponse_nextToken = Lens.lens (\DescribeEventsResponse' {nextToken} -> nextToken) (\s@DescribeEventsResponse' {} a -> s {nextToken = a} :: DescribeEventsResponse)++-- | Contains the response to a @DescribeEvents@ request.+describeEventsResponse_serverEvents :: Lens.Lens' DescribeEventsResponse (Prelude.Maybe [ServerEvent])+describeEventsResponse_serverEvents = Lens.lens (\DescribeEventsResponse' {serverEvents} -> serverEvents) (\s@DescribeEventsResponse' {} a -> s {serverEvents = a} :: DescribeEventsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeEventsResponse_httpStatus :: Lens.Lens' DescribeEventsResponse Prelude.Int+describeEventsResponse_httpStatus = Lens.lens (\DescribeEventsResponse' {httpStatus} -> httpStatus) (\s@DescribeEventsResponse' {} a -> s {httpStatus = a} :: DescribeEventsResponse)++instance Prelude.NFData DescribeEventsResponse where+ rnf DescribeEventsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf serverEvents+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/DescribeNodeAssociationStatus.hs view
@@ -0,0 +1,265 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.DescribeNodeAssociationStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the current status of an existing association or disassociation+-- request.+--+-- A @ResourceNotFoundException@ is thrown when no recent association or+-- disassociation request with the specified token is found, or when the+-- server does not exist. A @ValidationException@ is raised when parameters+-- of the request are not valid.+module Amazonka.OpsWorksCM.DescribeNodeAssociationStatus+ ( -- * Creating a Request+ DescribeNodeAssociationStatus (..),+ newDescribeNodeAssociationStatus,++ -- * Request Lenses+ describeNodeAssociationStatus_nodeAssociationStatusToken,+ describeNodeAssociationStatus_serverName,++ -- * Destructuring the Response+ DescribeNodeAssociationStatusResponse (..),+ newDescribeNodeAssociationStatusResponse,++ -- * Response Lenses+ describeNodeAssociationStatusResponse_engineAttributes,+ describeNodeAssociationStatusResponse_httpStatus,+ describeNodeAssociationStatusResponse_nodeAssociationStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeNodeAssociationStatus' smart constructor.+data DescribeNodeAssociationStatus = DescribeNodeAssociationStatus'+ { -- | The token returned in either the AssociateNodeResponse or the+ -- DisassociateNodeResponse.+ nodeAssociationStatusToken :: Prelude.Text,+ -- | The name of the server from which to disassociate the node.+ serverName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeNodeAssociationStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nodeAssociationStatusToken', 'describeNodeAssociationStatus_nodeAssociationStatusToken' - The token returned in either the AssociateNodeResponse or the+-- DisassociateNodeResponse.+--+-- 'serverName', 'describeNodeAssociationStatus_serverName' - The name of the server from which to disassociate the node.+newDescribeNodeAssociationStatus ::+ -- | 'nodeAssociationStatusToken'+ Prelude.Text ->+ -- | 'serverName'+ Prelude.Text ->+ DescribeNodeAssociationStatus+newDescribeNodeAssociationStatus+ pNodeAssociationStatusToken_+ pServerName_ =+ DescribeNodeAssociationStatus'+ { nodeAssociationStatusToken =+ pNodeAssociationStatusToken_,+ serverName = pServerName_+ }++-- | The token returned in either the AssociateNodeResponse or the+-- DisassociateNodeResponse.+describeNodeAssociationStatus_nodeAssociationStatusToken :: Lens.Lens' DescribeNodeAssociationStatus Prelude.Text+describeNodeAssociationStatus_nodeAssociationStatusToken = Lens.lens (\DescribeNodeAssociationStatus' {nodeAssociationStatusToken} -> nodeAssociationStatusToken) (\s@DescribeNodeAssociationStatus' {} a -> s {nodeAssociationStatusToken = a} :: DescribeNodeAssociationStatus)++-- | The name of the server from which to disassociate the node.+describeNodeAssociationStatus_serverName :: Lens.Lens' DescribeNodeAssociationStatus Prelude.Text+describeNodeAssociationStatus_serverName = Lens.lens (\DescribeNodeAssociationStatus' {serverName} -> serverName) (\s@DescribeNodeAssociationStatus' {} a -> s {serverName = a} :: DescribeNodeAssociationStatus)++instance+ Core.AWSRequest+ DescribeNodeAssociationStatus+ where+ type+ AWSResponse DescribeNodeAssociationStatus =+ DescribeNodeAssociationStatusResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeNodeAssociationStatusResponse'+ Prelude.<$> ( x+ Data..?> "EngineAttributes"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ Prelude.<*> (x Data..:> "NodeAssociationStatus")+ )++instance+ Prelude.Hashable+ DescribeNodeAssociationStatus+ where+ hashWithSalt _salt DescribeNodeAssociationStatus' {..} =+ _salt+ `Prelude.hashWithSalt` nodeAssociationStatusToken+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData DescribeNodeAssociationStatus where+ rnf DescribeNodeAssociationStatus' {..} =+ Prelude.rnf nodeAssociationStatusToken+ `Prelude.seq` Prelude.rnf serverName++instance Data.ToHeaders DescribeNodeAssociationStatus where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.DescribeNodeAssociationStatus" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeNodeAssociationStatus where+ toJSON DescribeNodeAssociationStatus' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ( "NodeAssociationStatusToken"+ Data..= nodeAssociationStatusToken+ ),+ Prelude.Just ("ServerName" Data..= serverName)+ ]+ )++instance Data.ToPath DescribeNodeAssociationStatus where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeNodeAssociationStatus where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeNodeAssociationStatusResponse' smart constructor.+data DescribeNodeAssociationStatusResponse = DescribeNodeAssociationStatusResponse'+ { -- | Attributes specific to the node association. In Puppet, the attibute+ -- PUPPET_NODE_CERT contains the signed certificate (the result of the+ -- CSR).+ engineAttributes :: Prelude.Maybe [EngineAttribute],+ -- | The response's http status code.+ httpStatus :: Prelude.Int,+ -- | 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.+ nodeAssociationStatus :: NodeAssociationStatus+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeNodeAssociationStatusResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'engineAttributes', 'describeNodeAssociationStatusResponse_engineAttributes' - Attributes specific to the node association. In Puppet, the attibute+-- PUPPET_NODE_CERT contains the signed certificate (the result of the+-- CSR).+--+-- 'httpStatus', 'describeNodeAssociationStatusResponse_httpStatus' - The response's http status code.+--+-- 'nodeAssociationStatus', 'describeNodeAssociationStatusResponse_nodeAssociationStatus' - 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.+newDescribeNodeAssociationStatusResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ -- | 'nodeAssociationStatus'+ NodeAssociationStatus ->+ DescribeNodeAssociationStatusResponse+newDescribeNodeAssociationStatusResponse+ pHttpStatus_+ pNodeAssociationStatus_ =+ DescribeNodeAssociationStatusResponse'+ { engineAttributes =+ Prelude.Nothing,+ httpStatus = pHttpStatus_,+ nodeAssociationStatus =+ pNodeAssociationStatus_+ }++-- | Attributes specific to the node association. In Puppet, the attibute+-- PUPPET_NODE_CERT contains the signed certificate (the result of the+-- CSR).+describeNodeAssociationStatusResponse_engineAttributes :: Lens.Lens' DescribeNodeAssociationStatusResponse (Prelude.Maybe [EngineAttribute])+describeNodeAssociationStatusResponse_engineAttributes = Lens.lens (\DescribeNodeAssociationStatusResponse' {engineAttributes} -> engineAttributes) (\s@DescribeNodeAssociationStatusResponse' {} a -> s {engineAttributes = a} :: DescribeNodeAssociationStatusResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeNodeAssociationStatusResponse_httpStatus :: Lens.Lens' DescribeNodeAssociationStatusResponse Prelude.Int+describeNodeAssociationStatusResponse_httpStatus = Lens.lens (\DescribeNodeAssociationStatusResponse' {httpStatus} -> httpStatus) (\s@DescribeNodeAssociationStatusResponse' {} a -> s {httpStatus = a} :: DescribeNodeAssociationStatusResponse)++-- | 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.+describeNodeAssociationStatusResponse_nodeAssociationStatus :: Lens.Lens' DescribeNodeAssociationStatusResponse NodeAssociationStatus+describeNodeAssociationStatusResponse_nodeAssociationStatus = Lens.lens (\DescribeNodeAssociationStatusResponse' {nodeAssociationStatus} -> nodeAssociationStatus) (\s@DescribeNodeAssociationStatusResponse' {} a -> s {nodeAssociationStatus = a} :: DescribeNodeAssociationStatusResponse)++instance+ Prelude.NFData+ DescribeNodeAssociationStatusResponse+ where+ rnf DescribeNodeAssociationStatusResponse' {..} =+ Prelude.rnf engineAttributes+ `Prelude.seq` Prelude.rnf httpStatus+ `Prelude.seq` Prelude.rnf nodeAssociationStatus
+ gen/Amazonka/OpsWorksCM/DescribeServers.hs view
@@ -0,0 +1,301 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.DescribeServers+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all configuration management servers that are identified with your+-- account. Only the stored results from Amazon DynamoDB are returned. AWS+-- OpsWorks CM does not query other services.+--+-- This operation is synchronous.+--+-- A @ResourceNotFoundException@ is thrown when the server does not exist.+-- A @ValidationException@ is raised when parameters of the request are not+-- valid.+--+-- This operation returns paginated results.+module Amazonka.OpsWorksCM.DescribeServers+ ( -- * Creating a Request+ DescribeServers (..),+ newDescribeServers,++ -- * Request Lenses+ describeServers_maxResults,+ describeServers_nextToken,+ describeServers_serverName,++ -- * Destructuring the Response+ DescribeServersResponse (..),+ newDescribeServersResponse,++ -- * Response Lenses+ describeServersResponse_nextToken,+ describeServersResponse_servers,+ describeServersResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeServers' smart constructor.+data DescribeServers = DescribeServers'+ { -- | This is not currently implemented for @DescribeServers@ requests.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | This is not currently implemented for @DescribeServers@ requests.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | Describes the server with the specified ServerName.+ serverName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeServers' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'describeServers_maxResults' - This is not currently implemented for @DescribeServers@ requests.+--+-- 'nextToken', 'describeServers_nextToken' - This is not currently implemented for @DescribeServers@ requests.+--+-- 'serverName', 'describeServers_serverName' - Describes the server with the specified ServerName.+newDescribeServers ::+ DescribeServers+newDescribeServers =+ DescribeServers'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ serverName = Prelude.Nothing+ }++-- | This is not currently implemented for @DescribeServers@ requests.+describeServers_maxResults :: Lens.Lens' DescribeServers (Prelude.Maybe Prelude.Natural)+describeServers_maxResults = Lens.lens (\DescribeServers' {maxResults} -> maxResults) (\s@DescribeServers' {} a -> s {maxResults = a} :: DescribeServers)++-- | This is not currently implemented for @DescribeServers@ requests.+describeServers_nextToken :: Lens.Lens' DescribeServers (Prelude.Maybe Prelude.Text)+describeServers_nextToken = Lens.lens (\DescribeServers' {nextToken} -> nextToken) (\s@DescribeServers' {} a -> s {nextToken = a} :: DescribeServers)++-- | Describes the server with the specified ServerName.+describeServers_serverName :: Lens.Lens' DescribeServers (Prelude.Maybe Prelude.Text)+describeServers_serverName = Lens.lens (\DescribeServers' {serverName} -> serverName) (\s@DescribeServers' {} a -> s {serverName = a} :: DescribeServers)++instance Core.AWSPager DescribeServers where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeServersResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeServersResponse_servers+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeServers_nextToken+ Lens..~ rs+ Lens.^? describeServersResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeServers where+ type+ AWSResponse DescribeServers =+ DescribeServersResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeServersResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Servers" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeServers where+ hashWithSalt _salt DescribeServers' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData DescribeServers where+ rnf DescribeServers' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf serverName++instance Data.ToHeaders DescribeServers where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.DescribeServers" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeServers where+ toJSON DescribeServers' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("ServerName" Data..=) Prelude.<$> serverName+ ]+ )++instance Data.ToPath DescribeServers where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeServers where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeServersResponse' smart constructor.+data DescribeServersResponse = DescribeServersResponse'+ { -- | This is not currently implemented for @DescribeServers@ requests.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | Contains the response to a @DescribeServers@ request.+ --+ -- /For Chef Automate servers:/ If+ -- @DescribeServersResponse$Servers$EngineAttributes@ includes+ -- CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server+ -- to Chef Automate 2. To be eligible for upgrade, a server running Chef+ -- Automate 1 must have had at least one successful maintenance run after+ -- November 1, 2019.+ --+ -- /For Puppet servers:/ @DescribeServersResponse$Servers$EngineAttributes@+ -- contains the following two responses:+ --+ -- - @PUPPET_API_CA_CERT@, the PEM-encoded CA certificate that is used by+ -- the Puppet API over TCP port number 8140. The CA certificate is also+ -- used to sign node certificates.+ --+ -- - @PUPPET_API_CRL@, a certificate revocation list. The certificate+ -- revocation list is for internal maintenance purposes only. For more+ -- information about the Puppet certificate revocation list, see+ -- <https://puppet.com/docs/puppet/5.5/man/certificate_revocation_list.html Man Page: puppet certificate_revocation_list>+ -- in the Puppet documentation.+ servers :: Prelude.Maybe [Server],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeServersResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeServersResponse_nextToken' - This is not currently implemented for @DescribeServers@ requests.+--+-- 'servers', 'describeServersResponse_servers' - Contains the response to a @DescribeServers@ request.+--+-- /For Chef Automate servers:/ If+-- @DescribeServersResponse$Servers$EngineAttributes@ includes+-- CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server+-- to Chef Automate 2. To be eligible for upgrade, a server running Chef+-- Automate 1 must have had at least one successful maintenance run after+-- November 1, 2019.+--+-- /For Puppet servers:/ @DescribeServersResponse$Servers$EngineAttributes@+-- contains the following two responses:+--+-- - @PUPPET_API_CA_CERT@, the PEM-encoded CA certificate that is used by+-- the Puppet API over TCP port number 8140. The CA certificate is also+-- used to sign node certificates.+--+-- - @PUPPET_API_CRL@, a certificate revocation list. The certificate+-- revocation list is for internal maintenance purposes only. For more+-- information about the Puppet certificate revocation list, see+-- <https://puppet.com/docs/puppet/5.5/man/certificate_revocation_list.html Man Page: puppet certificate_revocation_list>+-- in the Puppet documentation.+--+-- 'httpStatus', 'describeServersResponse_httpStatus' - The response's http status code.+newDescribeServersResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeServersResponse+newDescribeServersResponse pHttpStatus_ =+ DescribeServersResponse'+ { nextToken =+ Prelude.Nothing,+ servers = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | This is not currently implemented for @DescribeServers@ requests.+describeServersResponse_nextToken :: Lens.Lens' DescribeServersResponse (Prelude.Maybe Prelude.Text)+describeServersResponse_nextToken = Lens.lens (\DescribeServersResponse' {nextToken} -> nextToken) (\s@DescribeServersResponse' {} a -> s {nextToken = a} :: DescribeServersResponse)++-- | Contains the response to a @DescribeServers@ request.+--+-- /For Chef Automate servers:/ If+-- @DescribeServersResponse$Servers$EngineAttributes@ includes+-- CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server+-- to Chef Automate 2. To be eligible for upgrade, a server running Chef+-- Automate 1 must have had at least one successful maintenance run after+-- November 1, 2019.+--+-- /For Puppet servers:/ @DescribeServersResponse$Servers$EngineAttributes@+-- contains the following two responses:+--+-- - @PUPPET_API_CA_CERT@, the PEM-encoded CA certificate that is used by+-- the Puppet API over TCP port number 8140. The CA certificate is also+-- used to sign node certificates.+--+-- - @PUPPET_API_CRL@, a certificate revocation list. The certificate+-- revocation list is for internal maintenance purposes only. For more+-- information about the Puppet certificate revocation list, see+-- <https://puppet.com/docs/puppet/5.5/man/certificate_revocation_list.html Man Page: puppet certificate_revocation_list>+-- in the Puppet documentation.+describeServersResponse_servers :: Lens.Lens' DescribeServersResponse (Prelude.Maybe [Server])+describeServersResponse_servers = Lens.lens (\DescribeServersResponse' {servers} -> servers) (\s@DescribeServersResponse' {} a -> s {servers = a} :: DescribeServersResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeServersResponse_httpStatus :: Lens.Lens' DescribeServersResponse Prelude.Int+describeServersResponse_httpStatus = Lens.lens (\DescribeServersResponse' {httpStatus} -> httpStatus) (\s@DescribeServersResponse' {} a -> s {httpStatus = a} :: DescribeServersResponse)++instance Prelude.NFData DescribeServersResponse where+ rnf DescribeServersResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf servers+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/DisassociateNode.hs view
@@ -0,0 +1,240 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.DisassociateNode+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Disassociates a node from an AWS OpsWorks CM server, and removes the+-- node from the server\'s managed nodes. After a node is disassociated,+-- the node key pair is no longer valid for accessing the configuration+-- manager\'s API. For more information about how to associate a node, see+-- AssociateNode.+--+-- A node can can only be disassociated from a server that is in a+-- @HEALTHY@ state. Otherwise, an @InvalidStateException@ is thrown. A+-- @ResourceNotFoundException@ is thrown when the server does not exist. A+-- @ValidationException@ is raised when parameters of the request are not+-- valid.+module Amazonka.OpsWorksCM.DisassociateNode+ ( -- * Creating a Request+ DisassociateNode (..),+ newDisassociateNode,++ -- * Request Lenses+ disassociateNode_engineAttributes,+ disassociateNode_serverName,+ disassociateNode_nodeName,++ -- * Destructuring the Response+ DisassociateNodeResponse (..),+ newDisassociateNodeResponse,++ -- * Response Lenses+ disassociateNodeResponse_nodeAssociationStatusToken,+ disassociateNodeResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDisassociateNode' smart constructor.+data DisassociateNode = DisassociateNode'+ { -- | Engine attributes that are used for disassociating the node. No+ -- attributes are required for Puppet.+ --+ -- __Attributes required in a DisassociateNode request for Chef__+ --+ -- - @CHEF_ORGANIZATION@: The Chef organization with which the node was+ -- associated. By default only one organization named @default@ can+ -- exist.+ engineAttributes :: Prelude.Maybe [EngineAttribute],+ -- | The name of the server from which to disassociate the node.+ serverName :: Prelude.Text,+ -- | The name of the client node.+ nodeName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisassociateNode' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'engineAttributes', 'disassociateNode_engineAttributes' - Engine attributes that are used for disassociating the node. No+-- attributes are required for Puppet.+--+-- __Attributes required in a DisassociateNode request for Chef__+--+-- - @CHEF_ORGANIZATION@: The Chef organization with which the node was+-- associated. By default only one organization named @default@ can+-- exist.+--+-- 'serverName', 'disassociateNode_serverName' - The name of the server from which to disassociate the node.+--+-- 'nodeName', 'disassociateNode_nodeName' - The name of the client node.+newDisassociateNode ::+ -- | 'serverName'+ Prelude.Text ->+ -- | 'nodeName'+ Prelude.Text ->+ DisassociateNode+newDisassociateNode pServerName_ pNodeName_ =+ DisassociateNode'+ { engineAttributes =+ Prelude.Nothing,+ serverName = pServerName_,+ nodeName = pNodeName_+ }++-- | Engine attributes that are used for disassociating the node. No+-- attributes are required for Puppet.+--+-- __Attributes required in a DisassociateNode request for Chef__+--+-- - @CHEF_ORGANIZATION@: The Chef organization with which the node was+-- associated. By default only one organization named @default@ can+-- exist.+disassociateNode_engineAttributes :: Lens.Lens' DisassociateNode (Prelude.Maybe [EngineAttribute])+disassociateNode_engineAttributes = Lens.lens (\DisassociateNode' {engineAttributes} -> engineAttributes) (\s@DisassociateNode' {} a -> s {engineAttributes = a} :: DisassociateNode) Prelude.. Lens.mapping Lens.coerced++-- | The name of the server from which to disassociate the node.+disassociateNode_serverName :: Lens.Lens' DisassociateNode Prelude.Text+disassociateNode_serverName = Lens.lens (\DisassociateNode' {serverName} -> serverName) (\s@DisassociateNode' {} a -> s {serverName = a} :: DisassociateNode)++-- | The name of the client node.+disassociateNode_nodeName :: Lens.Lens' DisassociateNode Prelude.Text+disassociateNode_nodeName = Lens.lens (\DisassociateNode' {nodeName} -> nodeName) (\s@DisassociateNode' {} a -> s {nodeName = a} :: DisassociateNode)++instance Core.AWSRequest DisassociateNode where+ type+ AWSResponse DisassociateNode =+ DisassociateNodeResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DisassociateNodeResponse'+ Prelude.<$> (x Data..?> "NodeAssociationStatusToken")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DisassociateNode where+ hashWithSalt _salt DisassociateNode' {..} =+ _salt+ `Prelude.hashWithSalt` engineAttributes+ `Prelude.hashWithSalt` serverName+ `Prelude.hashWithSalt` nodeName++instance Prelude.NFData DisassociateNode where+ rnf DisassociateNode' {..} =+ Prelude.rnf engineAttributes+ `Prelude.seq` Prelude.rnf serverName+ `Prelude.seq` Prelude.rnf nodeName++instance Data.ToHeaders DisassociateNode where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.DisassociateNode" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DisassociateNode where+ toJSON DisassociateNode' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EngineAttributes" Data..=)+ Prelude.<$> engineAttributes,+ Prelude.Just ("ServerName" Data..= serverName),+ Prelude.Just ("NodeName" Data..= nodeName)+ ]+ )++instance Data.ToPath DisassociateNode where+ toPath = Prelude.const "/"++instance Data.ToQuery DisassociateNode where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDisassociateNodeResponse' smart constructor.+data DisassociateNodeResponse = DisassociateNodeResponse'+ { -- | Contains a token which can be passed to the+ -- @DescribeNodeAssociationStatus@ API call to get the status of the+ -- disassociation request.+ nodeAssociationStatusToken :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DisassociateNodeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nodeAssociationStatusToken', 'disassociateNodeResponse_nodeAssociationStatusToken' - Contains a token which can be passed to the+-- @DescribeNodeAssociationStatus@ API call to get the status of the+-- disassociation request.+--+-- 'httpStatus', 'disassociateNodeResponse_httpStatus' - The response's http status code.+newDisassociateNodeResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DisassociateNodeResponse+newDisassociateNodeResponse pHttpStatus_ =+ DisassociateNodeResponse'+ { nodeAssociationStatusToken =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Contains a token which can be passed to the+-- @DescribeNodeAssociationStatus@ API call to get the status of the+-- disassociation request.+disassociateNodeResponse_nodeAssociationStatusToken :: Lens.Lens' DisassociateNodeResponse (Prelude.Maybe Prelude.Text)+disassociateNodeResponse_nodeAssociationStatusToken = Lens.lens (\DisassociateNodeResponse' {nodeAssociationStatusToken} -> nodeAssociationStatusToken) (\s@DisassociateNodeResponse' {} a -> s {nodeAssociationStatusToken = a} :: DisassociateNodeResponse)++-- | The response's http status code.+disassociateNodeResponse_httpStatus :: Lens.Lens' DisassociateNodeResponse Prelude.Int+disassociateNodeResponse_httpStatus = Lens.lens (\DisassociateNodeResponse' {httpStatus} -> httpStatus) (\s@DisassociateNodeResponse' {} a -> s {httpStatus = a} :: DisassociateNodeResponse)++instance Prelude.NFData DisassociateNodeResponse where+ rnf DisassociateNodeResponse' {..} =+ Prelude.rnf nodeAssociationStatusToken+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/ExportServerEngineAttribute.hs view
@@ -0,0 +1,293 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.ExportServerEngineAttribute+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Exports a specified server engine attribute as a base64-encoded string.+-- For example, you can export user data that you can use in EC2 to+-- associate nodes with a server.+--+-- This operation is synchronous.+--+-- A @ValidationException@ is raised when parameters of the request are not+-- valid. A @ResourceNotFoundException@ is thrown when the server does not+-- exist. An @InvalidStateException@ is thrown when the server is in any of+-- the following states: CREATING, TERMINATED, FAILED or DELETING.+module Amazonka.OpsWorksCM.ExportServerEngineAttribute+ ( -- * Creating a Request+ ExportServerEngineAttribute (..),+ newExportServerEngineAttribute,++ -- * Request Lenses+ exportServerEngineAttribute_inputAttributes,+ exportServerEngineAttribute_exportAttributeName,+ exportServerEngineAttribute_serverName,++ -- * Destructuring the Response+ ExportServerEngineAttributeResponse (..),+ newExportServerEngineAttributeResponse,++ -- * Response Lenses+ exportServerEngineAttributeResponse_engineAttribute,+ exportServerEngineAttributeResponse_serverName,+ exportServerEngineAttributeResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newExportServerEngineAttribute' smart constructor.+data ExportServerEngineAttribute = ExportServerEngineAttribute'+ { -- | The list of engine attributes. The list type is @EngineAttribute@. An+ -- @EngineAttribute@ list item is a pair that includes an attribute name+ -- and its value. For the @Userdata@ ExportAttributeName, the following are+ -- supported engine attribute names.+ --+ -- - __RunList__ In Chef, a list of roles or recipes that are run in the+ -- specified order. In Puppet, this parameter is ignored.+ --+ -- - __OrganizationName__ In Chef, an organization name. AWS OpsWorks for+ -- Chef Automate always creates the organization @default@. In Puppet,+ -- this parameter is ignored.+ --+ -- - __NodeEnvironment__ In Chef, a node environment (for example,+ -- development, staging, or one-box). In Puppet, this parameter is+ -- ignored.+ --+ -- - __NodeClientVersion__ In Chef, the version of the Chef engine (three+ -- numbers separated by dots, such as 13.8.5). If this attribute is+ -- empty, OpsWorks for Chef Automate uses the most current version. In+ -- Puppet, this parameter is ignored.+ inputAttributes :: Prelude.Maybe [EngineAttribute],+ -- | The name of the export attribute. Currently, the supported export+ -- attribute is @Userdata@. This exports a user data script that includes+ -- parameters and values provided in the @InputAttributes@ list.+ exportAttributeName :: Prelude.Text,+ -- | The name of the server from which you are exporting the attribute.+ serverName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ExportServerEngineAttribute' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'inputAttributes', 'exportServerEngineAttribute_inputAttributes' - The list of engine attributes. The list type is @EngineAttribute@. An+-- @EngineAttribute@ list item is a pair that includes an attribute name+-- and its value. For the @Userdata@ ExportAttributeName, the following are+-- supported engine attribute names.+--+-- - __RunList__ In Chef, a list of roles or recipes that are run in the+-- specified order. In Puppet, this parameter is ignored.+--+-- - __OrganizationName__ In Chef, an organization name. AWS OpsWorks for+-- Chef Automate always creates the organization @default@. In Puppet,+-- this parameter is ignored.+--+-- - __NodeEnvironment__ In Chef, a node environment (for example,+-- development, staging, or one-box). In Puppet, this parameter is+-- ignored.+--+-- - __NodeClientVersion__ In Chef, the version of the Chef engine (three+-- numbers separated by dots, such as 13.8.5). If this attribute is+-- empty, OpsWorks for Chef Automate uses the most current version. In+-- Puppet, this parameter is ignored.+--+-- 'exportAttributeName', 'exportServerEngineAttribute_exportAttributeName' - The name of the export attribute. Currently, the supported export+-- attribute is @Userdata@. This exports a user data script that includes+-- parameters and values provided in the @InputAttributes@ list.+--+-- 'serverName', 'exportServerEngineAttribute_serverName' - The name of the server from which you are exporting the attribute.+newExportServerEngineAttribute ::+ -- | 'exportAttributeName'+ Prelude.Text ->+ -- | 'serverName'+ Prelude.Text ->+ ExportServerEngineAttribute+newExportServerEngineAttribute+ pExportAttributeName_+ pServerName_ =+ ExportServerEngineAttribute'+ { inputAttributes =+ Prelude.Nothing,+ exportAttributeName = pExportAttributeName_,+ serverName = pServerName_+ }++-- | The list of engine attributes. The list type is @EngineAttribute@. An+-- @EngineAttribute@ list item is a pair that includes an attribute name+-- and its value. For the @Userdata@ ExportAttributeName, the following are+-- supported engine attribute names.+--+-- - __RunList__ In Chef, a list of roles or recipes that are run in the+-- specified order. In Puppet, this parameter is ignored.+--+-- - __OrganizationName__ In Chef, an organization name. AWS OpsWorks for+-- Chef Automate always creates the organization @default@. In Puppet,+-- this parameter is ignored.+--+-- - __NodeEnvironment__ In Chef, a node environment (for example,+-- development, staging, or one-box). In Puppet, this parameter is+-- ignored.+--+-- - __NodeClientVersion__ In Chef, the version of the Chef engine (three+-- numbers separated by dots, such as 13.8.5). If this attribute is+-- empty, OpsWorks for Chef Automate uses the most current version. In+-- Puppet, this parameter is ignored.+exportServerEngineAttribute_inputAttributes :: Lens.Lens' ExportServerEngineAttribute (Prelude.Maybe [EngineAttribute])+exportServerEngineAttribute_inputAttributes = Lens.lens (\ExportServerEngineAttribute' {inputAttributes} -> inputAttributes) (\s@ExportServerEngineAttribute' {} a -> s {inputAttributes = a} :: ExportServerEngineAttribute) Prelude.. Lens.mapping Lens.coerced++-- | The name of the export attribute. Currently, the supported export+-- attribute is @Userdata@. This exports a user data script that includes+-- parameters and values provided in the @InputAttributes@ list.+exportServerEngineAttribute_exportAttributeName :: Lens.Lens' ExportServerEngineAttribute Prelude.Text+exportServerEngineAttribute_exportAttributeName = Lens.lens (\ExportServerEngineAttribute' {exportAttributeName} -> exportAttributeName) (\s@ExportServerEngineAttribute' {} a -> s {exportAttributeName = a} :: ExportServerEngineAttribute)++-- | The name of the server from which you are exporting the attribute.+exportServerEngineAttribute_serverName :: Lens.Lens' ExportServerEngineAttribute Prelude.Text+exportServerEngineAttribute_serverName = Lens.lens (\ExportServerEngineAttribute' {serverName} -> serverName) (\s@ExportServerEngineAttribute' {} a -> s {serverName = a} :: ExportServerEngineAttribute)++instance Core.AWSRequest ExportServerEngineAttribute where+ type+ AWSResponse ExportServerEngineAttribute =+ ExportServerEngineAttributeResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ExportServerEngineAttributeResponse'+ Prelude.<$> (x Data..?> "EngineAttribute")+ Prelude.<*> (x Data..?> "ServerName")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ExportServerEngineAttribute where+ hashWithSalt _salt ExportServerEngineAttribute' {..} =+ _salt+ `Prelude.hashWithSalt` inputAttributes+ `Prelude.hashWithSalt` exportAttributeName+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData ExportServerEngineAttribute where+ rnf ExportServerEngineAttribute' {..} =+ Prelude.rnf inputAttributes+ `Prelude.seq` Prelude.rnf exportAttributeName+ `Prelude.seq` Prelude.rnf serverName++instance Data.ToHeaders ExportServerEngineAttribute where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.ExportServerEngineAttribute" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ExportServerEngineAttribute where+ toJSON ExportServerEngineAttribute' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("InputAttributes" Data..=)+ Prelude.<$> inputAttributes,+ Prelude.Just+ ("ExportAttributeName" Data..= exportAttributeName),+ Prelude.Just ("ServerName" Data..= serverName)+ ]+ )++instance Data.ToPath ExportServerEngineAttribute where+ toPath = Prelude.const "/"++instance Data.ToQuery ExportServerEngineAttribute where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newExportServerEngineAttributeResponse' smart constructor.+data ExportServerEngineAttributeResponse = ExportServerEngineAttributeResponse'+ { -- | The requested engine attribute pair with attribute name and value.+ engineAttribute :: Prelude.Maybe EngineAttribute,+ -- | The server name used in the request.+ serverName :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ExportServerEngineAttributeResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'engineAttribute', 'exportServerEngineAttributeResponse_engineAttribute' - The requested engine attribute pair with attribute name and value.+--+-- 'serverName', 'exportServerEngineAttributeResponse_serverName' - The server name used in the request.+--+-- 'httpStatus', 'exportServerEngineAttributeResponse_httpStatus' - The response's http status code.+newExportServerEngineAttributeResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ExportServerEngineAttributeResponse+newExportServerEngineAttributeResponse pHttpStatus_ =+ ExportServerEngineAttributeResponse'+ { engineAttribute =+ Prelude.Nothing,+ serverName = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The requested engine attribute pair with attribute name and value.+exportServerEngineAttributeResponse_engineAttribute :: Lens.Lens' ExportServerEngineAttributeResponse (Prelude.Maybe EngineAttribute)+exportServerEngineAttributeResponse_engineAttribute = Lens.lens (\ExportServerEngineAttributeResponse' {engineAttribute} -> engineAttribute) (\s@ExportServerEngineAttributeResponse' {} a -> s {engineAttribute = a} :: ExportServerEngineAttributeResponse)++-- | The server name used in the request.+exportServerEngineAttributeResponse_serverName :: Lens.Lens' ExportServerEngineAttributeResponse (Prelude.Maybe Prelude.Text)+exportServerEngineAttributeResponse_serverName = Lens.lens (\ExportServerEngineAttributeResponse' {serverName} -> serverName) (\s@ExportServerEngineAttributeResponse' {} a -> s {serverName = a} :: ExportServerEngineAttributeResponse)++-- | The response's http status code.+exportServerEngineAttributeResponse_httpStatus :: Lens.Lens' ExportServerEngineAttributeResponse Prelude.Int+exportServerEngineAttributeResponse_httpStatus = Lens.lens (\ExportServerEngineAttributeResponse' {httpStatus} -> httpStatus) (\s@ExportServerEngineAttributeResponse' {} a -> s {httpStatus = a} :: ExportServerEngineAttributeResponse)++instance+ Prelude.NFData+ ExportServerEngineAttributeResponse+ where+ rnf ExportServerEngineAttributeResponse' {..} =+ Prelude.rnf engineAttribute+ `Prelude.seq` Prelude.rnf serverName+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/Lens.hs view
@@ -0,0 +1,262 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Lens+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Lens+ ( -- * Operations++ -- ** AssociateNode+ associateNode_serverName,+ associateNode_nodeName,+ associateNode_engineAttributes,+ associateNodeResponse_nodeAssociationStatusToken,+ associateNodeResponse_httpStatus,++ -- ** CreateBackup+ createBackup_description,+ createBackup_tags,+ createBackup_serverName,+ createBackupResponse_backup,+ createBackupResponse_httpStatus,++ -- ** CreateServer+ createServer_associatePublicIpAddress,+ createServer_backupId,+ createServer_backupRetentionCount,+ createServer_customCertificate,+ createServer_customDomain,+ createServer_customPrivateKey,+ createServer_disableAutomatedBackup,+ createServer_engineAttributes,+ createServer_engineModel,+ createServer_engineVersion,+ createServer_keyPair,+ createServer_preferredBackupWindow,+ createServer_preferredMaintenanceWindow,+ createServer_securityGroupIds,+ createServer_subnetIds,+ createServer_tags,+ createServer_engine,+ createServer_serverName,+ createServer_instanceProfileArn,+ createServer_instanceType,+ createServer_serviceRoleArn,+ createServerResponse_server,+ createServerResponse_httpStatus,++ -- ** DeleteBackup+ deleteBackup_backupId,+ deleteBackupResponse_httpStatus,++ -- ** DeleteServer+ deleteServer_serverName,+ deleteServerResponse_httpStatus,++ -- ** DescribeAccountAttributes+ describeAccountAttributesResponse_attributes,+ describeAccountAttributesResponse_httpStatus,++ -- ** DescribeBackups+ describeBackups_backupId,+ describeBackups_maxResults,+ describeBackups_nextToken,+ describeBackups_serverName,+ describeBackupsResponse_backups,+ describeBackupsResponse_nextToken,+ describeBackupsResponse_httpStatus,++ -- ** DescribeEvents+ describeEvents_maxResults,+ describeEvents_nextToken,+ describeEvents_serverName,+ describeEventsResponse_nextToken,+ describeEventsResponse_serverEvents,+ describeEventsResponse_httpStatus,++ -- ** DescribeNodeAssociationStatus+ describeNodeAssociationStatus_nodeAssociationStatusToken,+ describeNodeAssociationStatus_serverName,+ describeNodeAssociationStatusResponse_engineAttributes,+ describeNodeAssociationStatusResponse_httpStatus,+ describeNodeAssociationStatusResponse_nodeAssociationStatus,++ -- ** DescribeServers+ describeServers_maxResults,+ describeServers_nextToken,+ describeServers_serverName,+ describeServersResponse_nextToken,+ describeServersResponse_servers,+ describeServersResponse_httpStatus,++ -- ** DisassociateNode+ disassociateNode_engineAttributes,+ disassociateNode_serverName,+ disassociateNode_nodeName,+ disassociateNodeResponse_nodeAssociationStatusToken,+ disassociateNodeResponse_httpStatus,++ -- ** ExportServerEngineAttribute+ exportServerEngineAttribute_inputAttributes,+ exportServerEngineAttribute_exportAttributeName,+ exportServerEngineAttribute_serverName,+ exportServerEngineAttributeResponse_engineAttribute,+ exportServerEngineAttributeResponse_serverName,+ exportServerEngineAttributeResponse_httpStatus,++ -- ** ListTagsForResource+ listTagsForResource_maxResults,+ listTagsForResource_nextToken,+ listTagsForResource_resourceArn,+ listTagsForResourceResponse_nextToken,+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,++ -- ** RestoreServer+ restoreServer_instanceType,+ restoreServer_keyPair,+ restoreServer_backupId,+ restoreServer_serverName,+ restoreServerResponse_server,+ restoreServerResponse_httpStatus,++ -- ** StartMaintenance+ startMaintenance_engineAttributes,+ startMaintenance_serverName,+ startMaintenanceResponse_server,+ startMaintenanceResponse_httpStatus,++ -- ** TagResource+ tagResource_resourceArn,+ tagResource_tags,+ tagResourceResponse_httpStatus,++ -- ** UntagResource+ untagResource_resourceArn,+ untagResource_tagKeys,+ untagResourceResponse_httpStatus,++ -- ** UpdateServer+ updateServer_backupRetentionCount,+ updateServer_disableAutomatedBackup,+ updateServer_preferredBackupWindow,+ updateServer_preferredMaintenanceWindow,+ updateServer_serverName,+ updateServerResponse_server,+ updateServerResponse_httpStatus,++ -- ** UpdateServerEngineAttributes+ updateServerEngineAttributes_attributeValue,+ updateServerEngineAttributes_serverName,+ updateServerEngineAttributes_attributeName,+ updateServerEngineAttributesResponse_server,+ updateServerEngineAttributesResponse_httpStatus,++ -- * Types++ -- ** AccountAttribute+ accountAttribute_maximum,+ accountAttribute_name,+ accountAttribute_used,++ -- ** Backup+ backup_backupArn,+ backup_backupId,+ backup_backupType,+ backup_createdAt,+ backup_description,+ backup_engine,+ backup_engineModel,+ backup_engineVersion,+ backup_instanceProfileArn,+ backup_instanceType,+ backup_keyPair,+ backup_preferredBackupWindow,+ backup_preferredMaintenanceWindow,+ backup_s3DataSize,+ backup_s3DataUrl,+ backup_s3LogUrl,+ backup_securityGroupIds,+ backup_serverName,+ backup_serviceRoleArn,+ backup_status,+ backup_statusDescription,+ backup_subnetIds,+ backup_toolsVersion,+ backup_userArn,++ -- ** EngineAttribute+ engineAttribute_name,+ engineAttribute_value,++ -- ** Server+ server_associatePublicIpAddress,+ server_backupRetentionCount,+ server_cloudFormationStackArn,+ server_createdAt,+ server_customDomain,+ server_disableAutomatedBackup,+ server_endpoint,+ server_engine,+ server_engineAttributes,+ server_engineModel,+ server_engineVersion,+ server_instanceProfileArn,+ server_instanceType,+ server_keyPair,+ server_maintenanceStatus,+ server_preferredBackupWindow,+ server_preferredMaintenanceWindow,+ server_securityGroupIds,+ server_serverArn,+ server_serverName,+ server_serviceRoleArn,+ server_status,+ server_statusReason,+ server_subnetIds,++ -- ** ServerEvent+ serverEvent_createdAt,+ serverEvent_logUrl,+ serverEvent_message,+ serverEvent_serverName,++ -- ** Tag+ tag_key,+ tag_value,+ )+where++import Amazonka.OpsWorksCM.AssociateNode+import Amazonka.OpsWorksCM.CreateBackup+import Amazonka.OpsWorksCM.CreateServer+import Amazonka.OpsWorksCM.DeleteBackup+import Amazonka.OpsWorksCM.DeleteServer+import Amazonka.OpsWorksCM.DescribeAccountAttributes+import Amazonka.OpsWorksCM.DescribeBackups+import Amazonka.OpsWorksCM.DescribeEvents+import Amazonka.OpsWorksCM.DescribeNodeAssociationStatus+import Amazonka.OpsWorksCM.DescribeServers+import Amazonka.OpsWorksCM.DisassociateNode+import Amazonka.OpsWorksCM.ExportServerEngineAttribute+import Amazonka.OpsWorksCM.ListTagsForResource+import Amazonka.OpsWorksCM.RestoreServer+import Amazonka.OpsWorksCM.StartMaintenance+import Amazonka.OpsWorksCM.TagResource+import Amazonka.OpsWorksCM.Types.AccountAttribute+import Amazonka.OpsWorksCM.Types.Backup+import Amazonka.OpsWorksCM.Types.EngineAttribute+import Amazonka.OpsWorksCM.Types.Server+import Amazonka.OpsWorksCM.Types.ServerEvent+import Amazonka.OpsWorksCM.Types.Tag+import Amazonka.OpsWorksCM.UntagResource+import Amazonka.OpsWorksCM.UpdateServer+import Amazonka.OpsWorksCM.UpdateServerEngineAttributes
+ gen/Amazonka/OpsWorksCM/ListTagsForResource.hs view
@@ -0,0 +1,282 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.ListTagsForResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of tags that are applied to the specified AWS OpsWorks+-- for Chef Automate or AWS OpsWorks for Puppet Enterprise servers or+-- backups.+--+-- This operation returns paginated results.+module Amazonka.OpsWorksCM.ListTagsForResource+ ( -- * Creating a Request+ ListTagsForResource (..),+ newListTagsForResource,++ -- * Request Lenses+ listTagsForResource_maxResults,+ listTagsForResource_nextToken,+ listTagsForResource_resourceArn,++ -- * Destructuring the Response+ ListTagsForResourceResponse (..),+ newListTagsForResourceResponse,++ -- * Response Lenses+ listTagsForResourceResponse_nextToken,+ listTagsForResourceResponse_tags,+ listTagsForResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTagsForResource' smart constructor.+data ListTagsForResource = ListTagsForResource'+ { -- | To receive a paginated response, use this parameter to specify the+ -- maximum number of results to be returned with a single call. If the+ -- number of available results exceeds this maximum, the response includes+ -- a @NextToken@ value that you can assign to the @NextToken@ request+ -- parameter to get the next set of results.+ maxResults :: Prelude.Maybe Prelude.Natural,+ -- | NextToken is a string that is returned in some command responses. It+ -- indicates that not all entries have been returned, and that you must run+ -- at least one more request to get remaining items. To get remaining+ -- results, call @ListTagsForResource@ again, and assign the token from the+ -- previous results as the value of the @nextToken@ parameter. If there are+ -- no more results, the response object\'s @nextToken@ parameter value is+ -- @null@. Setting a @nextToken@ value that was not returned in your+ -- previous results causes an @InvalidNextTokenException@ to occur.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Resource Number (ARN) of an AWS OpsWorks for Chef Automate or+ -- AWS OpsWorks for Puppet Enterprise server for which you want to show+ -- applied tags. For example,+ -- @arn:aws:opsworks-cm:us-west-2:123456789012:server\/test-owcm-server\/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE@.+ resourceArn :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listTagsForResource_maxResults' - To receive a paginated response, use this parameter to specify the+-- maximum number of results to be returned with a single call. If the+-- number of available results exceeds this maximum, the response includes+-- a @NextToken@ value that you can assign to the @NextToken@ request+-- parameter to get the next set of results.+--+-- 'nextToken', 'listTagsForResource_nextToken' - NextToken is a string that is returned in some command responses. It+-- indicates that not all entries have been returned, and that you must run+-- at least one more request to get remaining items. To get remaining+-- results, call @ListTagsForResource@ again, and assign the token from the+-- previous results as the value of the @nextToken@ parameter. If there are+-- no more results, the response object\'s @nextToken@ parameter value is+-- @null@. Setting a @nextToken@ value that was not returned in your+-- previous results causes an @InvalidNextTokenException@ to occur.+--+-- 'resourceArn', 'listTagsForResource_resourceArn' - The Amazon Resource Number (ARN) of an AWS OpsWorks for Chef Automate or+-- AWS OpsWorks for Puppet Enterprise server for which you want to show+-- applied tags. For example,+-- @arn:aws:opsworks-cm:us-west-2:123456789012:server\/test-owcm-server\/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE@.+newListTagsForResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ ListTagsForResource+newListTagsForResource pResourceArn_ =+ ListTagsForResource'+ { maxResults = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ resourceArn = pResourceArn_+ }++-- | To receive a paginated response, use this parameter to specify the+-- maximum number of results to be returned with a single call. If the+-- number of available results exceeds this maximum, the response includes+-- a @NextToken@ value that you can assign to the @NextToken@ request+-- parameter to get the next set of results.+listTagsForResource_maxResults :: Lens.Lens' ListTagsForResource (Prelude.Maybe Prelude.Natural)+listTagsForResource_maxResults = Lens.lens (\ListTagsForResource' {maxResults} -> maxResults) (\s@ListTagsForResource' {} a -> s {maxResults = a} :: ListTagsForResource)++-- | NextToken is a string that is returned in some command responses. It+-- indicates that not all entries have been returned, and that you must run+-- at least one more request to get remaining items. To get remaining+-- results, call @ListTagsForResource@ again, and assign the token from the+-- previous results as the value of the @nextToken@ parameter. If there are+-- no more results, the response object\'s @nextToken@ parameter value is+-- @null@. Setting a @nextToken@ value that was not returned in your+-- previous results causes an @InvalidNextTokenException@ to occur.+listTagsForResource_nextToken :: Lens.Lens' ListTagsForResource (Prelude.Maybe Prelude.Text)+listTagsForResource_nextToken = Lens.lens (\ListTagsForResource' {nextToken} -> nextToken) (\s@ListTagsForResource' {} a -> s {nextToken = a} :: ListTagsForResource)++-- | The Amazon Resource Number (ARN) of an AWS OpsWorks for Chef Automate or+-- AWS OpsWorks for Puppet Enterprise server for which you want to show+-- applied tags. For example,+-- @arn:aws:opsworks-cm:us-west-2:123456789012:server\/test-owcm-server\/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE@.+listTagsForResource_resourceArn :: Lens.Lens' ListTagsForResource Prelude.Text+listTagsForResource_resourceArn = Lens.lens (\ListTagsForResource' {resourceArn} -> resourceArn) (\s@ListTagsForResource' {} a -> s {resourceArn = a} :: ListTagsForResource)++instance Core.AWSPager ListTagsForResource where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? listTagsForResourceResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? listTagsForResourceResponse_tags+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& listTagsForResource_nextToken+ Lens..~ rs+ Lens.^? listTagsForResourceResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest ListTagsForResource where+ type+ AWSResponse ListTagsForResource =+ ListTagsForResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ ListTagsForResourceResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Tags" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable ListTagsForResource where+ hashWithSalt _salt ListTagsForResource' {..} =+ _salt+ `Prelude.hashWithSalt` maxResults+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` resourceArn++instance Prelude.NFData ListTagsForResource where+ rnf ListTagsForResource' {..} =+ Prelude.rnf maxResults+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf resourceArn++instance Data.ToHeaders ListTagsForResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.ListTagsForResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON ListTagsForResource where+ toJSON ListTagsForResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MaxResults" Data..=) Prelude.<$> maxResults,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ Prelude.Just ("ResourceArn" Data..= resourceArn)+ ]+ )++instance Data.ToPath ListTagsForResource where+ toPath = Prelude.const "/"++instance Data.ToQuery ListTagsForResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTagsForResourceResponse' smart constructor.+data ListTagsForResourceResponse = ListTagsForResourceResponse'+ { -- | A token that you can use as the value of @NextToken@ in subsequent calls+ -- to the API to show more results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | Tags that have been applied to the resource.+ tags :: Prelude.Maybe [Tag],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTagsForResourceResponse_nextToken' - A token that you can use as the value of @NextToken@ in subsequent calls+-- to the API to show more results.+--+-- 'tags', 'listTagsForResourceResponse_tags' - Tags that have been applied to the resource.+--+-- 'httpStatus', 'listTagsForResourceResponse_httpStatus' - The response's http status code.+newListTagsForResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ ListTagsForResourceResponse+newListTagsForResourceResponse pHttpStatus_ =+ ListTagsForResourceResponse'+ { nextToken =+ Prelude.Nothing,+ tags = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A token that you can use as the value of @NextToken@ in subsequent calls+-- to the API to show more results.+listTagsForResourceResponse_nextToken :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe Prelude.Text)+listTagsForResourceResponse_nextToken = Lens.lens (\ListTagsForResourceResponse' {nextToken} -> nextToken) (\s@ListTagsForResourceResponse' {} a -> s {nextToken = a} :: ListTagsForResourceResponse)++-- | Tags that have been applied to the resource.+listTagsForResourceResponse_tags :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe [Tag])+listTagsForResourceResponse_tags = Lens.lens (\ListTagsForResourceResponse' {tags} -> tags) (\s@ListTagsForResourceResponse' {} a -> s {tags = a} :: ListTagsForResourceResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTagsForResourceResponse_httpStatus :: Lens.Lens' ListTagsForResourceResponse Prelude.Int+listTagsForResourceResponse_httpStatus = Lens.lens (\ListTagsForResourceResponse' {httpStatus} -> httpStatus) (\s@ListTagsForResourceResponse' {} a -> s {httpStatus = a} :: ListTagsForResourceResponse)++instance Prelude.NFData ListTagsForResourceResponse where+ rnf ListTagsForResourceResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/RestoreServer.hs view
@@ -0,0 +1,245 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.RestoreServer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Restores a backup to a server that is in a @CONNECTION_LOST@, @HEALTHY@,+-- @RUNNING@, @UNHEALTHY@, or @TERMINATED@ state. When you run+-- RestoreServer, the server\'s EC2 instance is deleted, and a new EC2+-- instance is configured. RestoreServer maintains the existing server+-- endpoint, so configuration management of the server\'s client devices+-- (nodes) should continue to work.+--+-- Restoring from a backup is performed by creating a new EC2 instance. If+-- restoration is successful, and the server is in a @HEALTHY@ state, AWS+-- OpsWorks CM switches traffic over to the new instance. After restoration+-- is finished, the old EC2 instance is maintained in a @Running@ or+-- @Stopped@ state, but is eventually terminated.+--+-- This operation is asynchronous.+--+-- An @InvalidStateException@ is thrown when the server is not in a valid+-- state. A @ResourceNotFoundException@ is thrown when the server does not+-- exist. A @ValidationException@ is raised when parameters of the request+-- are not valid.+module Amazonka.OpsWorksCM.RestoreServer+ ( -- * Creating a Request+ RestoreServer (..),+ newRestoreServer,++ -- * Request Lenses+ restoreServer_instanceType,+ restoreServer_keyPair,+ restoreServer_backupId,+ restoreServer_serverName,++ -- * Destructuring the Response+ RestoreServerResponse (..),+ newRestoreServerResponse,++ -- * Response Lenses+ restoreServerResponse_server,+ restoreServerResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRestoreServer' smart constructor.+data RestoreServer = RestoreServer'+ { -- | The type of instance to restore. Valid values must be specified in the+ -- following format: @^([cm][34]|t2).*@ For example, @m5.large@. Valid+ -- values are @m5.large@, @r5.xlarge@, and @r5.2xlarge@. If you do not+ -- specify this parameter, RestoreServer uses the instance type from the+ -- specified backup.+ instanceType :: Prelude.Maybe Prelude.Text,+ -- | The name of the key pair to set on the new EC2 instance. This can be+ -- helpful if the administrator no longer has the SSH key.+ keyPair :: Prelude.Maybe Prelude.Text,+ -- | The ID of the backup that you want to use to restore a server.+ backupId :: Prelude.Text,+ -- | The name of the server that you want to restore.+ serverName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RestoreServer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'instanceType', 'restoreServer_instanceType' - The type of instance to restore. Valid values must be specified in the+-- following format: @^([cm][34]|t2).*@ For example, @m5.large@. Valid+-- values are @m5.large@, @r5.xlarge@, and @r5.2xlarge@. If you do not+-- specify this parameter, RestoreServer uses the instance type from the+-- specified backup.+--+-- 'keyPair', 'restoreServer_keyPair' - The name of the key pair to set on the new EC2 instance. This can be+-- helpful if the administrator no longer has the SSH key.+--+-- 'backupId', 'restoreServer_backupId' - The ID of the backup that you want to use to restore a server.+--+-- 'serverName', 'restoreServer_serverName' - The name of the server that you want to restore.+newRestoreServer ::+ -- | 'backupId'+ Prelude.Text ->+ -- | 'serverName'+ Prelude.Text ->+ RestoreServer+newRestoreServer pBackupId_ pServerName_ =+ RestoreServer'+ { instanceType = Prelude.Nothing,+ keyPair = Prelude.Nothing,+ backupId = pBackupId_,+ serverName = pServerName_+ }++-- | The type of instance to restore. Valid values must be specified in the+-- following format: @^([cm][34]|t2).*@ For example, @m5.large@. Valid+-- values are @m5.large@, @r5.xlarge@, and @r5.2xlarge@. If you do not+-- specify this parameter, RestoreServer uses the instance type from the+-- specified backup.+restoreServer_instanceType :: Lens.Lens' RestoreServer (Prelude.Maybe Prelude.Text)+restoreServer_instanceType = Lens.lens (\RestoreServer' {instanceType} -> instanceType) (\s@RestoreServer' {} a -> s {instanceType = a} :: RestoreServer)++-- | The name of the key pair to set on the new EC2 instance. This can be+-- helpful if the administrator no longer has the SSH key.+restoreServer_keyPair :: Lens.Lens' RestoreServer (Prelude.Maybe Prelude.Text)+restoreServer_keyPair = Lens.lens (\RestoreServer' {keyPair} -> keyPair) (\s@RestoreServer' {} a -> s {keyPair = a} :: RestoreServer)++-- | The ID of the backup that you want to use to restore a server.+restoreServer_backupId :: Lens.Lens' RestoreServer Prelude.Text+restoreServer_backupId = Lens.lens (\RestoreServer' {backupId} -> backupId) (\s@RestoreServer' {} a -> s {backupId = a} :: RestoreServer)++-- | The name of the server that you want to restore.+restoreServer_serverName :: Lens.Lens' RestoreServer Prelude.Text+restoreServer_serverName = Lens.lens (\RestoreServer' {serverName} -> serverName) (\s@RestoreServer' {} a -> s {serverName = a} :: RestoreServer)++instance Core.AWSRequest RestoreServer where+ type+ AWSResponse RestoreServer =+ RestoreServerResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ RestoreServerResponse'+ Prelude.<$> (x Data..?> "Server")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable RestoreServer where+ hashWithSalt _salt RestoreServer' {..} =+ _salt+ `Prelude.hashWithSalt` instanceType+ `Prelude.hashWithSalt` keyPair+ `Prelude.hashWithSalt` backupId+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData RestoreServer where+ rnf RestoreServer' {..} =+ Prelude.rnf instanceType+ `Prelude.seq` Prelude.rnf keyPair+ `Prelude.seq` Prelude.rnf backupId+ `Prelude.seq` Prelude.rnf serverName++instance Data.ToHeaders RestoreServer where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.RestoreServer" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON RestoreServer where+ toJSON RestoreServer' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("InstanceType" Data..=) Prelude.<$> instanceType,+ ("KeyPair" Data..=) Prelude.<$> keyPair,+ Prelude.Just ("BackupId" Data..= backupId),+ Prelude.Just ("ServerName" Data..= serverName)+ ]+ )++instance Data.ToPath RestoreServer where+ toPath = Prelude.const "/"++instance Data.ToQuery RestoreServer where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRestoreServerResponse' smart constructor.+data RestoreServerResponse = RestoreServerResponse'+ { server :: Prelude.Maybe Server,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RestoreServerResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'server', 'restoreServerResponse_server' - Undocumented member.+--+-- 'httpStatus', 'restoreServerResponse_httpStatus' - The response's http status code.+newRestoreServerResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ RestoreServerResponse+newRestoreServerResponse pHttpStatus_ =+ RestoreServerResponse'+ { server = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Undocumented member.+restoreServerResponse_server :: Lens.Lens' RestoreServerResponse (Prelude.Maybe Server)+restoreServerResponse_server = Lens.lens (\RestoreServerResponse' {server} -> server) (\s@RestoreServerResponse' {} a -> s {server = a} :: RestoreServerResponse)++-- | The response's http status code.+restoreServerResponse_httpStatus :: Lens.Lens' RestoreServerResponse Prelude.Int+restoreServerResponse_httpStatus = Lens.lens (\RestoreServerResponse' {httpStatus} -> httpStatus) (\s@RestoreServerResponse' {} a -> s {httpStatus = a} :: RestoreServerResponse)++instance Prelude.NFData RestoreServerResponse where+ rnf RestoreServerResponse' {..} =+ Prelude.rnf server+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/StartMaintenance.hs view
@@ -0,0 +1,223 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.StartMaintenance+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Manually starts server maintenance. This command can be useful if an+-- earlier maintenance attempt failed, and the underlying cause of+-- maintenance failure has been resolved. The server is in an+-- @UNDER_MAINTENANCE@ state while maintenance is in progress.+--+-- Maintenance can only be started on servers in @HEALTHY@ and @UNHEALTHY@+-- states. Otherwise, an @InvalidStateException@ is thrown. A+-- @ResourceNotFoundException@ is thrown when the server does not exist. A+-- @ValidationException@ is raised when parameters of the request are not+-- valid.+module Amazonka.OpsWorksCM.StartMaintenance+ ( -- * Creating a Request+ StartMaintenance (..),+ newStartMaintenance,++ -- * Request Lenses+ startMaintenance_engineAttributes,+ startMaintenance_serverName,++ -- * Destructuring the Response+ StartMaintenanceResponse (..),+ newStartMaintenanceResponse,++ -- * Response Lenses+ startMaintenanceResponse_server,+ startMaintenanceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newStartMaintenance' smart constructor.+data StartMaintenance = StartMaintenance'+ { -- | Engine attributes that are specific to the server on which you want to+ -- run maintenance.+ --+ -- __Attributes accepted in a StartMaintenance request for Chef__+ --+ -- - @CHEF_MAJOR_UPGRADE@: If a Chef Automate server is eligible for+ -- upgrade to Chef Automate 2, add this engine attribute to a+ -- @StartMaintenance@ request and set the value to @true@ to upgrade+ -- the server to Chef Automate 2. For more information, see+ -- <https://docs.aws.amazon.com/opsworks/latest/userguide/opscm-a2upgrade.html Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2>.+ engineAttributes :: Prelude.Maybe [EngineAttribute],+ -- | The name of the server on which to run maintenance.+ serverName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartMaintenance' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'engineAttributes', 'startMaintenance_engineAttributes' - Engine attributes that are specific to the server on which you want to+-- run maintenance.+--+-- __Attributes accepted in a StartMaintenance request for Chef__+--+-- - @CHEF_MAJOR_UPGRADE@: If a Chef Automate server is eligible for+-- upgrade to Chef Automate 2, add this engine attribute to a+-- @StartMaintenance@ request and set the value to @true@ to upgrade+-- the server to Chef Automate 2. For more information, see+-- <https://docs.aws.amazon.com/opsworks/latest/userguide/opscm-a2upgrade.html Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2>.+--+-- 'serverName', 'startMaintenance_serverName' - The name of the server on which to run maintenance.+newStartMaintenance ::+ -- | 'serverName'+ Prelude.Text ->+ StartMaintenance+newStartMaintenance pServerName_ =+ StartMaintenance'+ { engineAttributes =+ Prelude.Nothing,+ serverName = pServerName_+ }++-- | Engine attributes that are specific to the server on which you want to+-- run maintenance.+--+-- __Attributes accepted in a StartMaintenance request for Chef__+--+-- - @CHEF_MAJOR_UPGRADE@: If a Chef Automate server is eligible for+-- upgrade to Chef Automate 2, add this engine attribute to a+-- @StartMaintenance@ request and set the value to @true@ to upgrade+-- the server to Chef Automate 2. For more information, see+-- <https://docs.aws.amazon.com/opsworks/latest/userguide/opscm-a2upgrade.html Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2>.+startMaintenance_engineAttributes :: Lens.Lens' StartMaintenance (Prelude.Maybe [EngineAttribute])+startMaintenance_engineAttributes = Lens.lens (\StartMaintenance' {engineAttributes} -> engineAttributes) (\s@StartMaintenance' {} a -> s {engineAttributes = a} :: StartMaintenance) Prelude.. Lens.mapping Lens.coerced++-- | The name of the server on which to run maintenance.+startMaintenance_serverName :: Lens.Lens' StartMaintenance Prelude.Text+startMaintenance_serverName = Lens.lens (\StartMaintenance' {serverName} -> serverName) (\s@StartMaintenance' {} a -> s {serverName = a} :: StartMaintenance)++instance Core.AWSRequest StartMaintenance where+ type+ AWSResponse StartMaintenance =+ StartMaintenanceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ StartMaintenanceResponse'+ Prelude.<$> (x Data..?> "Server")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable StartMaintenance where+ hashWithSalt _salt StartMaintenance' {..} =+ _salt+ `Prelude.hashWithSalt` engineAttributes+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData StartMaintenance where+ rnf StartMaintenance' {..} =+ Prelude.rnf engineAttributes+ `Prelude.seq` Prelude.rnf serverName++instance Data.ToHeaders StartMaintenance where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.StartMaintenance" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON StartMaintenance where+ toJSON StartMaintenance' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EngineAttributes" Data..=)+ Prelude.<$> engineAttributes,+ Prelude.Just ("ServerName" Data..= serverName)+ ]+ )++instance Data.ToPath StartMaintenance where+ toPath = Prelude.const "/"++instance Data.ToQuery StartMaintenance where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStartMaintenanceResponse' smart constructor.+data StartMaintenanceResponse = StartMaintenanceResponse'+ { -- | Contains the response to a @StartMaintenance@ request.+ server :: Prelude.Maybe Server,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartMaintenanceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'server', 'startMaintenanceResponse_server' - Contains the response to a @StartMaintenance@ request.+--+-- 'httpStatus', 'startMaintenanceResponse_httpStatus' - The response's http status code.+newStartMaintenanceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ StartMaintenanceResponse+newStartMaintenanceResponse pHttpStatus_ =+ StartMaintenanceResponse'+ { server = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Contains the response to a @StartMaintenance@ request.+startMaintenanceResponse_server :: Lens.Lens' StartMaintenanceResponse (Prelude.Maybe Server)+startMaintenanceResponse_server = Lens.lens (\StartMaintenanceResponse' {server} -> server) (\s@StartMaintenanceResponse' {} a -> s {server = a} :: StartMaintenanceResponse)++-- | The response's http status code.+startMaintenanceResponse_httpStatus :: Lens.Lens' StartMaintenanceResponse Prelude.Int+startMaintenanceResponse_httpStatus = Lens.lens (\StartMaintenanceResponse' {httpStatus} -> httpStatus) (\s@StartMaintenanceResponse' {} a -> s {httpStatus = a} :: StartMaintenanceResponse)++instance Prelude.NFData StartMaintenanceResponse where+ rnf StartMaintenanceResponse' {..} =+ Prelude.rnf server+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/TagResource.hs view
@@ -0,0 +1,226 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.TagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Applies tags to an AWS OpsWorks for Chef Automate or AWS OpsWorks for+-- Puppet Enterprise server, or to server backups.+module Amazonka.OpsWorksCM.TagResource+ ( -- * Creating a Request+ TagResource (..),+ newTagResource,++ -- * Request Lenses+ tagResource_resourceArn,+ tagResource_tags,++ -- * Destructuring the Response+ TagResourceResponse (..),+ newTagResourceResponse,++ -- * Response Lenses+ tagResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newTagResource' smart constructor.+data TagResource = TagResource'+ { -- | The Amazon Resource Number (ARN) of a resource to which you want to+ -- apply tags. For example,+ -- @arn:aws:opsworks-cm:us-west-2:123456789012:server\/test-owcm-server\/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE@.+ resourceArn :: Prelude.Text,+ -- | A map that contains tag keys and tag values to attach to AWS OpsWorks-CM+ -- servers or backups.+ --+ -- - The key cannot be empty.+ --+ -- - The key can be a maximum of 127 characters, and can contain only+ -- Unicode letters, numbers, or separators, or the following special+ -- characters: @+ - = . _ : \/@+ --+ -- - The value can be a maximum 255 characters, and contain only Unicode+ -- letters, numbers, or separators, or the following special+ -- characters: @+ - = . _ : \/@+ --+ -- - Leading and trailing white spaces are trimmed from both the key and+ -- value.+ --+ -- - A maximum of 50 user-applied tags is allowed for any AWS OpsWorks-CM+ -- server or backup.+ tags :: [Tag]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'tagResource_resourceArn' - The Amazon Resource Number (ARN) of a resource to which you want to+-- apply tags. For example,+-- @arn:aws:opsworks-cm:us-west-2:123456789012:server\/test-owcm-server\/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE@.+--+-- 'tags', 'tagResource_tags' - A map that contains tag keys and tag values to attach to AWS OpsWorks-CM+-- servers or backups.+--+-- - The key cannot be empty.+--+-- - The key can be a maximum of 127 characters, and can contain only+-- Unicode letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/@+--+-- - The value can be a maximum 255 characters, and contain only Unicode+-- letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/@+--+-- - Leading and trailing white spaces are trimmed from both the key and+-- value.+--+-- - A maximum of 50 user-applied tags is allowed for any AWS OpsWorks-CM+-- server or backup.+newTagResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ TagResource+newTagResource pResourceArn_ =+ TagResource'+ { resourceArn = pResourceArn_,+ tags = Prelude.mempty+ }++-- | The Amazon Resource Number (ARN) of a resource to which you want to+-- apply tags. For example,+-- @arn:aws:opsworks-cm:us-west-2:123456789012:server\/test-owcm-server\/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE@.+tagResource_resourceArn :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceArn = Lens.lens (\TagResource' {resourceArn} -> resourceArn) (\s@TagResource' {} a -> s {resourceArn = a} :: TagResource)++-- | A map that contains tag keys and tag values to attach to AWS OpsWorks-CM+-- servers or backups.+--+-- - The key cannot be empty.+--+-- - The key can be a maximum of 127 characters, and can contain only+-- Unicode letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/@+--+-- - The value can be a maximum 255 characters, and contain only Unicode+-- letters, numbers, or separators, or the following special+-- characters: @+ - = . _ : \/@+--+-- - Leading and trailing white spaces are trimmed from both the key and+-- value.+--+-- - A maximum of 50 user-applied tags is allowed for any AWS OpsWorks-CM+-- server or backup.+tagResource_tags :: Lens.Lens' TagResource [Tag]+tagResource_tags = Lens.lens (\TagResource' {tags} -> tags) (\s@TagResource' {} a -> s {tags = a} :: TagResource) Prelude.. Lens.coerced++instance Core.AWSRequest TagResource where+ type AWSResponse TagResource = TagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ TagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable TagResource where+ hashWithSalt _salt TagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceArn+ `Prelude.hashWithSalt` tags++instance Prelude.NFData TagResource where+ rnf TagResource' {..} =+ Prelude.rnf resourceArn+ `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders TagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.TagResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON TagResource where+ toJSON TagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceArn" Data..= resourceArn),+ Prelude.Just ("Tags" Data..= tags)+ ]+ )++instance Data.ToPath TagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery TagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResourceResponse' smart constructor.+data TagResourceResponse = TagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'tagResourceResponse_httpStatus' - The response's http status code.+newTagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ TagResourceResponse+newTagResourceResponse pHttpStatus_ =+ TagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+tagResourceResponse_httpStatus :: Lens.Lens' TagResourceResponse Prelude.Int+tagResourceResponse_httpStatus = Lens.lens (\TagResourceResponse' {httpStatus} -> httpStatus) (\s@TagResourceResponse' {} a -> s {httpStatus = a} :: TagResourceResponse)++instance Prelude.NFData TagResourceResponse where+ rnf TagResourceResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/Types.hs view
@@ -0,0 +1,255 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ _InvalidNextTokenException,+ _InvalidStateException,+ _LimitExceededException,+ _ResourceAlreadyExistsException,+ _ResourceNotFoundException,+ _ValidationException,++ -- * BackupStatus+ BackupStatus (..),++ -- * BackupType+ BackupType (..),++ -- * MaintenanceStatus+ MaintenanceStatus (..),++ -- * NodeAssociationStatus+ NodeAssociationStatus (..),++ -- * ServerStatus+ ServerStatus (..),++ -- * AccountAttribute+ AccountAttribute (..),+ newAccountAttribute,+ accountAttribute_maximum,+ accountAttribute_name,+ accountAttribute_used,++ -- * Backup+ Backup (..),+ newBackup,+ backup_backupArn,+ backup_backupId,+ backup_backupType,+ backup_createdAt,+ backup_description,+ backup_engine,+ backup_engineModel,+ backup_engineVersion,+ backup_instanceProfileArn,+ backup_instanceType,+ backup_keyPair,+ backup_preferredBackupWindow,+ backup_preferredMaintenanceWindow,+ backup_s3DataSize,+ backup_s3DataUrl,+ backup_s3LogUrl,+ backup_securityGroupIds,+ backup_serverName,+ backup_serviceRoleArn,+ backup_status,+ backup_statusDescription,+ backup_subnetIds,+ backup_toolsVersion,+ backup_userArn,++ -- * EngineAttribute+ EngineAttribute (..),+ newEngineAttribute,+ engineAttribute_name,+ engineAttribute_value,++ -- * Server+ Server (..),+ newServer,+ server_associatePublicIpAddress,+ server_backupRetentionCount,+ server_cloudFormationStackArn,+ server_createdAt,+ server_customDomain,+ server_disableAutomatedBackup,+ server_endpoint,+ server_engine,+ server_engineAttributes,+ server_engineModel,+ server_engineVersion,+ server_instanceProfileArn,+ server_instanceType,+ server_keyPair,+ server_maintenanceStatus,+ server_preferredBackupWindow,+ server_preferredMaintenanceWindow,+ server_securityGroupIds,+ server_serverArn,+ server_serverName,+ server_serviceRoleArn,+ server_status,+ server_statusReason,+ server_subnetIds,++ -- * ServerEvent+ ServerEvent (..),+ newServerEvent,+ serverEvent_createdAt,+ serverEvent_logUrl,+ serverEvent_message,+ serverEvent_serverName,++ -- * Tag+ Tag (..),+ newTag,+ tag_key,+ tag_value,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import Amazonka.OpsWorksCM.Types.AccountAttribute+import Amazonka.OpsWorksCM.Types.Backup+import Amazonka.OpsWorksCM.Types.BackupStatus+import Amazonka.OpsWorksCM.Types.BackupType+import Amazonka.OpsWorksCM.Types.EngineAttribute+import Amazonka.OpsWorksCM.Types.MaintenanceStatus+import Amazonka.OpsWorksCM.Types.NodeAssociationStatus+import Amazonka.OpsWorksCM.Types.Server+import Amazonka.OpsWorksCM.Types.ServerEvent+import Amazonka.OpsWorksCM.Types.ServerStatus+import Amazonka.OpsWorksCM.Types.Tag+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2016-11-01@ of the Amazon OpsWorks CM SDK configuration.+defaultService :: Core.Service+defaultService =+ Core.Service+ { Core.abbrev = "OpsWorksCM",+ Core.signer = Sign.v4,+ Core.endpointPrefix = "opsworks-cm",+ Core.signingName = "opsworks-cm",+ Core.version = "2016-11-01",+ Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+ Core.endpoint = Core.defaultEndpoint defaultService,+ Core.timeout = Prelude.Just 70,+ Core.check = Core.statusSuccess,+ Core.error = Core.parseJSONError "OpsWorksCM",+ Core.retry = retry+ }+ where+ retry =+ Core.Exponential+ { Core.base = 5.0e-2,+ Core.growth = 2,+ Core.attempts = 5,+ Core.check = check+ }+ check e+ | Lens.has (Core.hasStatus 502) e =+ Prelude.Just "bad_gateway"+ | Lens.has (Core.hasStatus 504) e =+ Prelude.Just "gateway_timeout"+ | Lens.has (Core.hasStatus 500) e =+ Prelude.Just "general_server_error"+ | Lens.has (Core.hasStatus 509) e =+ Prelude.Just "limit_exceeded"+ | Lens.has+ ( Core.hasCode "RequestThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "request_throttled_exception"+ | Lens.has (Core.hasStatus 503) e =+ Prelude.Just "service_unavailable"+ | Lens.has+ ( Core.hasCode "ThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttled_exception"+ | Lens.has+ ( Core.hasCode "Throttling"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling"+ | Lens.has+ ( Core.hasCode "ThrottlingException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling_exception"+ | Lens.has+ ( Core.hasCode+ "ProvisionedThroughputExceededException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throughput_exceeded"+ | Lens.has (Core.hasStatus 429) e =+ Prelude.Just "too_many_requests"+ | Prelude.otherwise = Prelude.Nothing++-- | This occurs when the provided nextToken is not valid.+_InvalidNextTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidNextTokenException =+ Core._MatchServiceError+ defaultService+ "InvalidNextTokenException"++-- | The resource is in a state that does not allow you to perform a+-- specified action.+_InvalidStateException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidStateException =+ Core._MatchServiceError+ defaultService+ "InvalidStateException"++-- | The limit of servers or backups has been reached.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+ Core._MatchServiceError+ defaultService+ "LimitExceededException"++-- | The requested resource cannot be created because it already exists.+_ResourceAlreadyExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceAlreadyExistsException =+ Core._MatchServiceError+ defaultService+ "ResourceAlreadyExistsException"++-- | The requested resource does not exist, or access was denied.+_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceNotFoundException =+ Core._MatchServiceError+ defaultService+ "ResourceNotFoundException"++-- | One or more of the provided request parameters are not valid.+_ValidationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ValidationException =+ Core._MatchServiceError+ defaultService+ "ValidationException"
+ gen/Amazonka/OpsWorksCM/Types/AccountAttribute.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.AccountAttribute+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.AccountAttribute where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Stores account attributes.+--+-- /See:/ 'newAccountAttribute' smart constructor.+data AccountAttribute = AccountAttribute'+ { -- | The maximum allowed value.+ maximum :: Prelude.Maybe Prelude.Int,+ -- | The attribute name. The following are supported attribute names.+ --+ -- - /ServerLimit:/ The number of current servers\/maximum number of+ -- servers allowed. By default, you can have a maximum of 10 servers.+ --+ -- - /ManualBackupLimit:/ The number of current manual backups\/maximum+ -- number of backups allowed. By default, you can have a maximum of 50+ -- manual backups saved.+ name :: Prelude.Maybe Prelude.Text,+ -- | The current usage, such as the current number of servers that are+ -- associated with the account.+ used :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AccountAttribute' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maximum', 'accountAttribute_maximum' - The maximum allowed value.+--+-- 'name', 'accountAttribute_name' - The attribute name. The following are supported attribute names.+--+-- - /ServerLimit:/ The number of current servers\/maximum number of+-- servers allowed. By default, you can have a maximum of 10 servers.+--+-- - /ManualBackupLimit:/ The number of current manual backups\/maximum+-- number of backups allowed. By default, you can have a maximum of 50+-- manual backups saved.+--+-- 'used', 'accountAttribute_used' - The current usage, such as the current number of servers that are+-- associated with the account.+newAccountAttribute ::+ AccountAttribute+newAccountAttribute =+ AccountAttribute'+ { maximum = Prelude.Nothing,+ name = Prelude.Nothing,+ used = Prelude.Nothing+ }++-- | The maximum allowed value.+accountAttribute_maximum :: Lens.Lens' AccountAttribute (Prelude.Maybe Prelude.Int)+accountAttribute_maximum = Lens.lens (\AccountAttribute' {maximum} -> maximum) (\s@AccountAttribute' {} a -> s {maximum = a} :: AccountAttribute)++-- | The attribute name. The following are supported attribute names.+--+-- - /ServerLimit:/ The number of current servers\/maximum number of+-- servers allowed. By default, you can have a maximum of 10 servers.+--+-- - /ManualBackupLimit:/ The number of current manual backups\/maximum+-- number of backups allowed. By default, you can have a maximum of 50+-- manual backups saved.+accountAttribute_name :: Lens.Lens' AccountAttribute (Prelude.Maybe Prelude.Text)+accountAttribute_name = Lens.lens (\AccountAttribute' {name} -> name) (\s@AccountAttribute' {} a -> s {name = a} :: AccountAttribute)++-- | The current usage, such as the current number of servers that are+-- associated with the account.+accountAttribute_used :: Lens.Lens' AccountAttribute (Prelude.Maybe Prelude.Int)+accountAttribute_used = Lens.lens (\AccountAttribute' {used} -> used) (\s@AccountAttribute' {} a -> s {used = a} :: AccountAttribute)++instance Data.FromJSON AccountAttribute where+ parseJSON =+ Data.withObject+ "AccountAttribute"+ ( \x ->+ AccountAttribute'+ Prelude.<$> (x Data..:? "Maximum")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "Used")+ )++instance Prelude.Hashable AccountAttribute where+ hashWithSalt _salt AccountAttribute' {..} =+ _salt+ `Prelude.hashWithSalt` maximum+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` used++instance Prelude.NFData AccountAttribute where+ rnf AccountAttribute' {..} =+ Prelude.rnf maximum+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf used
+ gen/Amazonka/OpsWorksCM/Types/Backup.hs view
@@ -0,0 +1,405 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.Backup+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.Backup where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types.BackupStatus+import Amazonka.OpsWorksCM.Types.BackupType+import qualified Amazonka.Prelude as Prelude++-- | Describes a single backup.+--+-- /See:/ 'newBackup' smart constructor.+data Backup = Backup'+ { -- | The ARN of the backup.+ backupArn :: Prelude.Maybe Prelude.Text,+ -- | The generated ID of the backup. Example:+ -- @myServerName-yyyyMMddHHmmssSSS@+ backupId :: Prelude.Maybe Prelude.Text,+ -- | The backup type. Valid values are @automated@ or @manual@.+ backupType :: Prelude.Maybe BackupType,+ -- | The time stamp when the backup was created in the database. Example:+ -- @2016-07-29T13:38:47.520Z@+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | A user-provided description for a manual backup. This field is empty for+ -- automated backups.+ description :: Prelude.Maybe Prelude.Text,+ -- | The engine type that is obtained from the server when the backup is+ -- created.+ engine :: Prelude.Maybe Prelude.Text,+ -- | The engine model that is obtained from the server when the backup is+ -- created.+ engineModel :: Prelude.Maybe Prelude.Text,+ -- | The engine version that is obtained from the server when the backup is+ -- created.+ engineVersion :: Prelude.Maybe Prelude.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.+ instanceProfileArn :: Prelude.Maybe Prelude.Text,+ -- | The instance type that is obtained from the server when the backup is+ -- created.+ instanceType :: Prelude.Maybe Prelude.Text,+ -- | The key pair that is obtained from the server when the backup is+ -- created.+ keyPair :: Prelude.Maybe Prelude.Text,+ -- | The preferred backup period that is obtained from the server when the+ -- backup is created.+ preferredBackupWindow :: Prelude.Maybe Prelude.Text,+ -- | The preferred maintenance period that is obtained from the server when+ -- the backup is created.+ preferredMaintenanceWindow :: Prelude.Maybe Prelude.Text,+ -- | This field is deprecated and is no longer used.+ s3DataSize :: Prelude.Maybe Prelude.Int,+ -- | This field is deprecated and is no longer used.+ s3DataUrl :: Prelude.Maybe Prelude.Text,+ -- | The Amazon S3 URL of the backup\'s log file.+ s3LogUrl :: Prelude.Maybe Prelude.Text,+ -- | The security group IDs that are obtained from the server when the backup+ -- is created.+ securityGroupIds :: Prelude.Maybe [Prelude.Text],+ -- | The name of the server from which the backup was made.+ serverName :: Prelude.Maybe Prelude.Text,+ -- | The service role ARN that is obtained from the server when the backup is+ -- created.+ serviceRoleArn :: Prelude.Maybe Prelude.Text,+ -- | The status of a backup while in progress.+ status :: Prelude.Maybe BackupStatus,+ -- | An informational message about backup status.+ statusDescription :: Prelude.Maybe Prelude.Text,+ -- | The subnet IDs that are obtained from the server when the backup is+ -- created.+ subnetIds :: Prelude.Maybe [Prelude.Text],+ -- | The version of AWS OpsWorks CM-specific tools that is obtained from the+ -- server when the backup is created.+ toolsVersion :: Prelude.Maybe Prelude.Text,+ -- | The IAM user ARN of the requester for manual backups. This field is+ -- empty for automated backups.+ userArn :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Backup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupArn', 'backup_backupArn' - The ARN of the backup.+--+-- 'backupId', 'backup_backupId' - The generated ID of the backup. Example:+-- @myServerName-yyyyMMddHHmmssSSS@+--+-- 'backupType', 'backup_backupType' - The backup type. Valid values are @automated@ or @manual@.+--+-- 'createdAt', 'backup_createdAt' - The time stamp when the backup was created in the database. Example:+-- @2016-07-29T13:38:47.520Z@+--+-- 'description', 'backup_description' - A user-provided description for a manual backup. This field is empty for+-- automated backups.+--+-- 'engine', 'backup_engine' - The engine type that is obtained from the server when the backup is+-- created.+--+-- 'engineModel', 'backup_engineModel' - The engine model that is obtained from the server when the backup is+-- created.+--+-- 'engineVersion', 'backup_engineVersion' - The engine version that is obtained from the server when the backup is+-- created.+--+-- 'instanceProfileArn', 'backup_instanceProfileArn' - 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.+--+-- 'instanceType', 'backup_instanceType' - The instance type that is obtained from the server when the backup is+-- created.+--+-- 'keyPair', 'backup_keyPair' - The key pair that is obtained from the server when the backup is+-- created.+--+-- 'preferredBackupWindow', 'backup_preferredBackupWindow' - The preferred backup period that is obtained from the server when the+-- backup is created.+--+-- 'preferredMaintenanceWindow', 'backup_preferredMaintenanceWindow' - The preferred maintenance period that is obtained from the server when+-- the backup is created.+--+-- 's3DataSize', 'backup_s3DataSize' - This field is deprecated and is no longer used.+--+-- 's3DataUrl', 'backup_s3DataUrl' - This field is deprecated and is no longer used.+--+-- 's3LogUrl', 'backup_s3LogUrl' - The Amazon S3 URL of the backup\'s log file.+--+-- 'securityGroupIds', 'backup_securityGroupIds' - The security group IDs that are obtained from the server when the backup+-- is created.+--+-- 'serverName', 'backup_serverName' - The name of the server from which the backup was made.+--+-- 'serviceRoleArn', 'backup_serviceRoleArn' - The service role ARN that is obtained from the server when the backup is+-- created.+--+-- 'status', 'backup_status' - The status of a backup while in progress.+--+-- 'statusDescription', 'backup_statusDescription' - An informational message about backup status.+--+-- 'subnetIds', 'backup_subnetIds' - The subnet IDs that are obtained from the server when the backup is+-- created.+--+-- 'toolsVersion', 'backup_toolsVersion' - The version of AWS OpsWorks CM-specific tools that is obtained from the+-- server when the backup is created.+--+-- 'userArn', 'backup_userArn' - The IAM user ARN of the requester for manual backups. This field is+-- empty for automated backups.+newBackup ::+ Backup+newBackup =+ Backup'+ { backupArn = Prelude.Nothing,+ backupId = Prelude.Nothing,+ backupType = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ description = Prelude.Nothing,+ engine = Prelude.Nothing,+ engineModel = Prelude.Nothing,+ engineVersion = Prelude.Nothing,+ instanceProfileArn = Prelude.Nothing,+ instanceType = Prelude.Nothing,+ keyPair = Prelude.Nothing,+ preferredBackupWindow = Prelude.Nothing,+ preferredMaintenanceWindow = Prelude.Nothing,+ s3DataSize = Prelude.Nothing,+ s3DataUrl = Prelude.Nothing,+ s3LogUrl = Prelude.Nothing,+ securityGroupIds = Prelude.Nothing,+ serverName = Prelude.Nothing,+ serviceRoleArn = Prelude.Nothing,+ status = Prelude.Nothing,+ statusDescription = Prelude.Nothing,+ subnetIds = Prelude.Nothing,+ toolsVersion = Prelude.Nothing,+ userArn = Prelude.Nothing+ }++-- | The ARN of the backup.+backup_backupArn :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_backupArn = Lens.lens (\Backup' {backupArn} -> backupArn) (\s@Backup' {} a -> s {backupArn = a} :: Backup)++-- | The generated ID of the backup. Example:+-- @myServerName-yyyyMMddHHmmssSSS@+backup_backupId :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_backupId = Lens.lens (\Backup' {backupId} -> backupId) (\s@Backup' {} a -> s {backupId = a} :: Backup)++-- | The backup type. Valid values are @automated@ or @manual@.+backup_backupType :: Lens.Lens' Backup (Prelude.Maybe BackupType)+backup_backupType = Lens.lens (\Backup' {backupType} -> backupType) (\s@Backup' {} a -> s {backupType = a} :: Backup)++-- | The time stamp when the backup was created in the database. Example:+-- @2016-07-29T13:38:47.520Z@+backup_createdAt :: Lens.Lens' Backup (Prelude.Maybe Prelude.UTCTime)+backup_createdAt = Lens.lens (\Backup' {createdAt} -> createdAt) (\s@Backup' {} a -> s {createdAt = a} :: Backup) Prelude.. Lens.mapping Data._Time++-- | A user-provided description for a manual backup. This field is empty for+-- automated backups.+backup_description :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_description = Lens.lens (\Backup' {description} -> description) (\s@Backup' {} a -> s {description = a} :: Backup)++-- | The engine type that is obtained from the server when the backup is+-- created.+backup_engine :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_engine = Lens.lens (\Backup' {engine} -> engine) (\s@Backup' {} a -> s {engine = a} :: Backup)++-- | The engine model that is obtained from the server when the backup is+-- created.+backup_engineModel :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_engineModel = Lens.lens (\Backup' {engineModel} -> engineModel) (\s@Backup' {} a -> s {engineModel = a} :: Backup)++-- | The engine version that is obtained from the server when the backup is+-- created.+backup_engineVersion :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_engineVersion = Lens.lens (\Backup' {engineVersion} -> engineVersion) (\s@Backup' {} a -> s {engineVersion = a} :: Backup)++-- | 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.+backup_instanceProfileArn :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_instanceProfileArn = Lens.lens (\Backup' {instanceProfileArn} -> instanceProfileArn) (\s@Backup' {} a -> s {instanceProfileArn = a} :: Backup)++-- | The instance type that is obtained from the server when the backup is+-- created.+backup_instanceType :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_instanceType = Lens.lens (\Backup' {instanceType} -> instanceType) (\s@Backup' {} a -> s {instanceType = a} :: Backup)++-- | The key pair that is obtained from the server when the backup is+-- created.+backup_keyPair :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_keyPair = Lens.lens (\Backup' {keyPair} -> keyPair) (\s@Backup' {} a -> s {keyPair = a} :: Backup)++-- | The preferred backup period that is obtained from the server when the+-- backup is created.+backup_preferredBackupWindow :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_preferredBackupWindow = Lens.lens (\Backup' {preferredBackupWindow} -> preferredBackupWindow) (\s@Backup' {} a -> s {preferredBackupWindow = a} :: Backup)++-- | The preferred maintenance period that is obtained from the server when+-- the backup is created.+backup_preferredMaintenanceWindow :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_preferredMaintenanceWindow = Lens.lens (\Backup' {preferredMaintenanceWindow} -> preferredMaintenanceWindow) (\s@Backup' {} a -> s {preferredMaintenanceWindow = a} :: Backup)++-- | This field is deprecated and is no longer used.+backup_s3DataSize :: Lens.Lens' Backup (Prelude.Maybe Prelude.Int)+backup_s3DataSize = Lens.lens (\Backup' {s3DataSize} -> s3DataSize) (\s@Backup' {} a -> s {s3DataSize = a} :: Backup)++-- | This field is deprecated and is no longer used.+backup_s3DataUrl :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_s3DataUrl = Lens.lens (\Backup' {s3DataUrl} -> s3DataUrl) (\s@Backup' {} a -> s {s3DataUrl = a} :: Backup)++-- | The Amazon S3 URL of the backup\'s log file.+backup_s3LogUrl :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_s3LogUrl = Lens.lens (\Backup' {s3LogUrl} -> s3LogUrl) (\s@Backup' {} a -> s {s3LogUrl = a} :: Backup)++-- | The security group IDs that are obtained from the server when the backup+-- is created.+backup_securityGroupIds :: Lens.Lens' Backup (Prelude.Maybe [Prelude.Text])+backup_securityGroupIds = Lens.lens (\Backup' {securityGroupIds} -> securityGroupIds) (\s@Backup' {} a -> s {securityGroupIds = a} :: Backup) Prelude.. Lens.mapping Lens.coerced++-- | The name of the server from which the backup was made.+backup_serverName :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_serverName = Lens.lens (\Backup' {serverName} -> serverName) (\s@Backup' {} a -> s {serverName = a} :: Backup)++-- | The service role ARN that is obtained from the server when the backup is+-- created.+backup_serviceRoleArn :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_serviceRoleArn = Lens.lens (\Backup' {serviceRoleArn} -> serviceRoleArn) (\s@Backup' {} a -> s {serviceRoleArn = a} :: Backup)++-- | The status of a backup while in progress.+backup_status :: Lens.Lens' Backup (Prelude.Maybe BackupStatus)+backup_status = Lens.lens (\Backup' {status} -> status) (\s@Backup' {} a -> s {status = a} :: Backup)++-- | An informational message about backup status.+backup_statusDescription :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_statusDescription = Lens.lens (\Backup' {statusDescription} -> statusDescription) (\s@Backup' {} a -> s {statusDescription = a} :: Backup)++-- | The subnet IDs that are obtained from the server when the backup is+-- created.+backup_subnetIds :: Lens.Lens' Backup (Prelude.Maybe [Prelude.Text])+backup_subnetIds = Lens.lens (\Backup' {subnetIds} -> subnetIds) (\s@Backup' {} a -> s {subnetIds = a} :: Backup) Prelude.. Lens.mapping Lens.coerced++-- | The version of AWS OpsWorks CM-specific tools that is obtained from the+-- server when the backup is created.+backup_toolsVersion :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_toolsVersion = Lens.lens (\Backup' {toolsVersion} -> toolsVersion) (\s@Backup' {} a -> s {toolsVersion = a} :: Backup)++-- | The IAM user ARN of the requester for manual backups. This field is+-- empty for automated backups.+backup_userArn :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_userArn = Lens.lens (\Backup' {userArn} -> userArn) (\s@Backup' {} a -> s {userArn = a} :: Backup)++instance Data.FromJSON Backup where+ parseJSON =+ Data.withObject+ "Backup"+ ( \x ->+ Backup'+ Prelude.<$> (x Data..:? "BackupArn")+ Prelude.<*> (x Data..:? "BackupId")+ Prelude.<*> (x Data..:? "BackupType")+ Prelude.<*> (x Data..:? "CreatedAt")+ Prelude.<*> (x Data..:? "Description")+ Prelude.<*> (x Data..:? "Engine")+ Prelude.<*> (x Data..:? "EngineModel")+ Prelude.<*> (x Data..:? "EngineVersion")+ Prelude.<*> (x Data..:? "InstanceProfileArn")+ Prelude.<*> (x Data..:? "InstanceType")+ Prelude.<*> (x Data..:? "KeyPair")+ Prelude.<*> (x Data..:? "PreferredBackupWindow")+ Prelude.<*> (x Data..:? "PreferredMaintenanceWindow")+ Prelude.<*> (x Data..:? "S3DataSize")+ Prelude.<*> (x Data..:? "S3DataUrl")+ Prelude.<*> (x Data..:? "S3LogUrl")+ Prelude.<*> ( x+ Data..:? "SecurityGroupIds"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "ServerName")+ Prelude.<*> (x Data..:? "ServiceRoleArn")+ Prelude.<*> (x Data..:? "Status")+ Prelude.<*> (x Data..:? "StatusDescription")+ Prelude.<*> (x Data..:? "SubnetIds" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "ToolsVersion")+ Prelude.<*> (x Data..:? "UserArn")+ )++instance Prelude.Hashable Backup where+ hashWithSalt _salt Backup' {..} =+ _salt+ `Prelude.hashWithSalt` backupArn+ `Prelude.hashWithSalt` backupId+ `Prelude.hashWithSalt` backupType+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` description+ `Prelude.hashWithSalt` engine+ `Prelude.hashWithSalt` engineModel+ `Prelude.hashWithSalt` engineVersion+ `Prelude.hashWithSalt` instanceProfileArn+ `Prelude.hashWithSalt` instanceType+ `Prelude.hashWithSalt` keyPair+ `Prelude.hashWithSalt` preferredBackupWindow+ `Prelude.hashWithSalt` preferredMaintenanceWindow+ `Prelude.hashWithSalt` s3DataSize+ `Prelude.hashWithSalt` s3DataUrl+ `Prelude.hashWithSalt` s3LogUrl+ `Prelude.hashWithSalt` securityGroupIds+ `Prelude.hashWithSalt` serverName+ `Prelude.hashWithSalt` serviceRoleArn+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` statusDescription+ `Prelude.hashWithSalt` subnetIds+ `Prelude.hashWithSalt` toolsVersion+ `Prelude.hashWithSalt` userArn++instance Prelude.NFData Backup where+ rnf Backup' {..} =+ Prelude.rnf backupArn+ `Prelude.seq` Prelude.rnf backupId+ `Prelude.seq` Prelude.rnf backupType+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf description+ `Prelude.seq` Prelude.rnf engine+ `Prelude.seq` Prelude.rnf engineModel+ `Prelude.seq` Prelude.rnf engineVersion+ `Prelude.seq` Prelude.rnf instanceProfileArn+ `Prelude.seq` Prelude.rnf instanceType+ `Prelude.seq` Prelude.rnf keyPair+ `Prelude.seq` Prelude.rnf preferredBackupWindow+ `Prelude.seq` Prelude.rnf preferredMaintenanceWindow+ `Prelude.seq` Prelude.rnf s3DataSize+ `Prelude.seq` Prelude.rnf s3DataUrl+ `Prelude.seq` Prelude.rnf s3LogUrl+ `Prelude.seq` Prelude.rnf securityGroupIds+ `Prelude.seq` Prelude.rnf serverName+ `Prelude.seq` Prelude.rnf serviceRoleArn+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf+ statusDescription+ `Prelude.seq` Prelude.rnf subnetIds+ `Prelude.seq` Prelude.rnf toolsVersion+ `Prelude.seq` Prelude.rnf userArn
+ gen/Amazonka/OpsWorksCM/Types/BackupStatus.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.BackupStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.BackupStatus+ ( BackupStatus+ ( ..,+ BackupStatus_DELETING,+ BackupStatus_FAILED,+ BackupStatus_IN_PROGRESS,+ BackupStatus_OK+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype BackupStatus = BackupStatus'+ { fromBackupStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern BackupStatus_DELETING :: BackupStatus+pattern BackupStatus_DELETING = BackupStatus' "DELETING"++pattern BackupStatus_FAILED :: BackupStatus+pattern BackupStatus_FAILED = BackupStatus' "FAILED"++pattern BackupStatus_IN_PROGRESS :: BackupStatus+pattern BackupStatus_IN_PROGRESS = BackupStatus' "IN_PROGRESS"++pattern BackupStatus_OK :: BackupStatus+pattern BackupStatus_OK = BackupStatus' "OK"++{-# COMPLETE+ BackupStatus_DELETING,+ BackupStatus_FAILED,+ BackupStatus_IN_PROGRESS,+ BackupStatus_OK,+ BackupStatus'+ #-}
+ gen/Amazonka/OpsWorksCM/Types/BackupType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.BackupType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.BackupType+ ( BackupType+ ( ..,+ BackupType_AUTOMATED,+ BackupType_MANUAL+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype BackupType = BackupType'+ { fromBackupType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern BackupType_AUTOMATED :: BackupType+pattern BackupType_AUTOMATED = BackupType' "AUTOMATED"++pattern BackupType_MANUAL :: BackupType+pattern BackupType_MANUAL = BackupType' "MANUAL"++{-# COMPLETE+ BackupType_AUTOMATED,+ BackupType_MANUAL,+ BackupType'+ #-}
+ gen/Amazonka/OpsWorksCM/Types/EngineAttribute.hs view
@@ -0,0 +1,92 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.EngineAttribute+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.EngineAttribute where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A name and value pair that is specific to the engine of the server.+--+-- /See:/ 'newEngineAttribute' smart constructor.+data EngineAttribute = EngineAttribute'+ { -- | The name of the engine attribute.+ name :: Prelude.Maybe Prelude.Text,+ -- | The value of the engine attribute.+ value :: Prelude.Maybe (Data.Sensitive Prelude.Text)+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EngineAttribute' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'engineAttribute_name' - The name of the engine attribute.+--+-- 'value', 'engineAttribute_value' - The value of the engine attribute.+newEngineAttribute ::+ EngineAttribute+newEngineAttribute =+ EngineAttribute'+ { name = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | The name of the engine attribute.+engineAttribute_name :: Lens.Lens' EngineAttribute (Prelude.Maybe Prelude.Text)+engineAttribute_name = Lens.lens (\EngineAttribute' {name} -> name) (\s@EngineAttribute' {} a -> s {name = a} :: EngineAttribute)++-- | The value of the engine attribute.+engineAttribute_value :: Lens.Lens' EngineAttribute (Prelude.Maybe Prelude.Text)+engineAttribute_value = Lens.lens (\EngineAttribute' {value} -> value) (\s@EngineAttribute' {} a -> s {value = a} :: EngineAttribute) Prelude.. Lens.mapping Data._Sensitive++instance Data.FromJSON EngineAttribute where+ parseJSON =+ Data.withObject+ "EngineAttribute"+ ( \x ->+ EngineAttribute'+ Prelude.<$> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "Value")+ )++instance Prelude.Hashable EngineAttribute where+ hashWithSalt _salt EngineAttribute' {..} =+ _salt+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` value++instance Prelude.NFData EngineAttribute where+ rnf EngineAttribute' {..} =+ Prelude.rnf name `Prelude.seq` Prelude.rnf value++instance Data.ToJSON EngineAttribute where+ toJSON EngineAttribute' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Name" Data..=) Prelude.<$> name,+ ("Value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/OpsWorksCM/Types/MaintenanceStatus.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.MaintenanceStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.MaintenanceStatus+ ( MaintenanceStatus+ ( ..,+ MaintenanceStatus_FAILED,+ MaintenanceStatus_SUCCESS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MaintenanceStatus = MaintenanceStatus'+ { fromMaintenanceStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern MaintenanceStatus_FAILED :: MaintenanceStatus+pattern MaintenanceStatus_FAILED = MaintenanceStatus' "FAILED"++pattern MaintenanceStatus_SUCCESS :: MaintenanceStatus+pattern MaintenanceStatus_SUCCESS = MaintenanceStatus' "SUCCESS"++{-# COMPLETE+ MaintenanceStatus_FAILED,+ MaintenanceStatus_SUCCESS,+ MaintenanceStatus'+ #-}
+ gen/Amazonka/OpsWorksCM/Types/NodeAssociationStatus.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.NodeAssociationStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.NodeAssociationStatus+ ( NodeAssociationStatus+ ( ..,+ NodeAssociationStatus_FAILED,+ NodeAssociationStatus_IN_PROGRESS,+ NodeAssociationStatus_SUCCESS+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+newtype NodeAssociationStatus = NodeAssociationStatus'+ { fromNodeAssociationStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern NodeAssociationStatus_FAILED :: NodeAssociationStatus+pattern NodeAssociationStatus_FAILED = NodeAssociationStatus' "FAILED"++pattern NodeAssociationStatus_IN_PROGRESS :: NodeAssociationStatus+pattern NodeAssociationStatus_IN_PROGRESS = NodeAssociationStatus' "IN_PROGRESS"++pattern NodeAssociationStatus_SUCCESS :: NodeAssociationStatus+pattern NodeAssociationStatus_SUCCESS = NodeAssociationStatus' "SUCCESS"++{-# COMPLETE+ NodeAssociationStatus_FAILED,+ NodeAssociationStatus_IN_PROGRESS,+ NodeAssociationStatus_SUCCESS,+ NodeAssociationStatus'+ #-}
+ gen/Amazonka/OpsWorksCM/Types/Server.hs view
@@ -0,0 +1,493 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.Server+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.Server where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types.EngineAttribute+import Amazonka.OpsWorksCM.Types.MaintenanceStatus+import Amazonka.OpsWorksCM.Types.ServerStatus+import qualified Amazonka.Prelude as Prelude++-- | Describes a configuration management server.+--+-- /See:/ 'newServer' smart constructor.+data Server = Server'+ { -- | Associate a public IP address with a server that you are launching.+ associatePublicIpAddress :: Prelude.Maybe Prelude.Bool,+ -- | The number of automated backups to keep.+ backupRetentionCount :: Prelude.Maybe Prelude.Int,+ -- | The ARN of the CloudFormation stack that was used to create the server.+ cloudFormationStackArn :: Prelude.Maybe Prelude.Text,+ -- | Time stamp of server creation. Example @2016-07-29T13:38:47.520Z@+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | An optional public endpoint of a server, such as+ -- @https:\/\/aws.my-company.com@. You cannot access the server by using+ -- the @Endpoint@ value if the server has a @CustomDomain@ specified.+ customDomain :: Prelude.Maybe Prelude.Text,+ -- | Disables automated backups. The number of stored backups is dependent on+ -- the value of PreferredBackupCount.+ disableAutomatedBackup :: Prelude.Maybe Prelude.Bool,+ -- | A DNS name that can be used to access the engine. Example:+ -- @myserver-asdfghjkl.us-east-1.opsworks.io@. You cannot access the server+ -- by using the @Endpoint@ value if the server has a @CustomDomain@+ -- specified.+ endpoint :: Prelude.Maybe Prelude.Text,+ -- | The engine type of the server. Valid values in this release include+ -- @ChefAutomate@ and @Puppet@.+ engine :: Prelude.Maybe Prelude.Text,+ -- | 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_AUTOMATE_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.+ engineAttributes :: Prelude.Maybe [EngineAttribute],+ -- | The engine model of the server. Valid values in this release include+ -- @Monolithic@ for Puppet and @Single@ for Chef.+ engineModel :: Prelude.Maybe Prelude.Text,+ -- | The engine version of the server. For a Chef server, the valid value for+ -- EngineVersion is currently @2@. For a Puppet server, specify either+ -- @2019@ or @2017@.+ engineVersion :: Prelude.Maybe Prelude.Text,+ -- | The instance profile ARN of the server.+ instanceProfileArn :: Prelude.Maybe Prelude.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.+ instanceType :: Prelude.Maybe Prelude.Text,+ -- | The key pair associated with the server.+ keyPair :: Prelude.Maybe Prelude.Text,+ -- | The status of the most recent server maintenance run. Shows @SUCCESS@ or+ -- @FAILED@.+ maintenanceStatus :: Prelude.Maybe MaintenanceStatus,+ -- | The preferred backup period specified for the server.+ preferredBackupWindow :: Prelude.Maybe Prelude.Text,+ -- | The preferred maintenance period specified for the server.+ preferredMaintenanceWindow :: Prelude.Maybe Prelude.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.+ securityGroupIds :: Prelude.Maybe [Prelude.Text],+ -- | The ARN of the server.+ serverArn :: Prelude.Maybe Prelude.Text,+ -- | The name of the server.+ serverName :: Prelude.Maybe Prelude.Text,+ -- | The service role ARN used to create the server.+ serviceRoleArn :: Prelude.Maybe Prelude.Text,+ -- | 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.+ status :: Prelude.Maybe ServerStatus,+ -- | 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).+ statusReason :: Prelude.Maybe Prelude.Text,+ -- | The subnet IDs specified in a CreateServer request.+ subnetIds :: Prelude.Maybe [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Server' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'associatePublicIpAddress', 'server_associatePublicIpAddress' - Associate a public IP address with a server that you are launching.+--+-- 'backupRetentionCount', 'server_backupRetentionCount' - The number of automated backups to keep.+--+-- 'cloudFormationStackArn', 'server_cloudFormationStackArn' - The ARN of the CloudFormation stack that was used to create the server.+--+-- 'createdAt', 'server_createdAt' - Time stamp of server creation. Example @2016-07-29T13:38:47.520Z@+--+-- 'customDomain', 'server_customDomain' - An optional public endpoint of a server, such as+-- @https:\/\/aws.my-company.com@. You cannot access the server by using+-- the @Endpoint@ value if the server has a @CustomDomain@ specified.+--+-- 'disableAutomatedBackup', 'server_disableAutomatedBackup' - Disables automated backups. The number of stored backups is dependent on+-- the value of PreferredBackupCount.+--+-- 'endpoint', 'server_endpoint' - A DNS name that can be used to access the engine. Example:+-- @myserver-asdfghjkl.us-east-1.opsworks.io@. You cannot access the server+-- by using the @Endpoint@ value if the server has a @CustomDomain@+-- specified.+--+-- 'engine', 'server_engine' - The engine type of the server. Valid values in this release include+-- @ChefAutomate@ and @Puppet@.+--+-- 'engineAttributes', 'server_engineAttributes' - 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_AUTOMATE_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.+--+-- 'engineModel', 'server_engineModel' - The engine model of the server. Valid values in this release include+-- @Monolithic@ for Puppet and @Single@ for Chef.+--+-- 'engineVersion', 'server_engineVersion' - The engine version of the server. For a Chef server, the valid value for+-- EngineVersion is currently @2@. For a Puppet server, specify either+-- @2019@ or @2017@.+--+-- 'instanceProfileArn', 'server_instanceProfileArn' - The instance profile ARN of the server.+--+-- 'instanceType', 'server_instanceType' - 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.+--+-- 'keyPair', 'server_keyPair' - The key pair associated with the server.+--+-- 'maintenanceStatus', 'server_maintenanceStatus' - The status of the most recent server maintenance run. Shows @SUCCESS@ or+-- @FAILED@.+--+-- 'preferredBackupWindow', 'server_preferredBackupWindow' - The preferred backup period specified for the server.+--+-- 'preferredMaintenanceWindow', 'server_preferredMaintenanceWindow' - The preferred maintenance period specified for the server.+--+-- 'securityGroupIds', 'server_securityGroupIds' - 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.+--+-- 'serverArn', 'server_serverArn' - The ARN of the server.+--+-- 'serverName', 'server_serverName' - The name of the server.+--+-- 'serviceRoleArn', 'server_serviceRoleArn' - The service role ARN used to create the server.+--+-- 'status', 'server_status' - 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.+--+-- 'statusReason', 'server_statusReason' - 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).+--+-- 'subnetIds', 'server_subnetIds' - The subnet IDs specified in a CreateServer request.+newServer ::+ Server+newServer =+ Server'+ { associatePublicIpAddress = Prelude.Nothing,+ backupRetentionCount = Prelude.Nothing,+ cloudFormationStackArn = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ customDomain = Prelude.Nothing,+ disableAutomatedBackup = Prelude.Nothing,+ endpoint = Prelude.Nothing,+ engine = Prelude.Nothing,+ engineAttributes = Prelude.Nothing,+ engineModel = Prelude.Nothing,+ engineVersion = Prelude.Nothing,+ instanceProfileArn = Prelude.Nothing,+ instanceType = Prelude.Nothing,+ keyPair = Prelude.Nothing,+ maintenanceStatus = Prelude.Nothing,+ preferredBackupWindow = Prelude.Nothing,+ preferredMaintenanceWindow = Prelude.Nothing,+ securityGroupIds = Prelude.Nothing,+ serverArn = Prelude.Nothing,+ serverName = Prelude.Nothing,+ serviceRoleArn = Prelude.Nothing,+ status = Prelude.Nothing,+ statusReason = Prelude.Nothing,+ subnetIds = Prelude.Nothing+ }++-- | Associate a public IP address with a server that you are launching.+server_associatePublicIpAddress :: Lens.Lens' Server (Prelude.Maybe Prelude.Bool)+server_associatePublicIpAddress = Lens.lens (\Server' {associatePublicIpAddress} -> associatePublicIpAddress) (\s@Server' {} a -> s {associatePublicIpAddress = a} :: Server)++-- | The number of automated backups to keep.+server_backupRetentionCount :: Lens.Lens' Server (Prelude.Maybe Prelude.Int)+server_backupRetentionCount = Lens.lens (\Server' {backupRetentionCount} -> backupRetentionCount) (\s@Server' {} a -> s {backupRetentionCount = a} :: Server)++-- | The ARN of the CloudFormation stack that was used to create the server.+server_cloudFormationStackArn :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_cloudFormationStackArn = Lens.lens (\Server' {cloudFormationStackArn} -> cloudFormationStackArn) (\s@Server' {} a -> s {cloudFormationStackArn = a} :: Server)++-- | Time stamp of server creation. Example @2016-07-29T13:38:47.520Z@+server_createdAt :: Lens.Lens' Server (Prelude.Maybe Prelude.UTCTime)+server_createdAt = Lens.lens (\Server' {createdAt} -> createdAt) (\s@Server' {} a -> s {createdAt = a} :: Server) Prelude.. Lens.mapping Data._Time++-- | An optional public endpoint of a server, such as+-- @https:\/\/aws.my-company.com@. You cannot access the server by using+-- the @Endpoint@ value if the server has a @CustomDomain@ specified.+server_customDomain :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_customDomain = Lens.lens (\Server' {customDomain} -> customDomain) (\s@Server' {} a -> s {customDomain = a} :: Server)++-- | Disables automated backups. The number of stored backups is dependent on+-- the value of PreferredBackupCount.+server_disableAutomatedBackup :: Lens.Lens' Server (Prelude.Maybe Prelude.Bool)+server_disableAutomatedBackup = Lens.lens (\Server' {disableAutomatedBackup} -> disableAutomatedBackup) (\s@Server' {} a -> s {disableAutomatedBackup = a} :: Server)++-- | A DNS name that can be used to access the engine. Example:+-- @myserver-asdfghjkl.us-east-1.opsworks.io@. You cannot access the server+-- by using the @Endpoint@ value if the server has a @CustomDomain@+-- specified.+server_endpoint :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_endpoint = Lens.lens (\Server' {endpoint} -> endpoint) (\s@Server' {} a -> s {endpoint = a} :: Server)++-- | The engine type of the server. Valid values in this release include+-- @ChefAutomate@ and @Puppet@.+server_engine :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_engine = Lens.lens (\Server' {engine} -> engine) (\s@Server' {} a -> s {engine = a} :: Server)++-- | 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_AUTOMATE_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.+server_engineAttributes :: Lens.Lens' Server (Prelude.Maybe [EngineAttribute])+server_engineAttributes = Lens.lens (\Server' {engineAttributes} -> engineAttributes) (\s@Server' {} a -> s {engineAttributes = a} :: Server) Prelude.. Lens.mapping Lens.coerced++-- | The engine model of the server. Valid values in this release include+-- @Monolithic@ for Puppet and @Single@ for Chef.+server_engineModel :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_engineModel = Lens.lens (\Server' {engineModel} -> engineModel) (\s@Server' {} a -> s {engineModel = a} :: Server)++-- | The engine version of the server. For a Chef server, the valid value for+-- EngineVersion is currently @2@. For a Puppet server, specify either+-- @2019@ or @2017@.+server_engineVersion :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_engineVersion = Lens.lens (\Server' {engineVersion} -> engineVersion) (\s@Server' {} a -> s {engineVersion = a} :: Server)++-- | The instance profile ARN of the server.+server_instanceProfileArn :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_instanceProfileArn = Lens.lens (\Server' {instanceProfileArn} -> instanceProfileArn) (\s@Server' {} a -> s {instanceProfileArn = a} :: Server)++-- | 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.+server_instanceType :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_instanceType = Lens.lens (\Server' {instanceType} -> instanceType) (\s@Server' {} a -> s {instanceType = a} :: Server)++-- | The key pair associated with the server.+server_keyPair :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_keyPair = Lens.lens (\Server' {keyPair} -> keyPair) (\s@Server' {} a -> s {keyPair = a} :: Server)++-- | The status of the most recent server maintenance run. Shows @SUCCESS@ or+-- @FAILED@.+server_maintenanceStatus :: Lens.Lens' Server (Prelude.Maybe MaintenanceStatus)+server_maintenanceStatus = Lens.lens (\Server' {maintenanceStatus} -> maintenanceStatus) (\s@Server' {} a -> s {maintenanceStatus = a} :: Server)++-- | The preferred backup period specified for the server.+server_preferredBackupWindow :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_preferredBackupWindow = Lens.lens (\Server' {preferredBackupWindow} -> preferredBackupWindow) (\s@Server' {} a -> s {preferredBackupWindow = a} :: Server)++-- | The preferred maintenance period specified for the server.+server_preferredMaintenanceWindow :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_preferredMaintenanceWindow = Lens.lens (\Server' {preferredMaintenanceWindow} -> preferredMaintenanceWindow) (\s@Server' {} a -> s {preferredMaintenanceWindow = a} :: Server)++-- | 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.+server_securityGroupIds :: Lens.Lens' Server (Prelude.Maybe [Prelude.Text])+server_securityGroupIds = Lens.lens (\Server' {securityGroupIds} -> securityGroupIds) (\s@Server' {} a -> s {securityGroupIds = a} :: Server) Prelude.. Lens.mapping Lens.coerced++-- | The ARN of the server.+server_serverArn :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_serverArn = Lens.lens (\Server' {serverArn} -> serverArn) (\s@Server' {} a -> s {serverArn = a} :: Server)++-- | The name of the server.+server_serverName :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_serverName = Lens.lens (\Server' {serverName} -> serverName) (\s@Server' {} a -> s {serverName = a} :: Server)++-- | The service role ARN used to create the server.+server_serviceRoleArn :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_serviceRoleArn = Lens.lens (\Server' {serviceRoleArn} -> serviceRoleArn) (\s@Server' {} a -> s {serviceRoleArn = a} :: Server)++-- | 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.+server_status :: Lens.Lens' Server (Prelude.Maybe ServerStatus)+server_status = Lens.lens (\Server' {status} -> status) (\s@Server' {} a -> s {status = a} :: Server)++-- | 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).+server_statusReason :: Lens.Lens' Server (Prelude.Maybe Prelude.Text)+server_statusReason = Lens.lens (\Server' {statusReason} -> statusReason) (\s@Server' {} a -> s {statusReason = a} :: Server)++-- | The subnet IDs specified in a CreateServer request.+server_subnetIds :: Lens.Lens' Server (Prelude.Maybe [Prelude.Text])+server_subnetIds = Lens.lens (\Server' {subnetIds} -> subnetIds) (\s@Server' {} a -> s {subnetIds = a} :: Server) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON Server where+ parseJSON =+ Data.withObject+ "Server"+ ( \x ->+ Server'+ Prelude.<$> (x Data..:? "AssociatePublicIpAddress")+ Prelude.<*> (x Data..:? "BackupRetentionCount")+ Prelude.<*> (x Data..:? "CloudFormationStackArn")+ Prelude.<*> (x Data..:? "CreatedAt")+ Prelude.<*> (x Data..:? "CustomDomain")+ Prelude.<*> (x Data..:? "DisableAutomatedBackup")+ Prelude.<*> (x Data..:? "Endpoint")+ Prelude.<*> (x Data..:? "Engine")+ Prelude.<*> ( x+ Data..:? "EngineAttributes"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "EngineModel")+ Prelude.<*> (x Data..:? "EngineVersion")+ Prelude.<*> (x Data..:? "InstanceProfileArn")+ Prelude.<*> (x Data..:? "InstanceType")+ Prelude.<*> (x Data..:? "KeyPair")+ Prelude.<*> (x Data..:? "MaintenanceStatus")+ Prelude.<*> (x Data..:? "PreferredBackupWindow")+ Prelude.<*> (x Data..:? "PreferredMaintenanceWindow")+ Prelude.<*> ( x+ Data..:? "SecurityGroupIds"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "ServerArn")+ Prelude.<*> (x Data..:? "ServerName")+ Prelude.<*> (x Data..:? "ServiceRoleArn")+ Prelude.<*> (x Data..:? "Status")+ Prelude.<*> (x Data..:? "StatusReason")+ Prelude.<*> (x Data..:? "SubnetIds" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable Server where+ hashWithSalt _salt Server' {..} =+ _salt+ `Prelude.hashWithSalt` associatePublicIpAddress+ `Prelude.hashWithSalt` backupRetentionCount+ `Prelude.hashWithSalt` cloudFormationStackArn+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` customDomain+ `Prelude.hashWithSalt` disableAutomatedBackup+ `Prelude.hashWithSalt` endpoint+ `Prelude.hashWithSalt` engine+ `Prelude.hashWithSalt` engineAttributes+ `Prelude.hashWithSalt` engineModel+ `Prelude.hashWithSalt` engineVersion+ `Prelude.hashWithSalt` instanceProfileArn+ `Prelude.hashWithSalt` instanceType+ `Prelude.hashWithSalt` keyPair+ `Prelude.hashWithSalt` maintenanceStatus+ `Prelude.hashWithSalt` preferredBackupWindow+ `Prelude.hashWithSalt` preferredMaintenanceWindow+ `Prelude.hashWithSalt` securityGroupIds+ `Prelude.hashWithSalt` serverArn+ `Prelude.hashWithSalt` serverName+ `Prelude.hashWithSalt` serviceRoleArn+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` statusReason+ `Prelude.hashWithSalt` subnetIds++instance Prelude.NFData Server where+ rnf Server' {..} =+ Prelude.rnf associatePublicIpAddress+ `Prelude.seq` Prelude.rnf backupRetentionCount+ `Prelude.seq` Prelude.rnf cloudFormationStackArn+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf customDomain+ `Prelude.seq` Prelude.rnf disableAutomatedBackup+ `Prelude.seq` Prelude.rnf endpoint+ `Prelude.seq` Prelude.rnf engine+ `Prelude.seq` Prelude.rnf engineAttributes+ `Prelude.seq` Prelude.rnf engineModel+ `Prelude.seq` Prelude.rnf engineVersion+ `Prelude.seq` Prelude.rnf instanceProfileArn+ `Prelude.seq` Prelude.rnf instanceType+ `Prelude.seq` Prelude.rnf keyPair+ `Prelude.seq` Prelude.rnf maintenanceStatus+ `Prelude.seq` Prelude.rnf preferredBackupWindow+ `Prelude.seq` Prelude.rnf+ preferredMaintenanceWindow+ `Prelude.seq` Prelude.rnf securityGroupIds+ `Prelude.seq` Prelude.rnf serverArn+ `Prelude.seq` Prelude.rnf serverName+ `Prelude.seq` Prelude.rnf serviceRoleArn+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf statusReason+ `Prelude.seq` Prelude.rnf subnetIds
+ gen/Amazonka/OpsWorksCM/Types/ServerEvent.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.ServerEvent+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.ServerEvent where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | An event that is related to the server, such as the start of maintenance+-- or backup.+--+-- /See:/ 'newServerEvent' smart constructor.+data ServerEvent = ServerEvent'+ { -- | The time when the event occurred.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The Amazon S3 URL of the event\'s log file.+ logUrl :: Prelude.Maybe Prelude.Text,+ -- | A human-readable informational or status message.+ message :: Prelude.Maybe Prelude.Text,+ -- | The name of the server on or for which the event occurred.+ serverName :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ServerEvent' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'createdAt', 'serverEvent_createdAt' - The time when the event occurred.+--+-- 'logUrl', 'serverEvent_logUrl' - The Amazon S3 URL of the event\'s log file.+--+-- 'message', 'serverEvent_message' - A human-readable informational or status message.+--+-- 'serverName', 'serverEvent_serverName' - The name of the server on or for which the event occurred.+newServerEvent ::+ ServerEvent+newServerEvent =+ ServerEvent'+ { createdAt = Prelude.Nothing,+ logUrl = Prelude.Nothing,+ message = Prelude.Nothing,+ serverName = Prelude.Nothing+ }++-- | The time when the event occurred.+serverEvent_createdAt :: Lens.Lens' ServerEvent (Prelude.Maybe Prelude.UTCTime)+serverEvent_createdAt = Lens.lens (\ServerEvent' {createdAt} -> createdAt) (\s@ServerEvent' {} a -> s {createdAt = a} :: ServerEvent) Prelude.. Lens.mapping Data._Time++-- | The Amazon S3 URL of the event\'s log file.+serverEvent_logUrl :: Lens.Lens' ServerEvent (Prelude.Maybe Prelude.Text)+serverEvent_logUrl = Lens.lens (\ServerEvent' {logUrl} -> logUrl) (\s@ServerEvent' {} a -> s {logUrl = a} :: ServerEvent)++-- | A human-readable informational or status message.+serverEvent_message :: Lens.Lens' ServerEvent (Prelude.Maybe Prelude.Text)+serverEvent_message = Lens.lens (\ServerEvent' {message} -> message) (\s@ServerEvent' {} a -> s {message = a} :: ServerEvent)++-- | The name of the server on or for which the event occurred.+serverEvent_serverName :: Lens.Lens' ServerEvent (Prelude.Maybe Prelude.Text)+serverEvent_serverName = Lens.lens (\ServerEvent' {serverName} -> serverName) (\s@ServerEvent' {} a -> s {serverName = a} :: ServerEvent)++instance Data.FromJSON ServerEvent where+ parseJSON =+ Data.withObject+ "ServerEvent"+ ( \x ->+ ServerEvent'+ Prelude.<$> (x Data..:? "CreatedAt")+ Prelude.<*> (x Data..:? "LogUrl")+ Prelude.<*> (x Data..:? "Message")+ Prelude.<*> (x Data..:? "ServerName")+ )++instance Prelude.Hashable ServerEvent where+ hashWithSalt _salt ServerEvent' {..} =+ _salt+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` logUrl+ `Prelude.hashWithSalt` message+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData ServerEvent where+ rnf ServerEvent' {..} =+ Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf logUrl+ `Prelude.seq` Prelude.rnf message+ `Prelude.seq` Prelude.rnf serverName
+ gen/Amazonka/OpsWorksCM/Types/ServerStatus.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.ServerStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.ServerStatus+ ( ServerStatus+ ( ..,+ ServerStatus_BACKING_UP,+ ServerStatus_CONNECTION_LOST,+ ServerStatus_CREATING,+ ServerStatus_DELETING,+ ServerStatus_FAILED,+ ServerStatus_HEALTHY,+ ServerStatus_MODIFYING,+ ServerStatus_RESTORING,+ ServerStatus_RUNNING,+ ServerStatus_SETUP,+ ServerStatus_TERMINATED,+ ServerStatus_UNDER_MAINTENANCE,+ ServerStatus_UNHEALTHY+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ServerStatus = ServerStatus'+ { fromServerStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern ServerStatus_BACKING_UP :: ServerStatus+pattern ServerStatus_BACKING_UP = ServerStatus' "BACKING_UP"++pattern ServerStatus_CONNECTION_LOST :: ServerStatus+pattern ServerStatus_CONNECTION_LOST = ServerStatus' "CONNECTION_LOST"++pattern ServerStatus_CREATING :: ServerStatus+pattern ServerStatus_CREATING = ServerStatus' "CREATING"++pattern ServerStatus_DELETING :: ServerStatus+pattern ServerStatus_DELETING = ServerStatus' "DELETING"++pattern ServerStatus_FAILED :: ServerStatus+pattern ServerStatus_FAILED = ServerStatus' "FAILED"++pattern ServerStatus_HEALTHY :: ServerStatus+pattern ServerStatus_HEALTHY = ServerStatus' "HEALTHY"++pattern ServerStatus_MODIFYING :: ServerStatus+pattern ServerStatus_MODIFYING = ServerStatus' "MODIFYING"++pattern ServerStatus_RESTORING :: ServerStatus+pattern ServerStatus_RESTORING = ServerStatus' "RESTORING"++pattern ServerStatus_RUNNING :: ServerStatus+pattern ServerStatus_RUNNING = ServerStatus' "RUNNING"++pattern ServerStatus_SETUP :: ServerStatus+pattern ServerStatus_SETUP = ServerStatus' "SETUP"++pattern ServerStatus_TERMINATED :: ServerStatus+pattern ServerStatus_TERMINATED = ServerStatus' "TERMINATED"++pattern ServerStatus_UNDER_MAINTENANCE :: ServerStatus+pattern ServerStatus_UNDER_MAINTENANCE = ServerStatus' "UNDER_MAINTENANCE"++pattern ServerStatus_UNHEALTHY :: ServerStatus+pattern ServerStatus_UNHEALTHY = ServerStatus' "UNHEALTHY"++{-# COMPLETE+ ServerStatus_BACKING_UP,+ ServerStatus_CONNECTION_LOST,+ ServerStatus_CREATING,+ ServerStatus_DELETING,+ ServerStatus_FAILED,+ ServerStatus_HEALTHY,+ ServerStatus_MODIFYING,+ ServerStatus_RESTORING,+ ServerStatus_RUNNING,+ ServerStatus_SETUP,+ ServerStatus_TERMINATED,+ ServerStatus_UNDER_MAINTENANCE,+ ServerStatus_UNHEALTHY,+ ServerStatus'+ #-}
+ gen/Amazonka/OpsWorksCM/Types/Tag.hs view
@@ -0,0 +1,115 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Types.Tag+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Types.Tag where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A map that contains tag keys and tag values to attach to an AWS OpsWorks+-- for Chef Automate or AWS OpsWorks for Puppet Enterprise server. Leading+-- and trailing white spaces are trimmed from both the key and value. A+-- maximum of 50 user-applied tags is allowed for tag-supported AWS+-- OpsWorks-CM resources.+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+ { -- | A tag key, such as @Stage@ or @Name@. A tag key cannot be empty. The key+ -- can be a maximum of 127 characters, and can contain only Unicode+ -- letters, numbers, or separators, or the following special characters:+ -- @+ - = . _ : \/@+ key :: Prelude.Text,+ -- | An optional tag value, such as @Production@ or @test-owcm-server@. The+ -- value can be a maximum of 255 characters, and contain only Unicode+ -- letters, numbers, or separators, or the following special characters:+ -- @+ - = . _ : \/@+ value :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'key', 'tag_key' - A tag key, such as @Stage@ or @Name@. A tag key cannot be empty. The key+-- can be a maximum of 127 characters, and can contain only Unicode+-- letters, numbers, or separators, or the following special characters:+-- @+ - = . _ : \/@+--+-- 'value', 'tag_value' - An optional tag value, such as @Production@ or @test-owcm-server@. The+-- value can be a maximum of 255 characters, and contain only Unicode+-- letters, numbers, or separators, or the following special characters:+-- @+ - = . _ : \/@+newTag ::+ -- | 'key'+ Prelude.Text ->+ -- | 'value'+ Prelude.Text ->+ Tag+newTag pKey_ pValue_ =+ Tag' {key = pKey_, value = pValue_}++-- | A tag key, such as @Stage@ or @Name@. A tag key cannot be empty. The key+-- can be a maximum of 127 characters, and can contain only Unicode+-- letters, numbers, or separators, or the following special characters:+-- @+ - = . _ : \/@+tag_key :: Lens.Lens' Tag Prelude.Text+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++-- | An optional tag value, such as @Production@ or @test-owcm-server@. The+-- value can be a maximum of 255 characters, and contain only Unicode+-- letters, numbers, or separators, or the following special characters:+-- @+ - = . _ : \/@+tag_value :: Lens.Lens' Tag Prelude.Text+tag_value = Lens.lens (\Tag' {value} -> value) (\s@Tag' {} a -> s {value = a} :: Tag)++instance Data.FromJSON Tag where+ parseJSON =+ Data.withObject+ "Tag"+ ( \x ->+ Tag'+ Prelude.<$> (x Data..: "Key")+ Prelude.<*> (x Data..: "Value")+ )++instance Prelude.Hashable Tag where+ hashWithSalt _salt Tag' {..} =+ _salt+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` value++instance Prelude.NFData Tag where+ rnf Tag' {..} =+ Prelude.rnf key `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Tag where+ toJSON Tag' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Key" Data..= key),+ Prelude.Just ("Value" Data..= value)+ ]+ )
+ gen/Amazonka/OpsWorksCM/UntagResource.hs view
@@ -0,0 +1,177 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.UntagResource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes specified tags from an AWS OpsWorks-CM server or backup.+module Amazonka.OpsWorksCM.UntagResource+ ( -- * Creating a Request+ UntagResource (..),+ newUntagResource,++ -- * Request Lenses+ untagResource_resourceArn,+ untagResource_tagKeys,++ -- * Destructuring the Response+ UntagResourceResponse (..),+ newUntagResourceResponse,++ -- * Response Lenses+ untagResourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUntagResource' smart constructor.+data UntagResource = UntagResource'+ { -- | The Amazon Resource Number (ARN) of a resource from which you want to+ -- remove tags. For example,+ -- @arn:aws:opsworks-cm:us-west-2:123456789012:server\/test-owcm-server\/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE@.+ resourceArn :: Prelude.Text,+ -- | The keys of tags that you want to remove.+ tagKeys :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'untagResource_resourceArn' - The Amazon Resource Number (ARN) of a resource from which you want to+-- remove tags. For example,+-- @arn:aws:opsworks-cm:us-west-2:123456789012:server\/test-owcm-server\/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE@.+--+-- 'tagKeys', 'untagResource_tagKeys' - The keys of tags that you want to remove.+newUntagResource ::+ -- | 'resourceArn'+ Prelude.Text ->+ UntagResource+newUntagResource pResourceArn_ =+ UntagResource'+ { resourceArn = pResourceArn_,+ tagKeys = Prelude.mempty+ }++-- | The Amazon Resource Number (ARN) of a resource from which you want to+-- remove tags. For example,+-- @arn:aws:opsworks-cm:us-west-2:123456789012:server\/test-owcm-server\/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE@.+untagResource_resourceArn :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceArn = Lens.lens (\UntagResource' {resourceArn} -> resourceArn) (\s@UntagResource' {} a -> s {resourceArn = a} :: UntagResource)++-- | The keys of tags that you want to remove.+untagResource_tagKeys :: Lens.Lens' UntagResource [Prelude.Text]+untagResource_tagKeys = Lens.lens (\UntagResource' {tagKeys} -> tagKeys) (\s@UntagResource' {} a -> s {tagKeys = a} :: UntagResource) Prelude.. Lens.coerced++instance Core.AWSRequest UntagResource where+ type+ AWSResponse UntagResource =+ UntagResourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveEmpty+ ( \s h x ->+ UntagResourceResponse'+ Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UntagResource where+ hashWithSalt _salt UntagResource' {..} =+ _salt+ `Prelude.hashWithSalt` resourceArn+ `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData UntagResource where+ rnf UntagResource' {..} =+ Prelude.rnf resourceArn+ `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders UntagResource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.UntagResource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UntagResource where+ toJSON UntagResource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceArn" Data..= resourceArn),+ Prelude.Just ("TagKeys" Data..= tagKeys)+ ]+ )++instance Data.ToPath UntagResource where+ toPath = Prelude.const "/"++instance Data.ToQuery UntagResource where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUntagResourceResponse' smart constructor.+data UntagResourceResponse = UntagResourceResponse'+ { -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'untagResourceResponse_httpStatus' - The response's http status code.+newUntagResourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UntagResourceResponse+newUntagResourceResponse pHttpStatus_ =+ UntagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+untagResourceResponse_httpStatus :: Lens.Lens' UntagResourceResponse Prelude.Int+untagResourceResponse_httpStatus = Lens.lens (\UntagResourceResponse' {httpStatus} -> httpStatus) (\s@UntagResourceResponse' {} a -> s {httpStatus = a} :: UntagResourceResponse)++instance Prelude.NFData UntagResourceResponse where+ rnf UntagResourceResponse' {..} =+ Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/UpdateServer.hs view
@@ -0,0 +1,230 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.UpdateServer+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates settings for a server.+--+-- This operation is synchronous.+module Amazonka.OpsWorksCM.UpdateServer+ ( -- * Creating a Request+ UpdateServer (..),+ newUpdateServer,++ -- * Request Lenses+ updateServer_backupRetentionCount,+ updateServer_disableAutomatedBackup,+ updateServer_preferredBackupWindow,+ updateServer_preferredMaintenanceWindow,+ updateServer_serverName,++ -- * Destructuring the Response+ UpdateServerResponse (..),+ newUpdateServerResponse,++ -- * Response Lenses+ updateServerResponse_server,+ updateServerResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateServer' smart constructor.+data UpdateServer = UpdateServer'+ { -- | Sets the number of automated backups that you want to keep.+ backupRetentionCount :: Prelude.Maybe Prelude.Int,+ -- | Setting DisableAutomatedBackup to @true@ disables automated or scheduled+ -- backups. Automated backups are enabled by default.+ disableAutomatedBackup :: Prelude.Maybe Prelude.Bool,+ preferredBackupWindow :: Prelude.Maybe Prelude.Text,+ preferredMaintenanceWindow :: Prelude.Maybe Prelude.Text,+ -- | The name of the server to update.+ serverName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateServer' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupRetentionCount', 'updateServer_backupRetentionCount' - Sets the number of automated backups that you want to keep.+--+-- 'disableAutomatedBackup', 'updateServer_disableAutomatedBackup' - Setting DisableAutomatedBackup to @true@ disables automated or scheduled+-- backups. Automated backups are enabled by default.+--+-- 'preferredBackupWindow', 'updateServer_preferredBackupWindow' - Undocumented member.+--+-- 'preferredMaintenanceWindow', 'updateServer_preferredMaintenanceWindow' - Undocumented member.+--+-- 'serverName', 'updateServer_serverName' - The name of the server to update.+newUpdateServer ::+ -- | 'serverName'+ Prelude.Text ->+ UpdateServer+newUpdateServer pServerName_ =+ UpdateServer'+ { backupRetentionCount =+ Prelude.Nothing,+ disableAutomatedBackup = Prelude.Nothing,+ preferredBackupWindow = Prelude.Nothing,+ preferredMaintenanceWindow = Prelude.Nothing,+ serverName = pServerName_+ }++-- | Sets the number of automated backups that you want to keep.+updateServer_backupRetentionCount :: Lens.Lens' UpdateServer (Prelude.Maybe Prelude.Int)+updateServer_backupRetentionCount = Lens.lens (\UpdateServer' {backupRetentionCount} -> backupRetentionCount) (\s@UpdateServer' {} a -> s {backupRetentionCount = a} :: UpdateServer)++-- | Setting DisableAutomatedBackup to @true@ disables automated or scheduled+-- backups. Automated backups are enabled by default.+updateServer_disableAutomatedBackup :: Lens.Lens' UpdateServer (Prelude.Maybe Prelude.Bool)+updateServer_disableAutomatedBackup = Lens.lens (\UpdateServer' {disableAutomatedBackup} -> disableAutomatedBackup) (\s@UpdateServer' {} a -> s {disableAutomatedBackup = a} :: UpdateServer)++-- | Undocumented member.+updateServer_preferredBackupWindow :: Lens.Lens' UpdateServer (Prelude.Maybe Prelude.Text)+updateServer_preferredBackupWindow = Lens.lens (\UpdateServer' {preferredBackupWindow} -> preferredBackupWindow) (\s@UpdateServer' {} a -> s {preferredBackupWindow = a} :: UpdateServer)++-- | Undocumented member.+updateServer_preferredMaintenanceWindow :: Lens.Lens' UpdateServer (Prelude.Maybe Prelude.Text)+updateServer_preferredMaintenanceWindow = Lens.lens (\UpdateServer' {preferredMaintenanceWindow} -> preferredMaintenanceWindow) (\s@UpdateServer' {} a -> s {preferredMaintenanceWindow = a} :: UpdateServer)++-- | The name of the server to update.+updateServer_serverName :: Lens.Lens' UpdateServer Prelude.Text+updateServer_serverName = Lens.lens (\UpdateServer' {serverName} -> serverName) (\s@UpdateServer' {} a -> s {serverName = a} :: UpdateServer)++instance Core.AWSRequest UpdateServer where+ type AWSResponse UpdateServer = UpdateServerResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateServerResponse'+ Prelude.<$> (x Data..?> "Server")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateServer where+ hashWithSalt _salt UpdateServer' {..} =+ _salt+ `Prelude.hashWithSalt` backupRetentionCount+ `Prelude.hashWithSalt` disableAutomatedBackup+ `Prelude.hashWithSalt` preferredBackupWindow+ `Prelude.hashWithSalt` preferredMaintenanceWindow+ `Prelude.hashWithSalt` serverName++instance Prelude.NFData UpdateServer where+ rnf UpdateServer' {..} =+ Prelude.rnf backupRetentionCount+ `Prelude.seq` Prelude.rnf disableAutomatedBackup+ `Prelude.seq` Prelude.rnf preferredBackupWindow+ `Prelude.seq` Prelude.rnf preferredMaintenanceWindow+ `Prelude.seq` Prelude.rnf serverName++instance Data.ToHeaders UpdateServer where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.UpdateServer" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateServer where+ toJSON UpdateServer' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("BackupRetentionCount" Data..=)+ Prelude.<$> backupRetentionCount,+ ("DisableAutomatedBackup" Data..=)+ Prelude.<$> disableAutomatedBackup,+ ("PreferredBackupWindow" Data..=)+ Prelude.<$> preferredBackupWindow,+ ("PreferredMaintenanceWindow" Data..=)+ Prelude.<$> preferredMaintenanceWindow,+ Prelude.Just ("ServerName" Data..= serverName)+ ]+ )++instance Data.ToPath UpdateServer where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateServer where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateServerResponse' smart constructor.+data UpdateServerResponse = UpdateServerResponse'+ { -- | Contains the response to a @UpdateServer@ request.+ server :: Prelude.Maybe Server,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateServerResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'server', 'updateServerResponse_server' - Contains the response to a @UpdateServer@ request.+--+-- 'httpStatus', 'updateServerResponse_httpStatus' - The response's http status code.+newUpdateServerResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateServerResponse+newUpdateServerResponse pHttpStatus_ =+ UpdateServerResponse'+ { server = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Contains the response to a @UpdateServer@ request.+updateServerResponse_server :: Lens.Lens' UpdateServerResponse (Prelude.Maybe Server)+updateServerResponse_server = Lens.lens (\UpdateServerResponse' {server} -> server) (\s@UpdateServerResponse' {} a -> s {server = a} :: UpdateServerResponse)++-- | The response's http status code.+updateServerResponse_httpStatus :: Lens.Lens' UpdateServerResponse Prelude.Int+updateServerResponse_httpStatus = Lens.lens (\UpdateServerResponse' {httpStatus} -> httpStatus) (\s@UpdateServerResponse' {} a -> s {httpStatus = a} :: UpdateServerResponse)++instance Prelude.NFData UpdateServerResponse where+ rnf UpdateServerResponse' {..} =+ Prelude.rnf server+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/UpdateServerEngineAttributes.hs view
@@ -0,0 +1,224 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.UpdateServerEngineAttributes+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates engine-specific attributes on a specified server. The server+-- enters the @MODIFYING@ state when this operation is in progress. Only+-- one update can occur at a time. You can use this command to reset a Chef+-- server\'s public key (@CHEF_PIVOTAL_KEY@) or a Puppet server\'s admin+-- password (@PUPPET_ADMIN_PASSWORD@).+--+-- This operation is asynchronous.+--+-- This operation can only be called for servers in @HEALTHY@ or+-- @UNHEALTHY@ states. Otherwise, an @InvalidStateException@ is raised. A+-- @ResourceNotFoundException@ is thrown when the server does not exist. A+-- @ValidationException@ is raised when parameters of the request are not+-- valid.+module Amazonka.OpsWorksCM.UpdateServerEngineAttributes+ ( -- * Creating a Request+ UpdateServerEngineAttributes (..),+ newUpdateServerEngineAttributes,++ -- * Request Lenses+ updateServerEngineAttributes_attributeValue,+ updateServerEngineAttributes_serverName,+ updateServerEngineAttributes_attributeName,++ -- * Destructuring the Response+ UpdateServerEngineAttributesResponse (..),+ newUpdateServerEngineAttributesResponse,++ -- * Response Lenses+ updateServerEngineAttributesResponse_server,+ updateServerEngineAttributesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateServerEngineAttributes' smart constructor.+data UpdateServerEngineAttributes = UpdateServerEngineAttributes'+ { -- | The value to set for the attribute.+ attributeValue :: Prelude.Maybe Prelude.Text,+ -- | The name of the server to update.+ serverName :: Prelude.Text,+ -- | The name of the engine attribute to update.+ attributeName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateServerEngineAttributes' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'attributeValue', 'updateServerEngineAttributes_attributeValue' - The value to set for the attribute.+--+-- 'serverName', 'updateServerEngineAttributes_serverName' - The name of the server to update.+--+-- 'attributeName', 'updateServerEngineAttributes_attributeName' - The name of the engine attribute to update.+newUpdateServerEngineAttributes ::+ -- | 'serverName'+ Prelude.Text ->+ -- | 'attributeName'+ Prelude.Text ->+ UpdateServerEngineAttributes+newUpdateServerEngineAttributes+ pServerName_+ pAttributeName_ =+ UpdateServerEngineAttributes'+ { attributeValue =+ Prelude.Nothing,+ serverName = pServerName_,+ attributeName = pAttributeName_+ }++-- | The value to set for the attribute.+updateServerEngineAttributes_attributeValue :: Lens.Lens' UpdateServerEngineAttributes (Prelude.Maybe Prelude.Text)+updateServerEngineAttributes_attributeValue = Lens.lens (\UpdateServerEngineAttributes' {attributeValue} -> attributeValue) (\s@UpdateServerEngineAttributes' {} a -> s {attributeValue = a} :: UpdateServerEngineAttributes)++-- | The name of the server to update.+updateServerEngineAttributes_serverName :: Lens.Lens' UpdateServerEngineAttributes Prelude.Text+updateServerEngineAttributes_serverName = Lens.lens (\UpdateServerEngineAttributes' {serverName} -> serverName) (\s@UpdateServerEngineAttributes' {} a -> s {serverName = a} :: UpdateServerEngineAttributes)++-- | The name of the engine attribute to update.+updateServerEngineAttributes_attributeName :: Lens.Lens' UpdateServerEngineAttributes Prelude.Text+updateServerEngineAttributes_attributeName = Lens.lens (\UpdateServerEngineAttributes' {attributeName} -> attributeName) (\s@UpdateServerEngineAttributes' {} a -> s {attributeName = a} :: UpdateServerEngineAttributes)++instance Core.AWSRequest UpdateServerEngineAttributes where+ type+ AWSResponse UpdateServerEngineAttributes =+ UpdateServerEngineAttributesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateServerEngineAttributesResponse'+ Prelude.<$> (x Data..?> "Server")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ UpdateServerEngineAttributes+ where+ hashWithSalt _salt UpdateServerEngineAttributes' {..} =+ _salt+ `Prelude.hashWithSalt` attributeValue+ `Prelude.hashWithSalt` serverName+ `Prelude.hashWithSalt` attributeName++instance Prelude.NFData UpdateServerEngineAttributes where+ rnf UpdateServerEngineAttributes' {..} =+ Prelude.rnf attributeValue+ `Prelude.seq` Prelude.rnf serverName+ `Prelude.seq` Prelude.rnf attributeName++instance Data.ToHeaders UpdateServerEngineAttributes where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "OpsWorksCM_V2016_11_01.UpdateServerEngineAttributes" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateServerEngineAttributes where+ toJSON UpdateServerEngineAttributes' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("AttributeValue" Data..=)+ Prelude.<$> attributeValue,+ Prelude.Just ("ServerName" Data..= serverName),+ Prelude.Just+ ("AttributeName" Data..= attributeName)+ ]+ )++instance Data.ToPath UpdateServerEngineAttributes where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateServerEngineAttributes where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateServerEngineAttributesResponse' smart constructor.+data UpdateServerEngineAttributesResponse = UpdateServerEngineAttributesResponse'+ { -- | Contains the response to an @UpdateServerEngineAttributes@ request.+ server :: Prelude.Maybe Server,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateServerEngineAttributesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'server', 'updateServerEngineAttributesResponse_server' - Contains the response to an @UpdateServerEngineAttributes@ request.+--+-- 'httpStatus', 'updateServerEngineAttributesResponse_httpStatus' - The response's http status code.+newUpdateServerEngineAttributesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateServerEngineAttributesResponse+newUpdateServerEngineAttributesResponse pHttpStatus_ =+ UpdateServerEngineAttributesResponse'+ { server =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Contains the response to an @UpdateServerEngineAttributes@ request.+updateServerEngineAttributesResponse_server :: Lens.Lens' UpdateServerEngineAttributesResponse (Prelude.Maybe Server)+updateServerEngineAttributesResponse_server = Lens.lens (\UpdateServerEngineAttributesResponse' {server} -> server) (\s@UpdateServerEngineAttributesResponse' {} a -> s {server = a} :: UpdateServerEngineAttributesResponse)++-- | The response's http status code.+updateServerEngineAttributesResponse_httpStatus :: Lens.Lens' UpdateServerEngineAttributesResponse Prelude.Int+updateServerEngineAttributesResponse_httpStatus = Lens.lens (\UpdateServerEngineAttributesResponse' {httpStatus} -> httpStatus) (\s@UpdateServerEngineAttributesResponse' {} a -> s {httpStatus = a} :: UpdateServerEngineAttributesResponse)++instance+ Prelude.NFData+ UpdateServerEngineAttributesResponse+ where+ rnf UpdateServerEngineAttributesResponse' {..} =+ Prelude.rnf server+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/OpsWorksCM/Waiters.hs view
@@ -0,0 +1,48 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.OpsWorksCM.Waiters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.OpsWorksCM.Waiters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.OpsWorksCM.DescribeNodeAssociationStatus+import Amazonka.OpsWorksCM.Lens+import Amazonka.OpsWorksCM.Types+import qualified Amazonka.Prelude as Prelude++-- | Polls 'Amazonka.OpsWorksCM.DescribeNodeAssociationStatus' every 15 seconds until a successful state is reached. An error is returned after 15 failed checks.+newNodeAssociated :: Core.Wait DescribeNodeAssociationStatus+newNodeAssociated =+ Core.Wait+ { Core.name = "NodeAssociated",+ Core.attempts = 15,+ Core.delay = 15,+ Core.acceptors =+ [ Core.matchAll+ "SUCCESS"+ Core.AcceptSuccess+ ( describeNodeAssociationStatusResponse_nodeAssociationStatus+ Prelude.. Lens.to Data.toTextCI+ ),+ Core.matchAll+ "FAILED"+ Core.AcceptFailure+ ( describeNodeAssociationStatusResponse_nodeAssociationStatus+ Prelude.. Lens.to Data.toTextCI+ )+ ]+ }
− gen/Network/AWS/OpsWorksCM.hs
@@ -1,268 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ __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.----module Network.AWS.OpsWorksCM- (- -- * Service Configuration- opsWorksCM-- -- * Errors- -- $errors-- -- ** ValidationException- , _ValidationException-- -- ** ResourceAlreadyExistsException- , _ResourceAlreadyExistsException-- -- ** InvalidNextTokenException- , _InvalidNextTokenException-- -- ** ResourceNotFoundException- , _ResourceNotFoundException-- -- ** InvalidStateException- , _InvalidStateException-- -- ** LimitExceededException- , _LimitExceededException-- -- * Waiters- -- $waiters-- -- ** NodeAssociated- , nodeAssociated-- -- * Operations- -- $operations-- -- ** AssociateNode- , module Network.AWS.OpsWorksCM.AssociateNode-- -- ** UpdateServer- , module Network.AWS.OpsWorksCM.UpdateServer-- -- ** DeleteServer- , module Network.AWS.OpsWorksCM.DeleteServer-- -- ** DeleteBackup- , module Network.AWS.OpsWorksCM.DeleteBackup-- -- ** DescribeEvents- , module Network.AWS.OpsWorksCM.DescribeEvents-- -- ** DisassociateNode- , module Network.AWS.OpsWorksCM.DisassociateNode-- -- ** CreateBackup- , module Network.AWS.OpsWorksCM.CreateBackup-- -- ** UpdateServerEngineAttributes- , module Network.AWS.OpsWorksCM.UpdateServerEngineAttributes-- -- ** StartMaintenance- , module Network.AWS.OpsWorksCM.StartMaintenance-- -- ** DescribeBackups- , module Network.AWS.OpsWorksCM.DescribeBackups-- -- ** CreateServer- , module Network.AWS.OpsWorksCM.CreateServer-- -- ** RestoreServer- , module Network.AWS.OpsWorksCM.RestoreServer-- -- ** DescribeNodeAssociationStatus- , module Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus-- -- ** DescribeAccountAttributes- , module Network.AWS.OpsWorksCM.DescribeAccountAttributes-- -- ** DescribeServers- , module Network.AWS.OpsWorksCM.DescribeServers-- -- * Types-- -- ** BackupStatus- , BackupStatus (..)-- -- ** BackupType- , BackupType (..)-- -- ** MaintenanceStatus- , MaintenanceStatus (..)-- -- ** NodeAssociationStatus- , NodeAssociationStatus (..)-- -- ** ServerStatus- , ServerStatus (..)-- -- ** AccountAttribute- , AccountAttribute- , accountAttribute- , aaUsed- , aaMaximum- , aaName-- -- ** Backup- , Backup- , backup- , bEngineVersion- , bServiceRoleARN- , bStatus- , bInstanceProfileARN- , bSecurityGroupIds- , bStatusDescription- , bServerName- , bSubnetIds- , bKeyPair- , bCreatedAt- , bBackupId- , bEngine- , bInstanceType- , bEngineModel- , bPreferredMaintenanceWindow- , bUserARN- , bPreferredBackupWindow- , bS3LogURL- , bS3DataSize- , bBackupARN- , bS3DataURL- , bDescription- , bBackupType- , bToolsVersion-- -- ** EngineAttribute- , EngineAttribute- , engineAttribute- , eaValue- , eaName-- -- ** Server- , Server- , server- , sEngineVersion- , sServiceRoleARN- , sDisableAutomatedBackup- , sStatus- , sInstanceProfileARN- , sSecurityGroupIds- , sAssociatePublicIPAddress- , sServerName- , sSubnetIds- , sKeyPair- , sCreatedAt- , sServerARN- , sEngine- , sMaintenanceStatus- , sInstanceType- , sEngineModel- , sEngineAttributes- , sPreferredMaintenanceWindow- , sPreferredBackupWindow- , sStatusReason- , sEndpoint- , sCloudFormationStackARN- , sBackupRetentionCount-- -- ** ServerEvent- , ServerEvent- , serverEvent- , seLogURL- , seServerName- , seCreatedAt- , seMessage- ) where--import Network.AWS.OpsWorksCM.AssociateNode-import Network.AWS.OpsWorksCM.CreateBackup-import Network.AWS.OpsWorksCM.CreateServer-import Network.AWS.OpsWorksCM.DeleteBackup-import Network.AWS.OpsWorksCM.DeleteServer-import Network.AWS.OpsWorksCM.DescribeAccountAttributes-import Network.AWS.OpsWorksCM.DescribeBackups-import Network.AWS.OpsWorksCM.DescribeEvents-import Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus-import Network.AWS.OpsWorksCM.DescribeServers-import Network.AWS.OpsWorksCM.DisassociateNode-import Network.AWS.OpsWorksCM.RestoreServer-import Network.AWS.OpsWorksCM.StartMaintenance-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.UpdateServer-import Network.AWS.OpsWorksCM.UpdateServerEngineAttributes-import Network.AWS.OpsWorksCM.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'OpsWorksCM'.--}--{- $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.--}--{- $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.--}
− gen/Network/AWS/OpsWorksCM/AssociateNode.hs
@@ -1,170 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.AssociateNode--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Associates a new node with the server. For more information about how to disassociate a node, see 'DisassociateNode' .--------- On a Chef server: This command is an alternative to @knife bootstrap@ .------ Example (Chef): @aws opsworks-cm associate-node --server-name /MyServer/ --node-name /MyManagedNode/ --engine-attributes "Name=/CHEF_ORGANIZATION/ ,Value=default" "Name=/CHEF_NODE_PUBLIC_KEY/ ,Value=/public-key-pem/ "@------ On a Puppet server, this command is an alternative to the @puppet cert sign@ command that signs a Puppet node CSR.------ Example (Chef): @aws opsworks-cm associate-node --server-name /MyServer/ --node-name /MyManagedNode/ --engine-attributes "Name=/PUPPET_NODE_CSR/ ,Value=/csr-pem/ "@------ A node can can only be associated with servers that are in a @HEALTHY@ state. Otherwise, an @InvalidStateException@ is thrown. A @ResourceNotFoundException@ is thrown when the server does not exist. A @ValidationException@ is raised when parameters of the request are not valid. The AssociateNode API call can be integrated into Auto Scaling configurations, AWS Cloudformation templates, or the user data of a server's instance.----module Network.AWS.OpsWorksCM.AssociateNode- (- -- * Creating a Request- associateNode- , AssociateNode- -- * Request Lenses- , anServerName- , anNodeName- , anEngineAttributes-- -- * Destructuring the Response- , associateNodeResponse- , AssociateNodeResponse- -- * Response Lenses- , anrsNodeAssociationStatusToken- , anrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'associateNode' smart constructor.-data AssociateNode = AssociateNode'- { _anServerName :: !Text- , _anNodeName :: !Text- , _anEngineAttributes :: ![EngineAttribute]- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AssociateNode' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'anServerName' - The name of the server with which to associate the node.------ * 'anNodeName' - The name of the node.------ * 'anEngineAttributes' - Engine attributes used for associating the node. __Attributes accepted in a AssociateNode request for Chef__ * @CHEF_ORGANIZATION@ : The Chef organization with which the node is associated. By default only one organization named @default@ can exist. * @CHEF_NODE_PUBLIC_KEY@ : A PEM-formatted public key. This key is required for the @chef-client@ agent to access the Chef API. __Attributes accepted in a AssociateNode request for Puppet__ * @PUPPET_NODE_CSR@ : A PEM-formatted certificate-signing request (CSR) that is created by the node.-associateNode- :: Text -- ^ 'anServerName'- -> Text -- ^ 'anNodeName'- -> AssociateNode-associateNode pServerName_ pNodeName_ =- AssociateNode'- { _anServerName = pServerName_- , _anNodeName = pNodeName_- , _anEngineAttributes = mempty- }----- | The name of the server with which to associate the node.-anServerName :: Lens' AssociateNode Text-anServerName = lens _anServerName (\ s a -> s{_anServerName = a})---- | The name of the node.-anNodeName :: Lens' AssociateNode Text-anNodeName = lens _anNodeName (\ s a -> s{_anNodeName = a})---- | Engine attributes used for associating the node. __Attributes accepted in a AssociateNode request for Chef__ * @CHEF_ORGANIZATION@ : The Chef organization with which the node is associated. By default only one organization named @default@ can exist. * @CHEF_NODE_PUBLIC_KEY@ : A PEM-formatted public key. This key is required for the @chef-client@ agent to access the Chef API. __Attributes accepted in a AssociateNode request for Puppet__ * @PUPPET_NODE_CSR@ : A PEM-formatted certificate-signing request (CSR) that is created by the node.-anEngineAttributes :: Lens' AssociateNode [EngineAttribute]-anEngineAttributes = lens _anEngineAttributes (\ s a -> s{_anEngineAttributes = a}) . _Coerce--instance AWSRequest AssociateNode where- type Rs AssociateNode = AssociateNodeResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- AssociateNodeResponse' <$>- (x .?> "NodeAssociationStatusToken") <*>- (pure (fromEnum s)))--instance Hashable AssociateNode where--instance NFData AssociateNode where--instance ToHeaders AssociateNode where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.AssociateNode" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON AssociateNode where- toJSON AssociateNode'{..}- = object- (catMaybes- [Just ("ServerName" .= _anServerName),- Just ("NodeName" .= _anNodeName),- Just ("EngineAttributes" .= _anEngineAttributes)])--instance ToPath AssociateNode where- toPath = const "/"--instance ToQuery AssociateNode where- toQuery = const mempty---- | /See:/ 'associateNodeResponse' smart constructor.-data AssociateNodeResponse = AssociateNodeResponse'- { _anrsNodeAssociationStatusToken :: !(Maybe Text)- , _anrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AssociateNodeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'anrsNodeAssociationStatusToken' - Contains a token which can be passed to the @DescribeNodeAssociationStatus@ API call to get the status of the association request.------ * 'anrsResponseStatus' - -- | The response status code.-associateNodeResponse- :: Int -- ^ 'anrsResponseStatus'- -> AssociateNodeResponse-associateNodeResponse pResponseStatus_ =- AssociateNodeResponse'- { _anrsNodeAssociationStatusToken = Nothing- , _anrsResponseStatus = pResponseStatus_- }----- | Contains a token which can be passed to the @DescribeNodeAssociationStatus@ API call to get the status of the association request.-anrsNodeAssociationStatusToken :: Lens' AssociateNodeResponse (Maybe Text)-anrsNodeAssociationStatusToken = lens _anrsNodeAssociationStatusToken (\ s a -> s{_anrsNodeAssociationStatusToken = a})---- | -- | The response status code.-anrsResponseStatus :: Lens' AssociateNodeResponse Int-anrsResponseStatus = lens _anrsResponseStatus (\ s a -> s{_anrsResponseStatus = a})--instance NFData AssociateNodeResponse where
− gen/Network/AWS/OpsWorksCM/CreateBackup.hs
@@ -1,149 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.CreateBackup--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates an application-level backup of a server. While the server is in the @BACKING_UP@ state, the server cannot be changed, and no additional backup can be created.--------- Backups can be created for servers in @RUNNING@ , @HEALTHY@ , and @UNHEALTHY@ states. By default, you can create a maximum of 50 manual backups.------ This operation is asynchronous.------ A @LimitExceededException@ is thrown when the maximum number of manual backups is reached. An @InvalidStateException@ is thrown when the server is not in any of the following states: RUNNING, HEALTHY, or UNHEALTHY. A @ResourceNotFoundException@ is thrown when the server is not found. A @ValidationException@ is thrown when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.CreateBackup- (- -- * Creating a Request- createBackup- , CreateBackup- -- * Request Lenses- , cbDescription- , cbServerName-- -- * Destructuring the Response- , createBackupResponse- , CreateBackupResponse- -- * Response Lenses- , cbrsBackup- , cbrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createBackup' smart constructor.-data CreateBackup = CreateBackup'- { _cbDescription :: !(Maybe Text)- , _cbServerName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateBackup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cbDescription' - A user-defined description of the backup.------ * 'cbServerName' - The name of the server that you want to back up.-createBackup- :: Text -- ^ 'cbServerName'- -> CreateBackup-createBackup pServerName_ =- CreateBackup' {_cbDescription = Nothing, _cbServerName = pServerName_}----- | A user-defined description of the backup.-cbDescription :: Lens' CreateBackup (Maybe Text)-cbDescription = lens _cbDescription (\ s a -> s{_cbDescription = a})---- | The name of the server that you want to back up.-cbServerName :: Lens' CreateBackup Text-cbServerName = lens _cbServerName (\ s a -> s{_cbServerName = a})--instance AWSRequest CreateBackup where- type Rs CreateBackup = CreateBackupResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- CreateBackupResponse' <$>- (x .?> "Backup") <*> (pure (fromEnum s)))--instance Hashable CreateBackup where--instance NFData CreateBackup where--instance ToHeaders CreateBackup where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.CreateBackup" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateBackup where- toJSON CreateBackup'{..}- = object- (catMaybes- [("Description" .=) <$> _cbDescription,- Just ("ServerName" .= _cbServerName)])--instance ToPath CreateBackup where- toPath = const "/"--instance ToQuery CreateBackup where- toQuery = const mempty---- | /See:/ 'createBackupResponse' smart constructor.-data CreateBackupResponse = CreateBackupResponse'- { _cbrsBackup :: !(Maybe Backup)- , _cbrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateBackupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cbrsBackup' - Backup created by request.------ * 'cbrsResponseStatus' - -- | The response status code.-createBackupResponse- :: Int -- ^ 'cbrsResponseStatus'- -> CreateBackupResponse-createBackupResponse pResponseStatus_ =- CreateBackupResponse'- {_cbrsBackup = Nothing, _cbrsResponseStatus = pResponseStatus_}----- | Backup created by request.-cbrsBackup :: Lens' CreateBackupResponse (Maybe Backup)-cbrsBackup = lens _cbrsBackup (\ s a -> s{_cbrsBackup = a})---- | -- | The response status code.-cbrsResponseStatus :: Lens' CreateBackupResponse Int-cbrsResponseStatus = lens _cbrsResponseStatus (\ s a -> s{_cbrsResponseStatus = a})--instance NFData CreateBackupResponse where
− gen/Network/AWS/OpsWorksCM/CreateServer.hs
@@ -1,316 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.CreateServer--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates and immedately starts a new server. The server is ready to use when it is in the @HEALTHY@ state. By default, you can create a maximum of 10 servers.--------- This operation is asynchronous.------ A @LimitExceededException@ is thrown when you have created the maximum number of servers (10). A @ResourceAlreadyExistsException@ is thrown when a server with the same name already exists in the account. A @ResourceNotFoundException@ is thrown when you specify a backup ID that is not valid or is for a backup that does not exist. A @ValidationException@ is thrown when parameters of the request are not valid.------ If you do not specify a security group by adding the @SecurityGroupIds@ parameter, AWS OpsWorks creates a new security group.------ /Chef Automate:/ The default security group opens the Chef server to the world on TCP port 443. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.------ /Puppet Enterprise:/ The default security group opens TCP ports 22, 443, 4433, 8140, 8142, 8143, and 8170. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.------ By default, your server is accessible from any IP address. We recommend that you update your security group rules to allow access from known IP addresses and address ranges only. To edit security group rules, open Security Groups in the navigation pane of the EC2 management console.----module Network.AWS.OpsWorksCM.CreateServer- (- -- * Creating a Request- createServer- , CreateServer- -- * Request Lenses- , csEngineVersion- , csDisableAutomatedBackup- , csSecurityGroupIds- , csAssociatePublicIPAddress- , csSubnetIds- , csKeyPair- , csBackupId- , csEngine- , csEngineModel- , csEngineAttributes- , csPreferredMaintenanceWindow- , csPreferredBackupWindow- , csBackupRetentionCount- , csServerName- , csInstanceProfileARN- , csInstanceType- , csServiceRoleARN-- -- * Destructuring the Response- , createServerResponse- , CreateServerResponse- -- * Response Lenses- , csrsServer- , csrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createServer' smart constructor.-data CreateServer = CreateServer'- { _csEngineVersion :: !(Maybe Text)- , _csDisableAutomatedBackup :: !(Maybe Bool)- , _csSecurityGroupIds :: !(Maybe [Text])- , _csAssociatePublicIPAddress :: !(Maybe Bool)- , _csSubnetIds :: !(Maybe [Text])- , _csKeyPair :: !(Maybe Text)- , _csBackupId :: !(Maybe Text)- , _csEngine :: !(Maybe Text)- , _csEngineModel :: !(Maybe Text)- , _csEngineAttributes :: !(Maybe [EngineAttribute])- , _csPreferredMaintenanceWindow :: !(Maybe Text)- , _csPreferredBackupWindow :: !(Maybe Text)- , _csBackupRetentionCount :: !(Maybe Nat)- , _csServerName :: !Text- , _csInstanceProfileARN :: !Text- , _csInstanceType :: !Text- , _csServiceRoleARN :: !Text- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateServer' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csEngineVersion' - The major release version of the engine that you want to use. For a Chef server, the valid value for EngineVersion is currently @12@ . For a Puppet server, the valid value is @2017@ .------ * 'csDisableAutomatedBackup' - Enable or disable scheduled backups. Valid values are @true@ or @false@ . The default value is @true@ .------ * 'csSecurityGroupIds' - A list of security group IDs to attach to the Amazon EC2 instance. If you add this parameter, the specified security groups must be within the VPC that is specified by @SubnetIds@ . If you do not specify this parameter, AWS OpsWorks CM creates one new security group that uses TCP ports 22 and 443, open to 0.0.0.0/0 (everyone).------ * 'csAssociatePublicIPAddress' - Associate a public IP address with a server that you are launching. Valid values are @true@ or @false@ . The default value is @true@ .------ * 'csSubnetIds' - The IDs of subnets in which to launch the server EC2 instance. Amazon EC2-Classic customers: This field is required. All servers must run within a VPC. The VPC must have "Auto Assign Public IP" enabled. EC2-VPC customers: This field is optional. If you do not specify subnet IDs, your EC2 instances are created in a default subnet that is selected by Amazon EC2. If you specify subnet IDs, the VPC must have "Auto Assign Public IP" enabled. For more information about supported Amazon EC2 platforms, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> .------ * 'csKeyPair' - The Amazon EC2 key pair to set for the instance. This parameter is optional; if desired, you may specify this parameter to connect to your instances by using SSH.------ * 'csBackupId' - If you specify this field, AWS OpsWorks CM creates the server by using the backup represented by BackupId.------ * 'csEngine' - The configuration management engine to use. Valid values include @Chef@ and @Puppet@ .------ * 'csEngineModel' - The engine model of the server. Valid values in this release include @Monolithic@ for Puppet and @Single@ for Chef.------ * 'csEngineAttributes' - Optional engine attributes on a specified server. __Attributes accepted in a Chef createServer request:__ * @CHEF_PIVOTAL_KEY@ : A base64-encoded RSA private key that is not stored by AWS OpsWorks for Chef Automate. This private key is required to access the Chef API. When no CHEF_PIVOTAL_KEY is set, one is generated and returned in the response. * @CHEF_DELIVERY_ADMIN_PASSWORD@ : The password for the administrative user in the Chef Automate GUI. The password length is a minimum of eight characters, and a maximum of 32. The password can contain letters, numbers, and special characters (!/@#$%^&+=_). The password must contain at least one lower case letter, one upper case letter, one number, and one special character. When no CHEF_DELIVERY_ADMIN_PASSWORD is set, one is generated and returned in the response. __Attributes accepted in a Puppet createServer request:__ * @PUPPET_ADMIN_PASSWORD@ : To work with the Puppet Enterprise console, a password must use ASCII characters.------ * 'csPreferredMaintenanceWindow' - The start time for a one-hour period each week during which AWS OpsWorks CM performs maintenance on the instance. Valid values must be specified in the following format: @DDD:HH:MM@ . The specified time is in coordinated universal time (UTC). The default value is a random one-hour period on Tuesday, Wednesday, or Friday. See @TimeWindowDefinition@ for more information. __Example:__ @Mon:08:00@ , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)------ * 'csPreferredBackupWindow' - The start time for a one-hour period during which AWS OpsWorks CM backs up application-level data on your server if automated backups are enabled. Valid values must be specified in one of the following formats: * @HH:MM@ for daily backups * @DDD:HH:MM@ for weekly backups The specified time is in coordinated universal time (UTC). The default value is a random, daily start time. __Example:__ @08:00@ , which represents a daily start time of 08:00 UTC. __Example:__ @Mon:08:00@ , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)------ * 'csBackupRetentionCount' - The number of automated backups that you want to keep. Whenever a new backup is created, AWS OpsWorks CM deletes the oldest backups if this number is exceeded. The default value is @1@ .------ * 'csServerName' - The name of the server. The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters.------ * 'csInstanceProfileARN' - The ARN of the instance profile that your Amazon EC2 instances use. Although the AWS OpsWorks console typically creates the instance profile for you, if you are using API commands instead, run the service-role-creation.yaml AWS CloudFormation template, located at https://s3.amazonaws.com/opsworks-cm-us-east-1-prod-default-assets/misc/opsworks-cm-roles.yaml. This template creates a CloudFormation stack that includes the instance profile you need.------ * 'csInstanceType' - The Amazon EC2 instance type to use. For example, @m4.large@ . Recommended instance types include @t2.medium@ and greater, @m4.*@ , or @c4.xlarge@ and greater.------ * 'csServiceRoleARN' - The service role that the AWS OpsWorks CM service backend uses to work with your account. Although the AWS OpsWorks management console typically creates the service role for you, if you are using the AWS CLI or API commands, run the service-role-creation.yaml AWS CloudFormation template, located at https://s3.amazonaws.com/opsworks-cm-us-east-1-prod-default-assets/misc/opsworks-cm-roles.yaml. This template creates a CloudFormation stack that includes the service role and instance profile that you need.-createServer- :: Text -- ^ 'csServerName'- -> Text -- ^ 'csInstanceProfileARN'- -> Text -- ^ 'csInstanceType'- -> Text -- ^ 'csServiceRoleARN'- -> CreateServer-createServer pServerName_ pInstanceProfileARN_ pInstanceType_ pServiceRoleARN_ =- CreateServer'- { _csEngineVersion = Nothing- , _csDisableAutomatedBackup = Nothing- , _csSecurityGroupIds = Nothing- , _csAssociatePublicIPAddress = Nothing- , _csSubnetIds = Nothing- , _csKeyPair = Nothing- , _csBackupId = Nothing- , _csEngine = Nothing- , _csEngineModel = Nothing- , _csEngineAttributes = Nothing- , _csPreferredMaintenanceWindow = Nothing- , _csPreferredBackupWindow = Nothing- , _csBackupRetentionCount = Nothing- , _csServerName = pServerName_- , _csInstanceProfileARN = pInstanceProfileARN_- , _csInstanceType = pInstanceType_- , _csServiceRoleARN = pServiceRoleARN_- }----- | The major release version of the engine that you want to use. For a Chef server, the valid value for EngineVersion is currently @12@ . For a Puppet server, the valid value is @2017@ .-csEngineVersion :: Lens' CreateServer (Maybe Text)-csEngineVersion = lens _csEngineVersion (\ s a -> s{_csEngineVersion = a})---- | Enable or disable scheduled backups. Valid values are @true@ or @false@ . The default value is @true@ .-csDisableAutomatedBackup :: Lens' CreateServer (Maybe Bool)-csDisableAutomatedBackup = lens _csDisableAutomatedBackup (\ s a -> s{_csDisableAutomatedBackup = a})---- | A list of security group IDs to attach to the Amazon EC2 instance. If you add this parameter, the specified security groups must be within the VPC that is specified by @SubnetIds@ . If you do not specify this parameter, AWS OpsWorks CM creates one new security group that uses TCP ports 22 and 443, open to 0.0.0.0/0 (everyone).-csSecurityGroupIds :: Lens' CreateServer [Text]-csSecurityGroupIds = lens _csSecurityGroupIds (\ s a -> s{_csSecurityGroupIds = a}) . _Default . _Coerce---- | Associate a public IP address with a server that you are launching. Valid values are @true@ or @false@ . The default value is @true@ .-csAssociatePublicIPAddress :: Lens' CreateServer (Maybe Bool)-csAssociatePublicIPAddress = lens _csAssociatePublicIPAddress (\ s a -> s{_csAssociatePublicIPAddress = a})---- | The IDs of subnets in which to launch the server EC2 instance. Amazon EC2-Classic customers: This field is required. All servers must run within a VPC. The VPC must have "Auto Assign Public IP" enabled. EC2-VPC customers: This field is optional. If you do not specify subnet IDs, your EC2 instances are created in a default subnet that is selected by Amazon EC2. If you specify subnet IDs, the VPC must have "Auto Assign Public IP" enabled. For more information about supported Amazon EC2 platforms, see <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html Supported Platforms> .-csSubnetIds :: Lens' CreateServer [Text]-csSubnetIds = lens _csSubnetIds (\ s a -> s{_csSubnetIds = a}) . _Default . _Coerce---- | The Amazon EC2 key pair to set for the instance. This parameter is optional; if desired, you may specify this parameter to connect to your instances by using SSH.-csKeyPair :: Lens' CreateServer (Maybe Text)-csKeyPair = lens _csKeyPair (\ s a -> s{_csKeyPair = a})---- | If you specify this field, AWS OpsWorks CM creates the server by using the backup represented by BackupId.-csBackupId :: Lens' CreateServer (Maybe Text)-csBackupId = lens _csBackupId (\ s a -> s{_csBackupId = a})---- | The configuration management engine to use. Valid values include @Chef@ and @Puppet@ .-csEngine :: Lens' CreateServer (Maybe Text)-csEngine = lens _csEngine (\ s a -> s{_csEngine = a})---- | The engine model of the server. Valid values in this release include @Monolithic@ for Puppet and @Single@ for Chef.-csEngineModel :: Lens' CreateServer (Maybe Text)-csEngineModel = lens _csEngineModel (\ s a -> s{_csEngineModel = a})---- | Optional engine attributes on a specified server. __Attributes accepted in a Chef createServer request:__ * @CHEF_PIVOTAL_KEY@ : A base64-encoded RSA private key that is not stored by AWS OpsWorks for Chef Automate. This private key is required to access the Chef API. When no CHEF_PIVOTAL_KEY is set, one is generated and returned in the response. * @CHEF_DELIVERY_ADMIN_PASSWORD@ : The password for the administrative user in the Chef Automate GUI. The password length is a minimum of eight characters, and a maximum of 32. The password can contain letters, numbers, and special characters (!/@#$%^&+=_). The password must contain at least one lower case letter, one upper case letter, one number, and one special character. When no CHEF_DELIVERY_ADMIN_PASSWORD is set, one is generated and returned in the response. __Attributes accepted in a Puppet createServer request:__ * @PUPPET_ADMIN_PASSWORD@ : To work with the Puppet Enterprise console, a password must use ASCII characters.-csEngineAttributes :: Lens' CreateServer [EngineAttribute]-csEngineAttributes = lens _csEngineAttributes (\ s a -> s{_csEngineAttributes = a}) . _Default . _Coerce---- | The start time for a one-hour period each week during which AWS OpsWorks CM performs maintenance on the instance. Valid values must be specified in the following format: @DDD:HH:MM@ . The specified time is in coordinated universal time (UTC). The default value is a random one-hour period on Tuesday, Wednesday, or Friday. See @TimeWindowDefinition@ for more information. __Example:__ @Mon:08:00@ , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)-csPreferredMaintenanceWindow :: Lens' CreateServer (Maybe Text)-csPreferredMaintenanceWindow = lens _csPreferredMaintenanceWindow (\ s a -> s{_csPreferredMaintenanceWindow = a})---- | The start time for a one-hour period during which AWS OpsWorks CM backs up application-level data on your server if automated backups are enabled. Valid values must be specified in one of the following formats: * @HH:MM@ for daily backups * @DDD:HH:MM@ for weekly backups The specified time is in coordinated universal time (UTC). The default value is a random, daily start time. __Example:__ @08:00@ , which represents a daily start time of 08:00 UTC. __Example:__ @Mon:08:00@ , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)-csPreferredBackupWindow :: Lens' CreateServer (Maybe Text)-csPreferredBackupWindow = lens _csPreferredBackupWindow (\ s a -> s{_csPreferredBackupWindow = a})---- | The number of automated backups that you want to keep. Whenever a new backup is created, AWS OpsWorks CM deletes the oldest backups if this number is exceeded. The default value is @1@ .-csBackupRetentionCount :: Lens' CreateServer (Maybe Natural)-csBackupRetentionCount = lens _csBackupRetentionCount (\ s a -> s{_csBackupRetentionCount = a}) . mapping _Nat---- | The name of the server. The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters.-csServerName :: Lens' CreateServer Text-csServerName = lens _csServerName (\ s a -> s{_csServerName = a})---- | The ARN of the instance profile that your Amazon EC2 instances use. Although the AWS OpsWorks console typically creates the instance profile for you, if you are using API commands instead, run the service-role-creation.yaml AWS CloudFormation template, located at https://s3.amazonaws.com/opsworks-cm-us-east-1-prod-default-assets/misc/opsworks-cm-roles.yaml. This template creates a CloudFormation stack that includes the instance profile you need.-csInstanceProfileARN :: Lens' CreateServer Text-csInstanceProfileARN = lens _csInstanceProfileARN (\ s a -> s{_csInstanceProfileARN = a})---- | The Amazon EC2 instance type to use. For example, @m4.large@ . Recommended instance types include @t2.medium@ and greater, @m4.*@ , or @c4.xlarge@ and greater.-csInstanceType :: Lens' CreateServer Text-csInstanceType = lens _csInstanceType (\ s a -> s{_csInstanceType = a})---- | The service role that the AWS OpsWorks CM service backend uses to work with your account. Although the AWS OpsWorks management console typically creates the service role for you, if you are using the AWS CLI or API commands, run the service-role-creation.yaml AWS CloudFormation template, located at https://s3.amazonaws.com/opsworks-cm-us-east-1-prod-default-assets/misc/opsworks-cm-roles.yaml. This template creates a CloudFormation stack that includes the service role and instance profile that you need.-csServiceRoleARN :: Lens' CreateServer Text-csServiceRoleARN = lens _csServiceRoleARN (\ s a -> s{_csServiceRoleARN = a})--instance AWSRequest CreateServer where- type Rs CreateServer = CreateServerResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- CreateServerResponse' <$>- (x .?> "Server") <*> (pure (fromEnum s)))--instance Hashable CreateServer where--instance NFData CreateServer where--instance ToHeaders CreateServer where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.CreateServer" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateServer where- toJSON CreateServer'{..}- = object- (catMaybes- [("EngineVersion" .=) <$> _csEngineVersion,- ("DisableAutomatedBackup" .=) <$>- _csDisableAutomatedBackup,- ("SecurityGroupIds" .=) <$> _csSecurityGroupIds,- ("AssociatePublicIpAddress" .=) <$>- _csAssociatePublicIPAddress,- ("SubnetIds" .=) <$> _csSubnetIds,- ("KeyPair" .=) <$> _csKeyPair,- ("BackupId" .=) <$> _csBackupId,- ("Engine" .=) <$> _csEngine,- ("EngineModel" .=) <$> _csEngineModel,- ("EngineAttributes" .=) <$> _csEngineAttributes,- ("PreferredMaintenanceWindow" .=) <$>- _csPreferredMaintenanceWindow,- ("PreferredBackupWindow" .=) <$>- _csPreferredBackupWindow,- ("BackupRetentionCount" .=) <$>- _csBackupRetentionCount,- Just ("ServerName" .= _csServerName),- Just ("InstanceProfileArn" .= _csInstanceProfileARN),- Just ("InstanceType" .= _csInstanceType),- Just ("ServiceRoleArn" .= _csServiceRoleARN)])--instance ToPath CreateServer where- toPath = const "/"--instance ToQuery CreateServer where- toQuery = const mempty---- | /See:/ 'createServerResponse' smart constructor.-data CreateServerResponse = CreateServerResponse'- { _csrsServer :: !(Maybe Server)- , _csrsResponseStatus :: !Int- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateServerResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csrsServer' - The server that is created by the request.------ * 'csrsResponseStatus' - -- | The response status code.-createServerResponse- :: Int -- ^ 'csrsResponseStatus'- -> CreateServerResponse-createServerResponse pResponseStatus_ =- CreateServerResponse'- {_csrsServer = Nothing, _csrsResponseStatus = pResponseStatus_}----- | The server that is created by the request.-csrsServer :: Lens' CreateServerResponse (Maybe Server)-csrsServer = lens _csrsServer (\ s a -> s{_csrsServer = a})---- | -- | The response status code.-csrsResponseStatus :: Lens' CreateServerResponse Int-csrsResponseStatus = lens _csrsResponseStatus (\ s a -> s{_csrsResponseStatus = a})--instance NFData CreateServerResponse where
− gen/Network/AWS/OpsWorksCM/DeleteBackup.hs
@@ -1,124 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.DeleteBackup--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a backup. You can delete both manual and automated backups. This operation is asynchronous.--------- An @InvalidStateException@ is thrown when a backup deletion is already in progress. A @ResourceNotFoundException@ is thrown when the backup does not exist. A @ValidationException@ is thrown when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.DeleteBackup- (- -- * Creating a Request- deleteBackup- , DeleteBackup- -- * Request Lenses- , dbBackupId-- -- * Destructuring the Response- , deleteBackupResponse- , DeleteBackupResponse- -- * Response Lenses- , dbrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteBackup' smart constructor.-newtype DeleteBackup = DeleteBackup'- { _dbBackupId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteBackup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dbBackupId' - The ID of the backup to delete. Run the DescribeBackups command to get a list of backup IDs. Backup IDs are in the format @ServerName-yyyyMMddHHmmssSSS@ .-deleteBackup- :: Text -- ^ 'dbBackupId'- -> DeleteBackup-deleteBackup pBackupId_ = DeleteBackup' {_dbBackupId = pBackupId_}----- | The ID of the backup to delete. Run the DescribeBackups command to get a list of backup IDs. Backup IDs are in the format @ServerName-yyyyMMddHHmmssSSS@ .-dbBackupId :: Lens' DeleteBackup Text-dbBackupId = lens _dbBackupId (\ s a -> s{_dbBackupId = a})--instance AWSRequest DeleteBackup where- type Rs DeleteBackup = DeleteBackupResponse- request = postJSON opsWorksCM- response- = receiveEmpty- (\ s h x ->- DeleteBackupResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteBackup where--instance NFData DeleteBackup where--instance ToHeaders DeleteBackup where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.DeleteBackup" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteBackup where- toJSON DeleteBackup'{..}- = object- (catMaybes [Just ("BackupId" .= _dbBackupId)])--instance ToPath DeleteBackup where- toPath = const "/"--instance ToQuery DeleteBackup where- toQuery = const mempty---- | /See:/ 'deleteBackupResponse' smart constructor.-newtype DeleteBackupResponse = DeleteBackupResponse'- { _dbrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteBackupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dbrsResponseStatus' - -- | The response status code.-deleteBackupResponse- :: Int -- ^ 'dbrsResponseStatus'- -> DeleteBackupResponse-deleteBackupResponse pResponseStatus_ =- DeleteBackupResponse' {_dbrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dbrsResponseStatus :: Lens' DeleteBackupResponse Int-dbrsResponseStatus = lens _dbrsResponseStatus (\ s a -> s{_dbrsResponseStatus = a})--instance NFData DeleteBackupResponse where
− gen/Network/AWS/OpsWorksCM/DeleteServer.hs
@@ -1,128 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.DeleteServer--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the server and the underlying AWS CloudFormation stacks (including the server's EC2 instance). When you run this command, the server state is updated to @DELETING@ . After the server is deleted, it is no longer returned by @DescribeServer@ requests. If the AWS CloudFormation stack cannot be deleted, the server cannot be deleted.--------- This operation is asynchronous.------ An @InvalidStateException@ is thrown when a server deletion is already in progress. A @ResourceNotFoundException@ is thrown when the server does not exist. A @ValidationException@ is raised when parameters of the request are not valid.----------module Network.AWS.OpsWorksCM.DeleteServer- (- -- * Creating a Request- deleteServer- , DeleteServer- -- * Request Lenses- , dsServerName-- -- * Destructuring the Response- , deleteServerResponse- , DeleteServerResponse- -- * Response Lenses- , dsrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteServer' smart constructor.-newtype DeleteServer = DeleteServer'- { _dsServerName :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteServer' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsServerName' - The ID of the server to delete.-deleteServer- :: Text -- ^ 'dsServerName'- -> DeleteServer-deleteServer pServerName_ = DeleteServer' {_dsServerName = pServerName_}----- | The ID of the server to delete.-dsServerName :: Lens' DeleteServer Text-dsServerName = lens _dsServerName (\ s a -> s{_dsServerName = a})--instance AWSRequest DeleteServer where- type Rs DeleteServer = DeleteServerResponse- request = postJSON opsWorksCM- response- = receiveEmpty- (\ s h x ->- DeleteServerResponse' <$> (pure (fromEnum s)))--instance Hashable DeleteServer where--instance NFData DeleteServer where--instance ToHeaders DeleteServer where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.DeleteServer" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteServer where- toJSON DeleteServer'{..}- = object- (catMaybes [Just ("ServerName" .= _dsServerName)])--instance ToPath DeleteServer where- toPath = const "/"--instance ToQuery DeleteServer where- toQuery = const mempty---- | /See:/ 'deleteServerResponse' smart constructor.-newtype DeleteServerResponse = DeleteServerResponse'- { _dsrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteServerResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsrsResponseStatus' - -- | The response status code.-deleteServerResponse- :: Int -- ^ 'dsrsResponseStatus'- -> DeleteServerResponse-deleteServerResponse pResponseStatus_ =- DeleteServerResponse' {_dsrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-dsrsResponseStatus :: Lens' DeleteServerResponse Int-dsrsResponseStatus = lens _dsrsResponseStatus (\ s a -> s{_dsrsResponseStatus = a})--instance NFData DeleteServerResponse where
− gen/Network/AWS/OpsWorksCM/DescribeAccountAttributes.hs
@@ -1,125 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.DescribeAccountAttributes--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes your account attributes, and creates requests to increase limits before they are reached or exceeded.--------- This operation is synchronous.----module Network.AWS.OpsWorksCM.DescribeAccountAttributes- (- -- * Creating a Request- describeAccountAttributes- , DescribeAccountAttributes-- -- * Destructuring the Response- , describeAccountAttributesResponse- , DescribeAccountAttributesResponse- -- * Response Lenses- , daarsAttributes- , daarsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeAccountAttributes' smart constructor.-data DescribeAccountAttributes =- DescribeAccountAttributes'- deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeAccountAttributes' with the minimum fields required to make a request.----describeAccountAttributes- :: DescribeAccountAttributes-describeAccountAttributes = DescribeAccountAttributes'---instance AWSRequest DescribeAccountAttributes where- type Rs DescribeAccountAttributes =- DescribeAccountAttributesResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- DescribeAccountAttributesResponse' <$>- (x .?> "Attributes" .!@ mempty) <*>- (pure (fromEnum s)))--instance Hashable DescribeAccountAttributes where--instance NFData DescribeAccountAttributes where--instance ToHeaders DescribeAccountAttributes where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.DescribeAccountAttributes"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeAccountAttributes where- toJSON = const (Object mempty)--instance ToPath DescribeAccountAttributes where- toPath = const "/"--instance ToQuery DescribeAccountAttributes where- toQuery = const mempty---- | /See:/ 'describeAccountAttributesResponse' smart constructor.-data DescribeAccountAttributesResponse = DescribeAccountAttributesResponse'- { _daarsAttributes :: !(Maybe [AccountAttribute])- , _daarsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeAccountAttributesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'daarsAttributes' - The attributes that are currently set for the account.------ * 'daarsResponseStatus' - -- | The response status code.-describeAccountAttributesResponse- :: Int -- ^ 'daarsResponseStatus'- -> DescribeAccountAttributesResponse-describeAccountAttributesResponse pResponseStatus_ =- DescribeAccountAttributesResponse'- {_daarsAttributes = Nothing, _daarsResponseStatus = pResponseStatus_}----- | The attributes that are currently set for the account.-daarsAttributes :: Lens' DescribeAccountAttributesResponse [AccountAttribute]-daarsAttributes = lens _daarsAttributes (\ s a -> s{_daarsAttributes = a}) . _Default . _Coerce---- | -- | The response status code.-daarsResponseStatus :: Lens' DescribeAccountAttributesResponse Int-daarsResponseStatus = lens _daarsResponseStatus (\ s a -> s{_daarsResponseStatus = a})--instance NFData DescribeAccountAttributesResponse- where
− gen/Network/AWS/OpsWorksCM/DescribeBackups.hs
@@ -1,181 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.DescribeBackups--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes backups. The results are ordered by time, with newest backups first. If you do not specify a BackupId or ServerName, the command returns all backups.--------- This operation is synchronous.------ A @ResourceNotFoundException@ is thrown when the backup does not exist. A @ValidationException@ is raised when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.DescribeBackups- (- -- * Creating a Request- describeBackups- , DescribeBackups- -- * Request Lenses- , dServerName- , dBackupId- , dNextToken- , dMaxResults-- -- * Destructuring the Response- , describeBackupsResponse- , DescribeBackupsResponse- -- * Response Lenses- , drsBackups- , drsNextToken- , drsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeBackups' smart constructor.-data DescribeBackups = DescribeBackups'- { _dServerName :: !(Maybe Text)- , _dBackupId :: !(Maybe Text)- , _dNextToken :: !(Maybe Text)- , _dMaxResults :: !(Maybe Nat)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeBackups' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dServerName' - Returns backups for the server with the specified ServerName.------ * 'dBackupId' - Describes a single backup.------ * 'dNextToken' - NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeBackups@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.------ * 'dMaxResults' - To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a @NextToken@ value that you can assign to the @NextToken@ request parameter to get the next set of results.-describeBackups- :: DescribeBackups-describeBackups =- DescribeBackups'- { _dServerName = Nothing- , _dBackupId = Nothing- , _dNextToken = Nothing- , _dMaxResults = Nothing- }----- | Returns backups for the server with the specified ServerName.-dServerName :: Lens' DescribeBackups (Maybe Text)-dServerName = lens _dServerName (\ s a -> s{_dServerName = a})---- | Describes a single backup.-dBackupId :: Lens' DescribeBackups (Maybe Text)-dBackupId = lens _dBackupId (\ s a -> s{_dBackupId = a})---- | NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeBackups@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.-dNextToken :: Lens' DescribeBackups (Maybe Text)-dNextToken = lens _dNextToken (\ s a -> s{_dNextToken = a})---- | To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a @NextToken@ value that you can assign to the @NextToken@ request parameter to get the next set of results.-dMaxResults :: Lens' DescribeBackups (Maybe Natural)-dMaxResults = lens _dMaxResults (\ s a -> s{_dMaxResults = a}) . mapping _Nat--instance AWSRequest DescribeBackups where- type Rs DescribeBackups = DescribeBackupsResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- DescribeBackupsResponse' <$>- (x .?> "Backups" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable DescribeBackups where--instance NFData DescribeBackups where--instance ToHeaders DescribeBackups where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.DescribeBackups" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeBackups where- toJSON DescribeBackups'{..}- = object- (catMaybes- [("ServerName" .=) <$> _dServerName,- ("BackupId" .=) <$> _dBackupId,- ("NextToken" .=) <$> _dNextToken,- ("MaxResults" .=) <$> _dMaxResults])--instance ToPath DescribeBackups where- toPath = const "/"--instance ToQuery DescribeBackups where- toQuery = const mempty---- | /See:/ 'describeBackupsResponse' smart constructor.-data DescribeBackupsResponse = DescribeBackupsResponse'- { _drsBackups :: !(Maybe [Backup])- , _drsNextToken :: !(Maybe Text)- , _drsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeBackupsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsBackups' - Contains the response to a @DescribeBackups@ request.------ * 'drsNextToken' - NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeBackups@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.------ * 'drsResponseStatus' - -- | The response status code.-describeBackupsResponse- :: Int -- ^ 'drsResponseStatus'- -> DescribeBackupsResponse-describeBackupsResponse pResponseStatus_ =- DescribeBackupsResponse'- { _drsBackups = Nothing- , _drsNextToken = Nothing- , _drsResponseStatus = pResponseStatus_- }----- | Contains the response to a @DescribeBackups@ request.-drsBackups :: Lens' DescribeBackupsResponse [Backup]-drsBackups = lens _drsBackups (\ s a -> s{_drsBackups = a}) . _Default . _Coerce---- | NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeBackups@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.-drsNextToken :: Lens' DescribeBackupsResponse (Maybe Text)-drsNextToken = lens _drsNextToken (\ s a -> s{_drsNextToken = a})---- | -- | The response status code.-drsResponseStatus :: Lens' DescribeBackupsResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DescribeBackupsResponse where
− gen/Network/AWS/OpsWorksCM/DescribeEvents.hs
@@ -1,173 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.DescribeEvents--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes events for a specified server. Results are ordered by time, with newest events first.--------- This operation is synchronous.------ A @ResourceNotFoundException@ is thrown when the server does not exist. A @ValidationException@ is raised when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.DescribeEvents- (- -- * Creating a Request- describeEvents- , DescribeEvents- -- * Request Lenses- , deNextToken- , deMaxResults- , deServerName-- -- * Destructuring the Response- , describeEventsResponse- , DescribeEventsResponse- -- * Response Lenses- , dersServerEvents- , dersNextToken- , dersResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeEvents' smart constructor.-data DescribeEvents = DescribeEvents'- { _deNextToken :: !(Maybe Text)- , _deMaxResults :: !(Maybe Nat)- , _deServerName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEvents' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'deNextToken' - NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeEvents@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.------ * 'deMaxResults' - To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a @NextToken@ value that you can assign to the @NextToken@ request parameter to get the next set of results.------ * 'deServerName' - The name of the server for which you want to view events.-describeEvents- :: Text -- ^ 'deServerName'- -> DescribeEvents-describeEvents pServerName_ =- DescribeEvents'- { _deNextToken = Nothing- , _deMaxResults = Nothing- , _deServerName = pServerName_- }----- | NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeEvents@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.-deNextToken :: Lens' DescribeEvents (Maybe Text)-deNextToken = lens _deNextToken (\ s a -> s{_deNextToken = a})---- | To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a @NextToken@ value that you can assign to the @NextToken@ request parameter to get the next set of results.-deMaxResults :: Lens' DescribeEvents (Maybe Natural)-deMaxResults = lens _deMaxResults (\ s a -> s{_deMaxResults = a}) . mapping _Nat---- | The name of the server for which you want to view events.-deServerName :: Lens' DescribeEvents Text-deServerName = lens _deServerName (\ s a -> s{_deServerName = a})--instance AWSRequest DescribeEvents where- type Rs DescribeEvents = DescribeEventsResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- DescribeEventsResponse' <$>- (x .?> "ServerEvents" .!@ mempty) <*>- (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable DescribeEvents where--instance NFData DescribeEvents where--instance ToHeaders DescribeEvents where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.DescribeEvents" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeEvents where- toJSON DescribeEvents'{..}- = object- (catMaybes- [("NextToken" .=) <$> _deNextToken,- ("MaxResults" .=) <$> _deMaxResults,- Just ("ServerName" .= _deServerName)])--instance ToPath DescribeEvents where- toPath = const "/"--instance ToQuery DescribeEvents where- toQuery = const mempty---- | /See:/ 'describeEventsResponse' smart constructor.-data DescribeEventsResponse = DescribeEventsResponse'- { _dersServerEvents :: !(Maybe [ServerEvent])- , _dersNextToken :: !(Maybe Text)- , _dersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEventsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dersServerEvents' - Contains the response to a @DescribeEvents@ request.------ * 'dersNextToken' - NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeEvents@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.------ * 'dersResponseStatus' - -- | The response status code.-describeEventsResponse- :: Int -- ^ 'dersResponseStatus'- -> DescribeEventsResponse-describeEventsResponse pResponseStatus_ =- DescribeEventsResponse'- { _dersServerEvents = Nothing- , _dersNextToken = Nothing- , _dersResponseStatus = pResponseStatus_- }----- | Contains the response to a @DescribeEvents@ request.-dersServerEvents :: Lens' DescribeEventsResponse [ServerEvent]-dersServerEvents = lens _dersServerEvents (\ s a -> s{_dersServerEvents = a}) . _Default . _Coerce---- | NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeEvents@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.-dersNextToken :: Lens' DescribeEventsResponse (Maybe Text)-dersNextToken = lens _dersNextToken (\ s a -> s{_dersNextToken = a})---- | -- | The response status code.-dersResponseStatus :: Lens' DescribeEventsResponse Int-dersResponseStatus = lens _dersResponseStatus (\ s a -> s{_dersResponseStatus = a})--instance NFData DescribeEventsResponse where
− gen/Network/AWS/OpsWorksCM/DescribeNodeAssociationStatus.hs
@@ -1,169 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the current status of an existing association or disassociation request.--------- A @ResourceNotFoundException@ is thrown when no recent association or disassociation request with the specified token is found, or when the server does not exist. A @ValidationException@ is raised when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus- (- -- * Creating a Request- describeNodeAssociationStatus- , DescribeNodeAssociationStatus- -- * Request Lenses- , dnasNodeAssociationStatusToken- , dnasServerName-- -- * Destructuring the Response- , describeNodeAssociationStatusResponse- , DescribeNodeAssociationStatusResponse- -- * Response Lenses- , dnasrsEngineAttributes- , dnasrsResponseStatus- , dnasrsNodeAssociationStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeNodeAssociationStatus' smart constructor.-data DescribeNodeAssociationStatus = DescribeNodeAssociationStatus'- { _dnasNodeAssociationStatusToken :: !Text- , _dnasServerName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeNodeAssociationStatus' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dnasNodeAssociationStatusToken' - The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.------ * 'dnasServerName' - The name of the server from which to disassociate the node.-describeNodeAssociationStatus- :: Text -- ^ 'dnasNodeAssociationStatusToken'- -> Text -- ^ 'dnasServerName'- -> DescribeNodeAssociationStatus-describeNodeAssociationStatus pNodeAssociationStatusToken_ pServerName_ =- DescribeNodeAssociationStatus'- { _dnasNodeAssociationStatusToken = pNodeAssociationStatusToken_- , _dnasServerName = pServerName_- }----- | The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.-dnasNodeAssociationStatusToken :: Lens' DescribeNodeAssociationStatus Text-dnasNodeAssociationStatusToken = lens _dnasNodeAssociationStatusToken (\ s a -> s{_dnasNodeAssociationStatusToken = a})---- | The name of the server from which to disassociate the node.-dnasServerName :: Lens' DescribeNodeAssociationStatus Text-dnasServerName = lens _dnasServerName (\ s a -> s{_dnasServerName = a})--instance AWSRequest DescribeNodeAssociationStatus- where- type Rs DescribeNodeAssociationStatus =- DescribeNodeAssociationStatusResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- DescribeNodeAssociationStatusResponse' <$>- (x .?> "EngineAttributes" .!@ mempty) <*>- (pure (fromEnum s))- <*> (x .:> "NodeAssociationStatus"))--instance Hashable DescribeNodeAssociationStatus where--instance NFData DescribeNodeAssociationStatus where--instance ToHeaders DescribeNodeAssociationStatus- where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.DescribeNodeAssociationStatus"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeNodeAssociationStatus where- toJSON DescribeNodeAssociationStatus'{..}- = object- (catMaybes- [Just- ("NodeAssociationStatusToken" .=- _dnasNodeAssociationStatusToken),- Just ("ServerName" .= _dnasServerName)])--instance ToPath DescribeNodeAssociationStatus where- toPath = const "/"--instance ToQuery DescribeNodeAssociationStatus where- toQuery = const mempty---- | /See:/ 'describeNodeAssociationStatusResponse' smart constructor.-data DescribeNodeAssociationStatusResponse = DescribeNodeAssociationStatusResponse'- { _dnasrsEngineAttributes :: !(Maybe [EngineAttribute])- , _dnasrsResponseStatus :: !Int- , _dnasrsNodeAssociationStatus :: !NodeAssociationStatus- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeNodeAssociationStatusResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dnasrsEngineAttributes' - Attributes specific to the node association. In Puppet, the attibute PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).------ * 'dnasrsResponseStatus' - -- | The response status code.------ * 'dnasrsNodeAssociationStatus' - 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.-describeNodeAssociationStatusResponse- :: Int -- ^ 'dnasrsResponseStatus'- -> NodeAssociationStatus -- ^ 'dnasrsNodeAssociationStatus'- -> DescribeNodeAssociationStatusResponse-describeNodeAssociationStatusResponse pResponseStatus_ pNodeAssociationStatus_ =- DescribeNodeAssociationStatusResponse'- { _dnasrsEngineAttributes = Nothing- , _dnasrsResponseStatus = pResponseStatus_- , _dnasrsNodeAssociationStatus = pNodeAssociationStatus_- }----- | Attributes specific to the node association. In Puppet, the attibute PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).-dnasrsEngineAttributes :: Lens' DescribeNodeAssociationStatusResponse [EngineAttribute]-dnasrsEngineAttributes = lens _dnasrsEngineAttributes (\ s a -> s{_dnasrsEngineAttributes = a}) . _Default . _Coerce---- | -- | The response status code.-dnasrsResponseStatus :: Lens' DescribeNodeAssociationStatusResponse Int-dnasrsResponseStatus = lens _dnasrsResponseStatus (\ s a -> s{_dnasrsResponseStatus = a})---- | 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.-dnasrsNodeAssociationStatus :: Lens' DescribeNodeAssociationStatusResponse NodeAssociationStatus-dnasrsNodeAssociationStatus = lens _dnasrsNodeAssociationStatus (\ s a -> s{_dnasrsNodeAssociationStatus = a})--instance NFData DescribeNodeAssociationStatusResponse- where
− gen/Network/AWS/OpsWorksCM/DescribeServers.hs
@@ -1,171 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.DescribeServers--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists all configuration management servers that are identified with your account. Only the stored results from Amazon DynamoDB are returned. AWS OpsWorks CM does not query other services.--------- This operation is synchronous.------ A @ResourceNotFoundException@ is thrown when the server does not exist. A @ValidationException@ is raised when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.DescribeServers- (- -- * Creating a Request- describeServers- , DescribeServers- -- * Request Lenses- , dssServerName- , dssNextToken- , dssMaxResults-- -- * Destructuring the Response- , describeServersResponse- , DescribeServersResponse- -- * Response Lenses- , dssrsServers- , dssrsNextToken- , dssrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeServers' smart constructor.-data DescribeServers = DescribeServers'- { _dssServerName :: !(Maybe Text)- , _dssNextToken :: !(Maybe Text)- , _dssMaxResults :: !(Maybe Nat)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeServers' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dssServerName' - Describes the server with the specified ServerName.------ * 'dssNextToken' - NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeServers@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.------ * 'dssMaxResults' - To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a @NextToken@ value that you can assign to the @NextToken@ request parameter to get the next set of results.-describeServers- :: DescribeServers-describeServers =- DescribeServers'- { _dssServerName = Nothing- , _dssNextToken = Nothing- , _dssMaxResults = Nothing- }----- | Describes the server with the specified ServerName.-dssServerName :: Lens' DescribeServers (Maybe Text)-dssServerName = lens _dssServerName (\ s a -> s{_dssServerName = a})---- | NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeServers@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.-dssNextToken :: Lens' DescribeServers (Maybe Text)-dssNextToken = lens _dssNextToken (\ s a -> s{_dssNextToken = a})---- | To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a @NextToken@ value that you can assign to the @NextToken@ request parameter to get the next set of results.-dssMaxResults :: Lens' DescribeServers (Maybe Natural)-dssMaxResults = lens _dssMaxResults (\ s a -> s{_dssMaxResults = a}) . mapping _Nat--instance AWSRequest DescribeServers where- type Rs DescribeServers = DescribeServersResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- DescribeServersResponse' <$>- (x .?> "Servers" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable DescribeServers where--instance NFData DescribeServers where--instance ToHeaders DescribeServers where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.DescribeServers" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeServers where- toJSON DescribeServers'{..}- = object- (catMaybes- [("ServerName" .=) <$> _dssServerName,- ("NextToken" .=) <$> _dssNextToken,- ("MaxResults" .=) <$> _dssMaxResults])--instance ToPath DescribeServers where- toPath = const "/"--instance ToQuery DescribeServers where- toQuery = const mempty---- | /See:/ 'describeServersResponse' smart constructor.-data DescribeServersResponse = DescribeServersResponse'- { _dssrsServers :: !(Maybe [Server])- , _dssrsNextToken :: !(Maybe Text)- , _dssrsResponseStatus :: !Int- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeServersResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dssrsServers' - Contains the response to a @DescribeServers@ request. /For Puppet Server:/ @DescribeServersResponse$Servers$EngineAttributes@ contains PUPPET_API_CA_CERT. This is the PEM-encoded CA certificate that is used by the Puppet API over TCP port number 8140. The CA certificate is also used to sign node certificates.------ * 'dssrsNextToken' - NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeServers@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.------ * 'dssrsResponseStatus' - -- | The response status code.-describeServersResponse- :: Int -- ^ 'dssrsResponseStatus'- -> DescribeServersResponse-describeServersResponse pResponseStatus_ =- DescribeServersResponse'- { _dssrsServers = Nothing- , _dssrsNextToken = Nothing- , _dssrsResponseStatus = pResponseStatus_- }----- | Contains the response to a @DescribeServers@ request. /For Puppet Server:/ @DescribeServersResponse$Servers$EngineAttributes@ contains PUPPET_API_CA_CERT. This is the PEM-encoded CA certificate that is used by the Puppet API over TCP port number 8140. The CA certificate is also used to sign node certificates.-dssrsServers :: Lens' DescribeServersResponse [Server]-dssrsServers = lens _dssrsServers (\ s a -> s{_dssrsServers = a}) . _Default . _Coerce---- | NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call @DescribeServers@ again, and assign the token from the previous results as the value of the @nextToken@ parameter. If there are no more results, the response object's @nextToken@ parameter value is @null@ . Setting a @nextToken@ value that was not returned in your previous results causes an @InvalidNextTokenException@ to occur.-dssrsNextToken :: Lens' DescribeServersResponse (Maybe Text)-dssrsNextToken = lens _dssrsNextToken (\ s a -> s{_dssrsNextToken = a})---- | -- | The response status code.-dssrsResponseStatus :: Lens' DescribeServersResponse Int-dssrsResponseStatus = lens _dssrsResponseStatus (\ s a -> s{_dssrsResponseStatus = a})--instance NFData DescribeServersResponse where
− gen/Network/AWS/OpsWorksCM/DisassociateNode.hs
@@ -1,162 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.DisassociateNode--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Disassociates a node from an AWS OpsWorks CM server, and removes the node from the server's managed nodes. After a node is disassociated, the node key pair is no longer valid for accessing the configuration manager's API. For more information about how to associate a node, see 'AssociateNode' .--------- A node can can only be disassociated from a server that is in a @HEALTHY@ state. Otherwise, an @InvalidStateException@ is thrown. A @ResourceNotFoundException@ is thrown when the server does not exist. A @ValidationException@ is raised when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.DisassociateNode- (- -- * Creating a Request- disassociateNode- , DisassociateNode- -- * Request Lenses- , dnEngineAttributes- , dnServerName- , dnNodeName-- -- * Destructuring the Response- , disassociateNodeResponse- , DisassociateNodeResponse- -- * Response Lenses- , dnrsNodeAssociationStatusToken- , dnrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'disassociateNode' smart constructor.-data DisassociateNode = DisassociateNode'- { _dnEngineAttributes :: !(Maybe [EngineAttribute])- , _dnServerName :: !Text- , _dnNodeName :: !Text- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'DisassociateNode' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dnEngineAttributes' - Engine attributes that are used for disassociating the node. No attributes are required for Puppet. __Attributes required in a DisassociateNode request for Chef__ * @CHEF_ORGANIZATION@ : The Chef organization with which the node was associated. By default only one organization named @default@ can exist.------ * 'dnServerName' - The name of the server from which to disassociate the node.------ * 'dnNodeName' - The name of the client node.-disassociateNode- :: Text -- ^ 'dnServerName'- -> Text -- ^ 'dnNodeName'- -> DisassociateNode-disassociateNode pServerName_ pNodeName_ =- DisassociateNode'- { _dnEngineAttributes = Nothing- , _dnServerName = pServerName_- , _dnNodeName = pNodeName_- }----- | Engine attributes that are used for disassociating the node. No attributes are required for Puppet. __Attributes required in a DisassociateNode request for Chef__ * @CHEF_ORGANIZATION@ : The Chef organization with which the node was associated. By default only one organization named @default@ can exist.-dnEngineAttributes :: Lens' DisassociateNode [EngineAttribute]-dnEngineAttributes = lens _dnEngineAttributes (\ s a -> s{_dnEngineAttributes = a}) . _Default . _Coerce---- | The name of the server from which to disassociate the node.-dnServerName :: Lens' DisassociateNode Text-dnServerName = lens _dnServerName (\ s a -> s{_dnServerName = a})---- | The name of the client node.-dnNodeName :: Lens' DisassociateNode Text-dnNodeName = lens _dnNodeName (\ s a -> s{_dnNodeName = a})--instance AWSRequest DisassociateNode where- type Rs DisassociateNode = DisassociateNodeResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- DisassociateNodeResponse' <$>- (x .?> "NodeAssociationStatusToken") <*>- (pure (fromEnum s)))--instance Hashable DisassociateNode where--instance NFData DisassociateNode where--instance ToHeaders DisassociateNode where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.DisassociateNode" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DisassociateNode where- toJSON DisassociateNode'{..}- = object- (catMaybes- [("EngineAttributes" .=) <$> _dnEngineAttributes,- Just ("ServerName" .= _dnServerName),- Just ("NodeName" .= _dnNodeName)])--instance ToPath DisassociateNode where- toPath = const "/"--instance ToQuery DisassociateNode where- toQuery = const mempty---- | /See:/ 'disassociateNodeResponse' smart constructor.-data DisassociateNodeResponse = DisassociateNodeResponse'- { _dnrsNodeAssociationStatusToken :: !(Maybe Text)- , _dnrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DisassociateNodeResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dnrsNodeAssociationStatusToken' - Contains a token which can be passed to the @DescribeNodeAssociationStatus@ API call to get the status of the disassociation request.------ * 'dnrsResponseStatus' - -- | The response status code.-disassociateNodeResponse- :: Int -- ^ 'dnrsResponseStatus'- -> DisassociateNodeResponse-disassociateNodeResponse pResponseStatus_ =- DisassociateNodeResponse'- { _dnrsNodeAssociationStatusToken = Nothing- , _dnrsResponseStatus = pResponseStatus_- }----- | Contains a token which can be passed to the @DescribeNodeAssociationStatus@ API call to get the status of the disassociation request.-dnrsNodeAssociationStatusToken :: Lens' DisassociateNodeResponse (Maybe Text)-dnrsNodeAssociationStatusToken = lens _dnrsNodeAssociationStatusToken (\ s a -> s{_dnrsNodeAssociationStatusToken = a})---- | -- | The response status code.-dnrsResponseStatus :: Lens' DisassociateNodeResponse Int-dnrsResponseStatus = lens _dnrsResponseStatus (\ s a -> s{_dnrsResponseStatus = a})--instance NFData DisassociateNodeResponse where
− gen/Network/AWS/OpsWorksCM/RestoreServer.hs
@@ -1,161 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.RestoreServer--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Restores a backup to a server that is in a @CONNECTION_LOST@ , @HEALTHY@ , @RUNNING@ , @UNHEALTHY@ , or @TERMINATED@ state. When you run RestoreServer, the server's EC2 instance is deleted, and a new EC2 instance is configured. RestoreServer maintains the existing server endpoint, so configuration management of the server's client devices (nodes) should continue to work.--------- This operation is asynchronous.------ An @InvalidStateException@ is thrown when the server is not in a valid state. A @ResourceNotFoundException@ is thrown when the server does not exist. A @ValidationException@ is raised when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.RestoreServer- (- -- * Creating a Request- restoreServer- , RestoreServer- -- * Request Lenses- , rsKeyPair- , rsInstanceType- , rsBackupId- , rsServerName-- -- * Destructuring the Response- , restoreServerResponse- , RestoreServerResponse- -- * Response Lenses- , rsrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'restoreServer' smart constructor.-data RestoreServer = RestoreServer'- { _rsKeyPair :: !(Maybe Text)- , _rsInstanceType :: !(Maybe Text)- , _rsBackupId :: !Text- , _rsServerName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RestoreServer' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rsKeyPair' - The name of the key pair to set on the new EC2 instance. This can be helpful if the administrator no longer has the SSH key.------ * 'rsInstanceType' - The type of the instance to create. Valid values must be specified in the following format: @^([cm][34]|t2).*@ For example, @m4.large@ . Valid values are @t2.medium@ , @m4.large@ , and @m4.2xlarge@ . If you do not specify this parameter, RestoreServer uses the instance type from the specified backup.------ * 'rsBackupId' - The ID of the backup that you want to use to restore a server.------ * 'rsServerName' - The name of the server that you want to restore.-restoreServer- :: Text -- ^ 'rsBackupId'- -> Text -- ^ 'rsServerName'- -> RestoreServer-restoreServer pBackupId_ pServerName_ =- RestoreServer'- { _rsKeyPair = Nothing- , _rsInstanceType = Nothing- , _rsBackupId = pBackupId_- , _rsServerName = pServerName_- }----- | The name of the key pair to set on the new EC2 instance. This can be helpful if the administrator no longer has the SSH key.-rsKeyPair :: Lens' RestoreServer (Maybe Text)-rsKeyPair = lens _rsKeyPair (\ s a -> s{_rsKeyPair = a})---- | The type of the instance to create. Valid values must be specified in the following format: @^([cm][34]|t2).*@ For example, @m4.large@ . Valid values are @t2.medium@ , @m4.large@ , and @m4.2xlarge@ . If you do not specify this parameter, RestoreServer uses the instance type from the specified backup.-rsInstanceType :: Lens' RestoreServer (Maybe Text)-rsInstanceType = lens _rsInstanceType (\ s a -> s{_rsInstanceType = a})---- | The ID of the backup that you want to use to restore a server.-rsBackupId :: Lens' RestoreServer Text-rsBackupId = lens _rsBackupId (\ s a -> s{_rsBackupId = a})---- | The name of the server that you want to restore.-rsServerName :: Lens' RestoreServer Text-rsServerName = lens _rsServerName (\ s a -> s{_rsServerName = a})--instance AWSRequest RestoreServer where- type Rs RestoreServer = RestoreServerResponse- request = postJSON opsWorksCM- response- = receiveEmpty- (\ s h x ->- RestoreServerResponse' <$> (pure (fromEnum s)))--instance Hashable RestoreServer where--instance NFData RestoreServer where--instance ToHeaders RestoreServer where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.RestoreServer" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON RestoreServer where- toJSON RestoreServer'{..}- = object- (catMaybes- [("KeyPair" .=) <$> _rsKeyPair,- ("InstanceType" .=) <$> _rsInstanceType,- Just ("BackupId" .= _rsBackupId),- Just ("ServerName" .= _rsServerName)])--instance ToPath RestoreServer where- toPath = const "/"--instance ToQuery RestoreServer where- toQuery = const mempty---- | /See:/ 'restoreServerResponse' smart constructor.-newtype RestoreServerResponse = RestoreServerResponse'- { _rsrsResponseStatus :: Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RestoreServerResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rsrsResponseStatus' - -- | The response status code.-restoreServerResponse- :: Int -- ^ 'rsrsResponseStatus'- -> RestoreServerResponse-restoreServerResponse pResponseStatus_ =- RestoreServerResponse' {_rsrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-rsrsResponseStatus :: Lens' RestoreServerResponse Int-rsrsResponseStatus = lens _rsrsResponseStatus (\ s a -> s{_rsrsResponseStatus = a})--instance NFData RestoreServerResponse where
− gen/Network/AWS/OpsWorksCM/StartMaintenance.hs
@@ -1,146 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.StartMaintenance--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Manually starts server maintenance. This command can be useful if an earlier maintenance attempt failed, and the underlying cause of maintenance failure has been resolved. The server is in an @UNDER_MAINTENANCE@ state while maintenance is in progress.--------- Maintenance can only be started on servers in @HEALTHY@ and @UNHEALTHY@ states. Otherwise, an @InvalidStateException@ is thrown. A @ResourceNotFoundException@ is thrown when the server does not exist. A @ValidationException@ is raised when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.StartMaintenance- (- -- * Creating a Request- startMaintenance- , StartMaintenance- -- * Request Lenses- , smEngineAttributes- , smServerName-- -- * Destructuring the Response- , startMaintenanceResponse- , StartMaintenanceResponse- -- * Response Lenses- , smrsServer- , smrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'startMaintenance' smart constructor.-data StartMaintenance = StartMaintenance'- { _smEngineAttributes :: !(Maybe [EngineAttribute])- , _smServerName :: !Text- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'StartMaintenance' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'smEngineAttributes' - Engine attributes that are specific to the server on which you want to run maintenance.------ * 'smServerName' - The name of the server on which to run maintenance.-startMaintenance- :: Text -- ^ 'smServerName'- -> StartMaintenance-startMaintenance pServerName_ =- StartMaintenance'- {_smEngineAttributes = Nothing, _smServerName = pServerName_}----- | Engine attributes that are specific to the server on which you want to run maintenance.-smEngineAttributes :: Lens' StartMaintenance [EngineAttribute]-smEngineAttributes = lens _smEngineAttributes (\ s a -> s{_smEngineAttributes = a}) . _Default . _Coerce---- | The name of the server on which to run maintenance.-smServerName :: Lens' StartMaintenance Text-smServerName = lens _smServerName (\ s a -> s{_smServerName = a})--instance AWSRequest StartMaintenance where- type Rs StartMaintenance = StartMaintenanceResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- StartMaintenanceResponse' <$>- (x .?> "Server") <*> (pure (fromEnum s)))--instance Hashable StartMaintenance where--instance NFData StartMaintenance where--instance ToHeaders StartMaintenance where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.StartMaintenance" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON StartMaintenance where- toJSON StartMaintenance'{..}- = object- (catMaybes- [("EngineAttributes" .=) <$> _smEngineAttributes,- Just ("ServerName" .= _smServerName)])--instance ToPath StartMaintenance where- toPath = const "/"--instance ToQuery StartMaintenance where- toQuery = const mempty---- | /See:/ 'startMaintenanceResponse' smart constructor.-data StartMaintenanceResponse = StartMaintenanceResponse'- { _smrsServer :: !(Maybe Server)- , _smrsResponseStatus :: !Int- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'StartMaintenanceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'smrsServer' - Contains the response to a @StartMaintenance@ request.------ * 'smrsResponseStatus' - -- | The response status code.-startMaintenanceResponse- :: Int -- ^ 'smrsResponseStatus'- -> StartMaintenanceResponse-startMaintenanceResponse pResponseStatus_ =- StartMaintenanceResponse'- {_smrsServer = Nothing, _smrsResponseStatus = pResponseStatus_}----- | Contains the response to a @StartMaintenance@ request.-smrsServer :: Lens' StartMaintenanceResponse (Maybe Server)-smrsServer = lens _smrsServer (\ s a -> s{_smrsServer = a})---- | -- | The response status code.-smrsResponseStatus :: Lens' StartMaintenanceResponse Int-smrsResponseStatus = lens _smrsResponseStatus (\ s a -> s{_smrsResponseStatus = a})--instance NFData StartMaintenanceResponse where
− gen/Network/AWS/OpsWorksCM/Types.hs
@@ -1,206 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.Types--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.OpsWorksCM.Types- (- -- * Service Configuration- opsWorksCM-- -- * Errors- , _ValidationException- , _ResourceAlreadyExistsException- , _InvalidNextTokenException- , _ResourceNotFoundException- , _InvalidStateException- , _LimitExceededException-- -- * BackupStatus- , BackupStatus (..)-- -- * BackupType- , BackupType (..)-- -- * MaintenanceStatus- , MaintenanceStatus (..)-- -- * NodeAssociationStatus- , NodeAssociationStatus (..)-- -- * ServerStatus- , ServerStatus (..)-- -- * AccountAttribute- , AccountAttribute- , accountAttribute- , aaUsed- , aaMaximum- , aaName-- -- * Backup- , Backup- , backup- , bEngineVersion- , bServiceRoleARN- , bStatus- , bInstanceProfileARN- , bSecurityGroupIds- , bStatusDescription- , bServerName- , bSubnetIds- , bKeyPair- , bCreatedAt- , bBackupId- , bEngine- , bInstanceType- , bEngineModel- , bPreferredMaintenanceWindow- , bUserARN- , bPreferredBackupWindow- , bS3LogURL- , bS3DataSize- , bBackupARN- , bS3DataURL- , bDescription- , bBackupType- , bToolsVersion-- -- * EngineAttribute- , EngineAttribute- , engineAttribute- , eaValue- , eaName-- -- * Server- , Server- , server- , sEngineVersion- , sServiceRoleARN- , sDisableAutomatedBackup- , sStatus- , sInstanceProfileARN- , sSecurityGroupIds- , sAssociatePublicIPAddress- , sServerName- , sSubnetIds- , sKeyPair- , sCreatedAt- , sServerARN- , sEngine- , sMaintenanceStatus- , sInstanceType- , sEngineModel- , sEngineAttributes- , sPreferredMaintenanceWindow- , sPreferredBackupWindow- , sStatusReason- , sEndpoint- , sCloudFormationStackARN- , sBackupRetentionCount-- -- * ServerEvent- , ServerEvent- , serverEvent- , seLogURL- , seServerName- , seCreatedAt- , seMessage- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.OpsWorksCM.Types.Sum-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2016-11-01@ of the Amazon OpsWorks for Chef Automate SDK configuration.-opsWorksCM :: Service-opsWorksCM =- Service- { _svcAbbrev = "OpsWorksCM"- , _svcSigner = v4- , _svcPrefix = "opsworks-cm"- , _svcVersion = "2016-11-01"- , _svcEndpoint = defaultEndpoint opsWorksCM- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "OpsWorksCM"- , _svcRetry = retry- }- where- retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }- check e- | has (hasCode "ThrottledException" . hasStatus 400) e =- Just "throttled_exception"- | has (hasStatus 429) e = Just "too_many_requests"- | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"- | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"- | has (hasStatus 504) e = Just "gateway_timeout"- | has (hasCode "RequestThrottledException" . hasStatus 400) e =- Just "request_throttled_exception"- | has (hasStatus 502) e = Just "bad_gateway"- | has (hasStatus 503) e = Just "service_unavailable"- | has (hasStatus 500) e = Just "general_server_error"- | has (hasStatus 509) e = Just "limit_exceeded"- | otherwise = Nothing----- | One or more of the provided request parameters are not valid.-------_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError-_ValidationException = _MatchServiceError opsWorksCM "ValidationException"----- | The requested resource cannot be created because it already exists.-------_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError-_ResourceAlreadyExistsException =- _MatchServiceError opsWorksCM "ResourceAlreadyExistsException"----- | This occurs when the provided nextToken is not valid.-------_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidNextTokenException =- _MatchServiceError opsWorksCM "InvalidNextTokenException"----- | The requested resource does not exist, or access was denied.-------_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ResourceNotFoundException =- _MatchServiceError opsWorksCM "ResourceNotFoundException"----- | The resource is in a state that does not allow you to perform a specified action.-------_InvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidStateException = _MatchServiceError opsWorksCM "InvalidStateException"----- | The limit of servers or backups has been reached.-------_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_LimitExceededException = _MatchServiceError opsWorksCM "LimitExceededException"-
− gen/Network/AWS/OpsWorksCM/Types/Product.hs
@@ -1,664 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.Types.Product--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.OpsWorksCM.Types.Product where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types.Sum-import Network.AWS.Prelude---- | Stores account attributes.------------ /See:/ 'accountAttribute' smart constructor.-data AccountAttribute = AccountAttribute'- { _aaUsed :: !(Maybe Int)- , _aaMaximum :: !(Maybe Int)- , _aaName :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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 servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers. * /ManualBackupLimit:/ The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.-accountAttribute- :: AccountAttribute-accountAttribute =- AccountAttribute' {_aaUsed = Nothing, _aaMaximum = Nothing, _aaName = Nothing}----- | The current usage, such as the current number of servers that are associated with the account.-aaUsed :: Lens' AccountAttribute (Maybe Int)-aaUsed = lens _aaUsed (\ s a -> s{_aaUsed = a})---- | The maximum allowed value.-aaMaximum :: Lens' AccountAttribute (Maybe Int)-aaMaximum = lens _aaMaximum (\ s a -> s{_aaMaximum = a})---- | The attribute name. The following are supported attribute names. * /ServerLimit:/ The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers. * /ManualBackupLimit:/ The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.-aaName :: Lens' AccountAttribute (Maybe Text)-aaName = lens _aaName (\ s a -> s{_aaName = a})--instance FromJSON AccountAttribute where- parseJSON- = withObject "AccountAttribute"- (\ x ->- AccountAttribute' <$>- (x .:? "Used") <*> (x .:? "Maximum") <*>- (x .:? "Name"))--instance Hashable AccountAttribute where--instance NFData AccountAttribute where---- | Describes a single backup.------------ /See:/ 'backup' smart constructor.-data Backup = Backup'- { _bEngineVersion :: !(Maybe Text)- , _bServiceRoleARN :: !(Maybe Text)- , _bStatus :: !(Maybe BackupStatus)- , _bInstanceProfileARN :: !(Maybe Text)- , _bSecurityGroupIds :: !(Maybe [Text])- , _bStatusDescription :: !(Maybe Text)- , _bServerName :: !(Maybe Text)- , _bSubnetIds :: !(Maybe [Text])- , _bKeyPair :: !(Maybe Text)- , _bCreatedAt :: !(Maybe POSIX)- , _bBackupId :: !(Maybe Text)- , _bEngine :: !(Maybe Text)- , _bInstanceType :: !(Maybe Text)- , _bEngineModel :: !(Maybe Text)- , _bPreferredMaintenanceWindow :: !(Maybe Text)- , _bUserARN :: !(Maybe Text)- , _bPreferredBackupWindow :: !(Maybe Text)- , _bS3LogURL :: !(Maybe Text)- , _bS3DataSize :: !(Maybe Int)- , _bBackupARN :: !(Maybe Text)- , _bS3DataURL :: !(Maybe Text)- , _bDescription :: !(Maybe Text)- , _bBackupType :: !(Maybe BackupType)- , _bToolsVersion :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-backup- :: Backup-backup =- Backup'- { _bEngineVersion = Nothing- , _bServiceRoleARN = Nothing- , _bStatus = Nothing- , _bInstanceProfileARN = Nothing- , _bSecurityGroupIds = Nothing- , _bStatusDescription = Nothing- , _bServerName = Nothing- , _bSubnetIds = Nothing- , _bKeyPair = Nothing- , _bCreatedAt = Nothing- , _bBackupId = Nothing- , _bEngine = Nothing- , _bInstanceType = Nothing- , _bEngineModel = Nothing- , _bPreferredMaintenanceWindow = Nothing- , _bUserARN = Nothing- , _bPreferredBackupWindow = Nothing- , _bS3LogURL = Nothing- , _bS3DataSize = Nothing- , _bBackupARN = Nothing- , _bS3DataURL = Nothing- , _bDescription = Nothing- , _bBackupType = Nothing- , _bToolsVersion = Nothing- }----- | The engine version that is obtained from the server when the backup is created.-bEngineVersion :: Lens' Backup (Maybe Text)-bEngineVersion = lens _bEngineVersion (\ s a -> s{_bEngineVersion = a})---- | The service role ARN that is obtained from the server when the backup is created.-bServiceRoleARN :: Lens' Backup (Maybe Text)-bServiceRoleARN = lens _bServiceRoleARN (\ s a -> s{_bServiceRoleARN = a})---- | The status of a backup while in progress.-bStatus :: Lens' Backup (Maybe BackupStatus)-bStatus = lens _bStatus (\ s a -> s{_bStatus = a})---- | 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.-bInstanceProfileARN :: Lens' Backup (Maybe Text)-bInstanceProfileARN = lens _bInstanceProfileARN (\ s a -> s{_bInstanceProfileARN = a})---- | The security group IDs that are obtained from the server when the backup is created.-bSecurityGroupIds :: Lens' Backup [Text]-bSecurityGroupIds = lens _bSecurityGroupIds (\ s a -> s{_bSecurityGroupIds = a}) . _Default . _Coerce---- | An informational message about backup status.-bStatusDescription :: Lens' Backup (Maybe Text)-bStatusDescription = lens _bStatusDescription (\ s a -> s{_bStatusDescription = a})---- | The name of the server from which the backup was made.-bServerName :: Lens' Backup (Maybe Text)-bServerName = lens _bServerName (\ s a -> s{_bServerName = a})---- | The subnet IDs that are obtained from the server when the backup is created.-bSubnetIds :: Lens' Backup [Text]-bSubnetIds = lens _bSubnetIds (\ s a -> s{_bSubnetIds = a}) . _Default . _Coerce---- | The key pair that is obtained from the server when the backup is created.-bKeyPair :: Lens' Backup (Maybe Text)-bKeyPair = lens _bKeyPair (\ s a -> s{_bKeyPair = a})---- | The time stamp when the backup was created in the database. Example: @2016-07-29T13:38:47.520Z@-bCreatedAt :: Lens' Backup (Maybe UTCTime)-bCreatedAt = lens _bCreatedAt (\ s a -> s{_bCreatedAt = a}) . mapping _Time---- | The generated ID of the backup. Example: @myServerName-yyyyMMddHHmmssSSS@-bBackupId :: Lens' Backup (Maybe Text)-bBackupId = lens _bBackupId (\ s a -> s{_bBackupId = a})---- | The engine type that is obtained from the server when the backup is created.-bEngine :: Lens' Backup (Maybe Text)-bEngine = lens _bEngine (\ s a -> s{_bEngine = a})---- | The instance type that is obtained from the server when the backup is created.-bInstanceType :: Lens' Backup (Maybe Text)-bInstanceType = lens _bInstanceType (\ s a -> s{_bInstanceType = a})---- | The engine model that is obtained from the server when the backup is created.-bEngineModel :: Lens' Backup (Maybe Text)-bEngineModel = lens _bEngineModel (\ s a -> s{_bEngineModel = a})---- | The preferred maintenance period that is obtained from the server when the backup is created.-bPreferredMaintenanceWindow :: Lens' Backup (Maybe Text)-bPreferredMaintenanceWindow = lens _bPreferredMaintenanceWindow (\ s a -> s{_bPreferredMaintenanceWindow = a})---- | The IAM user ARN of the requester for manual backups. This field is empty for automated backups.-bUserARN :: Lens' Backup (Maybe Text)-bUserARN = lens _bUserARN (\ s a -> s{_bUserARN = a})---- | The preferred backup period that is obtained from the server when the backup is created.-bPreferredBackupWindow :: Lens' Backup (Maybe Text)-bPreferredBackupWindow = lens _bPreferredBackupWindow (\ s a -> s{_bPreferredBackupWindow = a})---- | The Amazon S3 URL of the backup's log file.-bS3LogURL :: Lens' Backup (Maybe Text)-bS3LogURL = lens _bS3LogURL (\ s a -> s{_bS3LogURL = a})---- | This field is deprecated and is no longer used.-bS3DataSize :: Lens' Backup (Maybe Int)-bS3DataSize = lens _bS3DataSize (\ s a -> s{_bS3DataSize = a})---- | The ARN of the backup.-bBackupARN :: Lens' Backup (Maybe Text)-bBackupARN = lens _bBackupARN (\ s a -> s{_bBackupARN = a})---- | This field is deprecated and is no longer used.-bS3DataURL :: Lens' Backup (Maybe Text)-bS3DataURL = lens _bS3DataURL (\ s a -> s{_bS3DataURL = a})---- | A user-provided description for a manual backup. This field is empty for automated backups.-bDescription :: Lens' Backup (Maybe Text)-bDescription = lens _bDescription (\ s a -> s{_bDescription = a})---- | The backup type. Valid values are @automated@ or @manual@ .-bBackupType :: Lens' Backup (Maybe BackupType)-bBackupType = lens _bBackupType (\ s a -> s{_bBackupType = a})---- | The version of AWS OpsWorks CM-specific tools that is obtained from the server when the backup is created.-bToolsVersion :: Lens' Backup (Maybe Text)-bToolsVersion = lens _bToolsVersion (\ s a -> s{_bToolsVersion = a})--instance FromJSON Backup where- parseJSON- = withObject "Backup"- (\ x ->- Backup' <$>- (x .:? "EngineVersion") <*> (x .:? "ServiceRoleArn")- <*> (x .:? "Status")- <*> (x .:? "InstanceProfileArn")- <*> (x .:? "SecurityGroupIds" .!= mempty)- <*> (x .:? "StatusDescription")- <*> (x .:? "ServerName")- <*> (x .:? "SubnetIds" .!= mempty)- <*> (x .:? "KeyPair")- <*> (x .:? "CreatedAt")- <*> (x .:? "BackupId")- <*> (x .:? "Engine")- <*> (x .:? "InstanceType")- <*> (x .:? "EngineModel")- <*> (x .:? "PreferredMaintenanceWindow")- <*> (x .:? "UserArn")- <*> (x .:? "PreferredBackupWindow")- <*> (x .:? "S3LogUrl")- <*> (x .:? "S3DataSize")- <*> (x .:? "BackupArn")- <*> (x .:? "S3DataUrl")- <*> (x .:? "Description")- <*> (x .:? "BackupType")- <*> (x .:? "ToolsVersion"))--instance Hashable Backup where--instance NFData Backup where---- | A name and value pair that is specific to the engine of the server.------------ /See:/ 'engineAttribute' smart constructor.-data EngineAttribute = EngineAttribute'- { _eaValue :: !(Maybe (Sensitive Text))- , _eaName :: !(Maybe Text)- } deriving (Eq, Show, Data, Typeable, Generic)----- | 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.-engineAttribute- :: EngineAttribute-engineAttribute = EngineAttribute' {_eaValue = Nothing, _eaName = Nothing}----- | The value of the engine attribute.-eaValue :: Lens' EngineAttribute (Maybe Text)-eaValue = lens _eaValue (\ s a -> s{_eaValue = a}) . mapping _Sensitive---- | The name of the engine attribute.-eaName :: Lens' EngineAttribute (Maybe Text)-eaName = lens _eaName (\ s a -> s{_eaName = a})--instance FromJSON EngineAttribute where- parseJSON- = withObject "EngineAttribute"- (\ x ->- EngineAttribute' <$>- (x .:? "Value") <*> (x .:? "Name"))--instance Hashable EngineAttribute where--instance NFData EngineAttribute where--instance ToJSON EngineAttribute where- toJSON EngineAttribute'{..}- = object- (catMaybes- [("Value" .=) <$> _eaValue, ("Name" .=) <$> _eaName])---- | Describes a configuration management server.------------ /See:/ 'server' smart constructor.-data Server = Server'- { _sEngineVersion :: !(Maybe Text)- , _sServiceRoleARN :: !(Maybe Text)- , _sDisableAutomatedBackup :: !(Maybe Bool)- , _sStatus :: !(Maybe ServerStatus)- , _sInstanceProfileARN :: !(Maybe Text)- , _sSecurityGroupIds :: !(Maybe [Text])- , _sAssociatePublicIPAddress :: !(Maybe Bool)- , _sServerName :: !(Maybe Text)- , _sSubnetIds :: !(Maybe [Text])- , _sKeyPair :: !(Maybe Text)- , _sCreatedAt :: !(Maybe POSIX)- , _sServerARN :: !(Maybe Text)- , _sEngine :: !(Maybe Text)- , _sMaintenanceStatus :: !(Maybe MaintenanceStatus)- , _sInstanceType :: !(Maybe Text)- , _sEngineModel :: !(Maybe Text)- , _sEngineAttributes :: !(Maybe [EngineAttribute])- , _sPreferredMaintenanceWindow :: !(Maybe Text)- , _sPreferredBackupWindow :: !(Maybe Text)- , _sStatusReason :: !(Maybe Text)- , _sEndpoint :: !(Maybe Text)- , _sCloudFormationStackARN :: !(Maybe Text)- , _sBackupRetentionCount :: !(Maybe Int)- } deriving (Eq, Show, Data, Typeable, Generic)----- | 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.-server- :: Server-server =- Server'- { _sEngineVersion = Nothing- , _sServiceRoleARN = Nothing- , _sDisableAutomatedBackup = Nothing- , _sStatus = Nothing- , _sInstanceProfileARN = Nothing- , _sSecurityGroupIds = Nothing- , _sAssociatePublicIPAddress = Nothing- , _sServerName = Nothing- , _sSubnetIds = Nothing- , _sKeyPair = Nothing- , _sCreatedAt = Nothing- , _sServerARN = Nothing- , _sEngine = Nothing- , _sMaintenanceStatus = Nothing- , _sInstanceType = Nothing- , _sEngineModel = Nothing- , _sEngineAttributes = Nothing- , _sPreferredMaintenanceWindow = Nothing- , _sPreferredBackupWindow = Nothing- , _sStatusReason = Nothing- , _sEndpoint = Nothing- , _sCloudFormationStackARN = Nothing- , _sBackupRetentionCount = Nothing- }----- | 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@ .-sEngineVersion :: Lens' Server (Maybe Text)-sEngineVersion = lens _sEngineVersion (\ s a -> s{_sEngineVersion = a})---- | The service role ARN used to create the server.-sServiceRoleARN :: Lens' Server (Maybe Text)-sServiceRoleARN = lens _sServiceRoleARN (\ s a -> s{_sServiceRoleARN = a})---- | Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.-sDisableAutomatedBackup :: Lens' Server (Maybe Bool)-sDisableAutomatedBackup = lens _sDisableAutomatedBackup (\ s a -> s{_sDisableAutomatedBackup = a})---- | 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.-sStatus :: Lens' Server (Maybe ServerStatus)-sStatus = lens _sStatus (\ s a -> s{_sStatus = a})---- | The instance profile ARN of the server.-sInstanceProfileARN :: Lens' Server (Maybe Text)-sInstanceProfileARN = lens _sInstanceProfileARN (\ s a -> s{_sInstanceProfileARN = a})---- | 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.-sSecurityGroupIds :: Lens' Server [Text]-sSecurityGroupIds = lens _sSecurityGroupIds (\ s a -> s{_sSecurityGroupIds = a}) . _Default . _Coerce---- | Associate a public IP address with a server that you are launching.-sAssociatePublicIPAddress :: Lens' Server (Maybe Bool)-sAssociatePublicIPAddress = lens _sAssociatePublicIPAddress (\ s a -> s{_sAssociatePublicIPAddress = a})---- | The name of the server.-sServerName :: Lens' Server (Maybe Text)-sServerName = lens _sServerName (\ s a -> s{_sServerName = a})---- | The subnet IDs specified in a CreateServer request.-sSubnetIds :: Lens' Server [Text]-sSubnetIds = lens _sSubnetIds (\ s a -> s{_sSubnetIds = a}) . _Default . _Coerce---- | The key pair associated with the server.-sKeyPair :: Lens' Server (Maybe Text)-sKeyPair = lens _sKeyPair (\ s a -> s{_sKeyPair = a})---- | Time stamp of server creation. Example @2016-07-29T13:38:47.520Z@-sCreatedAt :: Lens' Server (Maybe UTCTime)-sCreatedAt = lens _sCreatedAt (\ s a -> s{_sCreatedAt = a}) . mapping _Time---- | The ARN of the server.-sServerARN :: Lens' Server (Maybe Text)-sServerARN = lens _sServerARN (\ s a -> s{_sServerARN = a})---- | The engine type of the server. Valid values in this release include @Chef@ and @Puppet@ .-sEngine :: Lens' Server (Maybe Text)-sEngine = lens _sEngine (\ s a -> s{_sEngine = a})---- | The status of the most recent server maintenance run. Shows @SUCCESS@ or @FAILED@ .-sMaintenanceStatus :: Lens' Server (Maybe MaintenanceStatus)-sMaintenanceStatus = lens _sMaintenanceStatus (\ s a -> s{_sMaintenanceStatus = a})---- | 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.-sInstanceType :: Lens' Server (Maybe Text)-sInstanceType = lens _sInstanceType (\ s a -> s{_sInstanceType = a})---- | The engine model of the server. Valid values in this release include @Monolithic@ for Puppet and @Single@ for Chef.-sEngineModel :: Lens' Server (Maybe Text)-sEngineModel = lens _sEngineModel (\ s a -> s{_sEngineModel = a})---- | 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.-sEngineAttributes :: Lens' Server [EngineAttribute]-sEngineAttributes = lens _sEngineAttributes (\ s a -> s{_sEngineAttributes = a}) . _Default . _Coerce---- | The preferred maintenance period specified for the server.-sPreferredMaintenanceWindow :: Lens' Server (Maybe Text)-sPreferredMaintenanceWindow = lens _sPreferredMaintenanceWindow (\ s a -> s{_sPreferredMaintenanceWindow = a})---- | The preferred backup period specified for the server.-sPreferredBackupWindow :: Lens' Server (Maybe Text)-sPreferredBackupWindow = lens _sPreferredBackupWindow (\ s a -> s{_sPreferredBackupWindow = a})---- | 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).-sStatusReason :: Lens' Server (Maybe Text)-sStatusReason = lens _sStatusReason (\ s a -> s{_sStatusReason = a})---- | A DNS name that can be used to access the engine. Example: @myserver-asdfghjkl.us-east-1.opsworks.io@-sEndpoint :: Lens' Server (Maybe Text)-sEndpoint = lens _sEndpoint (\ s a -> s{_sEndpoint = a})---- | The ARN of the CloudFormation stack that was used to create the server.-sCloudFormationStackARN :: Lens' Server (Maybe Text)-sCloudFormationStackARN = lens _sCloudFormationStackARN (\ s a -> s{_sCloudFormationStackARN = a})---- | The number of automated backups to keep.-sBackupRetentionCount :: Lens' Server (Maybe Int)-sBackupRetentionCount = lens _sBackupRetentionCount (\ s a -> s{_sBackupRetentionCount = a})--instance FromJSON Server where- parseJSON- = withObject "Server"- (\ x ->- Server' <$>- (x .:? "EngineVersion") <*> (x .:? "ServiceRoleArn")- <*> (x .:? "DisableAutomatedBackup")- <*> (x .:? "Status")- <*> (x .:? "InstanceProfileArn")- <*> (x .:? "SecurityGroupIds" .!= mempty)- <*> (x .:? "AssociatePublicIpAddress")- <*> (x .:? "ServerName")- <*> (x .:? "SubnetIds" .!= mempty)- <*> (x .:? "KeyPair")- <*> (x .:? "CreatedAt")- <*> (x .:? "ServerArn")- <*> (x .:? "Engine")- <*> (x .:? "MaintenanceStatus")- <*> (x .:? "InstanceType")- <*> (x .:? "EngineModel")- <*> (x .:? "EngineAttributes" .!= mempty)- <*> (x .:? "PreferredMaintenanceWindow")- <*> (x .:? "PreferredBackupWindow")- <*> (x .:? "StatusReason")- <*> (x .:? "Endpoint")- <*> (x .:? "CloudFormationStackArn")- <*> (x .:? "BackupRetentionCount"))--instance Hashable Server where--instance NFData Server where---- | An event that is related to the server, such as the start of maintenance or backup.------------ /See:/ 'serverEvent' smart constructor.-data ServerEvent = ServerEvent'- { _seLogURL :: !(Maybe Text)- , _seServerName :: !(Maybe Text)- , _seCreatedAt :: !(Maybe POSIX)- , _seMessage :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | 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.-serverEvent- :: ServerEvent-serverEvent =- ServerEvent'- { _seLogURL = Nothing- , _seServerName = Nothing- , _seCreatedAt = Nothing- , _seMessage = Nothing- }----- | The Amazon S3 URL of the event's log file.-seLogURL :: Lens' ServerEvent (Maybe Text)-seLogURL = lens _seLogURL (\ s a -> s{_seLogURL = a})---- | The name of the server on or for which the event occurred.-seServerName :: Lens' ServerEvent (Maybe Text)-seServerName = lens _seServerName (\ s a -> s{_seServerName = a})---- | The time when the event occurred.-seCreatedAt :: Lens' ServerEvent (Maybe UTCTime)-seCreatedAt = lens _seCreatedAt (\ s a -> s{_seCreatedAt = a}) . mapping _Time---- | A human-readable informational or status message.-seMessage :: Lens' ServerEvent (Maybe Text)-seMessage = lens _seMessage (\ s a -> s{_seMessage = a})--instance FromJSON ServerEvent where- parseJSON- = withObject "ServerEvent"- (\ x ->- ServerEvent' <$>- (x .:? "LogUrl") <*> (x .:? "ServerName") <*>- (x .:? "CreatedAt")- <*> (x .:? "Message"))--instance Hashable ServerEvent where--instance NFData ServerEvent where
− gen/Network/AWS/OpsWorksCM/Types/Sum.hs
@@ -1,210 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.Types.Sum--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.OpsWorksCM.Types.Sum where--import Network.AWS.Prelude--data BackupStatus- = BSDeleting- | BSFailed- | BSInProgress- | BSOK- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText BackupStatus where- parser = takeLowerText >>= \case- "deleting" -> pure BSDeleting- "failed" -> pure BSFailed- "in_progress" -> pure BSInProgress- "ok" -> pure BSOK- e -> fromTextError $ "Failure parsing BackupStatus from value: '" <> e- <> "'. Accepted values: deleting, failed, in_progress, ok"--instance ToText BackupStatus where- toText = \case- BSDeleting -> "DELETING"- BSFailed -> "FAILED"- BSInProgress -> "IN_PROGRESS"- BSOK -> "OK"--instance Hashable BackupStatus-instance NFData BackupStatus-instance ToByteString BackupStatus-instance ToQuery BackupStatus-instance ToHeader BackupStatus--instance FromJSON BackupStatus where- parseJSON = parseJSONText "BackupStatus"--data BackupType- = Automated- | Manual- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText BackupType where- parser = takeLowerText >>= \case- "automated" -> pure Automated- "manual" -> pure Manual- e -> fromTextError $ "Failure parsing BackupType from value: '" <> e- <> "'. Accepted values: automated, manual"--instance ToText BackupType where- toText = \case- Automated -> "AUTOMATED"- Manual -> "MANUAL"--instance Hashable BackupType-instance NFData BackupType-instance ToByteString BackupType-instance ToQuery BackupType-instance ToHeader BackupType--instance FromJSON BackupType where- parseJSON = parseJSONText "BackupType"--data MaintenanceStatus- = MSFailed- | MSSuccess- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MaintenanceStatus where- parser = takeLowerText >>= \case- "failed" -> pure MSFailed- "success" -> pure MSSuccess- e -> fromTextError $ "Failure parsing MaintenanceStatus from value: '" <> e- <> "'. Accepted values: failed, success"--instance ToText MaintenanceStatus where- toText = \case- MSFailed -> "FAILED"- MSSuccess -> "SUCCESS"--instance Hashable MaintenanceStatus-instance NFData MaintenanceStatus-instance ToByteString MaintenanceStatus-instance ToQuery MaintenanceStatus-instance ToHeader MaintenanceStatus--instance FromJSON MaintenanceStatus where- parseJSON = parseJSONText "MaintenanceStatus"---- | 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.----------data NodeAssociationStatus- = NASFailed- | NASInProgress- | NASSuccess- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText NodeAssociationStatus where- parser = takeLowerText >>= \case- "failed" -> pure NASFailed- "in_progress" -> pure NASInProgress- "success" -> pure NASSuccess- e -> fromTextError $ "Failure parsing NodeAssociationStatus from value: '" <> e- <> "'. Accepted values: failed, in_progress, success"--instance ToText NodeAssociationStatus where- toText = \case- NASFailed -> "FAILED"- NASInProgress -> "IN_PROGRESS"- NASSuccess -> "SUCCESS"--instance Hashable NodeAssociationStatus-instance NFData NodeAssociationStatus-instance ToByteString NodeAssociationStatus-instance ToQuery NodeAssociationStatus-instance ToHeader NodeAssociationStatus--instance FromJSON NodeAssociationStatus where- parseJSON = parseJSONText "NodeAssociationStatus"--data ServerStatus- = BackingUp- | ConnectionLost- | Creating- | Deleting- | Failed- | Healthy- | Modifying- | Restoring- | Running- | Setup- | Terminated- | UnderMaintenance- | Unhealthy- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ServerStatus where- parser = takeLowerText >>= \case- "backing_up" -> pure BackingUp- "connection_lost" -> pure ConnectionLost- "creating" -> pure Creating- "deleting" -> pure Deleting- "failed" -> pure Failed- "healthy" -> pure Healthy- "modifying" -> pure Modifying- "restoring" -> pure Restoring- "running" -> pure Running- "setup" -> pure Setup- "terminated" -> pure Terminated- "under_maintenance" -> pure UnderMaintenance- "unhealthy" -> pure Unhealthy- e -> fromTextError $ "Failure parsing ServerStatus from value: '" <> e- <> "'. Accepted values: backing_up, connection_lost, creating, deleting, failed, healthy, modifying, restoring, running, setup, terminated, under_maintenance, unhealthy"--instance ToText ServerStatus where- toText = \case- BackingUp -> "BACKING_UP"- ConnectionLost -> "CONNECTION_LOST"- Creating -> "CREATING"- Deleting -> "DELETING"- Failed -> "FAILED"- Healthy -> "HEALTHY"- Modifying -> "MODIFYING"- Restoring -> "RESTORING"- Running -> "RUNNING"- Setup -> "SETUP"- Terminated -> "TERMINATED"- UnderMaintenance -> "UNDER_MAINTENANCE"- Unhealthy -> "UNHEALTHY"--instance Hashable ServerStatus-instance NFData ServerStatus-instance ToByteString ServerStatus-instance ToQuery ServerStatus-instance ToHeader ServerStatus--instance FromJSON ServerStatus where- parseJSON = parseJSONText "ServerStatus"
− gen/Network/AWS/OpsWorksCM/UpdateServer.hs
@@ -1,182 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.UpdateServer--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates settings for a server.--------- This operation is synchronous.----module Network.AWS.OpsWorksCM.UpdateServer- (- -- * Creating a Request- updateServer- , UpdateServer- -- * Request Lenses- , usDisableAutomatedBackup- , usPreferredMaintenanceWindow- , usPreferredBackupWindow- , usBackupRetentionCount- , usServerName-- -- * Destructuring the Response- , updateServerResponse- , UpdateServerResponse- -- * Response Lenses- , usrsServer- , usrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateServer' smart constructor.-data UpdateServer = UpdateServer'- { _usDisableAutomatedBackup :: !(Maybe Bool)- , _usPreferredMaintenanceWindow :: !(Maybe Text)- , _usPreferredBackupWindow :: !(Maybe Text)- , _usBackupRetentionCount :: !(Maybe Int)- , _usServerName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateServer' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'usDisableAutomatedBackup' - Setting DisableAutomatedBackup to @true@ disables automated or scheduled backups. Automated backups are enabled by default.------ * 'usPreferredMaintenanceWindow' - Undocumented member.------ * 'usPreferredBackupWindow' - Undocumented member.------ * 'usBackupRetentionCount' - Sets the number of automated backups that you want to keep.------ * 'usServerName' - The name of the server to update.-updateServer- :: Text -- ^ 'usServerName'- -> UpdateServer-updateServer pServerName_ =- UpdateServer'- { _usDisableAutomatedBackup = Nothing- , _usPreferredMaintenanceWindow = Nothing- , _usPreferredBackupWindow = Nothing- , _usBackupRetentionCount = Nothing- , _usServerName = pServerName_- }----- | Setting DisableAutomatedBackup to @true@ disables automated or scheduled backups. Automated backups are enabled by default.-usDisableAutomatedBackup :: Lens' UpdateServer (Maybe Bool)-usDisableAutomatedBackup = lens _usDisableAutomatedBackup (\ s a -> s{_usDisableAutomatedBackup = a})---- | Undocumented member.-usPreferredMaintenanceWindow :: Lens' UpdateServer (Maybe Text)-usPreferredMaintenanceWindow = lens _usPreferredMaintenanceWindow (\ s a -> s{_usPreferredMaintenanceWindow = a})---- | Undocumented member.-usPreferredBackupWindow :: Lens' UpdateServer (Maybe Text)-usPreferredBackupWindow = lens _usPreferredBackupWindow (\ s a -> s{_usPreferredBackupWindow = a})---- | Sets the number of automated backups that you want to keep.-usBackupRetentionCount :: Lens' UpdateServer (Maybe Int)-usBackupRetentionCount = lens _usBackupRetentionCount (\ s a -> s{_usBackupRetentionCount = a})---- | The name of the server to update.-usServerName :: Lens' UpdateServer Text-usServerName = lens _usServerName (\ s a -> s{_usServerName = a})--instance AWSRequest UpdateServer where- type Rs UpdateServer = UpdateServerResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- UpdateServerResponse' <$>- (x .?> "Server") <*> (pure (fromEnum s)))--instance Hashable UpdateServer where--instance NFData UpdateServer where--instance ToHeaders UpdateServer where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.UpdateServer" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateServer where- toJSON UpdateServer'{..}- = object- (catMaybes- [("DisableAutomatedBackup" .=) <$>- _usDisableAutomatedBackup,- ("PreferredMaintenanceWindow" .=) <$>- _usPreferredMaintenanceWindow,- ("PreferredBackupWindow" .=) <$>- _usPreferredBackupWindow,- ("BackupRetentionCount" .=) <$>- _usBackupRetentionCount,- Just ("ServerName" .= _usServerName)])--instance ToPath UpdateServer where- toPath = const "/"--instance ToQuery UpdateServer where- toQuery = const mempty---- | /See:/ 'updateServerResponse' smart constructor.-data UpdateServerResponse = UpdateServerResponse'- { _usrsServer :: !(Maybe Server)- , _usrsResponseStatus :: !Int- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateServerResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'usrsServer' - Contains the response to a @UpdateServer@ request.------ * 'usrsResponseStatus' - -- | The response status code.-updateServerResponse- :: Int -- ^ 'usrsResponseStatus'- -> UpdateServerResponse-updateServerResponse pResponseStatus_ =- UpdateServerResponse'- {_usrsServer = Nothing, _usrsResponseStatus = pResponseStatus_}----- | Contains the response to a @UpdateServer@ request.-usrsServer :: Lens' UpdateServerResponse (Maybe Server)-usrsServer = lens _usrsServer (\ s a -> s{_usrsServer = a})---- | -- | The response status code.-usrsResponseStatus :: Lens' UpdateServerResponse Int-usrsResponseStatus = lens _usrsResponseStatus (\ s a -> s{_usrsResponseStatus = a})--instance NFData UpdateServerResponse where
− gen/Network/AWS/OpsWorksCM/UpdateServerEngineAttributes.hs
@@ -1,164 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.UpdateServerEngineAttributes--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates engine-specific attributes on a specified server. The server enters the @MODIFYING@ state when this operation is in progress. Only one update can occur at a time. You can use this command to reset a Chef server's private key (@CHEF_PIVOTAL_KEY@ ), a Chef server's admin password (@CHEF_DELIVERY_ADMIN_PASSWORD@ ), or a Puppet server's admin password (@PUPPET_ADMIN_PASSWORD@ ).--------- This operation is asynchronous.------ This operation can only be called for servers in @HEALTHY@ or @UNHEALTHY@ states. Otherwise, an @InvalidStateException@ is raised. A @ResourceNotFoundException@ is thrown when the server does not exist. A @ValidationException@ is raised when parameters of the request are not valid.----module Network.AWS.OpsWorksCM.UpdateServerEngineAttributes- (- -- * Creating a Request- updateServerEngineAttributes- , UpdateServerEngineAttributes- -- * Request Lenses- , useaAttributeValue- , useaServerName- , useaAttributeName-- -- * Destructuring the Response- , updateServerEngineAttributesResponse- , UpdateServerEngineAttributesResponse- -- * Response Lenses- , usearsServer- , usearsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.Types-import Network.AWS.OpsWorksCM.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateServerEngineAttributes' smart constructor.-data UpdateServerEngineAttributes = UpdateServerEngineAttributes'- { _useaAttributeValue :: !(Maybe Text)- , _useaServerName :: !Text- , _useaAttributeName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateServerEngineAttributes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'useaAttributeValue' - The value to set for the attribute.------ * 'useaServerName' - The name of the server to update.------ * 'useaAttributeName' - The name of the engine attribute to update.-updateServerEngineAttributes- :: Text -- ^ 'useaServerName'- -> Text -- ^ 'useaAttributeName'- -> UpdateServerEngineAttributes-updateServerEngineAttributes pServerName_ pAttributeName_ =- UpdateServerEngineAttributes'- { _useaAttributeValue = Nothing- , _useaServerName = pServerName_- , _useaAttributeName = pAttributeName_- }----- | The value to set for the attribute.-useaAttributeValue :: Lens' UpdateServerEngineAttributes (Maybe Text)-useaAttributeValue = lens _useaAttributeValue (\ s a -> s{_useaAttributeValue = a})---- | The name of the server to update.-useaServerName :: Lens' UpdateServerEngineAttributes Text-useaServerName = lens _useaServerName (\ s a -> s{_useaServerName = a})---- | The name of the engine attribute to update.-useaAttributeName :: Lens' UpdateServerEngineAttributes Text-useaAttributeName = lens _useaAttributeName (\ s a -> s{_useaAttributeName = a})--instance AWSRequest UpdateServerEngineAttributes- where- type Rs UpdateServerEngineAttributes =- UpdateServerEngineAttributesResponse- request = postJSON opsWorksCM- response- = receiveJSON- (\ s h x ->- UpdateServerEngineAttributesResponse' <$>- (x .?> "Server") <*> (pure (fromEnum s)))--instance Hashable UpdateServerEngineAttributes where--instance NFData UpdateServerEngineAttributes where--instance ToHeaders UpdateServerEngineAttributes where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("OpsWorksCM_V2016_11_01.UpdateServerEngineAttributes"- :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateServerEngineAttributes where- toJSON UpdateServerEngineAttributes'{..}- = object- (catMaybes- [("AttributeValue" .=) <$> _useaAttributeValue,- Just ("ServerName" .= _useaServerName),- Just ("AttributeName" .= _useaAttributeName)])--instance ToPath UpdateServerEngineAttributes where- toPath = const "/"--instance ToQuery UpdateServerEngineAttributes where- toQuery = const mempty---- | /See:/ 'updateServerEngineAttributesResponse' smart constructor.-data UpdateServerEngineAttributesResponse = UpdateServerEngineAttributesResponse'- { _usearsServer :: !(Maybe Server)- , _usearsResponseStatus :: !Int- } deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateServerEngineAttributesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'usearsServer' - Contains the response to an @UpdateServerEngineAttributes@ request.------ * 'usearsResponseStatus' - -- | The response status code.-updateServerEngineAttributesResponse- :: Int -- ^ 'usearsResponseStatus'- -> UpdateServerEngineAttributesResponse-updateServerEngineAttributesResponse pResponseStatus_ =- UpdateServerEngineAttributesResponse'- {_usearsServer = Nothing, _usearsResponseStatus = pResponseStatus_}----- | Contains the response to an @UpdateServerEngineAttributes@ request.-usearsServer :: Lens' UpdateServerEngineAttributesResponse (Maybe Server)-usearsServer = lens _usearsServer (\ s a -> s{_usearsServer = a})---- | -- | The response status code.-usearsResponseStatus :: Lens' UpdateServerEngineAttributesResponse Int-usearsResponseStatus = lens _usearsResponseStatus (\ s a -> s{_usearsResponseStatus = a})--instance NFData UpdateServerEngineAttributesResponse- where
− gen/Network/AWS/OpsWorksCM/Waiters.hs
@@ -1,42 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.OpsWorksCM.Waiters--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.OpsWorksCM.Waiters where--import Network.AWS.Lens-import Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus-import Network.AWS.OpsWorksCM.Types-import Network.AWS.Prelude-import Network.AWS.Waiter---- | Polls 'Network.AWS.OpsWorksCM.DescribeNodeAssociationStatus' every 15 seconds until a successful state is reached. An error is returned after 15 failed checks.-nodeAssociated :: Wait DescribeNodeAssociationStatus-nodeAssociated =- Wait- { _waitName = "NodeAssociated"- , _waitAttempts = 15- , _waitDelay = 15- , _waitAcceptors =- [ matchAll- "SUCCESS"- AcceptSuccess- (dnasrsNodeAssociationStatus . to toTextCI)- , matchAll- "FAILED"- AcceptFailure- (dnasrsNodeAssociationStatus . to toTextCI)- ]- }-
test/Main.hs view
@@ -2,20 +2,22 @@ -- | -- Module : Main--- Copyright : (c) 2013-2018 Brendan Hay+-- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.OpsWorksCM+import Test.Amazonka.OpsWorksCM.Internal import Test.Tasty-import Test.AWS.OpsWorksCM-import Test.AWS.OpsWorksCM.Internal main :: IO ()-main = defaultMain $ testGroup "OpsWorksCM"- [ testGroup "tests" tests- , testGroup "fixtures" fixtures- ]+main =+ defaultMain $+ testGroup+ "OpsWorksCM"+ [ testGroup "tests" tests,+ testGroup "fixtures" fixtures+ ]
− test/Test/AWS/Gen/OpsWorksCM.hs
@@ -1,309 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Test.AWS.Gen.OpsWorksCM--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.OpsWorksCM where--import Data.Proxy-import Network.AWS.OpsWorksCM-import Test.AWS.Fixture-import Test.AWS.OpsWorksCM.Internal-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =--- [ testGroup "request"--- [ requestAssociateNode $--- associateNode------ , requestUpdateServer $--- updateServer------ , requestDeleteServer $--- deleteServer------ , requestDeleteBackup $--- deleteBackup------ , requestDescribeEvents $--- describeEvents------ , requestDisassociateNode $--- disassociateNode------ , requestCreateBackup $--- createBackup------ , requestUpdateServerEngineAttributes $--- updateServerEngineAttributes------ , requestStartMaintenance $--- startMaintenance------ , requestDescribeBackups $--- describeBackups------ , requestCreateServer $--- createServer------ , requestRestoreServer $--- restoreServer------ , requestDescribeNodeAssociationStatus $--- describeNodeAssociationStatus------ , requestDescribeAccountAttributes $--- describeAccountAttributes------ , requestDescribeServers $--- describeServers------ ]---- , testGroup "response"--- [ responseAssociateNode $--- associateNodeResponse------ , responseUpdateServer $--- updateServerResponse------ , responseDeleteServer $--- deleteServerResponse------ , responseDeleteBackup $--- deleteBackupResponse------ , responseDescribeEvents $--- describeEventsResponse------ , responseDisassociateNode $--- disassociateNodeResponse------ , responseCreateBackup $--- createBackupResponse------ , responseUpdateServerEngineAttributes $--- updateServerEngineAttributesResponse------ , responseStartMaintenance $--- startMaintenanceResponse------ , responseDescribeBackups $--- describeBackupsResponse------ , responseCreateServer $--- createServerResponse------ , responseRestoreServer $--- restoreServerResponse------ , responseDescribeNodeAssociationStatus $--- describeNodeAssociationStatusResponse------ , responseDescribeAccountAttributes $--- describeAccountAttributesResponse------ , responseDescribeServers $--- describeServersResponse------ ]--- ]---- Requests--requestAssociateNode :: AssociateNode -> TestTree-requestAssociateNode = req- "AssociateNode"- "fixture/AssociateNode.yaml"--requestUpdateServer :: UpdateServer -> TestTree-requestUpdateServer = req- "UpdateServer"- "fixture/UpdateServer.yaml"--requestDeleteServer :: DeleteServer -> TestTree-requestDeleteServer = req- "DeleteServer"- "fixture/DeleteServer.yaml"--requestDeleteBackup :: DeleteBackup -> TestTree-requestDeleteBackup = req- "DeleteBackup"- "fixture/DeleteBackup.yaml"--requestDescribeEvents :: DescribeEvents -> TestTree-requestDescribeEvents = req- "DescribeEvents"- "fixture/DescribeEvents.yaml"--requestDisassociateNode :: DisassociateNode -> TestTree-requestDisassociateNode = req- "DisassociateNode"- "fixture/DisassociateNode.yaml"--requestCreateBackup :: CreateBackup -> TestTree-requestCreateBackup = req- "CreateBackup"- "fixture/CreateBackup.yaml"--requestUpdateServerEngineAttributes :: UpdateServerEngineAttributes -> TestTree-requestUpdateServerEngineAttributes = req- "UpdateServerEngineAttributes"- "fixture/UpdateServerEngineAttributes.yaml"--requestStartMaintenance :: StartMaintenance -> TestTree-requestStartMaintenance = req- "StartMaintenance"- "fixture/StartMaintenance.yaml"--requestDescribeBackups :: DescribeBackups -> TestTree-requestDescribeBackups = req- "DescribeBackups"- "fixture/DescribeBackups.yaml"--requestCreateServer :: CreateServer -> TestTree-requestCreateServer = req- "CreateServer"- "fixture/CreateServer.yaml"--requestRestoreServer :: RestoreServer -> TestTree-requestRestoreServer = req- "RestoreServer"- "fixture/RestoreServer.yaml"--requestDescribeNodeAssociationStatus :: DescribeNodeAssociationStatus -> TestTree-requestDescribeNodeAssociationStatus = req- "DescribeNodeAssociationStatus"- "fixture/DescribeNodeAssociationStatus.yaml"--requestDescribeAccountAttributes :: DescribeAccountAttributes -> TestTree-requestDescribeAccountAttributes = req- "DescribeAccountAttributes"- "fixture/DescribeAccountAttributes.yaml"--requestDescribeServers :: DescribeServers -> TestTree-requestDescribeServers = req- "DescribeServers"- "fixture/DescribeServers.yaml"---- Responses--responseAssociateNode :: AssociateNodeResponse -> TestTree-responseAssociateNode = res- "AssociateNodeResponse"- "fixture/AssociateNodeResponse.proto"- opsWorksCM- (Proxy :: Proxy AssociateNode)--responseUpdateServer :: UpdateServerResponse -> TestTree-responseUpdateServer = res- "UpdateServerResponse"- "fixture/UpdateServerResponse.proto"- opsWorksCM- (Proxy :: Proxy UpdateServer)--responseDeleteServer :: DeleteServerResponse -> TestTree-responseDeleteServer = res- "DeleteServerResponse"- "fixture/DeleteServerResponse.proto"- opsWorksCM- (Proxy :: Proxy DeleteServer)--responseDeleteBackup :: DeleteBackupResponse -> TestTree-responseDeleteBackup = res- "DeleteBackupResponse"- "fixture/DeleteBackupResponse.proto"- opsWorksCM- (Proxy :: Proxy DeleteBackup)--responseDescribeEvents :: DescribeEventsResponse -> TestTree-responseDescribeEvents = res- "DescribeEventsResponse"- "fixture/DescribeEventsResponse.proto"- opsWorksCM- (Proxy :: Proxy DescribeEvents)--responseDisassociateNode :: DisassociateNodeResponse -> TestTree-responseDisassociateNode = res- "DisassociateNodeResponse"- "fixture/DisassociateNodeResponse.proto"- opsWorksCM- (Proxy :: Proxy DisassociateNode)--responseCreateBackup :: CreateBackupResponse -> TestTree-responseCreateBackup = res- "CreateBackupResponse"- "fixture/CreateBackupResponse.proto"- opsWorksCM- (Proxy :: Proxy CreateBackup)--responseUpdateServerEngineAttributes :: UpdateServerEngineAttributesResponse -> TestTree-responseUpdateServerEngineAttributes = res- "UpdateServerEngineAttributesResponse"- "fixture/UpdateServerEngineAttributesResponse.proto"- opsWorksCM- (Proxy :: Proxy UpdateServerEngineAttributes)--responseStartMaintenance :: StartMaintenanceResponse -> TestTree-responseStartMaintenance = res- "StartMaintenanceResponse"- "fixture/StartMaintenanceResponse.proto"- opsWorksCM- (Proxy :: Proxy StartMaintenance)--responseDescribeBackups :: DescribeBackupsResponse -> TestTree-responseDescribeBackups = res- "DescribeBackupsResponse"- "fixture/DescribeBackupsResponse.proto"- opsWorksCM- (Proxy :: Proxy DescribeBackups)--responseCreateServer :: CreateServerResponse -> TestTree-responseCreateServer = res- "CreateServerResponse"- "fixture/CreateServerResponse.proto"- opsWorksCM- (Proxy :: Proxy CreateServer)--responseRestoreServer :: RestoreServerResponse -> TestTree-responseRestoreServer = res- "RestoreServerResponse"- "fixture/RestoreServerResponse.proto"- opsWorksCM- (Proxy :: Proxy RestoreServer)--responseDescribeNodeAssociationStatus :: DescribeNodeAssociationStatusResponse -> TestTree-responseDescribeNodeAssociationStatus = res- "DescribeNodeAssociationStatusResponse"- "fixture/DescribeNodeAssociationStatusResponse.proto"- opsWorksCM- (Proxy :: Proxy DescribeNodeAssociationStatus)--responseDescribeAccountAttributes :: DescribeAccountAttributesResponse -> TestTree-responseDescribeAccountAttributes = res- "DescribeAccountAttributesResponse"- "fixture/DescribeAccountAttributesResponse.proto"- opsWorksCM- (Proxy :: Proxy DescribeAccountAttributes)--responseDescribeServers :: DescribeServersResponse -> TestTree-responseDescribeServers = res- "DescribeServersResponse"- "fixture/DescribeServersResponse.proto"- opsWorksCM- (Proxy :: Proxy DescribeServers)
− test/Test/AWS/OpsWorksCM.hs
@@ -1,20 +0,0 @@--- |--- Module : Test.AWS.OpsWorksCM--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.OpsWorksCM- ( tests- , fixtures- ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/OpsWorksCM/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module : Test.AWS.OpsWorksCM.Internal--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.OpsWorksCM.Internal where
+ test/Test/Amazonka/Gen/OpsWorksCM.hs view
@@ -0,0 +1,418 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Test.Amazonka.Gen.OpsWorksCM+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.OpsWorksCM where++import Amazonka.OpsWorksCM+import qualified Data.Proxy as Proxy+import Test.Amazonka.Fixture+import Test.Amazonka.OpsWorksCM.Internal+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+-- [ testGroup "request"+-- [ requestAssociateNode $+-- newAssociateNode+--+-- , requestCreateBackup $+-- newCreateBackup+--+-- , requestCreateServer $+-- newCreateServer+--+-- , requestDeleteBackup $+-- newDeleteBackup+--+-- , requestDeleteServer $+-- newDeleteServer+--+-- , requestDescribeAccountAttributes $+-- newDescribeAccountAttributes+--+-- , requestDescribeBackups $+-- newDescribeBackups+--+-- , requestDescribeEvents $+-- newDescribeEvents+--+-- , requestDescribeNodeAssociationStatus $+-- newDescribeNodeAssociationStatus+--+-- , requestDescribeServers $+-- newDescribeServers+--+-- , requestDisassociateNode $+-- newDisassociateNode+--+-- , requestExportServerEngineAttribute $+-- newExportServerEngineAttribute+--+-- , requestListTagsForResource $+-- newListTagsForResource+--+-- , requestRestoreServer $+-- newRestoreServer+--+-- , requestStartMaintenance $+-- newStartMaintenance+--+-- , requestTagResource $+-- newTagResource+--+-- , requestUntagResource $+-- newUntagResource+--+-- , requestUpdateServer $+-- newUpdateServer+--+-- , requestUpdateServerEngineAttributes $+-- newUpdateServerEngineAttributes+--+-- ]++-- , testGroup "response"+-- [ responseAssociateNode $+-- newAssociateNodeResponse+--+-- , responseCreateBackup $+-- newCreateBackupResponse+--+-- , responseCreateServer $+-- newCreateServerResponse+--+-- , responseDeleteBackup $+-- newDeleteBackupResponse+--+-- , responseDeleteServer $+-- newDeleteServerResponse+--+-- , responseDescribeAccountAttributes $+-- newDescribeAccountAttributesResponse+--+-- , responseDescribeBackups $+-- newDescribeBackupsResponse+--+-- , responseDescribeEvents $+-- newDescribeEventsResponse+--+-- , responseDescribeNodeAssociationStatus $+-- newDescribeNodeAssociationStatusResponse+--+-- , responseDescribeServers $+-- newDescribeServersResponse+--+-- , responseDisassociateNode $+-- newDisassociateNodeResponse+--+-- , responseExportServerEngineAttribute $+-- newExportServerEngineAttributeResponse+--+-- , responseListTagsForResource $+-- newListTagsForResourceResponse+--+-- , responseRestoreServer $+-- newRestoreServerResponse+--+-- , responseStartMaintenance $+-- newStartMaintenanceResponse+--+-- , responseTagResource $+-- newTagResourceResponse+--+-- , responseUntagResource $+-- newUntagResourceResponse+--+-- , responseUpdateServer $+-- newUpdateServerResponse+--+-- , responseUpdateServerEngineAttributes $+-- newUpdateServerEngineAttributesResponse+--+-- ]+-- ]++-- Requests++requestAssociateNode :: AssociateNode -> TestTree+requestAssociateNode =+ req+ "AssociateNode"+ "fixture/AssociateNode.yaml"++requestCreateBackup :: CreateBackup -> TestTree+requestCreateBackup =+ req+ "CreateBackup"+ "fixture/CreateBackup.yaml"++requestCreateServer :: CreateServer -> TestTree+requestCreateServer =+ req+ "CreateServer"+ "fixture/CreateServer.yaml"++requestDeleteBackup :: DeleteBackup -> TestTree+requestDeleteBackup =+ req+ "DeleteBackup"+ "fixture/DeleteBackup.yaml"++requestDeleteServer :: DeleteServer -> TestTree+requestDeleteServer =+ req+ "DeleteServer"+ "fixture/DeleteServer.yaml"++requestDescribeAccountAttributes :: DescribeAccountAttributes -> TestTree+requestDescribeAccountAttributes =+ req+ "DescribeAccountAttributes"+ "fixture/DescribeAccountAttributes.yaml"++requestDescribeBackups :: DescribeBackups -> TestTree+requestDescribeBackups =+ req+ "DescribeBackups"+ "fixture/DescribeBackups.yaml"++requestDescribeEvents :: DescribeEvents -> TestTree+requestDescribeEvents =+ req+ "DescribeEvents"+ "fixture/DescribeEvents.yaml"++requestDescribeNodeAssociationStatus :: DescribeNodeAssociationStatus -> TestTree+requestDescribeNodeAssociationStatus =+ req+ "DescribeNodeAssociationStatus"+ "fixture/DescribeNodeAssociationStatus.yaml"++requestDescribeServers :: DescribeServers -> TestTree+requestDescribeServers =+ req+ "DescribeServers"+ "fixture/DescribeServers.yaml"++requestDisassociateNode :: DisassociateNode -> TestTree+requestDisassociateNode =+ req+ "DisassociateNode"+ "fixture/DisassociateNode.yaml"++requestExportServerEngineAttribute :: ExportServerEngineAttribute -> TestTree+requestExportServerEngineAttribute =+ req+ "ExportServerEngineAttribute"+ "fixture/ExportServerEngineAttribute.yaml"++requestListTagsForResource :: ListTagsForResource -> TestTree+requestListTagsForResource =+ req+ "ListTagsForResource"+ "fixture/ListTagsForResource.yaml"++requestRestoreServer :: RestoreServer -> TestTree+requestRestoreServer =+ req+ "RestoreServer"+ "fixture/RestoreServer.yaml"++requestStartMaintenance :: StartMaintenance -> TestTree+requestStartMaintenance =+ req+ "StartMaintenance"+ "fixture/StartMaintenance.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+ req+ "TagResource"+ "fixture/TagResource.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+ req+ "UntagResource"+ "fixture/UntagResource.yaml"++requestUpdateServer :: UpdateServer -> TestTree+requestUpdateServer =+ req+ "UpdateServer"+ "fixture/UpdateServer.yaml"++requestUpdateServerEngineAttributes :: UpdateServerEngineAttributes -> TestTree+requestUpdateServerEngineAttributes =+ req+ "UpdateServerEngineAttributes"+ "fixture/UpdateServerEngineAttributes.yaml"++-- Responses++responseAssociateNode :: AssociateNodeResponse -> TestTree+responseAssociateNode =+ res+ "AssociateNodeResponse"+ "fixture/AssociateNodeResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy AssociateNode)++responseCreateBackup :: CreateBackupResponse -> TestTree+responseCreateBackup =+ res+ "CreateBackupResponse"+ "fixture/CreateBackupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateBackup)++responseCreateServer :: CreateServerResponse -> TestTree+responseCreateServer =+ res+ "CreateServerResponse"+ "fixture/CreateServerResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateServer)++responseDeleteBackup :: DeleteBackupResponse -> TestTree+responseDeleteBackup =+ res+ "DeleteBackupResponse"+ "fixture/DeleteBackupResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteBackup)++responseDeleteServer :: DeleteServerResponse -> TestTree+responseDeleteServer =+ res+ "DeleteServerResponse"+ "fixture/DeleteServerResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteServer)++responseDescribeAccountAttributes :: DescribeAccountAttributesResponse -> TestTree+responseDescribeAccountAttributes =+ res+ "DescribeAccountAttributesResponse"+ "fixture/DescribeAccountAttributesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeAccountAttributes)++responseDescribeBackups :: DescribeBackupsResponse -> TestTree+responseDescribeBackups =+ res+ "DescribeBackupsResponse"+ "fixture/DescribeBackupsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeBackups)++responseDescribeEvents :: DescribeEventsResponse -> TestTree+responseDescribeEvents =+ res+ "DescribeEventsResponse"+ "fixture/DescribeEventsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeEvents)++responseDescribeNodeAssociationStatus :: DescribeNodeAssociationStatusResponse -> TestTree+responseDescribeNodeAssociationStatus =+ res+ "DescribeNodeAssociationStatusResponse"+ "fixture/DescribeNodeAssociationStatusResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeNodeAssociationStatus)++responseDescribeServers :: DescribeServersResponse -> TestTree+responseDescribeServers =+ res+ "DescribeServersResponse"+ "fixture/DescribeServersResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeServers)++responseDisassociateNode :: DisassociateNodeResponse -> TestTree+responseDisassociateNode =+ res+ "DisassociateNodeResponse"+ "fixture/DisassociateNodeResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DisassociateNode)++responseExportServerEngineAttribute :: ExportServerEngineAttributeResponse -> TestTree+responseExportServerEngineAttribute =+ res+ "ExportServerEngineAttributeResponse"+ "fixture/ExportServerEngineAttributeResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ExportServerEngineAttribute)++responseListTagsForResource :: ListTagsForResourceResponse -> TestTree+responseListTagsForResource =+ res+ "ListTagsForResourceResponse"+ "fixture/ListTagsForResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy ListTagsForResource)++responseRestoreServer :: RestoreServerResponse -> TestTree+responseRestoreServer =+ res+ "RestoreServerResponse"+ "fixture/RestoreServerResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy RestoreServer)++responseStartMaintenance :: StartMaintenanceResponse -> TestTree+responseStartMaintenance =+ res+ "StartMaintenanceResponse"+ "fixture/StartMaintenanceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy StartMaintenance)++responseTagResource :: TagResourceResponse -> TestTree+responseTagResource =+ res+ "TagResourceResponse"+ "fixture/TagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy TagResource)++responseUntagResource :: UntagResourceResponse -> TestTree+responseUntagResource =+ res+ "UntagResourceResponse"+ "fixture/UntagResourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UntagResource)++responseUpdateServer :: UpdateServerResponse -> TestTree+responseUpdateServer =+ res+ "UpdateServerResponse"+ "fixture/UpdateServerResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateServer)++responseUpdateServerEngineAttributes :: UpdateServerEngineAttributesResponse -> TestTree+responseUpdateServerEngineAttributes =+ res+ "UpdateServerEngineAttributesResponse"+ "fixture/UpdateServerEngineAttributesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateServerEngineAttributes)
+ test/Test/Amazonka/OpsWorksCM.hs view
@@ -0,0 +1,20 @@+-- |+-- Module : Test.Amazonka.OpsWorksCM+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.OpsWorksCM+ ( tests,+ fixtures,+ )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/OpsWorksCM/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module : Test.Amazonka.OpsWorksCM.Internal+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.OpsWorksCM.Internal where